I am using an Arduino Uno and I am looking for someone to point me in the right direction or help me I need to monitor the speed that the relays that are connected to the Uno are turning on and off. They turn on and of in ms, but i can't seem to find any code out there about this. Am I just missing it.
Thanks
Troypup
Take a look at the button/switch tutorials, and use the relay contacts as a switch.
The "timed press" button tutorial should be helpful.
Do You want to measure the reaction time of the relay?
Read microSeconds, trigger the output activating the relay and read the contact fingers until they make, Read microSeconds and subtract the first reading.
Railroader:
Do You want to measure the reaction time of the relay?
Read microSeconds, trigger the output activating the relay and read the contact fingers until they make, Read microSeconds and subtract the first reading.
And, unless the relay is sealed and the contacts are mercury wetted, you need to debounce the contact, just like a switch.
Paul
Using an oscilloskop is one possibility.....
This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.