Picaxe 18 and Ping
June 22, 2008
I just picked up a Parallax Ping distance sensor from my local Radio Shack and am trying to figure out to how hook it into my Picaxe 18 project board.
The ping uses a single pin for both input and output. It first requires a trigger pulse to be sent and then it responds with a variable length pulse that determines the distance. Can a Picaxe pin be switched from output to input? If not, can I connect 2 pins to the single Ping pin? Normally I would jut go ahead and try it, but I don't want to fry my Picaxe or the sensor.
The only examples I could find on here were for the Ardiuno and Google didn't turn anything up either.