Category:PCB Arduino

Group Administrators: 1 | Group Member: 81 | Group Threads: 86

Arduino is an open-source electronics platform based on easy-to-use hardware and software. It's intended for anyone making interactive projects. About Arduino and Arduino Projects sharing are appreciated.

Thread Reply
Communicate with an Arduino via Infrared Light Reply 2017-02-13 00:30:49
380 views
1 comments
91 likes

James Kent

Leave A Message

Follow

An infrared (IR) light sensor allows the use of an Arduino to receive and decode signals from a TV remote control.
Most TV remote controls use infrared light to send encoded messages to the TV set. The wavelength of this IR light is normally between 930 and 950 nm, making it invisible to humans. When you press one of the buttons on a TV remote control, the control will modulate the IR signal with a pulse-width modulated (PWM) signal unique to that button. This signal is picked up by an IR receiver in the television, which demodulates the signal and figures out which button was pressed. We can do something similar with an Arduino, if we equip it with an IR receiver.
The IR receiver has three terminals; two are for powering the device while the remaining one is for the sensor output. The receiver demodulates the IR signal and outputs the demodulated PWM signal. The output terminal is connected to Arduino pin 3. The Arduino then figures out which button was pressed by analyzing the PWM signal.
Experiment 1
In this experiment, we will use a TV remote control to turn on and off two LEDs.
Hardware Required
  • 1x TV remote controller
  • 1 x IR receiver
  • 1 x Arduino Mega2560
  • 2 x LED
  • 2 x 330 ohm resistor
  • 1 x breadboard
  • jumper wires
  • Wiring Diagram
    Connect the components as shown in the figure below. The infrared receiver connects to pin 3. The LEDs are connected to pins 4 and 5 through 330-ohm current-limiting resistors.
    Experiment 2
    In this experiment, we will turn on and off different LEDs using the TV remote control.
    Hardware Required
    • 1 x TV remote control
  • 1 x IR receiver
  • 1 x Arduino Mega2560
  • 2 x LED
  • 2 x 330 ohm resistor
  • 1 x breadboard
  • jumper wires
  • Wiring Diagram
    The wiring diagram is exactly the same as Experiment #1
    91 likes
    Statement: This post is only the personal view of the author and does not represent the opinions of ALLPCB.com.

    hgp

    Leave A Message

    Follow

    Remarkable.I have learned a lot from your post.
    ThreadReply