Today I’d like to show a very simple and practical application, which is not very difficult to get started, that is, using 2.4G Wireless Video Transmission Module to make a smart photography car. Let's take a look at the description of today's protagonist, 2.4G Wireless Video Transmission Module.
The 2.4G Wireless Video Transmission Module is mainly composed of a pcb board, a camera, and a peripheral WiFi antenna. It is designed for 2.4G Wireless Video Transmission Module and remote control. It is particularly simple to use. The module automatically turns on the WiFi hotspot when powered on. The flicker of the blue indicator indicates that the module is not connected; after connecting to the module hotspot via mobile WiFi (either Apple or Android), the onboard blue indicator will always be on, indicating that the module is successfully connected. Using the module supporting software, you can check the information collected by the camera in real-time, and realize video recording and photo shooting at the same time. You can also check the data collected by the camera in the VR mode through the VR goggles, and receive the images through the IOS/Android-system smart devices.
As we can see from the description, the 2.4G Wireless Video Transmission Module is very suitable for making a smart photography car.
Let’s introduce the hardware we will use today.
7.4v lithium battery
Because the 2.4G Wireless Video Transmission Module is powered by a USB interface, you need to find a small board with a USB interface. Here I use a small fast charging module. DFRobot Mall sells similar ones, such as the fast-charging module. You can also use other boards with USB interfaces, such as Raspberry Pi boards, if you just have one, but considering that we are going to put the 2.4G Wireless Video Transmission Module on the Maqueen Plus later, so the smaller the power board, the better.
So, I choose a 7.4v lithium battery for the fast-charging module.
Import the makecode graphical library
Step1: click the link: https://makecode.microbit.org/ to enter the makecode online graphical programming platform (Note: Loading for the first time will be slow, please be patient)
Step 2: Import the library: Copy the link address of the Maqueen library: https://github.com/DFRobot/pxt-maqueen
Step 3: Import the library according to the instructions
Now, we are going to assemble the smart photography car.
Connect the 2.4G Wireless Video Transmission Module to the board with USB interface, and then use a battery to power the board, and then fix them together.
Fix the whole of the 2.4G Wireless Video Transmission Module and the board that powers it to the Maqueen.
Start uploading programs to the trolley and the handle respectively
For the program of the trolley, click this link (trolley code), then download it to the trolley.
Steps of downloading program
For the handle program, I wrote a simple program to control the trolley. You can click the handle program and download it directly to the handle to use.
Now the programs of the trolley and the handle are downloaded to respective boards. Use the handle to control the trolley and see the effect.
The next step is critical one. U use Baidu Cloud to download the APP attached to the module and install it on the phone. Power on the module, connect the mobile phone to the WIFI of the module, and open the APP to use it directly.
At this point, a smart photography car is completed. You can control the actions of the car through the handle, view the information collected by the camera in real-time through the mobile phone, and realize video recording and photo shooting at the same time.