Saturday, December 15, 2007

My first HummBot circuit

Today I started my first preparations for the HummBot electronics. I have created a circuit using the following components:
  • Arduino controller
  • one Hitec Servo
  • two Sharp IR sensors
  • a breadboard
  • a 7.2V battery pack
Using these components I constructed the following circuit:



The IR sensors are connected to the 5V, Gnd and one of the analog pins.
The Servo is connected to the Vin (7.2V), Gnd and one of the digital pins.
I created a program that checks both sensor values, and if the right sensor detects something the servo is turned right and if the left sensor detects something the servo is turned left.
Very basic, but nice to start with!

No comments: