Professional Documents
Culture Documents
FUNCTION SMART
CAR
Warning: Please do not dispose lithium battery in fire or municipal trash. Unit
can explode if undercharged or overcharged. If punctured please dispose at city
waste management center. This unit can catch on fire if left unsupervised please
do not give to pets or children without supervision. [AK-SMARTCAR]
Arduino Multi-Function Smart Car
I N - D E P T H I N S TA L L AT I O N G U I D E
Table of Contents
PREPARING FOR INSTALLATION ................................................................................................................... 2
Material Checklist ............................................................................................................................................................... 2
Recommended Tools or your Equivalent ........................................................................................................................ 3
INSTALLING MOTORS .................................................................................................................................. 4
Preparing the Base ............................................................................................................................................................. 4
Mounting the Motors .......................................................................................................................................................... 4
Testing Directions................................................................................................................................................................. 5
Optional Adjustments ......................................................................................................................................................... 5
INSTALLING LINE SENSORS .......................................................................................................................... 6
Preparing the Base ............................................................................................................................................................. 6
Installation Method 1.......................................................................................................................................................... 6
Installation Method 2.......................................................................................................................................................... 7
PREPARING TOP PLATE ................................................................................................................................. 7
Installation of Long Standoffs ........................................................................................................................................... 7
Installation of Arduino Standoffs ..................................................................................................................................... 8
Installing H-bridge .............................................................................................................................................................. 8
Installation of Arduino ........................................................................................................................................................ 8
Installation of Kill Switch .................................................................................................................................................... 9
Installation of Battery Holder ........................................................................................................................................... 9
Wiring of H-Bridge ............................................................................................................................................................ 9
ASSEMBLING SERVO MOUNT ..................................................................................................................... 10
Preparing the Servo Mount ............................................................................................................................................. 10
Drilling the holes ................................................................................................................................................................ 10
Assembling Frame of Servo ............................................................................................................................................ 11
Fastening Unit .................................................................................................................................................................... 11
Adjusting Unit ..................................................................................................................................................................... 11
Final Assembly of Servo Mount ...................................................................................................................................... 11
Securing to Top Plate ....................................................................................................................................................... 12
FINAL INSTALLATION PROCESS .................................................................................................................. 12
Wiring Motors to H-Bridge ............................................................................................................................................. 12
Loading Test Code ............................................................................................................................................................ 12
Battery Precautions ........................................................................................................................................................... 12
Powering Up and Testing Unit ........................................................................................................................................ 13
Powering Down and Securing Frames .......................................................................................................................... 13
Installation of Sensors ....................................................................................................................................................... 13
Page 1
Arduino Multi-Function Smart Car
WIRING AND CODE GUIDE ........................................................................................................................ 13
IR Robot ............................................................................................................................................................................... 13
Obstacle avoidance ......................................................................................................................................................... 14
Line tracking ....................................................................................................................................................................... 14
Bluetooth ............................................................................................................................................................................. 15
Page 2
Arduino Multi-Function Smart Car
Recommended Tools or your Equivalent
Needle Nose Plier Philips Screw Driver (+) Flush Wire Cutter
HT-1043 900-112
File (Optional)
900-019
Page 3
Arduino Multi-Function Smart Car
INSTALLING MOTORS
Preparing the Base
1. Remove the adhesive protection from the bottom plate.
2. The bottom plate is transparent, whereas the yellow plate is the top plate.
3. Slide in the Long screw from the opposite side, the extruded bump must face inwards when mounting
on the plate.
4. Place two Nuts and lock into place, it will look something like this!
Page 4
Arduino Multi-Function Smart Car
5. Do this for the other three motors and mount them over the slit, the hole on the bottom of the metal
block should line up over the slits. They should look like this:
6. To get the following motor orientations for the wires you can remove the plastic guard using a needle
nose plier and pull the silver motor out. You can then rotate the motor and insert it back in with the
plastic guard back on.
7. On the bottom use some 1cm screws to fasten the metal block to the base acrylic plate.
Testing Directions
1. Twist both positive wires of the motors in parallel shown by the black arrow indicated above.
2. Do the same for the negative wire and supply a (3v – 6v) battery voltage to the motors (DO NOT
USE THE 18650). Note the direction, they should be the same. If not change one of the motor wires to
match the direction. Do the same for the other side. Both motors should be heading in one direction, in
the end all four motors must be heading the same direction.
Optional Adjustments
1. Before mounting the motor onto the frame, you can place a small 3/32” heat shrink tube onto the
motor leads and use a small heat source to shrink the tube to protect the leads from accidental
shortage. Do not use a soldering iron to heat the tube down, a lighter should be sufficient.
Page 5
Arduino Multi-Function Smart Car
Plate Hole
3. They are three holes you may need to apply the cut to, depending on the installation type. Their
location will be shown in the picture below.
Installation Method 1
1. Installation Method 1 demonstrates three line sensors mounted onto the bottom plate. This method
gives a better accuracy however it will require additional wires to interface and will scratch the
bottom panel. This is located on the opposite side of the motor, which is the bottom.
Page 6
Arduino Multi-Function Smart Car
Installation Method 2
Installation Method 2 Demonstrates two line Sensors mounted onto the bottom plate. This method will
result in lower accuracy however it will reduce the wiring required. This is located on the same side of
the motor, which is the top or inside and will require some 2.6mm standoffs.
Page 7
Arduino Multi-Function Smart Car
Installation of Arduino Standoffs
1. On the following image, place three of the 1.2cm standoffs located in red. Tighten the opposite side
of the acrylic plate with the 3mm nut. Locate the blue circle as the reference point.
Terminal Block
Front
Installing H-Bridge
1. Looking at the image above, the green color indicates where the H-Bridge terminal block will be
located and where is should be facing. The H-Bridge will be hanging underneath the acrylic plate.
Once this unit is installed then you can place the Uno over and screw into place.
2. Take the H-Bridge and orient the Terminal blocks to the position suggested, using some 1cm screws
and place into the screw holes of the H-Bridge with the flat head on the side of the heatsink.
3. Flip the board and screw some 3mm screws to keep the screw in place and to provide spacing, insert
into the purple circle indicated in the image above and place another additional nut to fasten into
place. Ensure the direction of the terminal blocks are facing front.
Installation of Arduino
1. Place the Arduino USB Port Facing to the right of this picture, the back two screw mounting holes
should align with the two back standoffs. The front single standoff will be the support of the unit’s
weight and does not need to be fasten down.
Page 8
Arduino Multi-Function Smart Car
Installation of kill switch
1. Using the two nylon spacer insert in the beige circle shown above. On the opposite side use two 7mm
screws to fasten into place. On the top, place a switch and either using a soldering iron, solder the red
wire from the battery compartment or twist tie the red wire to the switch and insulate with electric
tape. The connections of the switch should look like this:
On
Battery
Off
To VMS
2. The second wire is a normal breadboard wire that will connected to the middle contact which goes to
VMS of the H-Bridge. The Middle Connection must always go the H-Bridge, only then when the switch
is left or right, it can be considered an open or closed circuit. Insert two 7mm screws on the top to
secure the unit to the frame.
3. In the back simply connect a 6 pin Female to Female DuPont Cable. Leaving +5v & GND unconnected.
Feed the wires through the hole.
Page 9
Arduino Multi-Function Smart Car
Page 10
Arduino Multi-Function Smart Car
Assembling the Frame of Servo
3. Take the two plastic holder pieces and slide the motor into the unit, firmly lock the unit together and
insert the provided screw to fasten the unit together.
Fastening Unit
4. Insert two long screws included with the SG90 Servo kit and fasten them down into the holes of the
plastic motor mount and holder.
Adjusting Unit
5. Place the Servo motor inside the grooves of the plastic motor mount. Twist the Motor by hand to the
maximum endpoint. If you move clockwise that is your starting point. If counter clockwise it is your
ending point.
6. Adjust the motor by pulling it out and reseating in the proper position of the groove and test again
before you insert the final screw.
Page 11
Arduino Multi-Function Smart Car
Securing to Top Plate
9. Place the unit on the Acrylic frame and tighten with three 7mm screws, fourth one will act as support.
10. Place the HC-SR04 against the holder with rubber bands to keep them in place. The pins of the sensor
will be sticking upwards, connect four Female to Female DuPont cables to the unit.
Battery Precautions
1. Remove the USB cable when you are done compiling and uploading the code.
2. Never connect the USB cable when you have the Battery cable connected.
3. Never leave the robot unattended on idle with the battery plugged in.
4. These Batteries are extremely dangerous.
5. Avoid under charge as you might not be able to charge them again.
Page 12
Arduino Multi-Function Smart Car
6. Avoid overcharge as they might exploded, the charger should take care of this. However it is a good
practice to check the temperature and voltage of the device constantly with supervision.
7. When not in use place in a plastic storage compartment
8. Do not place the batteries in the wrong orientation and pay very careful attention to it!
Installation of Sensors
1. Install the Bluetooth sensor using zip ties to lock the sensor down onto the board and connect four
DuPont Female to Female cables.
2. Install the IR sensor using zip ties to lock the sensor down onto the board in the back and connect three
DuPont Female to Female Cables.
*NOTE: YOU NEED TO CONNECT SEL AS SHORT NEXT TO THE TERMINAL BLOCK, IF YOU WANT V
AND G TO PROVIDE POWER ON THE SENSOR SHIELD!
Page 13
Arduino Multi-Function Smart Car
Obstacle Avoidance
Wiring on Shield Wiring on Sensor Code
obs_avoid.ino
Using HC-SR04
and Servo to
sweep and detect
objects to avoid.
Page 14
Arduino Multi-Function Smart Car
Bluetooth
Wiring on Shield Wiring on Sensor Code
bluetooth_car.ino
1. Never connect when
uploading code.
2. EN and state not
required.
3. Upload
BluetoothSPP.apk to
get device working
4. Allow install from
unknown sources
5. Once installed open
application pair to
HC-06 lowest value
since it is near.
6. Press the menu
button to open as
normal mode.
7. Send keystrokes to
move device. View
header for
information.
Code can be found at www.abra-electronics.com and search AK-SMARTCAR in documentations you can find
French manual and code folder!
Le code peut être trouvé à www.abra-electronics.com et de recherche AK-SmartCar. Dans les documentations
que vous pouvez trouver manuel en français et le dossier de code!
Page 15