Go Down

Topic: Using PWM externally and getting triggered on edge (Read 1 time) previous topic - next topic

mabijaoude

We built a controllable integrator circuit for a sensor device.

We will be using the PWM from the Arduino to drive the "Start Integrating" & "Stop integrating + Hold".

However, We want to read the PWM signal or be interrupted when the clock goes low. This way the Arduino will know when to start the Read of the value that is on hold. 

What I see PWM being used for is motor control but haven't found something that will help the Arduino "know" when it should start to read or not.

PWM Clock
High = H
Low = L
Duty Cycle = 80%

HHHHLHHHHLHHHHLHHHHL
During the L, the value is being held.  We want to be interrupted on the edge down to begin the read of the value on hold.



cjdelphi

And just what is creating these high and low rising edges? How quickly?  Too little info

Go Up