Sunday, 28 March 2010

Connection to 8x2 LCD display


Next step is to add a LCD screen. I ordered a cheap 8x2 screen mainly for debugging purposes, but perhaps it could be used for some user interface in next project. Biggest problem in the connection with strip board is that the Seeeduino (and others in Arduino family) have some of their connections in wrong alignment (non 2,54mm). After quite lot of head scratching I finally found out that the holes Seeeduino PWM-side actually have the correct alignment. One only needs to solder new headers next to existing ones. Some soldering is also needed to utilize the IO-pins from 22 onwards.
I created a shield from strip board and pins. This makes connecting to outer world possible with some Kynar wire and ribbon cable connectors. The LCD is connected to 46..53 (d0..d7), 43..45 (control), +5 and ground. V0 has a 10kOhm contrast trimmer between +5V and GND. After downloading a example application from seeeduino website the "Hello world" was released.
The example code had some intrusive changes (it replaces the HD44780 code) to the Wire-library any Arduino system uses. Perhaps one needs to integrate the code better and send it to upstream.


No comments:

Post a Comment