Teensy 2.0 with Nokia 5110 Display

stefanmader1984

New member
Hi, i am trying to connect a Nokia 5110 Display to a Teensy 2.0 but i can't get it to work to show something on the display. Maybe someone could help me? Am i using the wrong pins or somethin?!

i am using the libraries:
#include <Adafruit_GFX.h>
#include <Adafruit_PCD8544.h>

The Display hase this pins:
RST --> Teensy 2.0 Pin 8
CE --> Teensy 2.0 Pin 6
DC --> Teensy 2.0 Pin 5
DIN --> Teensy 2.0 Pin 2
CLK --> Teensy 2.0 Pin 1
VCC --> 3.3 Volt with 5 to 3.3V Converter
Light --> connected to GND to turn on light
GND --> Teensy 2.0 GND

i am using the libraries example code and changed the pins to this:
// pin 1 - Serial clock out (SCLK)
// pin 2 - Serial data out (DIN)
// pin 5 - Data/Command select (D/C)
// pin 6 - LCD chip select (CS)
// pin 8 - LCD reset (RST)
Adafruit_PCD8544 display = Adafruit_PCD8544(1, 2, 5, 6, 8);


and the example code is attached.
 

Attachments

  • LedTesterDisplayTest.ino
    10.2 KB · Views: 45
Thank you for your reply. I'll upload some pictures. I initially had a custom pcb made. Here are some pictures where i hook it up directly to the teensy 2.0.

only the 3.3V for the screenpower comes frome the pcb.
in this test i did not connect the light pin of the screen to gnd. so light is off.
 

Attachments

  • IMG_20240531_114752.jpg
    IMG_20240531_114752.jpg
    140.9 KB · Views: 14
  • IMG_20240531_114759.jpg
    IMG_20240531_114759.jpg
    151.1 KB · Views: 10
  • IMG_20240531_114810_edit_40368817813110.jpg
    IMG_20240531_114810_edit_40368817813110.jpg
    186.3 KB · Views: 11
Is the display powered by 3.3V but being driven with 5V signals?

Not sure how this Nokia display handles that situation, but I know some others do not work if any pin is driven with 5V.
 
I see your point. I was hoping that i made a tiny mistake.
i think i will get rid of the screen in this project and use it in a different one.

Thank you for your help! And please keep making awesome teensies :), i use them in all my projects.
 
Back
Top