Hello,
What I am trying to do, is add to a project that I have already created and am using successfully.
What I have noticed, is that when batteries in my IR remote control get marginally low, the project I'm using doesn't get accurate information from the remote, so I need to replace batteries in the remote - in my opinion - too frequently.
The input pin in the Arduino triggers interrupts when it crosses a threshold between 2.2 and 2.4 volts. If voltage fluctuates between 2.2 and 2.4, then the interrupt constantly triggers.
I've noticed that when the IR receiver is idle, it feeds roughly 5 volts to the input pin and when I trigger it with an infrared signal, it goes down to around 1.1 volts at its lowest value.
The IR Input pin is configured to idle in an INPUT_PULLUP mode, which means if nothing is connected to it, it will always be right around 5 volts, so I only need to pull it to ground when that IR sensor gets below 4 volts or so.
SO ... what I'm thinking, since most standard transistors will turn on at a base value of around 1-ish volts, I need a circuit that will stay off when the voltage is at 5, but then turn on HARD when the voltage gets below 4 which would let me sink that input pin straight to ground through the collector ... so I basically need the reverse behavior of a "normal" transistor with very little saturation margin as the voltage on the base begins to change and I don't know how to create such a circuit.
Any input or ideas on where or how to direct my pursuit on such a circuit would be much appreciated.
Thank you,
What I am trying to do, is add to a project that I have already created and am using successfully.
What I have noticed, is that when batteries in my IR remote control get marginally low, the project I'm using doesn't get accurate information from the remote, so I need to replace batteries in the remote - in my opinion - too frequently.
The input pin in the Arduino triggers interrupts when it crosses a threshold between 2.2 and 2.4 volts. If voltage fluctuates between 2.2 and 2.4, then the interrupt constantly triggers.
I've noticed that when the IR receiver is idle, it feeds roughly 5 volts to the input pin and when I trigger it with an infrared signal, it goes down to around 1.1 volts at its lowest value.
The IR Input pin is configured to idle in an INPUT_PULLUP mode, which means if nothing is connected to it, it will always be right around 5 volts, so I only need to pull it to ground when that IR sensor gets below 4 volts or so.
SO ... what I'm thinking, since most standard transistors will turn on at a base value of around 1-ish volts, I need a circuit that will stay off when the voltage is at 5, but then turn on HARD when the voltage gets below 4 which would let me sink that input pin straight to ground through the collector ... so I basically need the reverse behavior of a "normal" transistor with very little saturation margin as the voltage on the base begins to change and I don't know how to create such a circuit.
Any input or ideas on where or how to direct my pursuit on such a circuit would be much appreciated.
Thank you,
Comment