Difference between revisions of "NU32v2: Nokia 5110 LCD"
From Mech
Jump to navigationJump to searchNickMarchuk (talk | contribs) |
NickMarchuk (talk | contribs) |
||
Line 1: | Line 1: | ||
'''*** UNDER CONSTRUCTION ***''' |
'''*** UNDER CONSTRUCTION ***''' |
||
[[Image:nu32v2_nokia5110.jpg|thumb|500px|The Sparkfun Nokia 5110 controlled by the NU32v2.|center]] |
|||
The [http://www.sparkfun.com/products/10168 Nokia 5110 from Sparkfun] is a 84 x 48 pixel monochrome LCD and breakout board. It is controlled using SPI communication and several digital outputs. |
|||
This page contains code for using the [http://www.sparkfun.com/products/10168 Nokia 5110 from Sparkfun.] |
|||
== Overview == |
== Overview == |
||
An LCD is a convenient tool for communication data using text. The Nokia 5110 provides 6 rows of 12 characters of text, or can be used to draw in a 84 x 48 pixel space. The contrasted is digitally controlled and 4 white LEDs behind the LCD provide a backlight. |
|||
The LCD requires five communication pins from a microcontroller: SPI CLK and SDO, and three digital outputs. The LCD is powered with 3.3V. |
|||
== Details == |
== Details == |
||
[[Media:nokia5110.pdf|Datasheet]] |
[[Media:nokia5110.pdf|Datasheet]] |
||
Pinout when communicating with the NU32v2: |
|||
* LCD 1-Vcc -----> NU32v2 3.3V |
|||
* LCD 2-GND -----> NU32v2 GND |
|||
* LCD 3-SCE -----> NU32v2 E2 |
|||
* LCD 4-RST -----> NU32v2 E1 |
|||
* LCD 5-D/C -----> NU32v2 E0 |
|||
* LCD 6-DNK(MOSI) -----> NU32v2 F8 (SDO3) |
|||
* LCD 7-SCLK -----> NU32v2 D15 (SCK3) |
|||
* LCD 8-LED -----> 330 ohm -----> 5V |
|||
** Note: hooking up 8-LED is only required if you want to use the backlight |
|||
== Library Functions == |
== Library Functions == |
Revision as of 16:12, 2 February 2011
*** UNDER CONSTRUCTION ***
The Nokia 5110 from Sparkfun is a 84 x 48 pixel monochrome LCD and breakout board. It is controlled using SPI communication and several digital outputs.
Overview
An LCD is a convenient tool for communication data using text. The Nokia 5110 provides 6 rows of 12 characters of text, or can be used to draw in a 84 x 48 pixel space. The contrasted is digitally controlled and 4 white LEDs behind the LCD provide a backlight.
The LCD requires five communication pins from a microcontroller: SPI CLK and SDO, and three digital outputs. The LCD is powered with 3.3V.
Details
Pinout when communicating with the NU32v2:
- LCD 1-Vcc -----> NU32v2 3.3V
- LCD 2-GND -----> NU32v2 GND
- LCD 3-SCE -----> NU32v2 E2
- LCD 4-RST -----> NU32v2 E1
- LCD 5-D/C -----> NU32v2 E0
- LCD 6-DNK(MOSI) -----> NU32v2 F8 (SDO3)
- LCD 7-SCLK -----> NU32v2 D15 (SCK3)
- LCD 8-LED -----> 330 ohm -----> 5V
- Note: hooking up 8-LED is only required if you want to use the backlight
Library Functions
Sample Code