This is so common on the web, why would you want to pay for it? Unless it was homework. http://www.cs.umd.edu/users/musliner/sonar/notes http://www.epemag.wimborne.co.uk/projects1998.html November 1998 PIC Ultrasonic Tape Measure and a few dozen other hits. And you haven't given any details on the tranducers. You DO realize that you'll need to do some analog design as well. Robert Sara XXXX wrote: > hi, i was wondering if anyoone can write me a code for an ultrasonic > tape measure. pic16f84 has to creat a 40khz signal and then has to > count how long iit will take for the sigal to come back, and must from > there calculate its distance and send the data to LCD. > > I will pay for anyhelp provided > > -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist