Tell us about yourself!
Social Stats Tracker Display With ESP8266
LEDs and Lighting Class
Getting Started with Electronics
I used the resistor to set a reference voltage and the opamp as a comparator that set the output to high any time that the infrared receiver detected a button was pressed. For this I used a 100K resistor from 5V that set a reference voltage that was around 4.2V on the negative input, and it worked fine for me. There are other ways to perform this same action, but I prefer to use comparators.
Automated Light Switch Cont...View Instructable »