Hi everybody.
I'm trying to use the LM2903 voltage comparator to produce an interrupt on my Arduino Nano when a given voltage become higher than a reference.
Before trying to generate interupt, I've taken a look on how the LM2903 work. So I've made a circuit that read the 2 inputs and the associated output of the LM2903. It work correctly :
- 0 as output when when Input < Reference
- a value when Input > Reference
The problem I've is the following one :
When I decide to connect to an interupt pin on the nano, I'm not able to detect a RISING or FALLING edge on my signal.
Any ideas ??
I've attached the information on the first circuit.
The circuit for the interupt is nearly the same : I've just connect to pin 2 or 3 of the Nano.
Using LM2903.pdf (255 KB)