What arduino do i need to run a snake game on a nokia 5110

Hi community

I am starting a snake game build but I would like to ask before I begin wiring it, will it work on an arduino nano. Or should I go bigger with an uno. I am using prototype PCB circuit boards and need to make sure that a nano will do it.

I will be running an Nokia 5110 screen and a piezo buzzer with a ps2 style controller. It will be powered by a 18650 battery and board that can recharge the battery, available from Banggood. It also has an on off switch. here is a link 5pcs esp32s esp32 0.5a micro usb charger board 18650 battery charging shield geekcreit for arduino - products that work with official arduino boards Sale - Banggood.com-arrival notice-arrival notice

This project is just for fun as I am a disabled car mechanic and wanted to create my first PCB hand wired project. I am hoping that a nano can do it as I have a new one and if needs be I can use and uno or a mega. But obviously the smaller the better. Thanks in advance for any help or suggestions.

A nano should be able to do it. It has all the pins that you would need.

1 Like

Only the board of a UNO is bigger than that of a nano. What you can do with a UNO, you can also do with a nano. The nano even has 2 more analogue pins than the UNO.
Both use the same microcontroller.

1 Like

It depends also on how fast you want the snake to go :wink: and how smartly you refresh the display

reason I ask it is because with controlling servo's I ran into the trouble that the nano can only power and run one. On an uno I could do 3 and maybe more.

thanks for the tip. I would want the snake to speed up as its size gets bigger just like the original.

➜ don't erase the full snake and redraw it after each step, erase the last pixel(s) at the tail and draw the new ones for the head

thanks for the tip, right now I am still just going over the wiring but when I start to program it I will do just that.

You should never power a servo from the processor board - neither UNO nor Nano. And the Nano can control as many servos as the Uno.

I see, I guess powering them from a power supply and then just controlling them with the nano would of worked. So for this current project would you recommend powering the screen from my power supply directly, I can choose between 5v or 3.3v I still have to look over the white paper on the nokia 5110 again to see how it wires up. I just looked it up its 3.3v so I could get that straight from the power supply I am guessing

Here is a fritzing of my wiring of the nano and the 5110 screen.


Any expert opinion would be appreciated. There is a little mistake on the power wires didn't catch it.

By the way, I came across this

Thank you there is a lot in there to get me started on coding the project.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.