I ‘m working on overvoltage undervoltage protection device project, in this project PIC 16F877a microcontroller is used, but problem is that i’m not familer with PIC micrcomtroller so that i faced too much trouble, for that project i ‘m using “Hitech C compiler” i have little bit knowledge about PIC micrcontroller but i’m quiet good in AVR microcontroller(atmega16), so can you please provide me code for this project.
I’m also attach code which is is found to be error on MPLAB softwaree along with the “CIRCUIT DIAGRAM”.so please reply me, i ‘m waiting for your responce .
For relay interfacing coding is very simple. It is similar to controlling an LED. But in hardware you need to use a relay driver like ULN2803 IC or a simple transistor. Please refer the following link for that.