Monday, June 1, 2015

Sparki Duino

The last unit for my Engineering class is programing little Sparki Duino Robots. After all the frustration and attempts, I finally got it to use its infrared sensors underneath to follow a line. Basically I told it if it detects the white line on all three sensors, then move forward, but if it detects it on the left sensor, then move left, and right if it detects the white line on the right sensor. This was a series of three if statements. For those of you who don't understand - coding is how I did it. I hope you enjoy my video, and I will show you more soon!

No comments:

Post a Comment