Raspberry Pi Pico Nokia 5110 ( pcd8544 ) display tutorial using CircuitPython
HTML-код
- Опубликовано: 4 окт 2022
- Raspberry Pi Pico Nokia 5110 ( pcd8544 ) display tutorial using CircuitPython
The Nokia 5110 display is probably my favourite display. I have used it in many Arduino projects in the past and I really like it because it is inexpensive, it costs around $4, it is very easy to use, it has very low power consumption, and it is readable under direct sunlight.
The display has a resolution of 84x48 pixels, it is monochrome, and it uses the SPI interface to communicate with the microcontroller. The connection with the Raspberry Pi Pico board is very easy. All we have to do is to connect 8 wires.
🛒 Display: educ8s.tv/part/NOKIA5110
🛒 Raspberry Pi Pico: educ8s.tv/part/RaspberryPiPico
💻 Code: educ8s.tv/raspberry-pi-pico-n...
Join this channel to get access to perks:
/ @educ8s
#circuitpython #educ8stv #raspberrypi Наука
I am glad to see you back!
Works! thanks.
Very Nice
I love this content.
Glad you enjoy it!
very cool! thank you for sharing
Thanks for the feedback!
Excellent
Thanks
How to convert graphics to display on Nokia 5110? Thank you for video it was very helpful.
I love the Nokia 5110, I used them for eyes on a robot I made. I designed a different PCB to mount them, with the area behind the screen removed so I could use a RGB LED to illuminate the screen with whatever colour I wanted.
The pi pico does run the screen quick, I may try replacing the nano I am currently using.
If display.fill_rect() only writes the rectangle to the display. what I would do to speed it up is:
In the bouncing box, try not using fill and draw rectangle every tick, use only at the start. Then before drawing new ball, draw white (opposite colour) ball where it currently is, then draw the ball in its new position.
you will need two new variables: cur_ball_x, cur_ball_y
so:
Put
display.fill(0) and display.rect(0,0,84,84,1) after clear_screen()
Then change
display.fill_rect(ball_x, ball_y, 5, 5, 1)
to
display.fill_rect(cur_ball_x, cur_ball_y, 5, 5, 0)
display.fill_rect(ball_x, ball_y, 5, 5, 1)
cur_ball_x = ball_x
cur_ball_y = ball_y
Hope that made some sense, another fantastic video nick.
This is a very neat trick that I only recently found out about it. I tested it and it works great. Thanks for sharing it in this comment! It is very useful and efficient way to update the position of the elements on the screen. I will definitely use it.
excellent video. I could use the same Nokia 5110 LCD screen with arduino and use it with the cd2003gp chip, which is a radio chip. I already have the radio made. I would just like to adapt this small screen.
excellent video I could use the same Nokia 5110 LCD screen with arduino and use it with the cd2003gp chip which is a radio chip I already have the radio made I would just like to adapt this small screen to be able to visualize the radio stations, I have the FM, AM Band . thanks for your knowledge.
Nice!
Thanks!
Hello, I have a similar setup and a keypad. How could I use this display and the keypad together to make a dumbphone like interface?
And what needs to be changed in the sketch to use OLED I2C instead of the Nokia 5110 display ?
Hi. I'm doing everything step by step, but my lcd don't work at all. Another problem - when I'm disconect power, all files from memory were deleted. I don't know what I'm doing wrong. Can you help me please?