EmbeddedRelated.com
The 2025 Embedded Online Conference

Thermistor signal conditioning: Dos and Don'ts, Tips and Tricks

Jason Sachs June 15, 201116 comments

In an earlier blog entry,  I mentioned this circuit for thermistor signal conditioning:

It is worth a little more explanation on thermistor signal conditioning; it's something that's often done poorly, whereas it's among the easiest applications for signal conditioning.

The basic premise here is that there are two resistors in a voltage divider: Rth is the thermistor, and Rref is a reference resistor. Here Rref is either R3 alone, or R3 || R4, depending on the gain...


Real-time clocks: Does anybody really know what time it is?

Jason Sachs May 29, 20118 comments

We recently started writing software to make use of a real-time clock IC, and found to our chagrin that the chip was missing a rather useful function, namely elapsed time in seconds since the standard epoch (January 1, 1970, midnight UTC).Let me back up a second.A real-time clock/calendar (RTC) is a micropower chip that has an oscillator on it that keeps counting time, independent of main system power. Usually this is done with a lithium battery that can power the RTC for years, so that even...


Byte and Switch (Part 2)

Jason Sachs May 7, 20118 comments

In part 1 we talked about the use of a MOSFET for a power switch. Here's a different circuit that also uses a MOSFET, this time as a switch for signals:

We have a thermistor Rth that is located somewhere in an assembly, that connects to a circuit board. This acts as a variable resistor that changes with temperature. If we use it in a voltage divider, the midpoint of the voltage divider has a voltage that depends on temperature. Resistors R3 and R4 form our reference resistance; when...


Byte and Switch (Part 1)

Jason Sachs April 26, 201114 comments

Imagine for a minute you have an electromagnet, and a microcontroller, and you want to use the microcontroller to turn the electromagnet on and off. Sounds pretty typical, right?We ask this question on our interviews of entry-level electrical engineers: what do you put between the microcontroller and the electromagnet?We used to think this kind of question was too easy, but there are a surprising number of subtleties here (and maybe a surprising number of job candidates that were missing...


Sheep Bridge: In Praise of Generalists and System Engineers

Jason Sachs February 11, 2025

Today I want to talk about generalists and system engineers: why they’re important and why they’re different from each other.

Specialists and Generalists

A specialist is someone who has a very deep understanding of a particular subject, and spends much of the time working on aspects of that subject. Few others are capable of doing the specialist’s work. I recently wrote an article on gate drive design (Lost Secrets of the H-Bridge,...


Scorchers, Part 4: Burned by the Happy Path (Simon Says)

Jason Sachs December 31, 2024

As engineers, we have to think carefully about how our designs may be used in ways we did not foresee. You may have heard of the happy path, which describes a sequence of events someone takes to use a product — whether it’s software or hardware. The line between software and hardware has gotten pretty blurry in recent years due to the prevalence of embedded systems. (Good news for embedded engineers!) Things have gotten


Supply Chain Games: A Warning on Tariffs

Jason Sachs April 5, 2025

Things have changed quite a bit in the last two years with the automotive & industrial semiconductor market — from extreme chip shortage to inventory glut. I wanted to weigh in on our most recent economic news — tariff wars — while I’m still working on the next chapter of the Supply Chain Games series. (Yes, the last part I published was Part Five on cycle time in August 2023; no, I haven’t forgotten.) Part Six is really tricky to write, and I’m...


How to Analyze a Three-Op-Amp Instrumentation Amplifier

Jason Sachs May 4, 2025

There is a useful circuit called an instrumentation amplifier which has several subtle advantages. Back in 2014 I wrote an article called How to Analyze a Differential Amplifier, which is a circuit that comes up so often that every electrical engineer should just know it.

This gives you a gain of \( K \) from input to output if \( R3/R1 = R4/R2 = K \):

$$V_\text{out} - V_\text{ref} = K\left(V_P - V_N\right)$$

If you don’t get the resistor ratios exactly equal...


The 2025 Embedded Online Conference