Switch Activated by Darkness implemented with a PIC 16F877

3 Credits


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


There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.