in this project we will use pic 16f877a inspite of using 8051. 16f877a is also a 40 pin IC having ports a,b,c and d.
port c will be input and port A will be output port.
project is interesting .
shortly we will upload circuit and code
for detail – bansal212@gmail.com