Turn-key PCB assembly services in prototype quantities or low-volume to mid-volume production runs

Interfacing Ultrasonic Rangefinder with AVR

HC-SR04 sensor

In this tutorial, we are going to interface ultrasonic rangefinder with the all popular ATMEGA8. An ultrasonic rangefinder is used to find the range of an obstacle or a wall from the sensor. However, when there are cheap methods available to find a distance like the IR sensor or even a combination of LED’s and LDR would do, but the question is why we use a more expensive sensor. The reason is:- IR sensors are not accurate The result varies from object to object Calibration is required Works well only for short range Typically the IR sensors have a detection range from 30-80 cm or even less depending upon the manufacturer and also the LED’s used. However, for an ultrasonic rangefinder, the distance can be measured accurately up to 400cm with an accuracy of 1cm. Ultrasonic rangefinders find application to measure a level of a liquid, object sensing. Also, the great thing with this sensor is they required no calibration; no conversion from analog to digital data and the code are is not limited to any particular manufacturer sensor. The… Continue reading

The US2B Radar – the Truly Radar That will Put You on the Test

Have you ever think to develop a high-tech and sophisticated US2B radar by yourself? You might think that this totally a mission impossible project, then you is wrong here. Before you starting the task, you’re better prepare these following components: PIC18F4550 microchip (microcontroller) An ultrasonic range sensor A old bipolar stepper motor (This for the motor turning purpose) Below here is the figure for the finished radar with the USB missile launcher beside it. The stepper motor will turn the ultrasonic range finder in 360 degrees and reverse (Cool, isn’t it?). When two measurements have been made, the PIC will send out the data to the PC by using an asynchronous interrupt transfer. The timer in the PIC controls the stepping motor turning speed. Continue reading