Hello,
I have an Arduino that is set to wake up when pin 2 (interrupt pin) is grounded. The rest of the application constrains the wake up state to waking up on ground, and the pin has internal pull up set.
pinMode(2, INPUT_PULLUP);
I want to use a IR receiver like this to wake up the Arduino.
The IR receiver has power on 3.3V, GND on GND pin, and the output pin is on pin 2. When I point a remote control at it, the IR receiver should wake up the microcontroller. Some days this works, some days it doesn't. I'm probably not understanding ho wthe IR receiver works. When it receives a 38kHz 915MHz IR pulse, does it pull the output pin to GND or 3.3V? Do I need a resistor in there somewhere like in a transistor circuit? Or maybe I need to add another component?
At the end of the day, I need pin 2 to to go GND when the IR receiver sees IR light. Not sure how to accomplish this.
Edit: ah, I needed to add a resistor and capacitor in parallel to 5V and signal.