This device was designed for everyone who has faced the lack of sufficient number of outputs in a microcontroller.
Elements used in the display:
SCT2024 systems
double displays 12mm high
few passive components
Diodes powered by stabilized current light very clearly and regularly, there is no flicker as it is in the multiplex. From the program (Bascom) it is also simple, after configuring SPI, just send data to the display once and latch by setting the line LA for a moment in the high state, and there is nothing more to be done until you need to change the display content.
Schema
View from the side of the systems
Example of configuration SPI in Bascom:
Code:
Config Spi = Hard , Data Order = Lsb , Master = Yes , Polarity = Low , Phase = 0 , Clockrate = 4 , Noss = 1
Spiinit
And sending data to display:
Code:
Spiout dana(1),4 ' Gdzie "dana" to zmienna tablicowa definiowana jako "byte"
' dim Dana(4) as byte
La = 1 'La = pin podłączony do wejść LA układów SCT, alias
La = 0