Introduction: Snake: the Useless Machine
You know when you were a kid and you used to play snake on your Nokia? At a certain point the snake would start chasing its own tail, and that’s when you knew the game was about to be over. We decided to make that into a robot, only, the game never ends, and the snake chases it’s own tail forever!
Here's how we did it:
Step 1: What You'll Need
- 2 IR Sensors
- Arduino Uno
- 9V Battery
- L298N Motor Driver
- 2 DC Motors
Step 2: Making the Circuit
This is how your circuit should be wired, it's easier to model it first on Fritzing before you start.
Step 3: The Code
The First file is the arduino code use to program the arduino uno
The second file is a sample of how your circuit should work.
Step 4: Assembly
The Assembly for this robot is very standard:
- All the pieces are lasercut
- The 2 DC motors are mounted by wooden dowels
- Think of the IR sensors as the robot's eyes, they should be mounted at the front.
Attached is the AutoCAD file used for lasercutting the body parts.
Step 5: The Final Product!
Group Project with Ramez Sweiss
3 years ago
Nice little snake bot :)