1. Project Introduction
This project is using ESP8266 Expansion Board to work as a data bridge between Android mobile APP and toy car, you can send control signal to the car and get sensor data from the car by tapping the APP buttons.
The project has an Arduino UNO board as car controller, a L298N module as motor driver, a three-wheel chassis as framework
2.Parts and Devices List
|Arduino UNO Board||1||Buy It|
|ESP8266 Expansion Board||1||Buy It|
|3-Wheels Car Chasis||1||Buy It|
|DC Male||1||Buy It|
|DS18B20 Temperature Sensor||1||Buy It|
|Flame Sensor||1||Buy It|
|Light Sensor||1||Buy It|
|Dupont Wires||some||Buy It|
Please insert the ESP8266 Expansion Board into Arduino UNO R3 Board as per following pictures, then set the two switches in ESP8266 Expansion Board to “ON” so that the ESP8266 Expansion Board is connected with Arduino UNO serial port.
3.2 Light Sensor Module
3.3 Flame Sensor Module
3.4 DS18B20 Temperature Sensor Module
3.5 Motion Sensor Module
Set the switch of ESP8266 Expansion Board to “12” , load above code into Arduino UNO board, then set the switch to “ON” and turn on the power .
In your Android mobile phone, download and install the APP：BTcar.apk
Now use mobile phone to search your surrounding wifi hotspots, you can find a wifi hotspot named “DoitWIFI_Config”, connect this hotspot(No Password), as shown in figure
Click the up and down buttons , the car will move forward and backward respectively. Tap left and right buttons and your call move towards left and right. Tap the middle button can stop the car and get sensor data.