i dont understand why this input to an AND gate is always high ;_; cant figure it out!! Anyone any idea?? The Sonar device defo isnt pulsed (it flashes an LED when triggered).. just sits there at high.. Both do the same thing so its not a fault
Usually a range finder sets a bistable at the transmission time and resets it when the received echo is detected.
The period of the gate is the time to and from the target.
The 555 pulse generator freq is chosen to give a gated count [ via the bistable] proportional to the range of the target.
Usually a range finder sets a bistable at the transmission time and resets it when the received echo is detected.
The period of the gate is the time to and from the target.
The 555 pulse generator freq is chosen to give a gated count [ via the bistable] proportional to the range of the target.
yes i understand how the circuit works, just i thought when the range finder is inactive its output should be LOW.. but its not.. its just sitting high, so the pulsecounter is constantly counting when it shouldnt be
yes i understand how the circuit works, just i thought when the range finder is inactive its output should be LOW.. but its not.. its just sitting high, so the pulsecounter is constantly counting when it shouldnt be
Well, if the output is normally high and goes low when an echo is received, then you should be using an OR gate instead of an AND gate. You should use a NOR gate instead if you want the inactive state of the pulse counter input to rest in the low state.
Well, if the output is normally high and goes low when an echo is received, then you should be using an OR gate instead of an AND gate. You should use a NOR gate instead if you want the inactive state of the pulse counter input to rest in the low state.
thanks all for invaluable tips & help... I just threw in a NAND gate on a wing and a prayer and hey presto annoying when the documentation doesnt match up to the device itself!!