Serial LCD
Hi!
Can I connect this LCD to the USART output pin on an AVR ATMega microcontroller?
I have seen this thread,
http://forums.parallax.com/forums/default.aspx?f=21&m=180521
but can not find information about databits, stoppbits and parity for the serial interface.
/Stefan
Can I connect this LCD to the USART output pin on an AVR ATMega microcontroller?
I have seen this thread,
http://forums.parallax.com/forums/default.aspx?f=21&m=180521
but can not find information about databits, stoppbits and parity for the serial interface.
/Stefan
Comments
Can't quite tell which LCD you're talking about. But, armed with the Parallax part number you can usually get the complete docs online. Many of the displays work at 2400,8,N1 or 9600, 8,N,1.
Cheers,
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Tom Sisk
http://www.siskconsult.com
·
The documentation for all of the Parallax LCD's can be found by clicking on the appropriate LCD on the following web page:
http://www.parallax.com/html_pages/products/audiovisual/lcd.asp
Regards,
Bruce Bates
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
But how about hardware, the Basic Stamp outputs are TTL levels (?), and an ATMega at 5V supply are also TTL levels, it should work then ... ?
/BR. Stefan
In the docs, the sample program uses 19.2K baud. The baud mode parameter is 32, which confirms 8,N,1.
The display is set up to use TTL levels, and as mentioned in the advertising blurb, may need a RS232 level shifter for use with PC-style RS-232 levels.
Cheers,
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Tom Sisk
http://www.siskconsult.com
·