Raspberry Pi - Minikame V2.0
by LakshBhambhani in Circuits > Raspberry Pi
575 Views, 5 Favorites, 0 Comments
Raspberry Pi - Minikame V2.0
A simple Quadruped controlled by your phone(IOS and Android). Runs on Raspberry Pi and Android.
Complete Code : https://github.com/LakshBhambhani/RaspberryPi-Min...
All stl files: https://www.thingiverse.com/thing:3480616
Supplies
Required Components:
- A Phone
- Raspberry Pi
- 16 servo Driver
- 3D Printed parts
- 8 Servo Motors
- Wires
Step 1: 3D Printing
Print all the following parts:
- 1 x body_base.stl
- 1 x body_top.stl
- 2 x leg.stl
- 2 x hips.stl
- 1 x body_shafts.stl
You can also find all the files on the Thingiverse Page
Step 2: Assembly
Step 3: Wiring
Connect the Servos using the following port numbers on the 16 servo driver:
FL_HIP = (4);
FL_FOOT = (5);
FR_HIP = (6);
FR_FOOT = (7);
BL_HIP = (8);
BL_FOOT = (9);
BR_HIP = (10);
BR_FOOT = (11);
Connect the driver to the Pi using the following connection diagram
- Pi 3V3 to breakout VCC
- Pi GND to breakout GND
- Pi SCL to breakout SCL
- Pi SDA to breakout SDA
- Breakout external supply 5v to Pi 5v
- Breakout external supply GND to Pi GND
Step 4: Software & Coding
On your Pi:
- Clone the Swiffee repo from Github
- Change directory to Swiffee-Minikame-Simulator/Server
- Run the server file to run the server
git clone https://github.com/LakshBhambhani/Swiffee-Minikame-Simulator.git cd Swiffee-Minikame-Simulator sudo python3 server.py
Step 5: Control Methods
- Download the simulator from swiffees.com
- Use the app data in the same repo to run Swiffee app on an iPhone
- Alternatively, read the python code for Swiffee and try to code it. Swiffee can be coded in java and python.