Simply LCD USB connect based on FTDI chip

Discussion about LCD's and other related hardware

Moderators: caesar, IFR, mattcro, limbo, _X7JAY7X_, Fast351

Simply LCD USB connect based on FTDI chip

Postby Nick_Shl » Fri Dec 14, 2007 1:58 pm

Hi ALL!
Because my English very bad, I am will be short.

I have some modules from DLPDesign and LCD display 20x4.
Modules based on FTDI chips FT245BM and FT232BM. This modules can uses in BitBang Mode(look in docs o FTDI website). Drivers for FTDI chips and DOCs you can download from FTDI site.
I am connect FTDI chip to LCD module in 4bit mode:
Code: Select all
FT245BM   FT232BM   Bit-Bang Data bit   LCD Module
Data0      TXD           Data0         Data4(low byte in 4bit mode)
Data1      RXD           Data1         Data5
Data2      RTS           Data2         Data6
Data3      CTS           Data3         Data7(high byte in 4bit mode)
Data4      DTR           Data4         E
Data5      DSR           Data5         R/W
Data6      DCD           Data6         A0
Data7      RI            Data7         not used

And test modules with FT245BM and FT232BM - it works.

Photo of front LCD device:
Image
Photo of rear LCD device:
Image
Photo of front board:
Image
Photo of rear board:
Image
Photo of DLPDesign modules:
Image

Source code of simple driver you can download here. Its free for non commercial use and etc...(I am can't wrote a normal license and hope that you will respect my work).
This driver can use only 20x4 LCD Modules, but not difficult to make it for any screen - you can modify GotoXY() function(Except 40x4 Screen - need modify for select LCD controller chip).
Nick_Shl
 
Posts: 5
Joined: Wed Nov 07, 2007 12:16 am
Location: Minsk, Belarus

thank you

Postby whirleyes » Fri Dec 14, 2007 2:30 pm

Thanks.. i wil try it tonight
whirleyes
 
Posts: 3
Joined: Fri Dec 07, 2007 7:50 pm

Work Great!!

Postby whirleyes » Fri Dec 14, 2007 4:15 pm

My LCD
Image

FTDI FT245R
Image

Casing
Image

Wiring
Image

More details : http://pixca.net/blog/do-it-yourself/hd44780-ftdi-usb-lcd/

:D arigatou
Last edited by whirleyes on Fri May 30, 2008 7:32 pm, edited 1 time in total.
whirleyes
 
Posts: 3
Joined: Fri Dec 07, 2007 7:50 pm

Postby balik123 » Sat Dec 15, 2007 4:37 pm

I have a little different circuit (scheme). Nick_Shl modify your plugin for me. Very thanks to him.

My LCD and Nick_Shl plugin :)

Image

My circuit


Image

My scheme from http://lcdtousb.dpz.cz/?Sch%E9ma

Image

Very thanks. LCD Smartie is the best.
balik123
 
Posts: 2
Joined: Wed Dec 12, 2007 7:56 pm

Postby Nick_Shl » Sat Jan 26, 2008 5:16 pm

New version of plugin. Now it work with any shematic and codepages.
Downloading: Download link (from RapidShare.com).
Installation: copy FTDI_LCD.dll and FTDI_LCD.ini to <LCD Smartie>\displays directory.
Configuration: edit FTDI_LCD.ini file. For change shematic edit [HARDWARE]. For example with my shem:
Code: Select all
[HARDWARE]
D4=0
D5=1
D6=2
D7=3
E=4
RW=5
A0=6
And with Balik123 shem:
Code: Select all
[HARDWARE]
D4=4
D5=5
D6=6
D7=7
E=3
RW=-1
A0=2

Also possible convert characters, if codepage on PC not compliant with LCD. For this edit [CODEPAGE]. For example for cyrillyc alphabet:
Code: Select all
[CODEPAGE]
C0=41
C1=A0
C2=42
C3=A1
C4=E0
C5=45
C6=A3
C7=A4
C8=A5
C9=A6
CA=4B
CB=A7
CC=4D
CD=48
CE=4F
CF=A8
D0=50
D1=43
D2=54
D3=A9
D4=AA
D5=58
D6=E1
D7=AB
D8=AC
D9=E2
DA=AD
DB=AE
DC=C4
DD=AF
DE=B0
DF=B1
E0=61
E1=B2
E2=B3
E3=B4
E4=E3
E5=65
E6=B6
E7=B7
E8=B8
E9=B9
EA=BA
EB=BB
EC=BC
ED=BD
EE=6F
EF=BE
F0=70
F1=63
F2=BF
F3=79
F4=E4
F5=78
F6=E5
F7=C0
F8=C1
F9=E6
FA=C2
FB=C3
FC=C4
FD=C5
FE=C6
FF=C7
You do not have the required permissions to view the files attached to this post.
Nick_Shl
 
Posts: 5
Joined: Wed Nov 07, 2007 12:16 am
Location: Minsk, Belarus

