Progress Bar

Skip to main content

Jaycar
...

Ultrasonic Distance and Compass Reader

Ultrasonic Distance and Compass Reader

Difficulty

Summary

I had previously developed a little project which used an ultrasonic distance sensor and a clever little library called ‘talkie’. This project measured the distance in front of the sensor and then read it out- the sort of thing that could be used to help a visually impaired person navigate. Now I’ve included the Duinotech XC4496 compass module, so that the Reader can read out compass bearing and distance.

Materials Required

1Duinotech UNO r3 Main BoardXC4410
1150mm Plug to Socket Jumper Leads - 40 PiecesWC6028
1Arduino Compatible 3 Axis Compass Magnetometer ModuleXC4496
13.5mm Stereo Line SocketPS0134
1150 Ohm 0.5 Watt Metal Film Resistors - Pack of 8 RR0552
1Stereo Inner Ear EarphonesAA2090

Table of Contents

Future Improvements

I tracked down a sound sample for ‘metres’, so this version reads in metres. The compass sensor will only accurately read bearings if it is mounted horizontally, so what this project probably needs next is a way to mount all the components so that they can read accurately in your chosen application. The Uno can of course be run from a 5V USB source, such as a portable phone charger pack, but anything up to about 12V can be fed into the VIN pin- a 9V battery would make a compact power source. You could also run an AUX cord to an amplified speaker if you need louder sound.

Similar projects you may be interested in