Instructables
Picture of Robotic Eye
Hello, This time I will show an application of the infrared sensor module with Arduino.

This module (composed of a pair of LEDs, a infrared transmitter and a receiver and an IC that generates a frequency modulated) is generally used to detect obstacles in robots.

This module has some advantages over a simple LED emitting LEDs with a photodetector. The principal, in this case is that the emission frequency is modulated, preventing ambient light makes the receiver detect the wrong signal. Also, the construction module that facilitates interconnection and didactic use with the Arduino.

 
Remove these adsRemove these ads by Signing Up

Step 1: Materials

Picture of Materials
DSC_0288.JPG
DSC_0395.JPG
DSC_0397.JPG
DSC_0399.JPG
DSC_0289.JPG
- An Arduino board

- A sensor shield board

- 3 infrared sensor modules

- A standard servomotor

- A Styrofoam ball

- wires


Step 2: Mounting

Picture of Mounting
DSC_0403.JPG
DSC_0404.JPG
DSC_0405.JPG
Cut the Styrofoam ball to hold the arm of the servomotor, paint the Styrofoam ball in the shape of an eye, fit the servo arm in the eye and fit them into the servo.

Step 3: Mounting the Shield and connecting sensors

Picture of Mounting the Shield and connecting sensors
DSC_0292.JPG
DSC_0406.JPG
DSC_0408.JPG
Mounting the Shield in Arduino, install the sensors with the aid of wires.

Note: The receiver module has 4 pins.

- A 5V

- 1 GND

- 1 OUT

- Enable (works to enable the module when it is without the jumper)

* Be careful not to inveter wires.

How to connect the wires:

Shield  ->  Sensors
 
pin  12 ->  left sensor

pin  11 ->  center sensor

pin  10 ->  right sensor
J-Five1 year ago
Great for Halloween!!!
J-Five J-Five1 year ago
By placing it in a hallowed toy skull rig the eyes to move when someone tries to get some candy!!!
J-Five1 year ago
I SEE YOU!!!!
PeckLauros (author)  J-Five1 year ago
Hehehe..
I meant to say "EYE SEE YOU!"
Nadr0j1 year ago
Looks awesome and like a lot of fun. I'd love to give this a try.

As a beginner to Arduino, could you take some time to explain the code to me? It looks somewhat simple but includes some functions I may not be familiar with.
PeckLauros (author)  Nadr0j1 year ago
Hi ! Welcome to Arduino's World!
Im a beginner too. I will try to explain it to you (inside the code above) but my english is a little poor.
temduke582 years ago
I am trying to find the parts for this project. Was wondering where the parts could be found for reasonable prices. The sensors are difficult to find.
PeckLauros (author)  temduke582 years ago
Hi Below is the list of items I bought.

Arduino Board:
http://www.dealextreme.com/p/arduino-duemilanove-2009-atmega328-p-20pu-usb-board-blue-60cm-118078?item=50

Sensor Sheild:
http://www.dealextreme.com/p/jy-mcu-sensor-shield-v4-0-arduino-uno-2009-123623?item=32


BreadBord Wires:
http://www.dealextreme.com/p/30cm-breadboard-wires-for-electronic-diy-40-cable-pack-80207

Infrered Sensors:
http://dx.com/p/ir-infrared-sensor-switch-module-121517?item=1

I appreciate the info. Looking forward to building this project! Thanks!!
PeckLauros (author)  temduke582 years ago
OK. Then show us some pictures as soon as possible
Will do. Ordering the parts very soon.
You should put a wireless camera inside the eyeball!
PeckLauros (author)  Adambowker982 years ago
Good idea!