Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

AVR serial display and more

Status
Not open for further replies.

Vermes

Advanced Member level 4
Advanced Member level 4
Joined
Aug 2, 2011
Messages
1,163
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,316
Activity points
22,318


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

Link to original thread – Wyświetlacz szeregowy do AVR i nie tylko
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top