• Become a member
  • Log In
The Institution of Electronics
  • Home
  • About us
    • Our Objectives
    • Our History
    • Governance of the Institution
  • The Electron Magazine
    • 2024
      • 2024 – Winter
      • 2024 – Spring
      • 2024 – Summer
      • 2024 – Autumn
    • 2025
      • 2025 – Winter
      • 2025 – Spring
      • 2025 – Summer
      • 2025 – Autumn
    • 2026
      • 2026 – Winter
      • 2026 – Spring
  • Members
    • Membership Grades and Fees
    • Members’ Resources
      • The Electron Newsletter
      • The Archives
  • Education and Projects
    • National Electronics Competition
    • Student Members’ Projects
    • Arkwright Engineering Scholarships
  • News
  • Contact Us
  • Menu Menu
Uncategorised

DIY LED display provides extra functions and PWM

This design idea (Figure 1) shows how easily “new flesh can be added to the old bones” and how some new functions can be added to the simple LED display that was published earlier.

Figure 1 Upgraded simple LED display that preserves the same interface but adds more functions.

Wow the engineering world with your unique design: Design Ideas Submission Guide

The design preserves the same interface, albeit some controls have additional functions.

The new features of the design are:

Identification of the display by the host µP;
Control of brightness (2 or more levels);
A longer interface cable due to less sensitivity to ambient electric noise;
Protection of the ICs against the loss of Vcc;
Reset display during power-on (all segments are On);
Luminescence can be put out;
Some add-on functions, which can be used for further modifications or for external applications;
And, of course, PWM for the true connoisseurs.

If there are several devices sharing the same socket, the host µP can identify this display by reading the bits S5…S0 and comparing the result with the code 110101.  

There are 2 levels of static brightness (albeit there may be more).  

The level is selected by the sequence in which the digits of the display are programmed: from the digit which corresponds to LE0, to the digit which corresponds LE1, or the opposite sequence.  

The selection is preserved by the RS-trigger which controls the BJT switch Q1 (BC807).

The sequence from LE1 to LE0 sets the output of the RS-trigger to A=0 and the BJT Q1 is activated. This corresponds to full brightness.  

The sequence from LE0 to LE1 sets the output of the RS-trigger to A=1, so the BJT switch Q1 is off, and the LEDs receive a reduced current.  

The same principle can be used to add more functions to the interface.  

The algorithm of the interface:  

0. Initial/displaying state:  S3=0, S5=1, all other pins are of no importance;
The steps required to change the data on the display are:  
1. Set a digit’s address:  S2..S0 = address;
2. S3= positive strobe  0-1-0  to latch the address;
3. Set a segment’s address on  S2..S0;
4. Set a value of D:  S4=1 if the segment must be ON,  S4=0 if OFF;
5. S5=  negative strobe  1-0-1  to latch the value of D;  
6. Repeat from (3) for another segment, when all the segments are done, go to (1) while there are unattended digits.
7. To turn the luminescence off:  S3=1, S5=1

So, to get PWM you can simply play with S3 while holding S5=1.

The power switch in Figure 2 is even simpler and consumes less power.

Figure 2 Power switch that is simpler and consumes less power than the BJT switches shown in Figure 1.

It uses dual power-distribution switch TPS2092 instead of BJT switches. This circuit will also limit the current if an overload or short circuit are encountered.  

Note:  

– In this case you have to limit Vcc to 5.5-V max;

– PWM would be somewhat restricted by 2.5-ms typical rise time of the switch.  

—Peter Demchenko studied math at the University of Vilnius and has worked in software development.

Related Content  

An LED display adapted for DIY projects
Shunt circuit clips large transients or regulates voltage
LED current regulator has low dropout
Extending the resolution of a peripheral DAC

<!–
googletag.cmd.push(function() { googletag.display(‘div-gpt-ad-native’); });
–>

The post DIY LED display provides extra functions and PWM appeared first on EDN.

30 October 2023
http://institutionofelectronics.ac.uk/wp-content/uploads/2022/12/IOE_LOGO.png 0 0 http://institutionofelectronics.ac.uk/wp-content/uploads/2022/12/IOE_LOGO.png 2023-10-30 15:21:412023-10-30 15:21:41DIY LED display provides extra functions and PWM

Latest news

  • Secrets of Oscilloscope Time Measurements14 August 2026 - 13:44
  • Radon: Level detection, risk determination, and as-needed mitigation13 August 2026 - 13:16
  • TI a first mover in CAN XL transceivers13 August 2026 - 10:13
  • Four-channel USB-UART IC boosts server management13 August 2026 - 05:08
  • eFuse speeds overcurrent detection13 August 2026 - 05:08
  • Memory platform tackles AI bottlenecks13 August 2026 - 05:08
  • 6.5-kV SiC MOSFET reaches 8-kV blocking13 August 2026 - 05:08
  • Made by Google 2026: This limited silicon-supply situation really sucks13 August 2026 - 05:08
  • Cheap and cheerful LMC555 RC PWM pulse generator12 August 2026 - 13:56
  • Record high wafer shipments. Can fabs keep pace?12 August 2026 - 07:51
IOE LOGO 2

Become a member

click here

Become a member

click here

Become a subscriber

click here

Become a sponsor

click here

© Copyright - The Institution of Electronics | Website by WHD Solutions
  • Link to LinkedIn
  • Link to Facebook
  • Link to X
Link to: How SiC turbocharges EV infrastructure building blocks Link to: How SiC turbocharges EV infrastructure building blocks How SiC turbocharges EV infrastructure building blocks Link to: A new cost-optimized high-performance oscilloscope Link to: A new cost-optimized high-performance oscilloscope A new cost-optimized high-performance oscilloscope
Scroll to top Scroll to top Scroll to top