Micro-Joystick

by aniketd29 in Circuits > Microcontrollers

805 Views, 3 Favorites, 0 Comments

Micro-Joystick

IMG_20210112_120715.jpg
IMG_20210112_112506.jpg
IMG_20210112_112458.jpg
IMG_20210112_112548.jpg
IMG_20210112_112620.jpg

Micro-Joystick is a Joystick to control Games using Accelerometer from BBC Micro:Bit .

Supplies

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
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
IMG_20210112_112627.jpg
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

Watch The Youtube Video

TinkerCad Simulation

image (2).png
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.