Hall effect current sensor as an interrupt?

Hi,
I want to ask you guys if it is possible to wake up arduino with ACS712 current sensor?
When no current flows it is outputing 2.5V and when current flows output becomes higher. At this point arduino should wake up after sleep mode.
Thanks for your help!

If the ACS712 is powered while Arduino is asleep I guess you could use a comparator to flip a voltage level ( low to high) when current exceeds a minimum and wake the Arduino, which ACS712, 5, 20, 30 Amp? What trigger current?

I think the ACS710 is the device you want, it has a programmable over current level and comparator built in.

Otherwise add an LM339 comparator to do the job.

Thank you for suggestions!
Does the LM339 output goes to 5v when + voltage is greater than - voltage?

laikiux:
Does the LM339 output goes to 5v when + voltage is greater than - voltage?

What do you mean by that ? Are you implying that your signal is bipolar and you want to level shift to 0 - 5V. IF you want your output in that range it's just a matter of supply voltage to LM 339.

If you mean the "+ input voltage", then yes.

AVR based Arduinos have a comparator built in. Read about how to use it here.

laikiux:
Thank you for suggestions!
Does the LM339 output goes to 5v when + voltage is greater than - voltage?

Not unless there's a pull-up resistor to 5V on the output pin. The output is open collector.

Yes, +ve input more +ve than -ve input means the output voltage will be high (assuming a pullup).