In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Zoot wrote: Certainly you can; an SX is on-board the Ping))) but the firmware is not public to my knowledge. Most ultrasonic modules have the micro generate the appropriate frequency for the tx transducer, but sending out pulses. Then the micro "counts" how many echos it gets back and converts the time for the echos to be received into either a pulsout to the host (like the Ping))) which holds it's signal line high to represent time for the echo) or converts to actual binary data and sends via serial or I2C tx. You might want to do a search on the web for folks who may have posted their own firmware for this sort of application (even if the firmware is for a micro you don't use); that might cut down a lot of homework and trial-and-error to get an idea of timing, pulse counts, etc. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=323890#m324070 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2009 (http://www.dotNetBB.com)