MrDEB
Well-Known Member
working on Christmas 2020 project and trying to decide what to use for detecting "dark'"
project entails a Christmas star that is placed on top of Christmas tree, powered by coin cell battery or 5v USB walwart.
leaning towards the wall-wart idea so battery would no need to be replaced.
project utilizes an 18f43k22 to control the 35 LEDs.
the light sensor will turn on the LEDs when it gets dark and runs for predetermined amount of time ( thinking 6 hours) thus a long delay is programmed in the pic.
the light sensing circuitry to be connect to an ADC port.
looking at different light sensor ideas using photo diode, photo transistor or even an LDR. All basically the same but trying to utilize the KISS method.
any ideas on which sensor type to utilize?
project entails a Christmas star that is placed on top of Christmas tree, powered by coin cell battery or 5v USB walwart.
leaning towards the wall-wart idea so battery would no need to be replaced.
project utilizes an 18f43k22 to control the 35 LEDs.
the light sensor will turn on the LEDs when it gets dark and runs for predetermined amount of time ( thinking 6 hours) thus a long delay is programmed in the pic.
the light sensing circuitry to be connect to an ADC port.
looking at different light sensor ideas using photo diode, photo transistor or even an LDR. All basically the same but trying to utilize the KISS method.
any ideas on which sensor type to utilize?