Shy Car
Description
In this lab, a car that runs away when you try to touch it was created it. When you reach out your hand to try and catch the car from behind, it will zoom off until it reaches a safe distance away from you.
This was achieved using a DC motor with a rubber band to rotate the two wheels of the car, as well as a photocell that senses the change in light when one approach the vehicle. Other components such as the transistor and the diode were used to create the overall circuit. This "shy" car could be a fun toy for young children to interact and play with!
During the development of this project, several difficulties came from attaching a rubber band conveyor belt to the DC motor's shaft. It was difficult to mount things directly on the shaft without a coupler. Through the use of makeshift parts and much trial and error, I was finally able to get the wheels to turn on the car; however, by no means was the implementation very robust. Depending on the how the rubber band rubs against the shaft of the DC motor, the car may accelerate at different speeds. In the future, I would like to find better parts that allow me to make a more robust design. As a proof of concept and a prototype, this design and implementation are decent.
Components
1 - Arduino Uno
1 - 10K ohm resistor
1 - 1K ohm resistor
1 - photocell
1 - DC motor
1 - diode 1N4004
1 - transistor TIP120
1 - battery holder
2 - AA batteries
1 - breadboard
Code
- Login to post comments