Introduction: Pong on Arduino Esplora!
The Arduino Esplora is a amazing microcontroller using the great Atmega 32u4 with intergrated usb serial aswell as many great sensors such as:
- Light sensor
- Temp sensor
- 3-Axis Accelerometer
- RGB LED
Now lets use that to play some awesome retro games!
(Please note I did not code this game im only showing you how to get it running on the arduino esplora credit for the game goes to David Rutherford)
Step 1: Parts List
This is a simple shopping list since most of the parts are already in the Arduino esplora however you will need A:
- Arduino 1.8" TFT LCD Expansion Board
- Arduino Esplora
- Micro USB cable
- Computer with arduino IDE
You can buy them all from Amazon or adafruit.
Step 2: The Librarys
For this project you will need a few extra librarys.
These are the Adafruit_ST7735.H and Adafruit_GFX.h for Graphics prossesing
you will also need the SPI.h and Esplora.h librarys but theses should have come pre installed on your arduino ide
Adafruit-ST7735-library = https://github.com/adafruit/Adafruit-ST7735-Libra...
Adafruit_GFX.h = https://github.com/adafruit/Adafruit-GFX-Library
Step 3: Annnd the Code...
Once the librarys are installed you can upload the code and everything should boot up.
(Sorry i caould directly paste the code it shows up in the wrong format and messes with arduino ide and then bugs the game :( )
Step 4: And There You Go
A nice fun game of arduino pong.
if you run into any problems please leave a comment and ill reply as soon as possible
(ps if you shoot the ball to the top left and then slide to the bottom the game gliches and gives you a point ;) )