I2C LCD display help needed
eddie-the-razor
Posts: 12
in BASIC Stamp
I'm trying to interface a BS2px to a 32054 LCD 4x20 display I got from MPJA Electronics. They sell surplus gizmos - with little or no documentation. It has a piggy-back board for I2C interface. I see all kinds of Arduino code online, but nothing for Parallax. Has anyone done this and if so can you supply me with a little code to send ASCII characters to the display?
Any help is appreciated.
Any help is appreciated.
Comments
The bad news is you are gonna have to study the Ardu*no code to figure what the start-up protocol is, and how to position the cursor. Once you get that squared away, you ought to be able to just bang away with ASCII characters.
If so that is an 4x20 HD44780 with an I2c adapter. There is plenty of 4/8
bit BS2 code 4x20 HD44780 without the I2c adapter. Perhaps after reading
a few app notes or watching a few youtube videos, you can convert an 4 bit
parallel program to I2c.
Here is a Nuts Volts Basic Stamp article on I2C. and a forum post on your
problem.
Bill M.
I like Ken Gracy's mill speedo.bs2 (lcd code) as a starting point, or find
Stamp Works.pdf
converter The Basic Stamp code for the bsp LCD
commands in 4-bit parallel is an simple starting point
for a project.
And to all the other responders... Thanks too!