Fork me on GitHub

Project Notes

#074 Raw Arduino Infrared

Tests raw IR reception.

Notes

An exploration of IR Sensor reception based on the adafruit sample code available here.

I’ve cleaned up the code a bit and modified it to optionally pump data out for plotting with LEAP#090 PlotNValues (a simple Processing sketch). This provides a simple graphical illustration of the PWM characteristics of IR protocols.

Here’s a sample trace of the “0” key being pressed on a common MP3 player remote control:

processing trace

And another showing an LG remote control “power on/off” key press:

processing trace

This all got me reading IR Remote Control Theory to better understand operation and protocols. Next step is to start decoding the signals, however for that I might avoid re-inventing the wheel and instead try the IRremote library.

Construction

The Breadboard

The Schematic

The Build

Credits and References

About LEAP#74 IRArduino
Project Source on GitHub Project Gallery Return to the LEAP Catalog

This page is a web-friendly rendering of my project notes shared in the LEAP GitHub repository.

LEAP is just my personal collection of projects. Two main themes have emerged in recent years, sometimes combined:

  • electronics - usually involving an Arduino or other microprocessor in one way or another. Some are full-blown projects, while many are trivial breadboard experiments, intended to learn and explore something interesting
  • scale modelling - I caught the bug after deciding to build a Harrier during covid to demonstrate an electronic jet engine simulation. Let the fun begin..
To be honest, I haven't quite figured out if these two interests belong in the same GitHub repo or not. But for now - they are all here!

Projects are often inspired by things found wild on the net, or ideas from the many great electronics and scale modelling podcasts and YouTube channels. Feel free to borrow liberally, and if you spot any issues do let me know (or send a PR!). See the individual projects for credits where due.