I Build The Cheapest Arduboy Game Console Clone for Only $2.5 🕹️ 🎮
#I_Build #the_cheapest #Arduboy game console Clone for Only $2.5, using just an Arduino Pro micro ($1) , OLED Display SPI ($1) and a custom Joystick board ($0.5), port of the Arduboy library. Code and schematics, I will try post them in the comments section below.
If you enjoyed those videos, then please subscribe to my channel
which I update every week
👉 Subscribers : https://bit.ly/2EpEwrU
_________________________________
Step 1: Gather the Components
_________________________________
You will need:
1) Arduino Pro micro (NOT Pro Mini. Pro micro the one with ATmega32u4 chip)
2) 7 Pin SPI OLED Display
3) 4 Pin Momentary Push Button (12x12x7.3mm)
Copper clad (If you are making PCB) or you can use Breadboard / perfboard.
4) Slide Switch
5) 3v Button cell battery and holder
6) Piezo Electric buzzer plate
WARNING: You have to make sure that you have a ATmega32u4 based pro micro and 7 pin old display, otherwise the project won't work.
Attach arduino and OLED display to corresponding header pins.
If you are making this project on a breadboard, then all you need to do is just connect the components as specified in the schematics. Here I have a separate joystick using 7 buttons and attached them to the Arduino Pro Mini.
The Connections are:
Connect All buttons to GND of arduino.
BUTTON_UP - Pin A0 of Arduino
BUTTON_DOWN - Pin A3 of Arduino
BUTTON_LEFT - Pin A2 of Arduino
BUTTON_RIGHT - Pin A1 of Arduino
BUTTON_A - Pin 7 of Arduino
BUTTON_B - Pin 8 of Arduino
Speaker - Pin 5 of Arduino
OLED pin GND and CS - GND pin of arduino
OLED pin VCC - VCC of arduino
OLED pin SCK - Digital pin 15 of arduino
OLED pin SDA - Digital pin 16 of arduino
OLED pin RES - Digital pin 6 of arduino
OLED pin DC - Digital pin 4 of arduino
_____________________________________
Step 4: Downloading the Arduino IDE
_____________________________________
You have to download and install arduino IDE in order to upload games.
You can download the arduino IDE from the link below :
https://www.arduino.cc/en/main/software
Download and install arduino IDE for your computer from the above link.
To compile and upload game to your arduboy you have to install some libraries.
I will list some of the important ones below.
https://github.com/Arduboy/Arduboy
https://github.com/MLXXXp/Arduboy2
https://github.com/MLXXXp/ArduboyTones
https://github.com/TEAMarg/ATMlib
https://github.com/Arduboy/ArduboyPlaytune
https://github.com/igvina/ArdBitmap
Click on Clone or Download button and click Download ZIP
Go to these links and and click on clone or download and download zip. Open arduino IDE and click on
Sketch Include Library add .ZIP library
and select the downloaded zip file. Repeat this for all the files.
Alternate method:
Instead of downloading and installing .zip files, you can also install the libraries using the Arduino IDE Library Manager:
Sketch Include Library Manage Libraries
then enter library name in the Filter your search field.
___________________________
Step 6: Uploading Games
___________________________
To check whether the hardware is working properly, go to :
File - Example - Arduboy - ArduBreakout
and click upload. If everything is working correctly you can play breakout game on your arduboy.
Make sure that you have selected the board as either arduino Leonardo or Arduino/Genuino Micro
You can find more games for your arduboy from these sites:
https://community.arduboy.com/c/games
http://www.team-arg.org/games.html
Sometimes you may run into an error like :
fatal error: ArduboyPlaytune0.h: No such file or directory
#include
compilation terminated.
exit status 1 Error compiling for board Arduino/Genuino Micro.
while uploading games.
To fix this error, search the missing library name on http://github.com/.
Download and install the library as we have done before.
Here is the video : https://youtu.be/F9ElDo-wLUA
------------------------------------------------------------------------
About Social Media, Business, and Blogging
------------------------------------------------------------------------
https://www.youtube.com/djamaluk
https://www.facebook.com/Djamal.UK
https://twitter.com/DjamalUK
https://Djamal.UK
Code and Schematic OR Any Questions Please let me know in the comment section below
Thank you everyone for stopping by my youtube channel I would love to hear from you, so leave a comment to let me know you were here!