Connecting Sharp GP2D02 IR detectors
Cats92
Posts: 149
Hello,
After a BS2 I have a Propeller (on a demo board) : very nice !
But I try to connect· 2 Sharp GP2D02 IR detectors (previously on the BS2)
and put a 4.7 K resistor on indata and N4148 diode on clock line.
Sensors readings are erratic using BS2.SHIFTIN function (Martin Hebel Library).
As I am know very little in electronic I need help .
Thanks.
After a BS2 I have a Propeller (on a demo board) : very nice !
But I try to connect· 2 Sharp GP2D02 IR detectors (previously on the BS2)
and put a 4.7 K resistor on indata and N4148 diode on clock line.
Sensors readings are erratic using BS2.SHIFTIN function (Martin Hebel Library).
As I am know very little in electronic I need help .
Thanks.
Comments
finally, I found why this Sharp IR did not work with the propeller:
*first: it is a problem of timing . I have to change a bit the delays in the BS2-Shiftin fonction
*second: one of the pins seems dead ?
Now I try to have a better response curve : it is too steep and distances·were obtained with a low ·precision
Nevertheless , I have a propeller bot (MYTHOS) with radio connection, IR detectors, Joystick commands. The fun begins !
http://cats92.free.fr/ROBOTS/nouveau/mythos1.jpg
cats92