Alternative Control for Remote Control Vehicle

Alternative Control for Remote Control Vehicle

Kristina Beck, Harrison Statham, and Ethan Handte

Project Description

This method of controlling the car without physical contact was inspired by the Theremin, which is an electrical instrument played by holding one’s hand closer or further from a distance sensor. We used the motion of a hand to control speed and direction of a remote controlled car.

Holding one's hand closer to the sensor than the 1/3 meter threshold causes the car to go backwards and holding a hand higher than the threshold causes the car to move forward. Direction of the vehicle is controlled by moving one's hand left and right. The three sensors are set up in a line so if the hand hovers primarily over the rightmost sensor the car will turn right and the opposite is true for the leftmost sensor.

The original Theremin was made using a capacitive distance sensor. Lidar sensors measure distance more quickly than a sonar sensor and more accurately than a capacitive sensor, so we decided to use the VL53L0X. We used three sensors to read an input for speed and direction. These sensors are connected to the mbed at pins 27 and 28 as serial TX and RX. The remote control vehicle was purchased pre-made. We opened the controller and took the circuit board and antenna out of it. We removed push-button inputs for speed and direction and soldered digital control wires in their place which we connected to the mbed.

Parts List

Schematic

/media/uploads/kbeck8/schematic.png

Wiring

Information

In the wiring information below, "Radio" refers to the RF control for the vehicle that has been modified. The input pins for forward, reverse, right, and left can be found by putting a voltage at each pin and observing how the car responds. They are also depicted below.

Radio Wiring

AND gateMbedLidar 1Lidar 2Lidar 3
GND (7)GNDGNDGNDGND
Vcc (14)Vu (+5 V)
1 A (1)p 26
1 B (2)p18
1 Y(3)~SHDN
2 A (4)p26
2B (5)p19
2Y (6)~SHDN
3A (9)p26
3B (10)p20
3Y (8)~SHDN
MbedRadio
GNDGND (Black)
Vout (3.3 V)Vin (Red)
p21forward (Yellow)
p22reverse (Green)
p23right (Blue)
p24left (Orange)
MbedLidar (1, 2, &3)
Vout (3.3 V)Vin
GNDGND
p27SCL
p28SDA

Source Code

Import programAltControlOfRemoteVehicles

Alternative control of remote vehicles.

Information

The program above was an adaptation of the code below. It will not compile without the libraries from the following program:

Import programHelloWorld_VL53L0X_LPC1768

Test an Adafruit single VL53L0X breakout board using the mbed LPC1768 and print distance measurement to PC

Photos & Videos

RF Vehicle Controller and Rewired Circuitry
Radio controller outside it's casing.

RF Controlled Car
RF controlled toy car.

Circuit with LED indicating which sensor is communicating with Mbed
Finished circuit with additional LED's to indicate which LIDAR chip is turned on.

Video demo of the basic functionality of the system.

Video of system field test. The interference of the loose wires made the vehicle difficult to control.

PCB designed to simplify setup
PCB Designed to replace breadboard and most wires. In the original circuit, the wires often interfered with the LIDAR readings and sent false signals to the car. This PCB eliminates the need for those wires.


Please log in to post comments.