This is a sonar which uses salvaged polaroid camera's part. It can measure distance between 0.5 and 7.5 meters. I've used Linux to compile it, but maybe you can use any operating system which has GNU make and mspgcc (http://mspgcc.sourceforge.net/).
Quick how-to for make:
make to compile the code.make flash to flash program to the MSP430's ROM.make doc to generate documentation.You can download these sources here: http://dev.ivanov.eu/projects/atmega88p_sonar/atmega88p_sonar.tar.gz http://dev.ivanov.eu/projects/atmega88p_sonar/atmega88p_sonar.zip
Contact: Peter Ivanov E-mail: ivanovp__AT__gmail__DOT__com__NOSPAM
1.6.3