Which MOSFET topology?

Jason Sachs September 1, 20119 comments

A recent electronics.StackExchange question brings up a good topic for discussion. Let's say you have a power supply and a 2-wire load you want to be able to switch on and off from the power supply using a MOSFET. How do you choose which circuit topology to choose? You basically have four options, shown below:

From left to right, these are:

High-side switch, N-channel MOSFET High-side switch, P-channel MOSFET Low-side switch, N-channel...

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

Jason Sachs June 15, 201117 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...

3 LEDs powered by fingers - puzzle

Henryk Gasperowicz October 8, 20131 comment

I would like to present my last puzzle design.

If you like such puzzles, I invite you to watch the movie below.

How does it work ?

Video: The PN Junction. How Diodes Work?

Stephane Boucher September 20, 2013

Really cool video on PN Junctions


The Art of Debugging

Mike December 11, 20151 comment

Debugging electronics is similar to any technological process.  In theory we know how things are supposed to work, in reality they don't behave as expected.  The challenge of engineering boils down to making things work, and debugging is the fundamental task we use to go from lumps of sand to picosecond accurate switching networks.  Debugging is an art that requires a lot of time to learn.  Like any skill, the more we work at it, the better we become.  

The first...

Working of the first solid state amplifier

Tapas Pandey November 30, 2015

Whenever a circuit designer thinks about amplifier, the first think that pops up in his mind is that of operational amplifier (Op-Amp). The answer is simple op-amps are beautiful (literally), you just have to set the gain of the op-amps with pair of resistors and you are good to go.

Series circuit - 3 LEDs

Henryk Gasperowicz September 24, 20131 comment

How does it work???