The Driver control the display over One Wire bus. The driver can set up the luminosity and shut-down the display. When the driver shutdown the display, the display can only be startup again from poweron or pushing the disable/enable-pin down.
The "PIC16F54 7 segments display":
- 3 x 7 segments common cathode (5611AS)
- 1 x PIC16F54 Micro-Controller
- 3 x 2n7002 Transistors
- One wire bus
- Disable/Enable Pin
- Dimming
- Sleep (Energy saving, Then you need two pins)
- 3 characters
The schematic and the gerber files
Table: Bit TimingSymbol | Description | Min | Typ | Max | Unit |
---|---|---|---|---|---|
EN | Enable | 150 | 450 | 3100 | us |
TR | Time to read | 350 | 505 | 680 | us |
TN | Time to new bit | 150 | 1500 | 6600 | us |
EN : Start of new bit
TR : Time between start of EN and the remote sample the DIO
TN : Time the remote spend wait for new Data, this should be bigger than the minimum allowed time for EN
Table: Driver Registers
Adresse | Description | Default |
---|---|---|
0x00 | Option | 0x00 |
0x01 | Digit 1 | 0x00 |
0x02 | Digit 2 | 0x00 |
0x03 | Digit 3 | 0x00 |
This register acts as setting register.
Table: Option Register
Option | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|
SLEEP | EN | DIM5 | DIM4 | DIM3 | DIM2 | DIM1 | DIM0 | |
Default | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
DIM<5-0> : Dimmer, '0b000000' is full power and '0b111111' is dark.
EN : Writing '1' to this position will power off the segments. All segments are off, but the controller is still running.
SLEEP : The controller go in sleep. Can only be restart push the MCLR pin down. All registers will be reset to theirs default value.
Registers describing the segments that should light on. Writing '1' to a position will light on this segments.
Table: Digit Register Bit Assignement
Bit 7 | Bit 6 | Bit 5 | Bit 4 | Bit 3 | Bit 2 | Bit 1 | Bit 0 |
---|---|---|---|---|---|---|---|
DP | G | F | E | D | C | B | A |