BB Black and Nokia 5110

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
lesept
 
Posts: 2
Joined: Thu Dec 01, 2022 3:37 pm

BB Black and Nokia 5110

Post by lesept »

Hi, this is my first question on this forum. I'm more on the Arduino/ESP side but I'm now trying the Beaglebone Black.

For my first test, I'd like to use my Nokia 5110 display. I have found the dedicated adafruit library https://github.com/adafruit/Adafruit_Ci ... on_PCD8544 but I didn't find the connexions.
My display has: RST, CE, DC, DIN, CLK, VCC, BL and GND. To which GPIOs should I connect all these?

Thank you for your help.

User avatar
lesept
 
Posts: 2
Joined: Thu Dec 01, 2022 3:37 pm

Re: BB Black and Nokia 5110

Post by lesept »

To be more specific, the examples says:

Code: Select all

# Initialize SPI bus and control pins
spi = busio.SPI(board.SCK, MOSI=board.MOSI)
dc = digitalio.DigitalInOut(board.D6)  # data/command
cs = digitalio.DigitalInOut(board.D5)  # Chip select
reset = digitalio.DigitalInOut(board.D9)  # reset

display = adafruit_pcd8544.PCD8544(spi, dc, cs, reset)
# Turn on the Backlight LED
backlight = digitalio.DigitalInOut(board.D10)  # backlight
What are the D5, D6, D9 and D10 on the BBB?

Locked
Please be positive and constructive with your questions and comments.

Return to “Beagle Bone & Adafruit Beagle Bone products”