This is the revision A version of the Sonar2 module.

Sonar2 Module (Revision A)

Table of Contents

1. Introduction

This is a completely optoisolated Sonar module for driving two Parallax® Ping sonar modules.

2. Programming

Command
Name
Bit Action Description
8 7 6 5 4 3 2 1 0
Centimeter_Read 0 0 0 0 0 0 0 s s Send Return the distance for senosr sss as dddd dddd centimeters.
0 d d d d d d d d Receive
Millimeter_Read 0 0 0 0 0 0 1 s s Send Return the distance for senosr sss as dddd dddd millimeters. A return result of 1111 1111 means that the distance exceeds 254 millimeters (=10.45 inches)
0 d d d d d d d d Receive

3. Hardware

The hardware consists of a circuit schematic and a printed circuit board.

The parts list kept in a separate file -- sonar2.ptl.

3.1 Circuit Schematic

The schematic for the Sonar2 module is shown below:

Sonar2 Schematic
This circuit never had a chance of working. If I had taking time to try and type in a circuit explanaition, it would have become painfully obvious to me. Rather than try to describe how this broken schematic works, please mosey over to the schematic for revision B is much more likely to work.

3.2 Printed Circuit Board

The printed circuit board files are listed below:

sonar2_back.png
The solder side layer.
sonar2_front.png
The component side layer.
sonar2_artwork.png
The artwork layer.
sonar2.gbl
The RS-274X "Gerber" back (solder side) layer.
sonar2.gtl
The RS-274X "Gerber" top (component side) layer.
sonar2.gal
The RS-274X "Gerber" artwork layer.
sonar2.gml
The RS-274X "Gerber" mask layer.
sonar2.drl
The "Excellon" NC drill file.
sonar2.tol
The "Excellon" tool rack file.

4. Software

The following files are available:

sonar2.ucl
The µCL source code for the Sonar2 module.
sonar2.asm
The Sonar2 module assembly code file.
sonar2.lst
The Sonar2 module listing file.
sonar2.hex
The µCL Sonar2 Intel® Hex file.

5. Issues

The following fabrication issues occured:


Copyright © 2006-2007 by Wayne C. Gramlich. All rights reserved.