Site hosted by Angelfire.com: Build your free website today!
undefined
undefined

The Mechanical Following Puppy



Infrared Proximity Detector

Object avoidance is obtained using an infrared sensor that has the ability of detecting distances from 15 centimeters up to 30 centimeters. The object avoidance system requires three input/output pins from the microprocessor. Two are defined as output pins and one is defined as an input pin. The computer code that was written for the object avoidance system generates two separate pulses, one for the right side and one for the left side. These pulses are fed into an 74HC04 CMOS hex inverter which inverts the pulse. From the 74HC04 CMOS hex inverter the pulse is driven through an infrared LED which sends the infrared signal out. A subcircuit which consist of several resistors, a capacitor and a trim potentiometer in conjunction with the 74HC04 CMOS hex inverter is used as an oscillator circuit which is used to reduce or increase the strength of the infrared signal leaving the infrared LEDs. An infrared detector is situated between the two infrared LEDs and serves as an input to the microprocessor. The infrared detector detects when an infrared signal is returned, which means an object has been detected in the path of the puppy and relays the information to the microprocessor. This information is then processed and the appropriate action is taken. Power is supplied to both the infrared detector and the 74HC04 CMOS hex inverter by a 5v voltage regulator.



Abstract and Introduction
Ultrasonic Transmitter
Ultrasonic Receivers
Microprocessor Controller

Home