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.
Step 2: Mounting
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
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
[box color=”#985D00″ bg=”#FFF8CB” font=”verdana” fontsize=”14 ” radius=”20 ” border=”#985D12″ float=”right” head=”Major Components in Project” headbg=”#FFEB70″ headcolor=”#985D00″]
– An Arduino board
– A sensor shield board
– 3 infrared sensor modules
– A standard servomotor
– A Styrofoam ball
For more detail: Robotic Eye using Arduino