# Gesture Controlled RC Car

Arnav D.

###### Area of Interest

Electrical Engineering and Computer Science

###### School

Lynbrook High School

Incoming Junior

Resources:

Transmitter

## The goal of my first milestone was to connect the flex sensor to the Arduino Uno so it can record the bend angles. On top of recording the angles, the four flex sensors also work together to blink LED lights corresponding to certain motions of the motor. Each flex sensor corresponds to a finger and bending them mimics the motions of a hand. Bending the sensors blinks the LED lights to show which way it would direct the car to go. The colors are red for stop, green for go, orange for turn left, and yellow for turn right. The flex sensors are connected to the analog pins, so that the Arduino can read a range of values, and not just zeros and ones. The LED lights are connected to the digital pins because they only need two values: on or off. The flex sensors have a resistance range of 12k ohms when straight and 32k when bent 90 degrees. When the flex sensor is bent, it increases resistance, and decreases the voltage input.  There are also 2 10k resistors placed in series to form a voltage divider that allows us to measure the input voltage from the circuit and how much resistance there was from the flex sensors. Using this data, the bend angle of the flex sensor is calculated using the map function, which uses proportions to find an angle between 0 and 180 degrees. The main problem I came across while working towards this milestone was I could not get the Arduino to record the data of the flex sensor in the beginning; it kept returning a value of zero. I found out that the 10k resistor was not working, and when I replaced it, the circuit started working. Without that resistor, the voltage divider was not complete and the Arduino could not record the data. Then, the recorded values were changing, but they still were not correct, so I had to use a digital multimeter to measure the resistance values of each individual flex sensor, and I used a weaker resistor in the voltage divider in order to record accurate angle values. My next milestone will be to attach the flex sensors to my glove and use the XBees to send data from the flex sensors to turn on the LEDs.

Resources:

Flex Sensor Code

### Binary Blaster Kit

My Starter Project is the Binary Blaster. It is a game that teaches you to convert decimal numbers to binary form. A decimal number is displayed on the 7-segment displays and I have to press the LED buttons to toggle them between 0 and 1 to show the binary version of the decimal number. There are 2 switches, one to turn on the game itself, and the other one to turn sound on and off. The micro-controller controls the other parts of the binary blaster and executes the program to run the game. The capacitor stores energy and provides it to the buttons and displays when necessary. The 10K ohm resistor is used to reduce the flow of current when it is not needed to power the displays. The energy for the binary blaster is provided by 2 AA batteries which provide 1.5 volts each. Through this project I mainly learned how to solder and about the basics of a circuit board. The main challenge I came across was soldering all the parts to the board.  I chose this starter project because I think it is a fun game to make while learning to solder and about circuits.

Start typing and press Enter to search

BlueStamp and COVID-19 Summer 2020 was fully remote and a huge success! We hope to offer both remote and in person programming for 2021!