Facebook Pixel Get More I/O Now! Going Beyond Your MCU's Pin Count | Circuit Cellar - education - Read this story on Magzter.com

Try GOLD - Free

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.

- Joseph Corleto

Get More I/O Now! Going Beyond Your MCU's Pin Count

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.

imageBut 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.

MORE STORIES FROM Circuit Cellar

Circuit Cellar

Circuit Cellar

Vishay Intertechnology Automotive-Grade Optocouplers Deliver High Isolation Voltage Ratings and Distance for EVs and Solar Inverters

Vishay Intertechnology, Inc. introduced two new Automotive-Grade optocouplers with phototransistor output in a widebody package featuring a comparative tracking index (CTI) of 600.

time to read

1 min

July 2026

Circuit Cellar

Circuit Cellar

WWVB Timecode Generator A Tool for Testing Radio-Controlled Clocks

In this article, Robert describes how he built a timecode generator that provides simulated code from WWVB, a radio station operated by the National Institute of Standards and Technology, which is used to synchronize millions of radio-controlled clocks.

time to read

16 mins

July 2026

Circuit Cellar

Circuit Cellar

MCUs at the Heart of the Edge Modern MCUs Go Beyond Simple Process Control

Microcontroller Units (MCUs) are the power at the heart of modern embedded systems.

time to read

2 mins

July 2026

Circuit Cellar

Circuit Cellar

650V ICeGaN Device for Automotive Applications from CGD Helps Increase EV Range

Cambridge GaN Devices (CGD) has developed a 650V GaN IC for automotive applications that addresses automakers' desires to improve inverter efficiency.

time to read

1 min

July 2026

Circuit Cellar

Circuit Cellar

Blues Latest IoT Modules Notecard for Skylo and Notecarrier CX

Satellite comms for IoT projects may seem the domain of enterprise customers, but new modules from Blues can bring satellites within reach even for small professional and research projects.

time to read

22 mins

July 2026

Circuit Cellar

Circuit Cellar

Rust: An Embedded Lightning Rod Nothing Is Quite as It Seems

Linus Torvald’s release of Linux 7.0 announced the finalization of Rust-related projects in the kernel: From now on, the programming language is to be considered a first-class member of Linux.

time to read

10 mins

July 2026

Circuit Cellar

Circuit Cellar

PLS' Debug and Trace Tool UDE Supports ST's Stellar P3E Automotive Microcontroller

The debug, trace, and test tool UDE Universal Debug Engine from PLS Programmierbare Logik & Systeme, has expanded its support to encompass the Stellar P3E.

time to read

2 mins

July 2026

Circuit Cellar

Circuit Cellar

The Tireless Intern: LLM Coding Agents for Embedded Work Using AI Speeds Security Tooling

This article discusses a case study of using a large language model (LLM) to develop a tool for embedded security, that would have otherwise taken several weeks (or months) of effort in a few days.

time to read

10 mins

July 2026

Circuit Cellar

Circuit Cellar

IoT Infrastructure: On-Premises Deployment or Cloud Solution?

Designing an IoT system is not only about sensors and dashboards.

time to read

5 mins

July 2026

Circuit Cellar

Circuit Cellar

Signal-to-Noise Ratio for Voice Activity Detection Devices

Users needs to be able to give AI glasses voice commands and be sure the device is only picking up their speech, not other sounds.

time to read

4 mins

July 2026

Listen

Translate

Share

-
+

Change font size