AppNote
Sonar Ranger

This is a preliminary "release" of the Java class support for a sonar rangefinder, the Devantech SRF04. It is controlled by a JStamp Development Station. The trigger pulses and echo capture are performed by JStamp counter/timer hardware. The echo also causes an interrupt which is handled by a Java event handler. The sonar rangefinder is usable from under 10 cm to about 3 meters.

Rev 0.8 (2003 Mar 31):
Some javadoc improvements and a JStik project file. Full version history is in the Javadoc header.


SONAR RANGEFINDER
The sonar rangefinder requires two Devantech SRF04 sonar modules, and a bracket to hold them. You can get the sonar modules (URS-01) and a nice bracket (URSH-01) from Lynxmotion. You will also need a JStamp development kit or JStamp system which provides access to timer/counter signals.
Photo of the dual sonar modules in the Lynxmotion bracket. Click the photo for another photo of the bracket with one sensor installed, showing the sensor connections.
Sonar0.8.jar (100 KBytes) 2004 mar 31 The whole project with JemBuilder project, javadocs, source and class files. Now uses the ajile irq package to configure the JemBuilder interrupt reference automatically. Major new version with much cleaner and easier-to-use code and API. Still a work in progress.
   

Systronix® 939 Edison St, Salt Lake City, Utah, USA 84111
Tel +1-801-534-1017, Fax +1-801-534-1019
contac ust Time Zone: MDT (UTC-6)

Java and all Java-based marks are trademarks or registered trademarks of Sun Microsystems, Inc. in the U.S. and other countries.
Systronix is independent of Sun Microsystems, Inc.
TStik, JStik, JCX, JStamp, JSimm, JDroid, and JRealTime are trademarks of Systronix, Inc.
1-Wire, iButton and TINI are trademarks of Dallas Semiconductor
Simmstick is a trademark of Dontronics
LEGO® is a trademark of Lego A/S, Denmark