There are one relay and two LDR sensors. One of them activates the relay and the other deactivates it.
MCU: PIC16F877A
Frequency: 8MHz (External Crystal)
Note: Included schematic and PCB layout with Proteus
Note: It's a prototype and should get better
Note: This project can be designed with logic gate easily
It has included:
PIC Basic PRO
(Code with Basic Language)Hardware
(Included hardware layers)Pictures
(Photos Samples Made)Simulate
(Simulator File)
My GitHub Account: github.com/AliRezaJoodi
Note: You can go here to download a single folder or file from github.com