Introduction: Arduino Bluetooth Car Controlled by Labview
This is a Arduino RC car, originally based off of a project made by Owen_soo. It is very maneuverable, able to do quick turns, go backward and forward with just a flick of a switch. This was originally just going to be a very basic RC car that can go forward and turn right or left. It uses an Arduino Uno. I decided to change the software and use Labview instead.
Step 1: Parts
This are the necessary parts needed to build this project.
Primary Materials
5. 1.5V AA Battery(6 needed)
7. Resistor 5.1K Ohm(x3), 2K Ohm(x1), 1K Ohm(x1)
11. On/Off Switch
Software
Labview Makerhub (Labview Add-on)
All components on the platform is put in place using double sided tape with the addition of a few screws.
Step 2: Programming
The software that I use is called Labview. Unlike many of the more popular programming languages, Labview is a drag and drop icon base language. It has built in functions and uses data wires to connect and transfer information. One of the major problems that I ran into while creating the code was that Labview was unable to complete the initialization sequence. If there are any errors please scroll down.
Labview consists of two platforms called the "Block Diagram" and "Control Panel". The Block Diagram consist of the code which the program is runned by. The control panel is how the car will be controlled.
When the program is running, DO NOT press the stop button on the top left hand corner otherwise the program will stop working. If this does happen then turn the power off and back on. Disconnect the bluetooth and reconnect the bluetooth again. After that verify which serial port and connect to the right serial port.
Step 3: Wiring
This is the wiring for the car. The underside of the power regulator is soldered together including the bluetooth. The schematic shows how the wire connections work. For the motors, if the wiring doesn't work at first just switch the wires for each of the motors. The wire connecting to the battery and the Arduino's power port is soldered together. You can see this in the pictures above.