Switch Activated by Darkness implemented with a PIC 16F877

3 Credits

Description

SPICE simulation of a circuit that implements a switch activated by a fixed threshold of light. It uses the Analog to Digital converter of the PIC 16F877 and a LDR (Light Dependant Resistor) to detect the amount of light.

  • For-Credits
  • Intermediate
  • <10
  • Proteus
  • 7.7+
  • Yes
  • Load darkswitch hex file Switch not activated Switch activated when the light decreases and voltage rises Program to edit and compile source code