Today’s article is about creating your own Bluetooth-controlled car. It describes in detail the necessary components, their connection and features of working with them.
Lithium batteries 2 pcs. (capacity will only affect battery life)
A breadboard and a set of wires
Computer/laptop
It is convenient to use a breadboard to connect elements, because it does not require soldering and it is convenient to make changes to it. You can learn exactly how to use a breadboard from this video lesson.
You need to connect the components according to the following scheme:
1. In order for the Arduino to work stably, you can solder 100 nF capacitors to the motors, as shown in the figure:
Inductive emissions that can be created by the motor lead to unstable operation of the Arduino. To prevent this, ceramic capacitors are installed.
If one capacitor did not help, you can add two more by soldering them between one of the terminals and the body. To do this, the place of soldering should be cleaned with a felt or a file and use soldering acid. But after soldering, it must be washed off, because over time it can dissolve the leads of the components.
2. If the motor rotates backwards when it should rotate forwards, then the polarity of the wires going to the L298N driver should be reversed.
3. When connecting the battery and motors to the L298N, you should use wires with a sufficient conductor cross-section, because a large current will flow through them. Signal connections (all others) can be made with wire of smaller cross-section.
**If you do not have the Arduino IDE installed, we recommend watching the video tutorial, which shows how to install and configure it.
At this link you will find information on how to install the driver on the Arduino board.**
Download the firmware file from this link.
After that, upload it to the board according to the instructions in the video above.
You need to flash the Arduino before connecting all the components. If batteries or other parts are connected to it during the firmware, you risk burning (literally) your computer and Arduino.
1. Install the program SriTu Hobby app
2. Go to Control
3. Select Bluetooth Car Remote
4. Go to the Connect to device menu
5. In the menu, select the device named HC-05
6. In the drop-down menu, select Gesture mode
Check if you have connected everything correctly
Make sure the code is loaded correctly on the Arduino Nano board
Check the power supply
If you have any problems, you can contact us at [email protected].