How to Build SMARS Robot - Arduino Smart Robot Tank Bluetooth
by bluino_electronics in Circuits > Robots
32050 Views, 116 Favorites, 0 Comments
How to Build SMARS Robot - Arduino Smart Robot Tank Bluetooth
![SMARS Robot Arduino Car Tank Bluetooth - PCBWAY](/proxy/?url=https://content.instructables.com/FLH/BN0U/KDEJ05KJ/FLHBN0UKDEJ05KJ.jpg&filename=SMARS Robot Arduino Car Tank Bluetooth - PCBWAY)
![SMARS-Robot.png](/proxy/?url=https://content.instructables.com/FHA/XML8/KDFYGEJH/FHAXML8KDFYGEJH.png&filename=SMARS-Robot.png)
This article is proudly sponsored by PCBWAY.
PCBWAY make high quality prototyping PCBs for people all over the world. Try it for your self and get 10 PCBs for just $5 at PCBWAY with very great quality, Thanks PCBWAY. The Motor Shield for Arduino Uno that I developed for use in this project uses PCBWAY PCB services.
In this instructable, I will show you how to build Arduino Robot Car is called SMARS Robot.
Let's get started!
Part List
![IMG_20200131_160602 (1).jpg](/proxy/?url=https://content.instructables.com/F6B/ABBO/KDFYGM9Q/F6BABBOKDFYGM9Q.jpg&filename=IMG_20200131_160602 (1).jpg)
To build the basic model of SMARS robot you just need few parts. Divided into two main parts, 3D printed parts and electronics components. For 3D parts you can print yourself using a 3D printer, you can download the complete 3D files here. For electronic components you can buy on Amazon or AliExpress.
Electronics parts:
- 1 x Arduino Uno R3 DIP
- 1 x Arduino Motor Shield
- 1 x Ultrasonic HC-SR04
- 1 x IR Sensor
- 2 x Geared Motor 200 RPM 6V
- 8 x Cable jumper female to female 10cm
- 4 x Cable AWG24
- 1 x Connector 9V Battery
- 1 x 9V battery
- 1 x Battery Holder (2 x Li-ion 14500)
- 1 x USB Cable
- 1 x USB OTG
Print 3D Parts
![IMG_20191224_141406.jpg](/proxy/?url=https://content.instructables.com/FJJ/ZHN8/KDFYGFHN/FJJZHN8KDFYGFHN.jpg&filename=IMG_20191224_141406.jpg)
There are some of basic parts to build your SMARS, you can download the build files from thingiverse.com. Thanks to Kevin Thomas who was created SMARS.
https://www.thingiverse.com/thing:2662828
List 3D Printed Parts
- Chassis
- Master wheels x2
- Slave wheels x2
- Mechanical tracks x32
- Holding board (for the 9v battery)
- Range finder holder
- Range finder cover
- Connector
To print all parts i used 3D Printer Creality Ender 3 with resolution: 0.2, infill 30%.
Solder Wires to Motors
![IMG_20191224_150138.jpg](/proxy/?url=https://content.instructables.com/FW7/V8MZ/KDFYGFKC/FW7V8MZKDFYGFKC.jpg&filename=IMG_20191224_150138.jpg)
![IMG_20191224_152838.jpg](/proxy/?url=https://content.instructables.com/FH4/XO7T/KDFYGFKW/FH4XO7TKDFYGFKW.jpg&filename=IMG_20191224_152838.jpg)
Preparation before soldering you can putting some flux to terminal of motors and wires.
- solder a 13cm red wire to the positive terminal for front wheel motor
- solder a 13cm black wire to the negative terminal for front wheel motor
- solder a 13cm red wire to the positive terminal for back wheel motor
- solder a 13cm black wire to the negative terminal for back wheel motor
After soldering, twist the red and black wires to secure them further. It also makes the wires easier to manage.
Fit Motors
![IMG_20191224_153223.jpg](/proxy/?url=https://content.instructables.com/FQ0/2KCC/KDFYGFLF/FQ02KCCKDFYGFLF.jpg&filename=IMG_20191224_153223.jpg)
The motors will fix in the perfectly sized area behind the wheel hole.
Fit Battery
![IMG_20191224_154433.jpg](/proxy/?url=https://content.instructables.com/F23/Q2O2/KDFYGFOS/F23Q2O2KDFYGFOS.jpg&filename=IMG_20191224_154433.jpg)
![IMG_20191229_132958.jpg](/proxy/?url=https://content.instructables.com/F8I/X65H/KDFYGGQ8/F8IX65HKDFYGGQ8.jpg&filename=IMG_20191229_132958.jpg)
The battery fits in the middle of the robot, between the two motors. You will need to attach a 9V battery connector to the battery.
If you want to use two rechargeable battery Li-ion 3.7V size 14500. You will need a chassis with size higher 3mm and a 2xAA battery holder. Then the batteries can be entered inside the chassis, and Arduino Uno board can be freely slid over it.
Fit Motors Holders
![IMG_20191224_154925.jpg](/proxy/?url=https://content.instructables.com/FO6/ASVB/KDFYGFR6/FO6ASVBKDFYGFR6.jpg&filename=IMG_20191224_154925.jpg)
The motors are kept in place by the motor holders. You will have to bend these slightly to insert them into the little recess just about the motors. It is also good practice to push the motor wires through these before inserting.
This will make them fit snug and will allow the motor wires to be free and untrapped.
Attach Wheels
![IMG_20191224_155052.jpg](/proxy/?url=https://content.instructables.com/F00/9VST/KDFYGFUO/F009VSTKDFYGFUO.jpg&filename=IMG_20191224_155052.jpg)
![IMG_20191224_155232.jpg](/proxy/?url=https://content.instructables.com/FUL/ZHFP/KDFYGFXJ/FULZHFPKDFYGFXJ.jpg&filename=IMG_20191224_155232.jpg)
![IMG_20191224_160124.jpg](/proxy/?url=https://content.instructables.com/FTU/GERS/KDFYGG4M/FTUGERSKDFYGG4M.jpg&filename=IMG_20191224_160124.jpg)
There are two types of wheel - Master and Slave. The master wheels are driven by the motors, whereas the slave wheels are free spinning.
The Slave wheels push into the lugs on the chassis (a little bit of force is required). It is also a good idea to make sure the lugs and the slave wheels don't have any rough edges so that they can turn without effort.
The Master wheels push into the shaft of motor, hold body motor by hand to prevent more force that will cause stopper motor broken.
Straighten the cable for the motor towards the back and the cable for the power towards the right side.
Test Motors
![IMG_20191224_160708.jpg](/proxy/?url=https://content.instructables.com/FEO/RVJA/KDFYGG5V/FEORVJAKDFYGG5V.jpg&filename=IMG_20191224_160708.jpg)
Test the motors are working correctly by touching the positive and negative wires to the battery. They should spin enthusiastically!
If the motors do not spin when connecting to the battery, check that the wires are still soldered to the motor and haven’t come free when fitting (they are quite delicate). Also check the 9v battery is fully charged.
Add Arduino
![IMG_20191224_162622.jpg](/proxy/?url=https://content.instructables.com/F4O/YIVJ/KDFYGG9K/F4OYIVJKDFYGG9K.jpg&filename=IMG_20191224_162622.jpg)
![IMG_20191224_162325.jpg](/proxy/?url=https://content.instructables.com/FQJ/JJSX/KDFYGG8S/FQJJJSXKDFYGG8S.jpg&filename=IMG_20191224_162325.jpg)
Slide the Arduino Uno or Arduino compatible into the robot chassis - there are two slots that run the length of the top of the SMARS chassis. To avoid splitting the top of the SMARS chassis, slowly insert the Arduino and stop and remove it if you encounter any resistance. Its best to sandpaper or file the channel if it is not large enough.
If you already have a Bluino One, this will be very easy to slide into the robot chassis because it has the same dimensions.
Bluino-ONE is good choice, you can programmed it and controlled it via bluetooth use Android phone or Laptop.
You can get Bluino-ONE on Tindie store.
Upgrade Motor Shield
![IMG_20191229_165243.jpg](/proxy/?url=https://content.instructables.com/FWD/HPHK/KDFYGM9S/FWDHPHKKDFYGM9S.jpg&filename=IMG_20191229_165243.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/v2 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. Follow step by step instruction of upgrading your Motor Shield v1 here (add bluetooth module).
If you use Bluino-ONE (Arduino compatible with Bluetooth built-in) or use Bluino Motor Shield (Motor Shield with Bluetooth built-in) you can skip step to upgrading Motor Shield v1.
Add Motor Shield
![IMG_20191226_145815.jpg](/proxy/?url=https://content.instructables.com/FP3/WMKW/KDFYGGH6/FP3WMKWKDFYGGH6.jpg&filename=IMG_20191226_145815.jpg)
![IMG_20191226_092601.jpg](/proxy/?url=https://content.instructables.com/FG2/WV7G/KDFYGGAL/FG2WV7GKDFYGGAL.jpg&filename=IMG_20191226_092601.jpg)
Push the Motor shield carefully into the Arduino, making sure all the pins go into the header sockets without missing and bending.
Or you can also attach a Bluino motor shield into your Arduino Uno.
Connect the Cable
![IMG_20191225_094614.jpg](/proxy/?url=https://content.instructables.com/F86/CO6V/KDFYGG9N/F86CO6VKDFYGG9N.jpg&filename=IMG_20191225_094614.jpg)
Insert and tighten the power wires into the terminal block on motor shield, and the motor wires into the respective terminal.
You do not connect the a motor to the two terminals M1 and M2. The correct is the "left motor" connect to M1 and the "right motor" connect to M2.
Attach Tracks
![IMG_20191226_091314.jpg](/proxy/?url=https://content.instructables.com/FP6/IOC8/KDFYGG9P/FP6IOC8KDFYGG9P.jpg&filename=IMG_20191226_091314.jpg)
![IMG_20191226_093308.jpg](/proxy/?url=https://content.instructables.com/FM4/4AJ9/KDFYGGDD/FM44AJ9KDFYGGDD.jpg&filename=IMG_20191226_093308.jpg)
![IMG_20191229_130541.jpg](/proxy/?url=https://content.instructables.com/F2X/7KI6/KDFYGGKT/F2X7KI6KDFYGGKT.jpg&filename=IMG_20191229_130541.jpg)
![IMG_20191229_131049.jpg](/proxy/?url=https://content.instructables.com/FKQ/O8RI/KDFYGGN9/FKQO8RIKDFYGGN9.jpg&filename=IMG_20191229_131049.jpg)
The tracks are attached to each other by using a piece of 1.75mm filament cutted at the right length.
To give the wheels same traction on each side you can either attach the 16 tracks to each side, in a caterpillar arrangement.
Or to give the wheels more traction on different surfaces you can either attach the 8 tracks to each wheel.
Attach Add-on Module
![IMG_20200131_164541 (1).jpg](/proxy/?url=https://content.instructables.com/FRD/X7S6/KDFYGM9P/FRDX7S6KDFYGM9P.jpg&filename=IMG_20200131_164541 (1).jpg)
![IMG_20200113_145008.jpg](/proxy/?url=https://content.instructables.com/FWT/SJJA/KDFYGH2Q/FWTSJJAKDFYGH2Q.jpg&filename=IMG_20200113_145008.jpg)
![IMG_20200131_164645.jpg](/proxy/?url=https://content.instructables.com/FZ0/Q987/KDFYGHF1/FZ0Q987KDFYGHF1.jpg&filename=IMG_20200131_164645.jpg)
![IMG_20200113_105226.jpg](/proxy/?url=https://content.instructables.com/FHC/Z5IU/KDFYGGSR/FHCZ5IUKDFYGGSR.jpg&filename=IMG_20200113_105226.jpg)
![IMG_20200201_173849.jpg](/proxy/?url=https://content.instructables.com/F50/RE1A/KDFYGHHL/F50RE1AKDFYGHHL.jpg&filename=IMG_20200201_173849.jpg)
![IMG_20200114_093705.jpg](/proxy/?url=https://content.instructables.com/FZE/FMPO/KDFYGHB6/FZEFMPOKDFYGHB6.jpg&filename=IMG_20200114_093705.jpg)
![IMG_20200113_151232.jpg](/proxy/?url=https://content.instructables.com/F4A/SP98/KDFYGH9K/F4ASP98KDFYGH9K.jpg&filename=IMG_20200113_151232.jpg)
![IMG_20200113_131252.jpg](/proxy/?url=https://content.instructables.com/F32/ZQTU/KDFYGH0X/F32ZQTUKDFYGH0X.jpg&filename=IMG_20200113_131252.jpg)
![IMG_20200113_112739.jpg](/proxy/?url=https://content.instructables.com/F14/36OO/KDFYGGVT/F1436OOKDFYGGVT.jpg&filename=IMG_20200113_112739.jpg)
![IMG_20200113_114342.jpg](/proxy/?url=https://content.instructables.com/F4C/GMO1/KDFYGH0J/F4CGMO1KDFYGH0J.jpg&filename=IMG_20200113_114342.jpg)
![IMG_20200114_083604.jpg](/proxy/?url=https://content.instructables.com/FSY/9N5O/KDFYGHB3/FSY9N5OKDFYGHB3.jpg&filename=IMG_20200114_083604.jpg)
![IMG_20200113_144107.jpg](/proxy/?url=https://content.instructables.com/FNG/BTCN/KDFYGH2B/FNGBTCNKDFYGH2B.jpg&filename=IMG_20200113_144107.jpg)
![IMG_20200113_172158.jpg](/proxy/?url=https://content.instructables.com/FKP/MHTQ/KDFYGHAE/FKPMHTQKDFYGHAE.jpg&filename=IMG_20200113_172158.jpg)
![IMG_20200113_174357.jpg](/proxy/?url=https://content.instructables.com/FFZ/EYI8/KDFYGHAW/FFZEYI8KDFYGHAW.jpg&filename=IMG_20200113_174357.jpg)
![IMG_20200327_131330.jpg](/proxy/?url=https://content.instructables.com/F6G/9O3Z/KDFYGHNU/F6G9O3ZKDFYGHNU.jpg&filename=IMG_20200327_131330.jpg)
![IMG_20200326_085938.jpg](/proxy/?url=https://content.instructables.com/FMZ/W1MO/KDFYGHMR/FMZW1MOKDFYGHMR.jpg&filename=IMG_20200326_085938.jpg)
![IMG_20200202_162950.jpg](/proxy/?url=https://content.instructables.com/F4D/S9CG/KDFYGHME/F4DS9CGKDFYGHME.jpg&filename=IMG_20200202_162950.jpg)
![IMG_20200327_092424.jpg](/proxy/?url=https://content.instructables.com/F36/9R53/KDFYGHN4/F369R53KDFYGHN4.jpg&filename=IMG_20200327_092424.jpg)
![IMG_20200327_103140.jpg](/proxy/?url=https://content.instructables.com/FAM/9QSL/KDFYGHNH/FAM9QSLKDFYGHNH.jpg&filename=IMG_20200327_103140.jpg)
![IMG_20200113_175703.jpg](/proxy/?url=https://content.instructables.com/FY9/VFEK/KDFYGHB2/FY9VFEKKDFYGHB2.jpg&filename=IMG_20200113_175703.jpg)
![IMG_20200114_141734.jpg](/proxy/?url=https://content.instructables.com/FJ2/KIOJ/KDFYGHBU/FJ2KIOJKDFYGHBU.jpg&filename=IMG_20200114_141734.jpg)
The additional add-on modules you can print and attach to enhance your SMARS robot:
- Obstacle Avoidance with Servo
- Edge Avoidance Mod
- IR Sensor Mod
- Light Follower Mod
- Drawer Mod
- Sound Control Mod
- Firefighter Mod
- Soil Moisture Mod
- Cleaning Mod
- Shovel Mod
- Shovel V1 Mod
- Shovel V2 Mod
- Color Sensing Mod
- Bumper Obstacle Avoidance Mod
- Gripper Mod
- Claw Mod
- Forklift Mod
- Truck Trailer Mod
- Laser Mod
- Lego Mod
To see full instruction and electronics component needed of additional add-on modules shown in SMARS App
SMARS App (Arduino Sketch, Schematics & Remote)
![IMG_20200805_024854.jpg](/proxy/?url=https://content.instructables.com/FGG/E0LY/KDFYG5PD/FGGE0LYKDFYG5PD.jpg&filename=IMG_20200805_024854.jpg)
![IMG_20200805_024415.jpg](/proxy/?url=https://content.instructables.com/F9V/8XKV/KDFYG5QQ/F9V8XKVKDFYG5QQ.jpg&filename=IMG_20200805_024415.jpg)
![IMG_20200805_024523.jpg](/proxy/?url=https://content.instructables.com/FKP/MQQV/KDFYG5QN/FKPMQQVKDFYG5QN.jpg&filename=IMG_20200805_024523.jpg)
![IMG_20200805_030743.jpg](/proxy/?url=https://content.instructables.com/F1X/X85L/KDFYG5RI/F1XX85LKDFYG5RI.jpg&filename=IMG_20200805_030743.jpg)
To make SMARS robot come alive you have to program Arduino first, then assemble motors, sensors and other components, so you can play and control the SMARS robot. To do all that you can use this Android App:
Otherwise, you can program Arduino Uno board through a computer using the Arduino IDE software.
Enjoy
![IMG_20200506_150604 (2).jpg](/proxy/?url=https://content.instructables.com/FGO/171I/KDFYGMOL/FGO171IKDFYGMOL.jpg&filename=IMG_20200506_150604 (2).jpg)
Hopefully you enjoy your SMARS Robot. If you do, please share your makes, share the link, like and subscribe Instructables & Youtube. As always, if you have any questions please let me know!