Differential Drive 1
Description
Differential Drive 1
DDR_2018
Objective: To build a simple Differential Drive Robot (DDR) using inexpensive components and involving a lot of hands-on experiments and learning.
Info
List of components used are
- Arduino UNO
- HC05 bluetooth module
- BO motors
- Wheels
- Caster wheel
- L293D motor driver IC
- L298N motor driver module
- L7805 voltage regulator
- Capacitors
- Acrylic sheet
- Soldiering setup
- Solid core (single core) wires
- Perforated PCB
- Nose pliers etc.
Instructions for firmware
- Use Arduino IDE or Visual Studio Code with PlatformIO extension
- Connect Arduino UNO to the PC using usb cable and select corresponding comport in the IDE.
- Upload the firmware
Instructions for pc ground station
- Install python 3.12 in the pc
- Open pc folder inside the ground station folder in Visual studio code
- Create python virtual environment
1
python 3.12 -m venv venv Activate the virtual environment
- For Windows pc use the following command
1
venv/Scripts/activate
- For Linux based pc use the following command
1
. venv/Scripts/activate
- For Windows pc use the following command
- Install requirements in the virtual environment
1
pip install -r requirements.txt
- Run the python script ground_station.py
The robot is controlled by following four keyboard arrow buttons
1. Up arrow key : Forward 2. Down arrow key : Reverse 3. Left arrow key : Turn left 4. Right arrow key : Turn right
Instructions for android phone ground station
Note: The above applicaiton were build for old version of android os. It might not work on current version.
- Copy the following files from ground station/android_phone to android mobile phone
- DDR_bluetooth_transmitter_V0.0.apk
- DDR_bluetooth_transmitter_V1.0.apk
- Try installing both DDR_bluetooth_transmitter_V0.0.apk and run the application
- If step 2 does not work try installing and running DDR_bluetooth_transmitter_V1.0.apk.
This post is licensed under CC BY 4.0 by the author.