Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 4923

Determine wind direction by using PIC16F877A

$
0
0
My project is to determine the wind direction which are N,NE,E,SE,S,SW,W,NW by using 3 IR sensor,S,SI and SZ. The IR sensor is to check whether there are input or not. There are 3 LED, L,LI and LZ. When the IR detect input, the LED will on. The result will show in LCD.
The microcontroller im using is PIC16F877A with MPLAB IDE and hiTechC compiler.

Three sensor can work well at first. The second time when i compiled the code, the second sensor (SI) cannot function. LED light is also off....

Determine wind direction by using PIC16F877A

Viewing all articles
Browse latest Browse all 4923

Trending Articles