Gp2d12
Newzed
Posts: 2,503
I want to use the GP2D12 with a BS2P24, and I'm not sure I know what I am doing.· From the data sheet I gather that the sensor takes a reading every 39ms.· Is this correct?· If I pull Vo high, I get a digital output, which apparently is negative going pulses.· How does the Stamp read this digital pulse output.· Do I count the pulses and equate this to a distance?· If so, how often should I repeat the COUNT command in order to get a continuous indication of distance.· Is the period of COUNT 39ms?
Thanks for any help.
Sid
Thanks for any help.
Sid
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas Office
Ref+ = Vdd.· I would think that would give me sufficient accuracy and resolution.
Sid
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas Office