Front Panel components
When all the components are installed, you are finished with the main build of the clock. You
can now add the “front panel” components. These will usually be added on the outside of the
clock case.
SV2
4 pin connector
LDR
LDR
S1
SWITCH
The switch connects to ground when closed. It uses the internal pull-up resistor provided by the
Atmega on the input pin to pull the input to VCC when the switch is not closed.
The switch is de-bounced in software, so practically any switch you want to use is suitable. A
simple switch is provided in the kit, but you might want to substitute this switch with one that
suits your case.
The LDR forms a potential divider with R17. One leg of the LDR must be connected to the input
pin, the other leg must be connected to GND.
The LDR should be mounted in such a way that the flat face of the LDR is exposed to the
ambient light. This will allow it to detect the ambient light and adjust the brightness for it.
Please see the connection diagram in the schematics to understand how to wire the front panel
components.