Summary of A PIC16F819 DYMOCLOCK
This project is a simple LED clock and thermometer built around a PIC16F819 (18-pin) using direct LED driving (no decoders/drivers), 27 LEDs arranged in three rows for hours, minutes/seconds/°C, and fine increments, plus a silicon diode as temperature sensor. It runs a 12-hour clock with 2°C thermometer resolution, multiplexed LED tables, and button controls for mode, toggle, and set; compiled with mikroC for a PIC16F819 at 16 MHz.
Parts used in the Simple LED clock with thermometer:
- PIC16F819 microcontroller (18-pin)
- 16 MHz crystal
- 27 LEDs (25 mA each)
- Silicon diode used as temperature sensor
- Push buttons (mode, toggle/advance, set)
- Colored hookup wires for LED wiring
- Power supply (suitable for PIC and LEDs)
- Miscellaneous PCB or protoboard and wiring hardware
- built around a little 18 pins PIC
- no 7 segment display, only LEDs
- no decoder, no buffer, no driver for the LED display
- a cheap temperature sensor
The solution of direct LED driving comes from a Microchip Application Note AN234, and as I’m using 25 mA LEDs, I simply removed all current limiting resistors.
A silicon diode is used as temperature sensor, and the rest of the circuit is very classic around a PIC16F819 :some colored wires are helpful !
See the source code for LED numbering.
- What microcontroller is used in the project?
The project uses a PIC16F819 microcontroller. - How many LEDs are used for the display?
The display uses 27 LEDs arranged in three rows. - Does the design use LED drivers or decoders?
No, the design drives LEDs directly without decoders, buffers, or drivers. - What component is used as the temperature sensor?
A silicon diode is used as the temperature sensor. - What clock format and thermometer resolution does the project implement?
It implements a 12-hour clock and a thermometer with 2°C resolution. - What compiler and clock speed are specified for the PIC?
The source is compiled with mikroC and targets a PIC running at 16 MHz. - Are current limiting resistors used for the LEDs?
No, current limiting resistors were removed because 25 mA LEDs and Microchip AN234 direct drive technique are used. - How are different display modes selected?
Buttons on PORTA are used: one for mode/advance and one for toggle/validate; both together act as set.
