View Full Version : Short-range sonar with bs2

02-09-2010, 01:24 AM
I just bought myself this book from Parallax; 'PROGRAMMING AND CUSTOMISING THE BASIC STAMP COMPUTER' by Scot Edwards. For my own practice on Basic Stamps, I got interested on designing the exact short-range sonar illustrated from page 167-175. I have mounted everything the way it is on breadboard but when testing, the time-of-flight displayed in the computer is always zero and i am kind of stuck. The oscillator is testing well though.

Can someone help me diagnose the possible sources of errors quickly please... i really wanted to go through this but i am getting disspointed

02-09-2010, 01:49 AM
Since most of us don't have the book it would help if you drew up a schematic of the circuit and attached your code to your next post. If you use the attachment manager you can attach the actual file you are loading to the stamp.

- Stephen

02-09-2010, 05:21 PM
I·have attached in this mail, the code for this project and you can see the circuits by clicking on this link....·http://www.reconnsworld.com/bs2sonar.html

hope i managed to attach well here...

02-10-2010, 09:04 PM
p ...... l ..... e ...... a ...... s ..... e

02-11-2010, 02:28 AM

Are you using the schematic that is on the web page with the parts·listed?


Joshua Donelson
www.parallax.com (http://www.parallax.com)

02-12-2010, 11:44 PM
yes, everything as it is...

02-24-2010, 10:19 PM
hurray...!!! managed at last, thank you for trying to work with me though.......