Introduction: DIY a Wireless WiFi Video Transmission Tank Controlled by APP Based on ESP8266 and OpenWRT
Now, in the market, there are many WiFi video transmission smart cars based on Arduino. Now, here, we would like to present an illustrative demo for the wireless WiFi video tank based on the ESP8266 WiFi development kit controlled by Android mobile APP. Note that, the Android APP and the APP source code can be free download from doit.am.
Step 1: Wireless WiFi WR703N Router With OpenWRT
There are many choices for the wireless WiFi routers. But maybe they are very expensive. In this demo, we use WR703N as the WiFi router, which can be get from SmartArduino.
The wireless WiFi router can be used for the video transmission for the car chassis. This board is already burnt into OpenWRT.
Interface: USB (support to connect the camera)
Board size: 4.8*4.8cm
Shell size: 5.5*5.1*4.7cm
Step 2: Camera
Maybe, camera is very important, since it can decide the clearity of video and image. Generally speaking, these camera is very expensive. So, here, we just use a UAV camera from SmartArduino with the following features.
Materail: aluminum alloy
Model: HD720p (1280*720)
Type: UVC Default: 640*480
Software MAX dynamic pixels: 1600*1200
Software MAX pixel: 4000*3000
Color compress format: YUY2 (default)
Static format: BMP/JPEG
Dynamic format: AVI
Step 3: ESP8266 Wireless WiFi Development Board Kit
Name: ESP-12E motor shield
Using ESP-12 DEV KIT development shield module
Extend the output ports for ESP-12
DEV KIT: SPI,UART, GPIO, AI and 3.3V power interface
Extend 2-ways motor, then can directly drive2-ways motor
Design a power switch
Voltage for motor: 4.5V-36V
Voltage for ESP control board: 4.5V-9V
Driven cihip: L293DD
Disparate the power of ESP board and motor foravoiding the interference.
In our experiments, for convenience, a shortcut module is used to connect VIN and VM for the power of ESP board and motor.
Step 4: Tank/Car Chassis
About car chassis, Certainly, there has many choices. In the SmartArduino, a series of novel tank chassis can be chosen, like T100, T200, T300, and C300. Interesting, when you get such a tank/car chassis, you can belong many types of tank/car chassis by changing the 25mm/35mm motor frames. Then, it will be changed a 4WD car. Moreover, the main panel is already designed for Arduino UNO R3 and ESP8266 development board kit (NodeMCU).
Step 5: Other Items
Then, in the end, this video transmission tank chassis need other items, like the battery, dupont cable, etc. Importantly, The working voltage for motor of tank chassis is about 9-12V, while the WiFi router WR703N needs 5V working voltage. So, in design of the power, we must use a descent voltage module LM2596. Then, the working voltage problem is solved.
Step 6: Experimental Effect
After install the items for the chassis, when you run the APP for the Android phone, you would see the effect, shown in the pictures. Note that, in the demo, we use 2 types of WiFi: ESP8266 development kit and WR703N router, where the control commandline is run by ESP8266 development board kit, and video transmission is finished in the WR703N (i.e., the communication between Android phone and WR703N).