Thursday, 12 November 2009

Ultrasonic Distance Transducer II

The Ultarsonic module (and other bits) arrived on Tuesday.
A 5 pin PCB header was quickly soldered to it, this way it can be plugged into the dev block, and connected to the PIC programmer.

The flowcode program was loaded into the PIC, and the unit sprung to life.
Works over a range of 1cm to 60 cm.

Want to try and make it indicate a decimal place next.
This will mean converting the measured value to a string to allow it to be displayed on the LCD.