CodeMiner84 / arduino-snake-1

The best snake game for Arduino! :snake:

Home Page:https://youtu.be/k6CHJ9VKTnY

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Video: https://youtu.be/k6CHJ9VKTnY

Tutorial πŸ“’

  1. Get the parts, install Arduino IDE, install drivers for Arduino (if you have Arduino clone AND you are using Windows for some strange reason)
  2. Copy-paste the code into Arduino IDE
  3. Install the LedControl library using Arduino IDE Library Manager
  4. Wire everything up (see the Wiring Diagram)
  5. Connect your Arduino and select it in Tools > Board and Tools > Port
  6. Upload
  7. (optional) Tweak the variables, explore the code πŸ˜‰

Parts 🎈

Part Name Ebay Link Price Note
Arduino NANO (clone) https://ebay.us/ggAEYn 3.42 USD UNO can be used as well
LED Matrix https://ebay.us/fXkeKo 1.99 USD MAX7219 controlled 8x8 LED Matrix
Joystick https://ebay.us/zobEEV 0.99 USD
Potentiometer https://ebay.us/CGqV6q 1.37 USD any 1k ohm to 100k ohm should be fine
Some wires https://ebay.us/ktnbye 1.20 USD 12 wires needed
Breadboard https://ebay.us/e6J8uB 1.59 USD
Total 10.56 USD

Wiring diagram πŸŽ‰

Pin Arduino NANO or UNO
Matrix CLK 10
Matrix CS 11
Matrix DIN 12
Joystick X A2
Joystick Y A3
Potentiometer A7

wiring diagram The exact pin order for the matrix or joystick may be different from the one shown on the image, so please be intelligent and use the table above

Other variants πŸ‘€

Videos πŸŽ₯ (thanks guys!)

About

The best snake game for Arduino! :snake:

https://youtu.be/k6CHJ9VKTnY

License:GNU General Public License v3.0


Languages

Language:C++ 100.0%