Bounce Back ! Virtual Reality Game Using Arduino & Acclerometer
by M-human in Circuits > Arduino
770 Views, 0 Favorites, 0 Comments
Bounce Back ! Virtual Reality Game Using Arduino & Acclerometer
In this tutorial we will be creating a Virtual Reality game using Arduino and Acclerometer
Introduction About the Project
There are tons of open source software's available these days which has brought loads of happiness for hobbyists like us, and Processing is one of them. With this JAVA based application we can build out own software (.exe format) and also an android application (.apk file). So we are going to use this software to build our game
The hardware part will consist an arduino which will fetch the input from an accelerometer to feed it serially to our computer / Laptop.
Things Required
- Arduino (any version or model)
- Accelerometer [ADXL 345]
- Connecting wires
1.Install the Library
Download the Library of your acclerometer (as here we have used ADXL 345). LINK for ADXL 345 acclerometer Library:https://drive.google.com/drive/folders/1kETsOmXWhQKeDrV1LjTwNKhQxhToDnvO
Connections
GND --> GND
VCC --> 3.3V
CS --> 3.3V
SDD -->GND
SDA -->A4
SCL -->A5
Upload Arduino Code
Download the Arduino Code & Upload it & do note the USB Port you are using as we will be used later step.
Link For Arduino Code:https://drive.google.com/drive/folders/1KovjGLFkTS3tglFf5E1H6NJJCsJznM6x
Install Processing IDE
Download & Install processing IDE from its official website.
https://processing.org/
Editing the Codes
Download & Run The Game Code & make sure to edit the port you are using you can also check from arduino IDE. also you can edit the game as per your requirements and need.
Link for game code: https://drive.google.com/drive/folders/1JHT0W10qSam5UwRFADdTH17h33MHd14c
Enjoy!!!
Run the game and Enjoy!! [ Bounce BACK ]
Subscribe To M-Human On Youtube For MORE SUCH TUTORIALS
https://www.youtube.com/channel/UCKH2OtAg810x56O6lVDAMKQ