carduinoeducation.com

Tyler Wolfe and Adam Siedlaczek

Carduino

Brief Summary:

We have our arduino and breadboard hooked up so that when the power source is plugged in the motors on the car begin to spin so the car move forwards. Then we have photoresistors plugged in so that the wheels spin when light is blocked and the car then turns. The cars turns away from the light. This should mean that the car should be able to drive itself in theory. https://www.sparkfun.com/products/10825

Detailed Description:

In order to make the motors work we typed in the code with the proper high and low outputs so that both motors would spin the wheels the same way so that the car would move forward. After we had it set up so the car was driving forward we had to make it so it could turn. We had to wire photoresistors so that based on the light sensitivity the car would turn so it wouldn't run into a wall and stop. Once the photoresistors were wired in we had to go to the code and set up an analog read. The analog read would make the motors change from HIGH LOW to LOW HIGH based on the reading the photoresistors were telling the arduino. These changes from HIGH LOW to LOW HIGH would make the car turn.

Problems that we encountered while making our car were first making the motors both spin the same way, then getting the analog to work was another problem. After we got the analog read to work we had a problem figuring out the code so the car would back up. Most of the problems we had were with the code but the one problem we did have wiring wise was the wiring of the photoresistors.

If we had more time we would've wanted something to put on the front of the car so that if it ran straight forward into a wall it could back itself up and turn. If we had more money we would've wanted to buy a real car and then put arduino on that.