Micro-Joystick
Micro-Joystick is a Joystick to control Games using Accelerometer from BBC Micro:Bit .
Supplies
1. Micro:Bit : https://www.amazon.in/BBC-BBC2546862-Micro-bit-go/...
2. Phone Holder : https://www.amazon.in/SPYKART-Flexible-Support-Rot...
3. USB Cable
4. Any PC Game
5. Python
Software Installation
You need to install Python to run this project.
[Install Python](https://realpython.com/installing-python/)
Then Download the project from https://github.com/aniketdhole07/Micro-Joystick
Connect With Micro:Bit
Connect the Micro:Bit , and paste the bitio.hex file in the . You can find the install instructions of bitio https://github.com/whaleygeek/bitio/tree/newarch.
Once you copy the bitio.hex in the MICROBIT's Folder you mak see the logo
1. Open the joystick.py code from [downloaded code](https://github.com/aniketdhole07/Micro-Joystick)
2. Run the code
3. The output of code will ask to Reinsert the Microbit, so it can detect the Port.
4. It will start printing the Serial Data of Accelerator,in x y and z axis.
5. Run any game and Press the A button on Microbit to Start Playing.
Mount the Microbit
You can find other alternative to the Phone Holder, just make sure that it moves easily and in all directions.
I just Double Taped the Microbit to the Phone Holder
Play
TinkerCad Simulation
TinkerCad is a great platform to simulate electronics.
I tried simulating the micro:bit board here before buying to check for the sensor data.