lbenson
Senior Member
bitbang Nokia 5110 LCD with 14M2 and 20M2 20X2
I modified (simplified) matherp's code for controlling the Nokia 5110 LCD module with HSPI to make it work with bitbanging on the 14M2 (and removed all his cool text formatting and bar graphing code).
I realized that if I rearranged the pin definitions in the program, the 5110 would directly plug into an 14M2 single-inline-pin PCB I had made.
Here's the SIP board and module plugged in. The 14sip pcb is entirely concealed by the LCD.
The code is attached. Module sold here ($2.26US): http://www.ebay.com/itm/New-84-48-LCD-Module-Blue-Backlight-Adapter-PCB-for-Nokia-5110-Arduino-SCW-/221907963298?hash=item33aabecda2:g:1NUAAOSwT5tWHMxT
Matherp's post is here: http://www.picaxeforum.co.uk/showthread.php?25360-Nokia-5110-revisited
My Eagle 14sip board design is here: http://www.picaxeforum.co.uk/showthread.php?25538-08M2-and-14M2-SIP-boards-with-Eagle-PCB-files
I didn't connect the "backlight" leds (which aren't backlighting, and don't help much to my mind). Note that the contrast setting is critical, and depends on the particular module you use. I soldered a right-angle header on the underside of the board to give access to C.0-C.3, and another for power. B.0 is available for sertxd and any other use.
This effectively makes for an 08M2 with display module. The same pin types and number of pins are available--B.0 as output, C.3 as input, C.0, C.1, and C.2 as input/output. More I/Os would be available with a 20M2.
I modified (simplified) matherp's code for controlling the Nokia 5110 LCD module with HSPI to make it work with bitbanging on the 14M2 (and removed all his cool text formatting and bar graphing code).
I realized that if I rearranged the pin definitions in the program, the 5110 would directly plug into an 14M2 single-inline-pin PCB I had made.
Here's the SIP board and module plugged in. The 14sip pcb is entirely concealed by the LCD.
The code is attached. Module sold here ($2.26US): http://www.ebay.com/itm/New-84-48-LCD-Module-Blue-Backlight-Adapter-PCB-for-Nokia-5110-Arduino-SCW-/221907963298?hash=item33aabecda2:g:1NUAAOSwT5tWHMxT
Matherp's post is here: http://www.picaxeforum.co.uk/showthread.php?25360-Nokia-5110-revisited
My Eagle 14sip board design is here: http://www.picaxeforum.co.uk/showthread.php?25538-08M2-and-14M2-SIP-boards-with-Eagle-PCB-files
I didn't connect the "backlight" leds (which aren't backlighting, and don't help much to my mind). Note that the contrast setting is critical, and depends on the particular module you use. I soldered a right-angle header on the underside of the board to give access to C.0-C.3, and another for power. B.0 is available for sertxd and any other use.
This effectively makes for an 08M2 with display module. The same pin types and number of pins are available--B.0 as output, C.3 as input, C.0, C.1, and C.2 as input/output. More I/Os would be available with a 20M2.
Attachments
-
17.8 KB Views: 85
Last edited: