The Arduino Bluetooth Smart Car has the function of Complete tracking, obstacle avoidance, infrared remote control and Bluetooth remote control. It is a MCU study and application development system base on Atmege328.The greatest feature is that you can control it with Mobile phone bluetooth of Android system. That’s may have a lot of fun.To make it, you need a number of kits which contain a number of interesting programs, and expand external circuit module to implement functions.
So now let's begin to build this smart car.
Reduction gear ratio:1:48;
2>.Selection L298N module driver motor,segregate form CPU.
3>.Three tracking modules,detection white and black line.Available with fall prevention control.
4>.Infrared remote communication module,composition of remote control system of smart car.
5>.Bluetooth wireless module,can match with mobile phone to control smart car.
6>.Input voltage 7V-12V,can connect to different kinds of sensor.The more sensors ,the more functions.
1>.stepper motor x4
3>.motor fixed block x4
4>.100x213x5mm perspex sheet x1
5>.100x213x5mm perspex sheet x1
6>.L298N driver board x1
7>.Arduino uno 328 controller x1
8>.Arduino sensor shield V5 x1
10>.Servo motor x1
11>.Ultrasonic module x1
12>.Three channel tracking module x1
13>.Infrared receive sensor x1
15>.18650 battery holder x1
16>.18650 battery x2
17>.18650 battery charger x1
18>.Bluetooth module x1
19>.Dupont wire x30
20>.USB cable 1M x1
21>.Copper cylinder M3*20mm x3
22>.Copper cylinder M3*35mm x6
23>.Copper cylinder M3*20mm x3
24>.Copper cylinder M3*6mm x6
25>.M3 3mm screw and nut
1.PTZ and servo motor Installation
4.Introduction of L298N motor driver module, Tracking module principle, Ultrasonic obstacle avoidance intelligent car, Mobile phone bluetooth intelligent car
Step 1: PTZ and Servo Motor Installation Instruction
Step 2: Install As Below:
Step 3: Install the Frame
Step 4: Fix Ultrasonic
Step 5: Add It to the Car Chassis
Step 6: Experiment in Details
ENA(yellow in picture):
1(5V/PWM):enable motor A
0(GND/PWM):disenable motor A
IN1 to 5V,IN2 to GND,motor A corotation IN1 to GND,IN2 to 5V,motor A rollback ENB(yellow in picture):
1(5V/PWM):enable motor B
0(GND/PWM):disenable motor B
IN3 to 5V,IN4 to GND,motor A corotation
IN3 to GND,IN4 to 5V,motor A rollback
5V_EN(green in picture):
If use the jumper, chip 78 m05 provide power supply for modules
If do not use jumper, need to use 5v-pin & GND-pin provides power supply module for modules
CSA/CSB(green in picture):
Current test pins for motor A/B,can series connection resistance
If do not use jumper, detection of the current
If use the jumper,not detect current
UR1-UR4(green in picture):
Choose whether to use pull-up resistor
For I/O port driver ability of microcontroller, can short circuit, using pull-up resistor
If use the jumper, Do not use the pull-up resistor. If do not use jumper ,use the pull-up resistor
NOTE:You can use other code to driver motor.
2>.Tracking smart car
Tracking module principle:TCRT5000 Using infrared reflectivity of color is different, the strength of the reflected signal is converted into electrical signals. Black and white tracing module in high level effectively detect black, white is detected for the low level, effectively detect 0-3 cm in height.
3>.Ultrasonic obstacle avoidance intelligent car
Obstacle avoidance intelligent ultrasonic is convenient, simple and easy to do real-time control, and can meet the practical requirements in terms of accuracy of measurement, thus become a commonly used method of obstacle avoidance. Ultrasonic method using reference (Arduino ultrasonic ranging).
Ultrasonic smart wiring diagram;
4>.Mobile phone bluetooth intelligent car
Bluetooth (Bluetooth) technology, is actually a short-range radio technology, using the" Bluetooth "technology, can effectively simplify the handheld computers, laptops and mobile phones for communication between mobile phones and other mobile communication terminal equipment, also can successfully simplify the above communication between the devices and the Internet (Internet), so that the modern communication equipment and data transmission between the Internet become more efficiently, to broaden the way with wireless communications.
Because today is the first time to deal with the bluetooth module, or to a profound, let the Arduino and PC communication success. Wiring, first connect bluetooth motherboard + 5 v VCC, bluetooth motherboard GND connection - GND, motherboard TX connected bluetooth RX, RX connected bluetooth TX. When the success of the bluetooth module when the power is connected to the PC, the bluetooth module power will flashing lights, connect light green light will light up.
Let's learn the Arduino bluetooth remote control programmable intelligent car. Through bluetooth control forward, backward, turn left, turn right, buttons, computers and mobile phones, two kinds of control mode. (mobile phone operating system support Android 2.3.7 above. The computer must bring their own bluetooth)
When used for the first time to mobile phone with bluetooth car matching (pairing for the first time after the later don't have in wireless location), first take a look at the following steps:
1>>.Remember to open mobile phone bluetooth oh, open the software will remind users open the bluetooth
2>>.Then the text as shown in figure tips, connect a bluetooth device, scan matching bluetooth oh, otherwise not be able to connect to the car.
3>>.Match the car, the password is "1234" try it
The code for reference:
Thank you for your visiting! Please feel free to share us your comments. :)
Should you meet any problem, please feel free to contact us.