Hello all,
Before I begin, I should mention I have successfully completed a similar project many years ago, so I know it's possible, but it's been a while and I can't find the code I originally used for relaying IR codes (or any other suitable solution, I've searched all over the internet and tried many pre-written solutions before reaching out via forum)
The program objective:
-Capture ANY tv IR codes
-Replay the codes on demand
The Application:
-Regulate TV volume via electret microphone
Logic of the program:
-Set desired TV volume via button and microphone
-Set remote Vol_up and Vol_down codes (eventually will save codes in SD card)
-send Vol_up or Vol_down IR signal based on microphone input (volume range).
What I've been able to do so far:
-The microphone portion is easy, I can view analog values of the microphone and set the volume range parameters
What else I need to do:
-Capture 2 IR codes and save them to deploy when the volume is out of range
Libraries I've tried to use:
-IRremote.h (obsolete)
-IRLib2 (not universal, or maybe I just don't understand it)
Components used:
-Arduino UNO
-Electret Microphone
-38kHz IR Reciever
-2-pin Buttons
-5mm IR Transmitter
-2N2222 Transistor
-Resistors, LED's, buttons, etc
Seems simple enough, but I would like the device to work for any TV, not just my specific model. Any help with IR signals would be greatly appreciated.
Thank you all!!!!