Nokia 5110 LCD Via Lady Ada

by HLModTech in Circuits > Arduino

1923 Views, 18 Favorites, 0 Comments

Nokia 5110 LCD Via Lady Ada

2015-04-30 06.45.08.jpg
Snap 2015-04-30 at 06.54.27.png

In a previous Instructable, located here, I taught you how to wire up a Nokia 5110 LCD really quickly.

The code that made it run was not very elegant though.

Lady Ada has a tutorial as well, but I could never get it wired correctly. I did a little investigating though and was able to adapt their code to the simple wiring setup I taught above.

The Main Issue

Snap 2015-04-30 at 06.53.50.png
2015-04-30 07.01.22.jpg
Snap 2015-04-30 at 07.04.06.png
Snap 2015-04-30 at 07.13.06.png

The issue that probably thwarted me most is that my pins do not match the pins that are on the Lady Ada or Spark Fun site.

I finally made a table so I could match them all up and get my mind around the setup.

I used that same technique to get the two different ways to code the Nokia combined as well.

The picture above shows how they compare.

Use That Knowledge to Adjust the Program

Screenshot 2015-04-30 07.19.42.png

The Lady Ada training uses a library that you need to add to your IDE.

NOTE: If you do not know how to add a library, here is some training on it.

It can be found here. The graphics library is also required and can be found here.

Once installed, open your IDE and check your examples for Adafruit_PCD8544. In it you will find the pcdtest file we need.

Simple Tweak

Snap 2015-04-30 at 07.31.24.png
2015-04-30 06.45.01.jpg
2015-04-30 06.44.50.jpg
2015-04-30 06.44.56.jpg

Use the picture above to find the code and make the simple adjustment.

Voila, you will now have a super powerful, cheap, and fun display at your disposal.

Check Us Out @HLModTech

new mod tech logo.jpg
icon320x320.jpeg
instagram.png
twitter.jpg

Modular Technology is a class for 8th Graders. We have more than 30 modules that students choose from during the 18 weeks they see me. If you would like to learn more about Mod Tech you can check out our website.

You can follow us on Twitter, Instagram, or Facebook @HLModTech.