Aaaand we’re back with yet another out-of-the-ordinary gifting idea this Christmas that is perfect for all the hobbyists, tinkerers, and curious minds out there! Packed with some robot making, some wireless control, and fun while doing, of course, is the DIY 4-Wheel robot – an Arduino Uno-powered robot that can be controlled via Bluetooth through our indigenously developed mobile application, Dabble! All you need to do is install it and pair it, and you will be good to go!
So, are you ready to find out why this robot is a great gifting idea for your fellow tinkerers? Then, let’s begin!
|Image||Component||Quantity||Available in Kit|
|DC Terminal Block||1|
|HC05 Bluetooth Module||1|
|Dual Shaft BO Motor||4|
|BO Motor Mount||4|
|M3 bolts of 8 mm Length||8|
|M2 bolts of 12mm Length||8|
|Samsung 3.7V 2600 mAh Lithium Ion Battery||2|
|Male to Female Jumper Cable 20cm||Few|
Step 1: Making
We will first be assembling the base of 4 Wheel Robot.
Make sure you keep one shaft of all the motors facing outwards.
Thus the base of your 4 Wheel Robot is ready.
All you need to do now is to install the Arduino Uno board and make the connections.
The connection can be made using the following step.
Step 2: Connections
We are using Arduino Uno as our microcontroller board.
Next component that we are using is the Motor Driver IC.
The reason that we need to use motor driver is that Arduino does not provide much power. Thus we need an external power supply to run the motors. Thus Motor Driver is connected to Arduino and battery and the motor thus run through the Motor Driver IC.
Motor Driver has the following set of pins:
- VCC – 5V
- GND – Ground
- m1_dir1, m1_dir2, m2_dir1, m2_dir2 – Control the direction of the motors
- m1_en, m2_en – Motor Driver enable pin
The left two motors are connected in parallel. Similarly, the right two motors are too connected in parallel.
The connections are made as follows:
- Enable Pins – Digital Pin 10 and 11
- VCC – Arduino 5V
- m1_dir1, m1_dir2, m2_dir1, m2_dir2 – Digital Pin 4, 5, 6, and 7
- VC – External Battery
- GND – GND of Arduino and Battery
Make sure we connect all the GND wires together.
Step 3: Logic
The HC-05 Bluetooth module is used to connect our 4 Wheel Robot to Dabble.
Install the app and open it.
We will be using the left set of keys.
- Up – Move Forward
- Down – Move Backward
- Left – Turn Left
- Right – Turn Right
Step 4: Code
Upload the following code to our Arduino board.
Step 5: Conclusion
With this, the DIY 4-wheel robot is ready to rock ‘n’ roll! Now that you agree that it is a super cool gifting idea, then what are you waiting for! Make Christmas special for your geeky peeps!
BTW, Dabble can do much more than just Bluetooth control. You can explore more about it here!
|Arduino Code for 4 Wheel Robot||Download|