ruthsarian / holocron-toolbox

An Arduino sketch for interfacing with Galaxy's Edge Holocrons via infrared.
MIT License
2 stars 1 forks source link

Request: Support for raw IR LED #1

Closed gigawatts closed 2 weeks ago

gigawatts commented 3 weeks ago

After typing up a whole troubleshooting statement, I realized that the IR module you are using generates the 38kHz carrier signal for you, which is why my transmit setup is not working (IR receiver I'm using works great).

My IR transmitter schematic: GND ------ IR LED ------ resistor ------ Uno Pin 3

A good expansion to this project would be to let the Arduino generate the carrier signal so the extra hardware is not needed.

Perhaps the timing of the on/off signals from the sith holocron can be captured and sent with an existing IR library?

ruthsarian commented 3 weeks ago

I think this is a good idea. I will see what I can do!

ruthsarian commented 2 weeks ago

My latest update adds support for the Arduino-IRremote library which will allow you to use an IR LED. I've tested it and it seems to work. Let me know if it works for you.

gigawatts commented 2 weeks ago

Nicely done, works great!

I tested on an Uno (as described in my first post) as well as on an ESP32 powered badge from a conference that has IR LEDs and an IR receiver, as well as several touch sensitive pads in lieu of tactile buttons. I made a few tweaks to the button_press function to support one of those touch pads and it too works great. I'm happy to share those tweaks to support this board.

P.S. Love your work and your videos! :smiley: