Gesture Controlled R.C. Car
The two main components of the Gesture controlled RC car are the car and the glove.They have a wireless connection through Makerfire Transceiver Modules. The Glove has four flex sensors sewed into it that control the motion of the car through different gestures that the user can make. Their are five gestures for each action the car can do: forward, reverse, right, left, and stopped.
Area of Interest
Electrical/ Mechanical Engineering
SAR High School
Third Milestone Video
This milestone came with a lot of challenges. The process of transferring wires and separating code led to a lot of errors that went undetected for a while. I spent multiple days debugging before I found out the source of the immediate problem which was in my code I some pins that overlapped. Like a lot of the problems I’ve faced it was simple to fix once I found it- i just deleted the overlapping code as it didn’t have any function at this point- but it took a lot of time and investigation to find the bug.
For my third milestone I established the wireless link between my flex sensors and the car. I used two NRF modules that use radio frequencies to communicate; one was connected to each motor. Before the wireless connection I had one code that both processed the flex sensor values and executed the commands for the car, and it was all sent to one Arduino. Here I separated those two components into separate codes going to separate Arduinos. I have an Arduino Nano connected to the flex sensors translating and sending the values of the flex sensors as plain text. The if statements I have send specific instructions based the gestures I had previously established in the code.
Second Milestone Video
For my Second Milestone I connected the Flex sensors to the car. I wrote the code for the L298n motor driver that I am using. This code is the same code as my first milestone but under each “if” statement I added instructions for the car. In order to do this you must download and include a L298n library.
First Milestone Video
My First Milestone for the Gesture controlled RC Car is to program my gestures for the flex sensors to control LEDs, which are the initial substitutes for the motors. I put together the wiring for the flex sensors and the LEDs in a bread board connected to an Arduino.
My Starter Project is the Useless Machine, a box whose job is to turn itself off after being turned on. It has two main components and two switches. One is a DC motor which turns the arm, it is powered by three AAA batteries. Because the motor has polarity changing which of the two wires that the power goes into changes the direction of the motors rotation. This is exactly what happens when the user flips the switch, the power goes into a different wire and the motor turns the arm counter-clockwise to flip it back. The other is a three pin or bi-color LED, also powered by the batteries, that has two anodes and a common cathode. When power goes into one anode the LED shines green and when power goes into the other anode it shines red. The power always leaves through the cathode. When the top switch is flipped, in addition to the motor direction being changed, the LED changes color. The second switch is inside the box and cuts the power to the circuit when the arm is rotated back into the box and presses it. I liked this project because though the assembly was simple it was good practice for soldering and assembling hardware. Also because the process of understanding exactly how it works taught me a lot about the components in it that I may use in the future.