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.
この記事は Circuit Cellar の August 2024 版に掲載されています。
7 日間の Magzter GOLD 無料トライアルを開始して、何千もの厳選されたプレミアム ストーリー、9,000 以上の雑誌や新聞にアクセスしてください。
すでに購読者です ? サインイン
この記事は Circuit Cellar の August 2024 版に掲載されています。
7 日間の Magzter GOLD 無料トライアルを開始して、何千もの厳選されたプレミアム ストーリー、9,000 以上の雑誌や新聞にアクセスしてください。
すでに購読者です? サインイン
As a 'Matter of Fact
Inside atest Home Control Consolidation Attempt via Google Home and Matter-over-Thread
Industrial Computers Boost Machine Vision Systems
GPU and CPU Performance Drive Rugged Industrial Platforms
Infineon Introduces Industry's First 20 Gbps Universal USB Peripheral Controller
Infineon Technologies announced the addition of the EZUSBTM FX20 programmable USB peripheral controller to its EZ-USB product family.
Microchip Makes it Easier to Build Sophisticated GUIs for MPLAB Harmony v3 and Linux Environments
Designers are incorporating Graphical User Interfaces, or GUIs, into more electronic devices to enhance the user experience by providing intuitive and visually appealing interactions with today's modern applications.
Entertainment On Wheels
In-Dash Panels Control Head Units, Multiple Displays, Cameras and Sensors
Using Amazon Alexa to Control Custom IoT Gadgets
Integrating Voice Recognition for Smart Home Projects
Datasheet: Power Up With DC-DC Converters
Application Types Drive Parameters Beyond Efficiency and Density
D&D Die Roller with Raspberry PI RP2040
Fantastical Project Built with MCU TFT Display and LVGL Graphics
No Blues with Bluetooth!
Part 6: Bluetooth Cybersecurity Basics
LoRaWAN Goes the Distance at Low Power
IoT’s Versatile Protocol for Long-Range, Wide-Area Connectivity