Micro-Joystick
![IMG_20210112_120715.jpg](/proxy/?url=https://content.instructables.com/FWC/6UEB/KJSKU11K/FWC6UEBKJSKU11K.jpg&filename=IMG_20210112_120715.jpg)
![IMG_20210112_112506.jpg](/proxy/?url=https://content.instructables.com/FU2/83J8/KJSKTYWF/FU283J8KJSKTYWF.jpg&filename=IMG_20210112_112506.jpg)
![IMG_20210112_112458.jpg](/proxy/?url=https://content.instructables.com/FND/SSVM/KJSKTYWG/FNDSSVMKJSKTYWG.jpg&filename=IMG_20210112_112458.jpg)
![IMG_20210112_112548.jpg](/proxy/?url=https://content.instructables.com/FEA/ETS8/KJSKTYW2/FEAETS8KJSKTYW2.jpg&filename=IMG_20210112_112548.jpg)
![IMG_20210112_112620.jpg](/proxy/?url=https://content.instructables.com/FBN/66GE/KJSKTYVW/FBN66GEKJSKTYVW.jpg&filename=IMG_20210112_112620.jpg)
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
![Screenshot (3).png](/proxy/?url=https://content.instructables.com/F1F/6CNQ/KJSKU0LY/F1F6CNQKJSKU0LY.png&filename=Screenshot (3).png)
![Screenshot (7).png](/proxy/?url=https://content.instructables.com/FIU/RXUU/KJSKU189/FIURXUUKJSKU189.png&filename=Screenshot (7).png)
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
![IMG_20210112_112714.jpg](/proxy/?url=https://content.instructables.com/FXU/LYVQ/KJSKU0EM/FXULYVQKJSKU0EM.jpg&filename=IMG_20210112_112714.jpg)
![IMG_20210112_112627.jpg](/proxy/?url=https://content.instructables.com/FCQ/EQ35/KJSKU0EN/FCQEQ35KJSKU0EN.jpg&filename=IMG_20210112_112627.jpg)
![IMG_20210112_112620.jpg](/proxy/?url=https://content.instructables.com/FK9/ZGG0/KJSKU0F2/FK9ZGG0KJSKU0F2.jpg&filename=IMG_20210112_112620.jpg)
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
![image (2).png](/proxy/?url=https://content.instructables.com/FA0/60J0/KJSKU1C1/FA060J0KJSKU1C1.png&filename=image (2).png)
![image (3).png](/proxy/?url=https://content.instructables.com/FYM/E9SR/KJSKU1MD/FYME9SRKJSKU1MD.png&filename=image (3).png)
TinkerCad is a great platform to simulate electronics.
I tried simulating the micro:bit board here before buying to check for the sensor data.