Video: https://youtu.be/k6CHJ9VKTnY
- Get the parts, install Arduino IDE, install drivers for Arduino (if you have Arduino clone AND you are using Windows for some strange reason)
- Copy-paste the code into Arduino IDE
- Install the
LedControl
library using Arduino IDE Library Manager - Wire everything up (see the Wiring Diagram)
- Connect your Arduino and select it in
Tools > Board
andTools > Port
- Upload
- (optional) Tweak the variables, explore the code 😉
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 |
Pin | Arduino NANO or UNO |
---|---|
Matrix CLK | 10 |
Matrix CS | 11 |
Matrix DIN | 12 |
Joystick X | A2 |
Joystick Y | A3 |
Potentiometer | A7 |
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
- Arduino snake with sound: https://github.com/der-pw/arduino-snake
- Mine, old version: https://youtu.be/k6CHJ9VKTnY
- Build tutorial: https://youtu.be/u9vSvXD0lks
- Build tutorial, english: https://youtu.be/XmKCHVKZTkE
- Very nice LEGO case: https://youtu.be/4oAePbd0kgw
- French video: https://youtu.be/tpbvVYAhIFE
- Turkish video: https://youtu.be/I_aaRdFOONc