Frequency Output on ADL3

Discussion and support for current Advanced Dash Loggers, Sport Dash Loggers and Club dash loggers

Frequency Output on ADL3

Postby jcorsico on Fri Sep 06, 2013 1:27 pm

Hi -

I'd like to get one of the outputs of my EDL3 to turn on-and-off at a rate of 5 Hz. This is to flash a light.

How can I do this? Using the "Frequency" or "Duty Cycle" options does not seem to work, as the lowest rate you can pick is 23 Hz, which is too fast.

Thanks,
Jon
jcorsico
 
Posts: 15
Joined: Tue Jun 12, 2012 4:11 am

Re: Frequency Output on ADL3

Postby David Ferguson on Fri Sep 06, 2013 3:18 pm

Jon, I think you need to create a state machine using a timer and conditions. Use the duty cycle of the output to control the brightness of the light.

For example, you could create a timer that counted up, and rolled over at a limit of .2 seconds.

Then you could have a condition for your output that was something like "timer > 0.1 sec". So it would be off for .1 seconds, then on for .1 seconds -- and repeat so it would cycle at 5 hz. Your condition could be if "LightOn is true" and "timer > 5 sec" so it would only blink on when the LightOn channel was true.

Hope that helps.
David Ferguson
Veracity Racing Data
David Ferguson
Pro User
 
Posts: 1394
Joined: Fri Nov 07, 2008 2:45 am
Location: Paso Robles, California


Return to ADL3, SDL3 and CDL3

Who is online

Users browsing this forum: No registered users and 4 guests