Our new official repo is on github
LCD Smartie version 5.6 is released!
Download it now: https://github.com/LCD-Smartie/LCDSmartie/releases
LCD Smartie version 5.6 is released!
Download it now: https://github.com/LCD-Smartie/LCDSmartie/releases
HD44780 lcd with PIC and USB interface
Moderators: _X7JAY7X_, caesar, IFR, mattcro, limbo, Fast351, hydrolisk1792
-
- Posts: 4
- Joined: January 4th, 2007, 1:41 am
HD44780 lcd with PIC and USB interface
Hi! I'm new in this forum.. I really enjoy lcdsmartie and I got it working with my strange lcd configuration..
My laptop doesn't have any LPT port so to have an Hitachi parallel LCD, i had to interface it through USB. Actually the hard work is done by a small PIC controller with a TTL interface attached to a serial->usb converter..
My problem was this lcd is fully HD44780 compatible but all lcd softwares out there expected it to be plugged into a parallel port and not into a com port!
Thanks to your "test driver", i could get it working with small effort. Now i'm guessing if it's possible to improve the test driver to support special characters or if it's possible to slightly modify the original hd44780 driver to support com port too..
Thx anyway, Alberto..
My laptop doesn't have any LPT port so to have an Hitachi parallel LCD, i had to interface it through USB. Actually the hard work is done by a small PIC controller with a TTL interface attached to a serial->usb converter..
My problem was this lcd is fully HD44780 compatible but all lcd softwares out there expected it to be plugged into a parallel port and not into a com port!
Thanks to your "test driver", i could get it working with small effort. Now i'm guessing if it's possible to improve the test driver to support special characters or if it's possible to slightly modify the original hd44780 driver to support com port too..
Thx anyway, Alberto..
-
- Forum Supporter
- Posts: 590
- Joined: March 8th, 2006, 1:58 pm
- Location: Scotland
The problem is there's no standard/easy way to plug an LCD directly into a COM port, unlike the parallel port where we can just use the data lines for the data and some LPT control lines to do the handshaking (read/write/enable etc).
Smartie does support Matrix Orbital and Crystalfontz displays, which have an intelligent controller like your PIC circuit and connect to the serial port or a USB->serial adapter. If you can program a PIC to emulate the Matrix Orbital controller, you have a self-contained, USB or serial connected LCD that will work natively with lots of software.
There are several projects on this forum that do exactly this using PIC or AVR micros. I developed one using a PIC16F628, X7JAY7X made a similar one at the same time and there are a couple of others. Do a search for "backpack", "matrix orbital", "pic" etc. There are schematics and PIC code.
Are you using something like the FTDI USB->RS232 cable? They are ideal for projects like this because they can also provide the power supply for the PIC and LCD (except if you need lots of current for a backlight).
Smartie does support Matrix Orbital and Crystalfontz displays, which have an intelligent controller like your PIC circuit and connect to the serial port or a USB->serial adapter. If you can program a PIC to emulate the Matrix Orbital controller, you have a self-contained, USB or serial connected LCD that will work natively with lots of software.
There are several projects on this forum that do exactly this using PIC or AVR micros. I developed one using a PIC16F628, X7JAY7X made a similar one at the same time and there are a couple of others. Do a search for "backpack", "matrix orbital", "pic" etc. There are schematics and PIC code.
Are you using something like the FTDI USB->RS232 cable? They are ideal for projects like this because they can also provide the power supply for the PIC and LCD (except if you need lots of current for a backlight).
-
- Posts: 4
- Joined: January 4th, 2007, 1:41 am
I've bought this lcd already wired so I don't know exactly how it was made.. But i'm sure that the serial converter is the FTDI.
Also i'd like to know if you could teach me how to reprogram mi pic! I'm not kind in electronics so if i mail you all the schematics, can you tell me how to turn it into a matrix orb display? Is this possible without changing the wiring?
Thanks, Alberto.
Also i'd like to know if you could teach me how to reprogram mi pic! I'm not kind in electronics so if i mail you all the schematics, can you tell me how to turn it into a matrix orb display? Is this possible without changing the wiring?
Thanks, Alberto.
-
- Forum Supporter
- Posts: 590
- Joined: March 8th, 2006, 1:58 pm
- Location: Scotland
I just assumed that you had developed the PIC interface. Did you buy it as a kit (or ready-made)? Where from?
The serial-to-LCD interface that I designed is similar to X7JAY7X's and takes advantage of specific features in the particular PIC chip we both used. It may be possible to modify your circuit and reprogram the chip, so tell us all the details.
If your LCD and controller is compatible with the Seetron controller (aka "backpack"), you can use Smartie's Seetron driver, which is only in new versions and I think is still in development.
I just discovered another reference to LCD Smartie in this article on hackaday.com with uses an Atmel AVR to do Crystalfontz emulation.
The serial-to-LCD interface that I designed is similar to X7JAY7X's and takes advantage of specific features in the particular PIC chip we both used. It may be possible to modify your circuit and reprogram the chip, so tell us all the details.
If your LCD and controller is compatible with the Seetron controller (aka "backpack"), you can use Smartie's Seetron driver, which is only in new versions and I think is still in development.
I just discovered another reference to LCD Smartie in this article on hackaday.com with uses an Atmel AVR to do Crystalfontz emulation.
-
- Hardware Genie - Plugin Author
- Posts: 374
- Joined: February 16th, 2005, 10:24 pm
- Location: Michigan
Matt if you think that a new firmware will be easier let me know. I can rearrange my ports and recompile mine in a matter of minutes for the 628A. The only thing with my firmware is that D4-D7 (lcd) has to be on the same pic port. It cannot for example have D4 on pin A1 and D5 on pin B1.
It also depends on whether the pic is socketed, board has an icsp header, or a bootloader.
It also depends on whether the pic is socketed, board has an icsp header, or a bootloader.
-
- Forum Supporter
- Posts: 590
- Joined: March 8th, 2006, 1:58 pm
- Location: Scotland
Thanks for the offer, Jay. I don't know any of the details yet. It may not be easy to reprogram depending on schematic and board layout. If it's a socketed chip it's not too bad, but ICSP could be fiddly. It sounds like fnmc (Alberto) doesn't have any PIC tools anyway, maybe little electronics experience?? If the command set is sensible, it's probably best to just stick with the existing setup.
-
- Posts: 4
- Joined: January 4th, 2007, 1:41 am
Sorry, i had no time to mail you all the schematics! I'll do it ASAP.. Anyway i never programmed a PIC and i'm not kind in electronics but i can learn very quickly! I know other computer languages very well (java, c, vb, etc..) so it won't be a problem! Just tell me what i need and where to find infos, tutorials&co.!
Alberto
Alberto
-
- Developer
- Posts: 233
- Joined: February 17th, 2006, 3:23 pm
- Location: Twin Cities, Minnesota, USA
- Contact:
Hopefully you guys are still watching. Check this thread:
http://forums.lcdsmartie.org/viewtopic.php?t=1266
http://forums.lcdsmartie.org/viewtopic.php?t=1266