I m trying to trigger an Arduino Mega interrupt pin from a 3.3V sensor.
This voltage doesn't seem to be enough, since Arduino recognizes the interrupt only when I move the wire (probably since it causes the voltage to spike).
Can I use a transistor or any other solution to send 5V to the interrupt from a 3.3V source?
Best Answer
Can be done with a simple transistor and two resistors. When the 3.3v pin is pulled high, the arduino's interupt pin is pulled low.
simulate this circuit – Schematic created using CircuitLab