Understanding Mesh Circuits How to Use and Calculate Them
Circuit Cellar|October 2024
Microcontrollers and other digital systems concern mostly ones and zeros but when connections to the real word are needed it can get messy. Stuart writes about mesh analysis and how mesh circuits can be calculated and applied in practical scenarios.
Stuart Ball
Understanding Mesh Circuits How to Use and Calculate Them

When working with microcontrollers and other digital systems, we don't usually have to be concerned about anything but ones and zeros, right? But sometimes our MCU has to connect to the real world, and that can be messy. Sometimes we have to use that algebra that we couldn't see the need for in high school to make sure that we get the inputs or outputs we want and do it without damaging anything in the process. And in some cases, mesh analysis is how we handle that. I want to show you a few simple mesh circuits, and how they may be calculated and applied in practical scenarios. If you went to EE school, you probably saw this material in a fundamentals of electrical engineering course.

SIMPLE MESH CIRCUIT

Figure 1 shows a simple mesh circuit of three resistors. For a review of resistors, see my article "Getting Started with Resistors" in Circuit Cellar issue 382. Let's say that we need to calculate the voltage across the 2K resistor R2. This is fairly simple to do using series/parallel resistor calculations. R2 is 2K, R3 is 3K, so the value of R2 and R3 in parallel is 1.2K.

The current through R1 plus the parallel combination of R2 and R3 is:

The voltage across the parallel combination of R2 and R3 is:

2.27ma x 1.2K = 2.73 v

So the current through R2 is 2.73V/2K = 1.36 ma.

This simple example illustrates some general principles of mesh circuits:

•The sum of the currents into a node (connection) is zero. The current flowing into the junction of R1, R2, and R3 has to equal the current flowing out. So the 2.27ma flowing in through R1 has to equal the two currents flowing out through R2 and R3. Note that in doing the calculations, you can (and usually do) assume that all currents are positive, flowing into the circuit. When you do the math, at least one will turn negative.

هذه القصة مأخوذة من طبعة October 2024 من Circuit Cellar.

ابدأ النسخة التجريبية المجانية من Magzter GOLD لمدة 7 أيام للوصول إلى آلاف القصص المتميزة المنسقة وأكثر من 9,000 مجلة وصحيفة.

هذه القصة مأخوذة من طبعة October 2024 من Circuit Cellar.

ابدأ النسخة التجريبية المجانية من Magzter GOLD لمدة 7 أيام للوصول إلى آلاف القصص المتميزة المنسقة وأكثر من 9,000 مجلة وصحيفة.

المزيد من القصص من CIRCUIT CELLAR مشاهدة الكل
As a 'Matter of Fact
Circuit Cellar

As a 'Matter of Fact

Inside atest Home Control Consolidation Attempt via Google Home and Matter-over-Thread

time-read
10+ mins  |
November 2024
Industrial Computers Boost Machine Vision Systems
Circuit Cellar

Industrial Computers Boost Machine Vision Systems

GPU and CPU Performance Drive Rugged Industrial Platforms

time-read
6 mins  |
November 2024
Infineon Introduces Industry's First 20 Gbps Universal USB Peripheral Controller
Circuit Cellar

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.

time-read
1 min  |
November 2024
Microchip Makes it Easier to Build Sophisticated GUIs for MPLAB Harmony v3 and Linux Environments
Circuit Cellar

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.

time-read
1 min  |
November 2024
Entertainment On Wheels
Circuit Cellar

Entertainment On Wheels

In-Dash Panels Control Head Units, Multiple Displays, Cameras and Sensors

time-read
10+ mins  |
November 2024
Using Amazon Alexa to Control Custom IoT Gadgets
Circuit Cellar

Using Amazon Alexa to Control Custom IoT Gadgets

Integrating Voice Recognition for Smart Home Projects

time-read
10+ mins  |
November 2024
Datasheet: Power Up With DC-DC Converters
Circuit Cellar

Datasheet: Power Up With DC-DC Converters

Application Types Drive Parameters Beyond Efficiency and Density

time-read
3 mins  |
November 2024
D&D Die Roller with Raspberry PI RP2040
Circuit Cellar

D&D Die Roller with Raspberry PI RP2040

Fantastical Project Built with MCU TFT Display and LVGL Graphics

time-read
10+ mins  |
November 2024
No Blues with Bluetooth!
Circuit Cellar

No Blues with Bluetooth!

Part 6: Bluetooth Cybersecurity Basics

time-read
10+ mins  |
November 2024
LoRaWAN Goes the Distance at Low Power
Circuit Cellar

LoRaWAN Goes the Distance at Low Power

IoT’s Versatile Protocol for Long-Range, Wide-Area Connectivity

time-read
10+ mins  |
November 2024