User Tools

Site Tools


arduino:displays_for_classic_arduinos:nokia_5110_displays_and_classic_arduinos

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
arduino:displays_for_classic_arduinos:nokia_5110_displays_and_classic_arduinos [2018/01/27 22:37] – [Rinky-Dink Electronics] mithatarduino:displays_for_classic_arduinos:nokia_5110_displays_and_classic_arduinos [2018/01/28 21:36] (current) – [Libraries] mithat
Line 1: Line 1:
-====== Nokia 5110 Displays and Classic Arduinos ======+====== Nokia 5110 displays and classic Arduinos ======
  
 ===== Summary opinions ===== ===== Summary opinions =====
Line 13: Line 13:
   * The displays are sourced either as surplus or have been harvested from old phones. You can't be certain what you'll get, but whatever you get will probably not be pristine.   * The displays are sourced either as surplus or have been harvested from old phones. You can't be certain what you'll get, but whatever you get will probably not be pristine.
   * The main electrical contact between the display and the PCB is through a compressible foam material that was once pretty cool s***. The main issue this presents is that small shifts in pressure on the display housing seem to muck up the connections --- at least they did on my sample. The contrast control in particular seems to be sensitive to housing pressure. Nokia obviously figured out how to work with this interface, but board suppliers might be missing some important know how here.   * The main electrical contact between the display and the PCB is through a compressible foam material that was once pretty cool s***. The main issue this presents is that small shifts in pressure on the display housing seem to muck up the connections --- at least they did on my sample. The contrast control in particular seems to be sensitive to housing pressure. Nokia obviously figured out how to work with this interface, but board suppliers might be missing some important know how here.
-  * The LCD contrast is set in software. At first this seems like something that might be cool. But if you're going to build more than one of whatever you're building, it means you'll have to tweak the code for each one you build or write software that allows the contrast to set at runtime. And save that to persistent memory. That's not a small amount of overhead.+  * The LCD contrast is set in software. At first this seems like something that might be cool. But if you're going to build more than one of whatever you're building, it means you'll have to tweak the code for each one you build or write software that lets the contrast be set at runtime. And save that to persistent memory. That's not a small amount of overhead.
  
 The order of the pins on these will vary from supplier to supplier. One of the best sources of information on these displays is SparkFun's [[https://learn.sparkfun.com/tutorials/graphic-lcd-hookup-guide | Graphic LCD Hookup Guide]]. The order of the pins on these will vary from supplier to supplier. One of the best sources of information on these displays is SparkFun's [[https://learn.sparkfun.com/tutorials/graphic-lcd-hookup-guide | Graphic LCD Hookup Guide]].
Line 19: Line 19:
 ===== Libraries ===== ===== Libraries =====
  
-These are libraries I know about that let you interface to a Nokia 5110 display. My tests were conducted with a 3.3V 8MHz Arduino Pro Mini equivalent and a display I bought off eBay from a vendor in China.+These are libraries I know about that let you interface to a Nokia 5110 display. The demo code here was built around 8MHz 3.3V Arduino Pro Mini equivalent and a display I bought off eBay from a vendor in China
 + 
 +These are just tests using static text to demonstrate code setup and the most basic functionality. I've also done some [[arduino:displays_for_classic_arduinos:nokia_5110_displays_and_classic_arduinos_speed_test|dynamic updating]] tests.
 ==== U8g2 ==== ==== U8g2 ====
 Oli Kraus' [[https://github.com/olikraus/u8g2/wiki | U8g2]] is intended to be a common platform for interfacing to a whole bunch of different monochrome displays. It supports the Nokia 5110 display's PCD8544 controller chip out of the box. Oli Kraus' [[https://github.com/olikraus/u8g2/wiki | U8g2]] is intended to be a common platform for interfacing to a whole bunch of different monochrome displays. It supports the Nokia 5110 display's PCD8544 controller chip out of the box.
arduino/displays_for_classic_arduinos/nokia_5110_displays_and_classic_arduinos.1517092627.txt.gz · Last modified: 2018/01/27 22:37 by mithat

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki