Home > News & Updates > Arduino IR Receiver

Arduino IR Receiver

Summary of Arduino IR Receiver


This article details an Arduino project that uses an infrared receiver to capture digit sets from a Samsung remote. The author utilized the Multi-Protocol Infrared Remote Library, filtered raw data via the serial monitor, and implemented a Switch/Case statement to control LEDs based on button presses. The system can be extended to operate motors, lights, or SSRs using optical isolation.

Parts used in the Arduino IR Receiver Project:

  • Arduino
  • Samsung remote
  • Multi-Protocol Infrared Remote Library
  • Serial monitor
  • LEDs
  • TSOP4838 IR sensor
  • Motors
  • Lights
  • Optically isolated SSR

I have been successful in programming my Arduino to identify sets of digits transmitted from my Samsung remote. I used the excellent library at http://www.arcfn.com/2009/08/multi-protocol-infrared-remote-library.html as a starting point. I stripped out everything that wasn’t a raw number, and started logging what numbers came across the serial monitor as I pressed buttons.

Arduino IR Receiver

I then created a Switch/Case statement that turns on (and off) particular LED’s when the appropriate button on the remote is pressed.

Not sure what sensor was in my VCR, but a TSOP4838 should work as well.

This can now be easily used to control motors, lights and other equipment (optically isolated SSR). I’ve uploaded a video to youtube showing how it all works.

Code and schematics are available at https://docs.google.com/folder/d/0ByRIq5k2wjcSd2FWa3FfQzBib1k/edit

 

For more detail: Arduino IR Receiver

Quick Solutions to Questions related to Arduino IR Receiver:

  • Which library was used as a starting point for programming?
    The Multi-Protocol Infrared Remote Library from arcfn.com was used.
  • How were the remote signals processed?
    The author stripped out non-raw numbers and logged the remaining digits via the serial monitor.
  • What coding structure controls the output devices?
    A Switch/Case statement turns on or off specific LEDs when corresponding buttons are pressed.
  • Can other sensors replace the original one mentioned?
    Yes, a TSOP4838 should work if the VCR sensor is unknown.
  • What equipment can this system control besides LEDs?
    The system can easily control motors, lights, and other equipment.
  • How are high-power devices like motors connected safely?
    They are controlled using optically isolated SSRs.
  • Where can the code and schematics be found?
    They are available at the provided Google Docs folder link.
  • Is there visual documentation of the project working?
    Yes, a video demonstrating the functionality has been uploaded to YouTube.

About The Author

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:
LinkedinTwitter
Scroll to Top