loading

A Professional Manufacturer of Smart Interactive Screens For More Than 10 Years 

charlieplexing 7 segment displays - display led

charlieplexing 7 segment displays  -  display led

This structure describes how to put a bunch of 7-
Led display.
Charging of discrete LEDs has always been the subject of several other instructions.
LEDs-
I thought of the theory and method of driving a large number of LEDs from several micro-controller pins.
They are all excellent and anyone who wants to get a deeper understanding of how charity works should read them.
Charliepsing 7-2016
Segment Display is roughly the same as using discrete led, but with some changes to handle the fact that all led segments have a common PIN instead of independence, and need to buffer the normal output, such a poor micro-controller can cope with the load.
When I build a fast dirty pulse generator I need to test the coil of the high voltage power supply and I decide if I use 6-
The digital seven-segment display replaces the ubiquitous boring LCD display.
Due to shortage of available I/o
The pins on the Atmel Tiny26 I use for the pulse generator project I can't do this using a standard multiplexing method.
Standard multi-channel transmission requires 14 I/o-pins -
Paragraph 8 (
Don't forget)
Co-anode/cathode plus 6 for each monitor.
I only need 9 I/o-by decorating the display-
The pins and displays are still mixed in a 1:6 manner, with the same brightness as the standard mix.
Charlieplexing usually lights up only one led at a time, so the brightness will decrease if you want a few LEDs (visibly)
Light at the same time.
Of course I can use a BCD-to-
7-segment decoding chip (74LS48)plus a 1-to-8 decoder (74LS138)
But that would be cheating, I don't have any hands for 48 months and I would really like to have the pulse generator installed in Altoids --like box.
Typically, you have to connect LEDs through a current limiting resistor to keep them alive for more than a few milliseconds.
Here, I don't use any resistors because the display is connected to the output pin of the micro-controller and the micro-controller generally cannot continuously absorb or source more than several times the current that the led/display can handle continuously.
Since we are reusing displays, they can only be turned on for 1/6 of the time and can handle more current than they have been turned on all the time.
In the schematic diagram below and in my structure, I am missing the current limiting resistor, both for the LEDs themselves and for the base resistance of the transistors.
Note that skipping current limiting and relying on luck with the following is a very bad structural practice, which combines the maximum specification with the relatively low receiver capability of the processor and the possible undervaluation of the led.
In anything you do professionally, or just want to keep running for a long time (
Longer than the first test run)
One should stick to good construction practices and read data sheets and math.
Read rgbphils comments in the comments section of this manual about running led on rated current.
The monitor I'm using here is a public anode-type.
This means that all segments have a common positive pin.
To light up a segment, you connect the common pin to the plus and one or more segment pins (s)to minus.
The normal multiplexing display has all-
A line segment that is connected together, and then all B-
Paragraph, etc.
The public pin is then connected separately to the microprocessor.
This makes the line segment have eight lines on each individual monitor, and the anode has one line.
As shown in the previous step, we need 14 (
16 if we have 8 monitors)
Connect to the micro controller to control 6 monitors.
If we use Charlieplexing technology, we can reduce the connection count to 9, regardless of whether we have 2, 3, 4, 5, 6, 7 or even 8 monitors.
The disadvantage of using Charlieplexing is that the connection to the monitor is a bit complicated, and the software that scans each monitor one by one will also become a bit complicated. But hey!
If you can save 7 output pins on the micro controller, I think it's cheap to have a few more lines of code.
As you can see in the software steps in this manual, the scanning software is not so complicated and can be easily implemented in the language of your choice.
The hardware is actually the same as in the standard multiplexing example, just changed some connections.
The main change is to add an extra line to the segment.
On the first display, the new line is connected to-
Segment, in the second display B segment, etc.
All other segments are connected as usual.
All A together, all B together (
Except for the special items mentioned earlier). . .
Then, the transistor of the first display is connected to-
Segment should be.
The transistor of the second monitor is connected to B-
Paragraph should be like this.
In order to address on the display, now the processor must first output a high value on the line connected by its transistor, and then output a low value on the line connected to the segment that should be lit and disconnected (high impedance)
The line of the line segment that should be closed.
The last part is the most important, because if the processor is high for the segment output that should be disconnected from the transistor connected to these segments, it will also be activated and cause some other monitors to be activated at the same time.
This is not a good thing.
Multiplexing always depends on activating only one display at a time.
Appear one by one in a quick way so that the brain/eyes are fooled and think they are running at the same time.
Since each monitor is connected in a slightly different way than other monitors, the scanning software must handle this through the special code of each monitor.
Here is the code written by Atmel Tiny26 in C-processor.
It should be very easy to adapt to any other Atmel processor.
I don't think there will be any major hurdles in converting a microprocessor into some basic dialect.
I use it as a reader's exercise :-)
You might notice that I have assigned I/o-
The port of the monitor is a bit odd, the reason is that the port not used here is used for other purposes in the project I use this monitor.
It's really easy if you want to rearrange the ports, just change the definition and remember to update A/B-
Suffix on the name so you don't miss moving them between groups in your code later.
It may sound a bit strange and it's hard to understand what I just said, but look at the code and ask if I need help.
I 'd be happy to help.

GET IN TOUCH WITH Us
recommended articles
Knowledge INFO CENTER FAQ
✨ Portable Smart Touch Screen — Redefining Lifestyle Displays
Technology today is not just about function — it is about attitude, personality, and the comfort of being able to control life the way we want. The portable smart touch screen, offered in 21.5”, 27”, and 32” sizes, has become one of the most exciting modern lifestyle displays. Often called a “personal mood screen” or “girlfriend screen,” it is loved for its elegant design, intuitive touch interface, and ability to transform any corner into a stylish and interactive space.
Smart Podiums Are Redefining Modern Classrooms: The Upgrade Every School Should Make in 2025
In an era where digital learning is evolving faster than ever, schools around the world are searching for tools that can elevate teaching efficiency, support hybrid learning, and create engaging, interactive environments for students. Among the many education technologies emerging today, one solution stands out as both practical and transformational: the Smart Podium.

A smart podium—also known as a digital lectern or intelligent teacher’s desk—combines advanced interactive technology, built-in computing, multi-device connectivity, and centralized classroom control into one sleek, user-friendly workstation. It is fast becoming the new teaching hub in smart classrooms, training centers, government institutions, and universities.
Transform Outdoor Communication with ITATOUCH Outdoor Digital Displays
In a world where attention is the new currency, ITATOUCH Outdoor Digital Displays empower businesses, schools, and organizations to communicate smarter, brighter, and more effectively. Designed to perform flawlessly under any weather condition, our outdoor digital signage solutions bring your message to life — rain or shine.
Transform Your Space with ITA TOUCH Indoor Digital Displays — Smart, Stylish, and Powerful!

In today’s fast-paced digital era, visual communication has become more important than ever. Whether in retail stores, hotels, schools, or corporate offices, the right digital display solution can instantly capture attention, deliver clear messages, and elevate brand image.

At ITA TOUCH, we specialize in indoor digital display solutions, offering both wall-mounted and floor-standing models that combine advanced technology, elegant design, and flexible functionality.
Smart Podium – Elevating Interaction in Classrooms and Conferences
In today’s digital era, traditional podiums no longer meet the demands of modern teaching and professional presentations. Educators and business leaders alike are seeking solutions that combine flexibility, interactivity, and seamless connectivity. The Smart Podium was designed with these needs in mind—transforming the way ideas are delivered and shared.
The Future of Classrooms and Conferences: Smart Podium Solutions
In today’s digital era, traditional classrooms and meeting spaces are rapidly evolving. One of the most innovative tools leading this transformation is the Smart Podium. Designed to integrate advanced technology with practical usability, the smart podium has become a powerful solution for both educators and professionals.
ITATOUCH IP66 Outdoor Display – Reliable Digital Signage for Smart Cities
In today’s fast-moving world, outdoor advertising and public information systems require displays that are not only clear and bright, but also durable enough to withstand harsh environments. ITATOUCH, as a professional OEM manufacturer of digital display solutions, proudly presents its IP66 outdoor display, designed for high-performance applications across multiple industries.
Why Digital Displays Are Transforming Modern Communication?

In today’s fast-paced digital world, traditional signage is no longer enough. Businesses, schools, and public organizations are rapidly shifting toward digital displays as a more dynamic, efficient, and engaging way to communicate with their audiences.

At ITATOUCH, we specialize in high-quality digital display solutions that combine advanced technology with sleek design. Our displays are widely used in education, retail, hospitality, transportation, and government sectors.
The Future of Collaboration and Learning: Why Interactive Flat Panels Are a Game-Changer
In today’s fast-paced digital era, communication and collaboration tools have become more important than ever. From classrooms to boardrooms, the demand for smart, interactive technology is reshaping the way we learn, teach, and work. Among these innovations, interactive flat panels (IFPs) stand out as one of the most powerful solutions.
no data
Established in Oct, 2016, focusing on the interactive high-tech products, specializing in the development of LCD touch screen monitor, interactive whiteboard, interactive learning software, infrared touch screen frame, interactive tablet … etc.
INFORMATION FOR INQUAIRY
Tel: +86 755 28281849
Wechat & whatsapp: +86 13582949978
Address:  Building #123, Mansheng Industrial District, Gongming Town, Guangming District, Shenzhen, China
Copyright © 2022 ITATOUCH| Sitemap
Customer service
detect