I'm using MCC 152 DO to send a TTL with a fixed pulse width (5 msec) and frequency (100 Hz). I use a Python script with a loop using time.sleep() for the "ON TIME" and "OFF time". when looking at the output with a scope it seems that the signal is not stable and with a lower actual frequency. is there a way to do that differently with a clock (I think the MCC 152 doesn't have one), perhaps from the pi? A small added complexity is that I need to synchronize an analogue read (using an MCC 118) with the TTL pulse.
Question
nbv
Hi
I'm using MCC 152 DO to send a TTL with a fixed pulse width (5 msec) and frequency (100 Hz). I use a Python script with a loop using time.sleep() for the "ON TIME" and "OFF time". when looking at the output with a scope it seems that the signal is not stable and with a lower actual frequency. is there a way to do that differently with a clock (I think the MCC 152 doesn't have one), perhaps from the pi? A small added complexity is that I need to synchronize an analogue read (using an MCC 118) with the TTL pulse.
thanks
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now