Upgrade Motor Shield for SMARS Robot Arduino - Upload Code Over Bluetooth

by bluino_electronics in Circuits > Robots

17326 Views, 45 Favorites, 0 Comments

Upgrade Motor Shield for SMARS Robot Arduino - Upload Code Over Bluetooth

SMARS_App_instructables.jpg

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

build_9_1a.jpg

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

build_9_1b.jpg

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

build_9_1c.jpg

For easy to build you can refer to the following schematic.

Remove Jumper Header

build_9_2a.jpg
build_9_2b.jpg

First, To install the switch you need to remove the jumper header first.

Cut Switch Feet

build_9_3a.jpg

Cut one of the side switch feet.

Solder Switch

build_9_3b.jpg

Attach and solder the switch to the place of jumper header.

Solder Pin Header

build_9_4a.jpg
build_9_4b.jpg

Attach and solder 3 pcs the 1x6 male pin header.

Attach Tape

build_9_5a.jpg

Use double-sided tape or hot glue gun to attach the Bluetooth module into top on motor shield.

Put HC-05

build_9_5b.jpg

Put the Bluetooth module as shown in the picture.

Cut Cable

build_9_6.jpg

Connect the dupont cable then cut about 10cm.

Solder 5V & GND

build_9_7.jpg

Connect between Bluetooth module HC-05 with Motor Shield, you need to solder VCC to 5V and GND to GND.

Solder Capacitor

build_9_8.jpg

Solder to connect STATE pin to positif pin of capacitor, then negative pin of capacitor connect to RESET pin.

Solder TX & RX

build_9_9.jpg

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

build_9_10a.jpg

Next install the buzzer, first you need to bend feet as shown in the picture.

Solder Buzzer Cable

build_9_10b.jpg

Solder the about 8 cm cable on the negative pin of buzzer.

Solder Buzzer

build_9_10c.jpg

Attach and solder positive pin of buzzer to hole beside pin D2 on motor shield.

Solder Cable

build_9_10d.jpg

Finally solder the extension cable from negative pin of buzzer to GND.

Finnish

build_9_10e.jpg
basic_1.jpg

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

Screen Shot 2020-04-03 at 18.57.38.png
art_bluetooth.jpg

Now, your SMARS robot already to programmed & controlled over bluetooth, you can use Arduino IDE on computer or use SMARS App on Android.

Enjoy

smars_app.png

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!