thanks Nick_Shl

Postby whirleyes » Fri Feb 01, 2008 11:40 am

Thanks for the driver, it really save me a lot of time.

I've spend 2 weeks trying to make my own driver before I found yours. My driver worked but there a lag from line 1 to line 4 and not so smooth.but none of those matter to me now since your driver work.Thanks again for your great work. I'll try to figure out how to make it worked with LCDproc(linux), so same hardware can be used in linux and windows

Do you mind I mirroring your driver in my website??
whirleyes
 
Posts: 3
Joined: Fri Dec 07, 2007 7:50 pm

Postby limbo » Sat Feb 02, 2008 7:53 pm

This project is a good approach :!:

And now its sticky.


keep on guys
User avatar
limbo
Plugin Author
 
Posts: 1267
Joined: Sun Feb 13, 2005 8:38 pm
Location: Athens - Greece

Postby Mavy » Fri Mar 14, 2008 11:01 pm

Ive got a small issue with this driver and im wondering if there is a way around it.

When using this driver with my mcubed T-Balancer lcd-smartie will conflict with the t-blancer software. Is there a possibility of adding a com port selection to this driver?
Mavy
 
Posts: 1
Joined: Fri Mar 14, 2008 10:57 pm

Mamaster

Postby Master1280 » Fri May 02, 2008 11:35 pm

Circuito Testeado y funcionando

con ft232RL

animense
funciona el plugin :D


thanks for the plugin :wink:


EDIT: We all appreciate your input, but this forum is in english so anybody can follow it, please use this language from now on!
Master1280
 
Posts: 14
Joined: Sat Sep 15, 2007 8:49 pm

Plugin

Postby Master1280 » Sun May 04, 2008 5:21 am

Circuit Testing and Working

with ft232RL

GO ahead

the plugin works

thanks for the plugin :wink:

From Chile
:P :P :P
Master1280
 
Posts: 14
Joined: Sat Sep 15, 2007 8:49 pm

Postby locki » Thu Aug 14, 2008 11:47 pm

i have trouble with this new version it dont work i use old version FTDI_LCD.dll i have balik version scheme and dll size is 229 kB, where drivers i muse for working ?
locki
 
Posts: 8
Joined: Sun Jan 13, 2008 8:09 pm

Postby caesar » Fri Aug 15, 2008 8:55 am

locki wrote:i have trouble with this new version it dont work i use old version FTDI_LCD.dll i have balik version scheme and dll size is 229 kB, where drivers i muse for working ?


In that case please download driver from this post: http://forums.lcdsmartie.org/viewtopic. ... 3371#13371

and use hardware settings for balik's schematic:

Code: Select all
[HARDWARE]
D4=4
D5=5
D6=6
D7=7
E=3
RW=-1
A0=2
User avatar
caesar
Forum Supporter
 
Posts: 710
Joined: Sat Oct 15, 2005 11:39 am
Location: Romania

Postby locki » Fri Aug 15, 2008 3:15 pm

yes this i doing :!: and it dont work with first version FTDI_LCD.dll library for balik by Nick_Shl ?

with new version i have clen display no charts - no 2 lines full chatrs

in system -win xp pro in USB devices i have FTDI FT8U2XX Device it is ok ?
locki
 
Posts: 8
Joined: Sun Jan 13, 2008 8:09 pm

Postby caesar » Sat Aug 16, 2008 12:16 am

It only works with this version: http://rapidshare.com/files/86780134/FTDI_LCD.zip.html and the configuration I posted earlier.
User avatar
caesar
Forum Supporter
 
Posts: 710
Joined: Sat Oct 15, 2005 11:39 am
Location: Romania

Postby locki » Sat Aug 16, 2008 1:51 am

caesar wrote:It only works with this version: http://rapidshare.com/files/86780134/FTDI_LCD.zip.html and the configuration I posted earlier.


you sit on wire from eyes to brain ? :D seriously im kiding

we dont understand my trouble :( sry for my bad english

i use balik123 scheme, display driver FTDI_LCD.dll ( it is firt version for balik123 scheme it is special - other data wire conection) ,lcd_smartie_v5.4.1

i want use new version - http://rapidshare.com/files/86780134/FTDI_LCD.zip.html with cofigure for balik scheme ...

Code: Select all
[HARDWARE]
D4=4
D5=5
D6=6
D7=7
E=3
RW=-1
A0=2

etc ..........

old version works fine
Image
Image

old settings:

Image

all works this is OK

and now is question :-)

i want use new version i have in FTDI_LCD. ini

[HARDWARE]
D4=4
D5=5
D6=6
D7=7
E=3
RW=-1
A0=2

startup parameter i test USB, LCD, and nothing what i doing wrong ?

i must find this error :twisted:
locki
 
Posts: 8
Joined: Sun Jan 13, 2008 8:09 pm

Next

Return to Hardware Discussion

Who is online

Users browsing this forum: No registered users and 0 guests