Before I begin the explanation of the concept, I wanted to thank all of the advanced users and experts who have helped in the past. So... Thank You!
The concept is to build a relatively small box (8" - 10") square with multiple flashing LED's, sounds, etc. for my 2 yo grandson's entertainment. AND for him to be able to change them by pushing different buttons on an old remote. I already know how to get the layout and code for each button (thanks to Great Scott!). What I don't have is a way to encode those button pushes to activate the LED's, etc. It doesn't matter whether pushing the button actives a specific light or sound. It can be completely random. He doesn't care. (He collects all of my remotes and hides them in his playroom).
I have several Rpi's of each type, several different Arduino's, ESP32's and EPS8266's.
I was hoping someone has already built something similar. Or that someone knows that Adafruit already has a board or HAT that does something similar.
Thanks in advance for any help that you can provide...
David M
Arlington, TX
LED Project for my grandson
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- adafruit_support_mike
- Posts: 67485
- Joined: Thu Feb 11, 2010 2:51 pm
Re: LED Project for my grandson
It sounds like you're looking for a basic IR recceiver. This tutorial explains the basics of IR signals and some of the most common libraries for them:
https://learn.adafruit.com/using-an-inf ... y/overview
A short-and-incomplete summary is that the signals are modulated at 38kHz so there's a clear difference between ambient light and the signals.
Since you don't need a specific relationship between the input signal and the output, all you really need to do is detect an incoming signal. The TSOP38238 handles the job of detecting and smoothing out 38kHz signals, so all you're really looking for is output on its signal pin.
The TSOP38238 product page also has links to other projects you can use for reference and inspiration:
https://www.adafruit.com/product/157
https://learn.adafruit.com/using-an-inf ... y/overview
A short-and-incomplete summary is that the signals are modulated at 38kHz so there's a clear difference between ambient light and the signals.
Since you don't need a specific relationship between the input signal and the output, all you really need to do is detect an incoming signal. The TSOP38238 handles the job of detecting and smoothing out 38kHz signals, so all you're really looking for is output on its signal pin.
The TSOP38238 product page also has links to other projects you can use for reference and inspiration:
https://www.adafruit.com/product/157
- ddmoore66
- Posts: 2
- Joined: Sun Mar 26, 2017 2:19 am
Re: LED Project for my grandson
Thank you very much!!
I will look into both of those ideas and see if it will work for my project.
Thanks again,
David
I will look into both of those ideas and see if it will work for my project.
Thanks again,
David
Please be positive and constructive with your questions and comments.