Go Down

Topic: event detector feasability (Read 410 times) previous topic - next topic

bob a

I have a project where I need to detect a microsecond break in a dc signal. Given that the clockspeed of an arduino is in the MHz, would a loop that looked for a low signal, then kicked out a signal to turn on an LED be able to pick up such a short break? Thanks.

CrossRoads

That's what interrupts are for.
Can detect a signal that is I think 2 clock cycles in duration (0.125uS).
Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

bob a

Thanks! Just the answer I was looking for.

Krodal

http://arduino.cc/it/Reference/AttachInterrupt

Go Up