CLICK HERE FOR FREE BLOGGER TEMPLATES, LINK BUTTONS AND MORE! »

Monday, 9 July 2012


10am - 5pm

     Starting with our second task to create a PIC program code for the application of sonar sensor using PIC16F876A. Firstly, we discuss and understand the concept of our task which the sonar sensor as analog input device and buzzer as output device. The task require programming which the sonar sensor will sense the distance between sensor and any obstacle, at the same time the output buzzer will beep as warning sign. If the distance between sensor and obstacle is closer, the beep sound will be more quickly or the frequency of sound will increasing. As the LCD will display the range of the distance. This application same as reverse car concept.

Sonar sensor as input device

Buzzer as output device

PIC16F876A PCB board

     After compile program code into hex file, the programming is check after create simulation circuit in the ISIS Proteus software. For today, we try to understand how sonar sensor can sense the distance between sensor and obstacle by adjusted variable resistor. Then in the program code, the distance is divided into 5 level. 

Simulation using ISIS Proteus software

0 comments:

Post a Comment