Android Bluetooth Car Today I will present to you a manual from the category of "Do it yourself!" On the creation of a machine with remote control via Bluetooth called MOBOT BTcar.
MOBOT BTcar is a simple project that allowed me to better explore the Arduino platform. The idea of ​​the project is simple: to turn a cheap toy car on the radio control into a cheap toy car controlled via Bluetooth from a smartphone, using an Arduino UNO board and a Bluetooth adapter connected to the board and sending a command. In addition, it was decided to install on the auto lighting rear, low and high beam.
We will need: - Model cars 1 to 16
- Arduino UNO Board
- Bluetooth adapter (BT0417C)
- 6 white LEDs
- 2 red LEDs
- 4 finger batteries (AA)
- Ni-Mh 650mAh Battery
- 4 output resistors 1 kOhm.
- Wires
Assembly Description First of all, it will be necessary to open the case of the car and unscrew the original control board with wires, this is a strip with a 16-pin microcontroller (8 legs per side). Cheaper models use the RX2 / TX2 Realtek chip or something compatible with what is shown in the picture below.
So what should you do? It is necessary to solder the wires to the outputs of the chip that are responsible for the movement
forward ,
backwards ,
turbo ,
right and
left . And also do not forget to solder to the ground (GND). You can leave the control chip itself, but we did not do that and threw it out. After all, all management will be done with Arduino.
Once the wires are soldered to the mother board of management, it will be necessary to connect the Arduino, of course solder the wire ends can be directly to the chip on the Arduino board, but we would not advise to do it. It is better to use standard connecting pins on the board and a specially harvested wire, well, or in extreme cases, just solder terminals with control board to them. Firstly, it is easier and more convenient. Well and secondly, each connecting pin is signed, so we understand how to ping and chip Arduino board it is associated, and what function is performed.
Now let's pay attention to the bottom of the finalization - the light. In our model, we used 2 white LEDs as the head light and 2 red LEDs working as taillights. In addition, 2 white LEDs for brighter, we used to simulate a high beam, and the remaining 2 white LEDs went to the rear lights. To install them, you can use a screwdriver or any other piercing-cutting object, for making holes in the housing, or in standard optics.
In the model we used was full-time optics, so we needed to cut the lighting control track on the home board, which would switch control to the Arduino. Here we need the wire again. Short leads (anodes) of all eight LEDs need to connect wires to the GND Ping on the Arduino board. Long terminals of LEDs, it is necessary to pair for each type of light (2 LEDs for low, 2 for driving, 2 for rear lights and 2 reverse) and connected to the corresponding pin of Arduino board via a resistor. The resistors limit the current and protect LEDs from "burning".
After that, it will be necessary to assemble the entire structure. Below is the pin number on the Arduino board and its corresponding control circuit:
- PIN12 - Forward
- PIN11 - Back
- PIN10 - Left
- PIN9 - Right
- PIN8 - Turbo
- PIN7 - Dipped
- PIN6 - High Beam
- PIN5 - Taillights
- PIN4 - Reversing Lights
- TX - RXD Bluetooth adapter
- RX - TXD Bluetooth adapter
- 5V - 5V Bluetooth adapter
- GND - GND Bluetooth adapter / Common LED anode / Ground for standard control board
Please note that the Arduino TX pin connects to the RXD of the Bluetooth adapter card. This is due to the fact that on one side of the Arduino we use a transmitter (Transmitter) and from the adapter side a receiver (Receiver). For pin RX - TXD all the same.
Here's how everything should look about you:
After completing the assembly of the scheme is only one problem to be solved will be in front of you. This is to ensure supply chains most machines, as well as Arduino boards and other periphery. The machine has a built-in battery, you can try to power the Arduino from him, but we it did not work, the internal battery was not enough to supply all the chains, so we used an extra battery that is taken from an airplane model, placing him outside our cars, for a place in already It was not there.
Arduino board programming By
giventhe link below you can download the software for the Arduino board, which will allow you to connect it via Bluetooth with the client application on your Android smartphone
Client part for smartphone The application that will need to be installed on the phone you can find on our forum
here.
Well, in the end you should have something similar to our project. To check it out you can watch a demo video
hereOriginal text: http://www.madteam.co/2011/11/07/diy-andro...ar-mobot-btcar/ Thanks for the translation: Ozz_klochkov Post has been editedz @ drig @ - 09.11.11, 13:20