A Sound Ceiling
Text Coming Soon
This is an adaptation of my previous robot for assignment 6, so the documentation for the robot is available here: Small Robot – Assignment 6.
-Sleep: The robot will sleep until something enters its hunting range. Sleep is triggered by the dark.
-Hunt: The robot will chase things that are close to until something gets too far away or too close, in which case it will run.
-Run: When in the run state, the robot will enter a wandering mode where it will avoid objects until its put to sleep.
Arduino Sketch: mti_state_bot
I have been wanting to make a robot for quite some time, so this was a perfect opportunity. Its fairly simple, it just does its best to stay a set distance away from things in front of it. It will backup or move forward accordingly. He also gets scared when its dark, and spins in circles. I’m sure there was a lot I could have done better, but it was quick dirty, and a lot of fun.
1 Sharp IR Sensor
2 DC Motors
1 Arduino Mini Pro
4 AA Batteries
1 Photo resistor
1 H-Bridge (I have a few of this one, but a L 293 H Bridge is the same)
2 Wheels (I used gears I laser cut,but they didn’t have enough traction, so I hot-glued mat board to them)
Some Wood for the frame.
More info and pics after the jump…
Found everything for ~$350 dollars. Google spreadsheet is below.
I used a piece of Plexiglas to channel the light from one, tri-color led. It looks far cooler in real life than the video portrays it.
I decided to make my architecture buddies happy and make a switch that would make sure we kept our pencil to the paper. I used the fact that pencil lead (graphite) is conductive to create a simple switch. 5V DC flows through the pencil, and when it touches the aluminum foil behind the paper, either through a cut or when wet, the switch is thrown. Just imagine that when ever you lifted your pencil from the page, an alarm would go off, any student’s nightmare.