Upgrade Motor Shield for SMARS Robot Arduino - Upload Code Over Bluetooth
by bluino_electronics in Circuits > Robots
18344 Views, 46 Favorites, 0 Comments
Upgrade Motor Shield for SMARS Robot Arduino - Upload Code Over Bluetooth
There are several motor shield options that you can use with Arduino Uno on this SMARS robot project, very commonly using Motor Shield V1 made by Adafruit or compatible (clone from China), but the disadvantage of this shield does not have the Bluetooth connectivity is needed for SMARS robot project controlled by an Android phone.
In this instruction you will be shown step by step upgrading your Shield V1 motor. Let's get started!.
​Part List
You Will Need the Components Below
- Motor Shield V1
- Bluetooth Module HC-05
- Active Buzzer
- 1uF/50V bipolar capacitor
- 100 Ohm 1/8W resistor
- Slide Switch SPDT
- 1x6 male pin header (3 pcs)
- 6 Dupont cable 20cm
Configure Bluetooth HC-05
Before starting to build an upgraded motor shield, the first step you need to do is configure the Bluetooth HC-05 module with the following parameters:
AT+NAME = Bluino#01
AT+BAUD = 115200,0,0
AT+POLAR = 1.0
For complete instructions, follow all steps in the instructables here.
Circuit Diagram
For easy to build you can refer to the following schematic.
Remove Jumper Header
First, To install the switch you need to remove the jumper header first.
Cut Switch Feet
Cut one of the side switch feet.
Solder Switch
Attach and solder the switch to the place of jumper header.
Solder Pin Header
Attach and solder 3 pcs the 1x6 male pin header.
Attach Tape
Use double-sided tape or hot glue gun to attach the Bluetooth module into top on motor shield.
Put HC-05
Put the Bluetooth module as shown in the picture.
Cut Cable
Connect the dupont cable then cut about 10cm.
Solder 5V & GND
Connect between Bluetooth module HC-05 with Motor Shield, you need to solder VCC to 5V and GND to GND.
Solder Capacitor
Solder to connect STATE pin to positif pin of capacitor, then negative pin of capacitor connect to RESET pin.
Solder TX & RX
Solder to connect RX of HC-05 to TX on motor shield by added a resistor in series, then TX of HC-05 to RX on motor shield by added a resistor in series.
Bend Buzzer Feet
Next install the buzzer, first you need to bend feet as shown in the picture.
Solder Buzzer Cable
Solder the about 8 cm cable on the negative pin of buzzer.
Solder Buzzer
Attach and solder positive pin of buzzer to hole beside pin D2 on motor shield.
Solder Cable
Finally solder the extension cable from negative pin of buzzer to GND.
Finnish
You have completed all the steps and your upgraded motor shield will look like picture. Attach upgraded shield on Arduino Uno with SMARS robot.
Ready to Program & Control
Now, your SMARS robot already to programmed & controlled over bluetooth, you can use Arduino IDE on computer or use SMARS App on Android.
Enjoy
Hopefully you enjoy it. If you do and done, please share "I Made it!" to let me know how much is worked. Share the link, like and subscribe. As always, if you have any questions please let me know!