Get More I/O Now! Going Beyond Your MCU's Pin Count
Circuit Cellar
|August 2024
Small microcontroller design projects often require additional I/O. In this article, Joseph presents several methods of expanding digital and analog I/O for these applications.
He delves into some of the most common options, such as adding a shift register, a multiplexer, or an I/O expander, along with a few less conventional approaches. You could have as much I/O as your heart desires yet some approaches come with cost, size and development time tradeoffs.
It seems like microcontroller memory just gets bigger and bigger, and often, it doesn't make a significant dent in program space. When I mention this to the players in the firmware game that have been doing this for a while, they are quick to say how lucky we 'youngins' are to have limitless memory so that even the most inefficient code can get the job done right.
And they are correct! I seldom need to optimize my code for limited program space. For speed, yes, I do sometimes need to be sensitive to certain places in my program, but not for the entire program space. Instead, I can focus on abstracting my program such that it has multiple layers of files that nearly anyone can read without a hassle.
Even when I'm developing small microcontroller projects, I typically use only a small part of the memory, while still maintaining the price point the product is supposed to hit.
But for the amount of I/O, this is a completely different story.In fact, I often find myself needing more digital and even analog inputs and outputs. Sure, I could just upsize and get a bigger microcontroller, but this is rarely the solution, because the microcontroller seems to be locked down.
Esta historia es de la edición August 2024 de Circuit Cellar.
Suscríbete a Magzter GOLD para acceder a miles de historias premium seleccionadas y a más de 9000 revistas y periódicos.
¿Ya eres suscriptor? Iniciar sesión
MÁS HISTORIAS DE Circuit Cellar
Circuit Cellar
The Future of Sensors in Safety Systems Sensing the Stop
How Magnetic Sensors Are Enabling the Next Generation of Braking Systems
5 mins
December 2025
Circuit Cellar
Alif Semiconductor Elevates Generative AI at the Edge with New Support for ExecuTorch Runtime in Its Ensemble MCUs
Alif Semiconductor, the leading global supplier of secure, connected, power efficient Artificial Intelligence and Machine Learning (AI/ML) microcontrollers (MCUs) and fusion processors, announced that developers can now use the ExecuTorch Runtime, a quantization extension of the popular PyTorch ML framework, for AI applications built to run on its Ensemble E4/E6/E8 series of MCUs and fusion processors.
1 min
December 2025
Circuit Cellar
Encrypted MQTT Protocol for Critical Sectors
Mechanisms, Challenges, and Best Practices
3 mins
December 2025
Circuit Cellar
Datasheet: Small Size, Big Power
Smaller Microcontrollers Bring New Possibilities
9 mins
December 2025
Circuit Cellar
Analog Devices Launches ADI Power Studio and New Web-Based Tools
Analog Devices, Inc. (ADI), a global semiconductor leader, announced the launch of ADI Power Studio, a comprehensive family of products that offers advanced modeling, component recommendations, and efficiency analysis with simulation.
1 mins
December 2025
Circuit Cellar
Compact IBR300 2.5" SBC Powered by NXP i.MX 93 from IBASE
IBASE Technology, Inc., a leading provider of rugged embedded computing platforms, announced the release of the IBR300, a 2.5\" RISC-based single board computer (SBC) powered by the NXP i.MX 93 processor with dualcore ARM Cortex-A55 (up to 1.7GHz) and a Cortex-M33 MCU.
1 min
December 2025
Circuit Cellar
Sensors in the Spotlight
The Next Decade of Embedded Sensor Systems
12 mins
December 2025
Circuit Cellar
Bob's Wrap Up
In Bob's last article with Circuit Cellar, he attempts to wrap up a career of more than 50 years as an embedded systems engineer and 14 years with Circuit Cellar. He looks at each of his 58 articles by category and provides some recommendations for his fellow engineers.
7 mins
December 2025
Circuit Cellar
Designing Embedded Software Architectures That Last
I've reviewed hundreds of firmware projects over the years, and one thing always stands out: the most successful projects have a clear, deliberate architecture.
10 mins
December 2025
Circuit Cellar
Broadcom Introduces Industry's First Wi-Fi 8 Silicon Ecosystem Powering the AI Era
Broadcom, Inc. unveiled the first Wi-Fi 8 silicon solutions for broadband wireless, targeting residential gateways, enterprise access points, and smart mobile clients.
1 mins
December 2025
Listen
Translate
Change font size

