Cheapduino driving an 16×2 LCD

I recently put in an order to DFRobot, a Hong Kong-based supplier of hobbyist electronics and noticed that they’ve started offering <$5.00 Ardunio clones called “Cheapduinos“. I bought a pack of them under the theory that I’m always likely to run into cases where I need to add a little bit of integration logic where I would not want to pay the full cost of a full AVR circuit.

One such case is driving a 16×2 LCD screen. The Cheapduino has exactly 6 pins, and the LCD needs 6 pins. I figure I can use the remaining solder pads for TX + RX to actually talk to the LCD. This requires repurposing the A0,A4,A5 as digital pins.

Here are the working pinouts and some photos.

LCDPin      Uno    Cheapduino
 -------------------------------
 LCD 4   RS STD12  CHEAP D11
 LCD 6   EN STD11  CHEAP D10
 LCD 11 DB4 STD5   CHEAP D09
 LCD 12 DB5 STD4   CHEAP A0 (D14)
 LCD 13 DB6 STD3   CHEAP A4 (D18)
 LCD 14 DB7 STD2   CHEAP A5 (D19)

 LiquidCrystal lcd(11, 10, 9, 14, 18, 19);