<?xml version="1.0" encoding="utf-8" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Jason Sachs Blog on EmbeddedRelated.com</title>
<link>https://www.embeddedrelated.com/blogs-1/nf/Jason_Sachs.php</link>
<description><![CDATA[RSS Feed for Jason Sachs Blog on EmbeddedRelated.com]]></description>
<image><title>Jason Sachs Blog on EmbeddedRelated.com</title>
<link>https://www.embeddedrelated.com/blogs-1/nf/Jason_Sachs.php</link>
<url>https://d23s79tivgl8me.cloudfront.net/user/profilepictures/88624.jpg</url>
</image>
<atom:link href="https://www.embeddedrelated.com/blogs_rss.php?bloggerid=88624" rel="self" type="application/rss+xml"></atom:link>
<language>en-US</language>
<lastBuildDate>Wed, 11 Mar 2026 23:31:09 +0000</lastBuildDate>
<pubDate>1773271869</pubDate>
<item>
<title>Stuck with Jira — and Stuckons</title>
<link>https://www.embeddedrelated.com/showarticle/1772.php</link>
<description><![CDATA[<p>I&rsquo;m venting today, because I am very frustrated with Jira&rsquo;s quirks and limitations as issue-tracking software. I spend too much time each day sifting through notification messages, and managing issues in Jira.</p>
<p>I&rsquo;m also trying to get my head around some tough aspects of project management, and I&rsquo;ll share some of that thinking with my usual...]]></description>
<pubDate>Fri, 02 Jan 2026 03:43:10 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Baking in Process Improvements</title>
<link>https://www.embeddedrelated.com/showarticle/1768.php</link>
<description><![CDATA[
<p>Today I want to talk about process improvements with an example.</p>
<p>Recently, a relative of mine was busy preparing for a garage sale. She had also wanted to make a double batch of chocolate chip cookies, but ran out of time. So I offered to make the cookies with her daughter, who I will call Spunky Shoes. She handed me a printout of the recipe, which I have listed below:</p>

<a...]]></description>
<pubDate>Sun, 09 Nov 2025 23:28:42 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Beware of Analog Switch Leakage Current</title>
<link>https://www.embeddedrelated.com/showarticle/1747.php</link>
<description><![CDATA[
<p>I&rsquo;ve written about leakage current of CMOS circuitry <a href="https://www.embeddedrelated.com/showarticle/81.php">several</a> <a href="https://www.embeddedrelated.com/showarticle/112.php">times</a> <a href="https://www.embeddedrelated.com/showarticle/522.php">previously</a>, but it&rsquo;s always been as a warning tossed aside, something to scare inexperienced youngsters, like the boogeyman or the chupacabra. Today I want to show you a specific example.</p>
<p>Let&rsquo;s say I want to make a switchable reference that takes a 1.25V reference voltage and either buffers it or...]]></description>
<pubDate>Sat, 28 Jun 2025 02:17:00 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>How to Analyze a Three-Op-Amp Instrumentation Amplifier</title>
<link>https://www.embeddedrelated.com/showarticle/1743.php</link>
<description><![CDATA[
<p>There is a useful circuit called an <a href="https://en.wikipedia.org/wiki/Instrumentation_amplifier" rel="nofollow">instrumentation amplifier</a> which has several subtle advantages. Back in 2014 I wrote an article called <a href="https://www.embeddedrelated.com/showarticle/557.php">How to Analyze a Differential Amplifier</a>, which is a circuit that comes up so often that every electrical engineer should just know it. </p>

<p>This gives you a gain of \( K \) from input to output if \( R3/R1 = R4/R2 = K \):</p>
<p>$$V_\text{out} -...]]></description>
<pubDate>Mon, 05 May 2025 01:45:49 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Supply Chain Games: A Warning on Tariffs</title>
<link>https://www.embeddedrelated.com/showarticle/1740.php</link>
<description><![CDATA[
<p>Things have changed quite a bit in the last two years with the automotive &amp; industrial semiconductor market &mdash; from extreme chip shortage to inventory glut. I wanted to weigh in on our most recent economic news &mdash; tariff wars &mdash; while I&rsquo;m still working on the next chapter of the Supply Chain Games series. (Yes, the last part I published was <a...]]></description>
<pubDate>Sat, 05 Apr 2025 23:15:00 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Sheep Bridge: In Praise of Generalists and System Engineers</title>
<link>https://www.embeddedrelated.com/showarticle/1726.php</link>
<description><![CDATA[
<p>Today I want to talk about generalists and system engineers: why they&rsquo;re important and why they&rsquo;re different from each other.</p><a name="specialists-and-generalists"></a>Specialists and Generalists<p>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&rsquo;s work. I recently wrote an...]]></description>
<pubDate>Tue, 11 Feb 2025 05:43:54 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Scorchers, Part 4: Burned by the Happy Path (Simon Says)</title>
<link>https://www.embeddedrelated.com/showarticle/1722.php</link>
<description><![CDATA[
<p>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 <a href="https://en.wikipedia.org/wiki/Happy_path" rel="nofollow">happy path</a>, which describes a sequence of events someone takes to use a product &mdash; whether it&rsquo;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...]]></description>
<pubDate>Tue, 31 Dec 2024 22:04:44 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Lost Secrets of the H-Bridge, Part V: Gate Drives for Dummies</title>
<link>https://www.embeddedrelated.com/showarticle/1671.php</link>
<description><![CDATA[
<p>Today we&rsquo;re going to talk about gate drive circuits for MOSFETs and IGBTs. But first I want to share a story.</p>
<a name="magic-smoke"></a>Magic smoke
<p>About 25 years ago, I shared an office with a nice guy named Larry who was working on a <a href="http://en.wikipedia.org/wiki/Linear_actuator" rel="nofollow">linear actuator</a>, which was basically just a brushed DC motor connected to a lead screw.
Larry had an easy job in some ways, and a tough job in others. </p>
<p>The easy part...]]></description>
<pubDate>Sat, 22 Jun 2024 19:55:21 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Turn It On Again: Modeling Power MOSFET Turn-On Dependence on Source Inductance</title>
<link>https://www.embeddedrelated.com/showarticle/1661.php</link>
<description><![CDATA[
<p>This is a short article explaining how to analyze part of the behavior of a power MOSFET during turn-on, and how it is influenced by the parasitic inductance at the source terminal. Parasitic inductance is not a good thing &mdash; the word <a href="https://en.wikipedia.org/wiki/Parasitism" rel="nofollow">parasite</a> in biology refers to an external thing that feeds off a host organism; while <a...]]></description>
<pubDate>Mon, 29 Apr 2024 10:49:46 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Linear Feedback Shift Registers for the Uninitiated</title>
<link>https://www.embeddedrelated.com/showarticle/1309.php</link>
<description><![CDATA[
<p>In 2017 and 2018 I wrote an eighteen-part series of articles about linear feedback shift registers, or LFSRs:</p>

    div.jms-article-content ol > li {
        list-style-type: upper-roman
    }



<li><a href="https://www.embeddedrelated.com/showarticle/1065.php">Ex-Pralite Monks and Finite Fields</a>, in which we describe what an LFSR is as a digital circuit; its cyclic behavior over time; the definition of groups, rings, and fields; the isomorphism...]]></description>
<pubDate>Sun, 28 Apr 2024 13:49:46 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Modeling Gate Drive Diodes</title>
<link>https://www.embeddedrelated.com/showarticle/1640.php</link>
<description><![CDATA[
<p>This is a short article about how to analyze the diode in some gate drive circuits when figuring out turn-off characteristics &mdash; specifically, determining the relationship between gate drive current and gate voltage during turn-off of a power transistor.</p>
<p>Here&rsquo;s the diode I&rsquo;m talking about; it&rsquo;s the one labeled D1:</p>


<p>Just as an example, I&rsquo;m going to use the...]]></description>
<pubDate>Mon, 11 Mar 2024 23:08:57 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Ten Little Algorithms, Part 7: Continued Fraction Approximation</title>
<link>https://www.embeddedrelated.com/showarticle/1620.php</link>
<description><![CDATA[
<p><a href="https://www.youtube.com/watch?v=D2lSwosw9xY" rel="nofollow">It&rsquo;s been a long time</a> since <a href="https://www.embeddedrelated.com/showarticle/1058.php">my last Ten Little Algorithms post</a>, and I need a break from long articles, so here is Part Seven, in which we show the use of <a href="https://en.wikipedia.org/wiki/Continued_fraction" rel="nofollow">continued fractions</a> for the approximation of real numbers. </p>

<p>Other articles in this series:</p>

<ul>
<li>Part 1: <a href="//www.embeddedrelated.com/showarticle/760.php">Russian Peasant Multiplication</a></li>
<li>Part 2:...]]></description>
<pubDate>Sun, 24 Dec 2023 18:43:11 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Supply Chain Games: What Have We Learned From the Great Semiconductor Shortage of 2021? (Part 5)</title>
<link>https://www.embeddedrelated.com/showarticle/1568.php</link>
<description><![CDATA[

<p>In this article we&rsquo;re going to take a look at cycle time, queues, and inventory. <a href="https://p2sl.berkeley.edu/glossary/c/" rel="nofollow">Cycle time</a> is a manufacturing term &mdash; for anything, not just semiconductors &mdash; meaning how long it takes for an individual product to make its way through a manufacturing process, from start to finish. We&rsquo;re going to try to understand how long it takes to manufacture semiconductors. In...]]></description>
<pubDate>Mon, 28 Aug 2023 18:32:44 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Return of the Delta-Sigma Modulators, Part 1: Modulation</title>
<link>https://www.embeddedrelated.com/showarticle/1517.php</link>
<description><![CDATA[

<p>About a decade ago, I wrote two articles:</p>
<ul>
<li><a href="https://www.embeddedrelated.com/showarticle/107.php">Modulation Alternatives for the Software Engineer (November 2011)</a></li>
<li><a href="https://www.embeddedrelated.com/showarticle/167.php">Isolated Sigma-Delta Modulators, Rah Rah Rah! (April 2013)</a></li>
</ul>
<p>Each of these are about delta-sigma modulation, but they&rsquo;re short and sweet, and not very in-depth. And the 2013 article was really more about analog-to-digital converters. So we&rsquo;re going to revisit the...]]></description>
<pubDate>Sun, 28 May 2023 16:04:50 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Supply Chain Games: What Have We Learned From the Great Semiconductor Shortage of 2021? (Part 4)</title>
<link>https://www.embeddedrelated.com/showarticle/1492.php</link>
<description><![CDATA[

<p>Today we&rsquo;re going to look at what&rsquo;s been going on this past year in the chip shortage, particularly in the automotive markets. I&rsquo;m going to share some recent events and statements that may shed some light on what&rsquo;s been happening.</p>
<p>In <a href="https://www.embeddedrelated.com/showarticle/1489.php">Part Three</a> we went through a deep dive on some aspects of Moore&rsquo;s Law, the semiconductor foundries, and semiconductor...]]></description>
<pubDate>Sat, 31 Dec 2022 17:45:31 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Supply Chain Games: What Have We Learned From the Great Semiconductor Shortage of 2021? (Part 3)</title>
<link>https://www.embeddedrelated.com/showarticle/1489.php</link>
<description><![CDATA[

<p>Hello again!  Today we&rsquo;re going to take a closer look at Moore&rsquo;s Law, semiconductor foundries, and semiconductor economics &mdash; and a game that explores the effect of changing economics on the supply chain.</p>
<p>We&rsquo;ll try to answer some of these questions:</p>
<ul>
<li>What does Moore&rsquo;s Law really mean, and how does it impact the economics of semiconductor...]]></description>
<pubDate>Sat, 10 Dec 2022 04:48:17 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>In Memoriam: Frederick P. Brooks, Jr. and The Mythical Man-Month</title>
<link>https://www.embeddedrelated.com/showarticle/1484.php</link>
<description><![CDATA[

<p>It is with some sadness that I have read that <a href="https://cs.unc.edu/news-article/remembering-department-founder-dr-frederick-p-brooks-jr/" rel="nofollow">Fred Brooks has passed away</a>. Brooks (1931 - 2022) worked at IBM and managed a large team developing the IBM System/360 computers in the early 1960s. <a href="https://www.ibm.com/ibm/history/exhibits/builders/builders_brooksjr.html" rel="nofollow">Brooks was thirty years old at the start of this project</a>. He <a href="https://www.cs.unc.edu/~brooks/FPB_BIO.CV.04.2007.pdf" rel="nofollow">founded the Computer Science Department at UNC Chapel Hill in 1964,...]]></description>
<pubDate>Sun, 20 Nov 2022 16:47:22 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Development of the MOS Technology 6502: A Historical Perspective</title>
<link>https://www.embeddedrelated.com/showarticle/1453.php</link>
<description><![CDATA[

<p>One ubiquitous microprocessor of the late 1970s and 1980s was the <a href="https://en.wikipedia.org/wiki/MOS_Technology_6502" rel="nofollow">MOS Technology MCS 6502</a>. I included a section on the development of the 6502 in <a href="https://www.embeddedrelated.com/showarticle/1452.php">Part 2 of Supply Chain Games</a>, and have posted it as an excerpt here, as I believe it is deserving in its own right.</p>
<p>(Note: MOS Technology is pronounced with the individual letters M-O-S &ldquo;em oh ess&rdquo;,<a href="#note:1">[1]</a>...]]></description>
<pubDate>Sun, 19 Jun 2022 02:52:54 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Supply Chain Games: What Have We Learned From the Great Semiconductor Shortage of 2021? (Part 2)</title>
<link>https://www.embeddedrelated.com/showarticle/1452.php</link>
<description><![CDATA[

<p>Welcome back! Today we&rsquo;re going to zoom around again in some odd directions, and give a roundabout introduction to the semiconductor industry, touching on some of the following questions:</p>
<ul>
<li>How do semiconductors get designed and manufactured?</li>
<li>What is the business of semiconductor manufacturing like?</li>
<li>What are the different types of semiconductors, and how does that affect the...]]></description>
<pubDate>Sun, 19 Jun 2022 01:58:08 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Reading and Understanding Profitability Metrics from Financial Statements</title>
<link>https://www.embeddedrelated.com/showarticle/1448.php</link>
<description><![CDATA[
<p>Whoa! That has got to be the most serious-minded title I&rsquo;ve ever written. Profitability Metrics from Financial Statements, indeed. I&rsquo;m still writing Part 2 of my <a href="https://www.embeddedrelated.com/showarticle/1440.php">Supply Chain Games</a> article, and I was about to mention something about whether a company is profitable, when I realized something that didn&rsquo;t quite fit into the flow of things, so I thought I&rsquo;d handle it...]]></description>
<pubDate>Tue, 29 Mar 2022 23:38:35 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>A Second Look at Slew Rate Limiters</title>
<link>https://www.embeddedrelated.com/showarticle/1443.php</link>
<description><![CDATA[<p>I recently had to pick a slew rate for a current waveform, and I got this feeling of <a href="https://en.wikipedia.org/wiki/D%C3%A9j%C3%A0_vu" rel="nofollow">d&#233;j&#224; vu</a>&hellip; hadn&rsquo;t I gone through this effort already? So I looked, and lo and behold, way back in 2014 I wrote an article titled <a href="https://www.embeddedrelated.com/showarticle/646.php">Slew Rate Limiters: Nonlinear and Proud of It!</a> where I explored the effects of two types of slew rate limiters, one feedforward and one feedback, given a...]]></description>
<pubDate>Fri, 14 Jan 2022 21:11:29 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Supply Chain Games: What Have We Learned From the Great Semiconductor Shortage of 2021? (Part 1)</title>
<link>https://www.embeddedrelated.com/showarticle/1440.php</link>
<description><![CDATA[

<p>So by now I&rsquo;m sure you&rsquo;ve heard about the semiconductor shortage of 2021. For a few complicated reasons, demand is greater than supply, and not everybody who wants to buy integrated circuits can do so. Today we&rsquo;re going to try to answer some hard questions:</p>
<ul>
<li>Why are we in the middle of a semiconductor shortage?</li>
<li>Why is it taking so long to get my [insert part number...]]></description>
<pubDate>Fri, 31 Dec 2021 19:53:43 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Definite Article: Notes on Traceability</title>
<link>https://www.embeddedrelated.com/showarticle/1414.php</link>
<description><![CDATA[
<p>Electronic component distibutor Digi-Key recently announced <a href="https://www.digikey.com/en/news/press-releases/2021/march/digi-key-electronics-launches-enhanced-part-tracing-for-cut-tape-printing" rel="nofollow">part tracing for surface-mount components purchased in cut-tape form</a>. This is a big deal, and it&rsquo;s a feature that is a good example of <a href="https://en.wikipedia.org/wiki/Traceability" rel="nofollow">traceability</a>. Some thing or process that has traceability basically just means that it&rsquo;s possible to determine an object&rsquo;s history or <a...]]></description>
<pubDate>Mon, 06 Sep 2021 22:26:30 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Painting with Light to Measure Time</title>
<link>https://www.embeddedrelated.com/showarticle/1379.php</link>
<description><![CDATA[
<p>Recently I was faced with a dilemma while working from home. I needed to verify an implementation of first-order <a href="https://en.wikipedia.org/wiki/Delta-sigma_modulation" rel="nofollow">sigma-delta modulation</a> used to adjust LED brightness. (I have described this in more detail in <a href="https://www.embeddedrelated.com/showarticle/107.php">Modulation Alternatives for the Software Engineer</a>.) I did not, however, have an oscilloscope.</p>
<p>And then I remembered something, about a technique called <a...]]></description>
<pubDate>Sat, 26 Dec 2020 05:16:44 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Scorchers, Part 3: Bare-Metal Concurrency With Double-Buffering and the Revolving Fireplace</title>
<link>https://www.embeddedrelated.com/showarticle/1360.php</link>
<description><![CDATA[
<p>This is a short article about one technique for communicating between asynchronous processes on <a href="https://en.wikipedia.org/wiki/Bare_machine#Embedded_systems" rel="nofollow">bare-metal embedded systems</a>.</p>

<p>Q: Why did the multithreaded chicken cross the road?</p>
<p>A: to To other side. get the</p>
<p><a href="https://web.archive.org/web/20110201033822/http://www.pluralsight-training.net/community/blogs/mike/archive/2004/05/25/415.aspx" rel="nofollow">&mdash; Jason Whittington</a></p>
<p>There are many reasons why <a...]]></description>
<pubDate>Sat, 25 Jul 2020 16:11:47 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Tolerance Analysis</title>
<link>https://www.embeddedrelated.com/showarticle/1353.php</link>
<description><![CDATA[<p>Today we&rsquo;re going to talk about <a href="https://en.wikipedia.org/wiki/Tolerance_analysis" rel="nofollow">tolerance analysis</a>. This is a topic that I have danced around in <a href="https://www.embeddedrelated.com/showarticle/91.php">several</a> <a href="https://www.embeddedrelated.com/showarticle/115.php">previous</a> <a href="https://www.embeddedrelated.com/showarticle/1200.php">articles</a>, but never really touched upon in its own right. The closest I&rsquo;ve come is <a href="https://www.embeddedrelated.com/showarticle/888.php">Margin Call</a>, where I discussed several different techniques of determining design margin, and ran through some...]]></description>
<pubDate>Sun, 31 May 2020 06:40:52 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Scorchers, Part 2: Unknown Bugs and Popcorn</title>
<link>https://www.embeddedrelated.com/showarticle/1343.php</link>
<description><![CDATA[<p>This is a short article about diminishing returns in the context of software releases.</p>
<p>Those of you who have been working professionally on software or firmware have probably faced this dilemma before. The <a href="https://www.agilealliance.org/glossary/scrum-master/" rel="nofollow">scrum masters</a> of the world will probably harp on terms like the <a href="https://www.agilealliance.org/glossary/definition-of-done/" rel="nofollow">Definition of Done</a> and the <a href="https://www.agilealliance.org/glossary/mvp/" rel="nofollow">Minimum Viable...]]></description>
<pubDate>Mon, 06 Apr 2020 02:01:05 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Racing to Sleep</title>
<link>https://www.embeddedrelated.com/showarticle/1316.php</link>
<description><![CDATA[<p>Today we&rsquo;re going to talk about low-power design. </p>
<p>Suppose I&rsquo;m an electrical engineer working with wildlife biologists who are gathering field data on the Saskatchewan ringed-neck mountain goat. My team has designed a device called the BigBrotherBear 2000 (BBB2000) with a trip cable and a motor and a camera and a temperature sensor and a hot-wire anemometer and a real-time clock...]]></description>
<pubDate>Mon, 30 Dec 2019 13:59:17 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Jaywalking Around the Compiler</title>
<link>https://www.embeddedrelated.com/showarticle/1310.php</link>
<description><![CDATA[<p>Our team had another <a href="https://www.embeddedrelated.com/showarticle/807.php">code review</a> recently. I looked at one of the files, and bolted upright in horror when I saw a function that looked sort of like this:</p>
void some_function(SOMEDATA_T *psomedata)
{
    asm volatile(&quot;push CORCON&quot;);
    CORCON = 0x00E2; 

    do_some_other_stuff(psomedata);

    asm volatile(&quot;pop  CORCON&quot;);
}


<p>There is a serious bug here...]]></description>
<pubDate>Mon, 09 Dec 2019 04:59:52 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Shibboleths: The Perils of Voiceless Sibilant Fricatives, Idiot Lights, and Other Binary-Outcome Tests</title>
<link>https://www.embeddedrelated.com/showarticle/1300.php</link>
<description><![CDATA[<p>AS-SALT, JORDAN &mdash; Dr. Reza Al-Faisal once had a job offer from Google to work on cutting-edge voice recognition projects. He turned it down. The 37-year-old Stanford-trained professor of engineering at Al-Balqa&rsquo; Applied University now leads a small cadre of graduate students in a government-sponsored program to keep Jordanian society secure from what has now become an overwhelming...]]></description>
<pubDate>Sun, 29 Sep 2019 22:02:45 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Wye Delta Tee Pi: Observations on Three-Terminal Networks</title>
<link>https://www.embeddedrelated.com/showarticle/1213.php</link>
<description><![CDATA[<p>Today I&rsquo;m going to talk a little bit about three-terminal linear passive networks. These generally come in two flavors, wye and delta.</p><a name="why-wye"></a>Why Wye?
<p></p>
<p><a href="https://en.wikipedia.org/wiki/Why,_Arizona" rel="nofollow">The town of Why, Arizona</a> has a strange name <a href="http://arizonaoddities.com/2014/01/why-why-is-why/" rel="nofollow">that comes from the shape of the original road junction</a> of Arizona State Highways 85 and 86, which was shaped like the letter Y. This is no longer the case, because the state highway department...]]></description>
<pubDate>Sun, 23 Dec 2018 23:37:42 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>The Least Interesting Circuit in the World</title>
<link>https://www.embeddedrelated.com/showarticle/1200.php</link>
<description><![CDATA[<p>It does nothing, most of the time.</p>
<p>It cannot compute pi. It won&rsquo;t oscillate. It doesn&rsquo;t light up.</p>
<p>Often it makes other circuits stop working.</p>
<p>It is&hellip; the least interesting circuit in the world.</p>
<p></p>
<p>What is it?</p>


<p>About 25 years ago, I took a digital computer architecture course, and we were each given use of an ugly briefcase containing a bunch of solderless breadboards...]]></description>
<pubDate>Sun, 07 Oct 2018 22:11:02 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Linear Feedback Shift Registers for the Uninitiated, Part XVIII: Primitive Polynomial Generation</title>
<link>https://www.embeddedrelated.com/showarticle/1193.php</link>
<description><![CDATA[<p>Last time we figured out how to <a href="https://www.embeddedrelated.com/showarticle/1188.php">reverse-engineer parameters of an unknown CRC computation</a> by providing sample inputs and analyzing the corresponding outputs.
One of the things we discovered was that the polynomial \( x^{16} + x^{12} + x^5 + 1 \) used in the 16-bit X.25 CRC is not primitive &mdash; which just means that all the nonzero elements in the corresponding quotient ring can&rsquo;t be...]]></description>
<pubDate>Mon, 06 Aug 2018 04:37:56 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>R1C1R2C2: The Two-Pole Passive RC Filter</title>
<link>https://www.embeddedrelated.com/showarticle/1192.php</link>
<description><![CDATA[<p>I keep running into this circuit every year or two, and need to do the same old calculations, which are kind of tiring. So I figured I&rsquo;d just write up an article and then I can look it up the next time.</p><p></p><p>This is a two-pole passive RC filter. Doesn&rsquo;t work as well as an LC filter or an active filter, but it is cheap. We&rsquo;re going to find out a couple of things about its transfer...]]></description>
<pubDate>Sat, 28 Jul 2018 17:59:05 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Linear Feedback Shift Registers for the Uninitiated, Part XVII: Reverse-Engineering the CRC</title>
<link>https://www.embeddedrelated.com/showarticle/1188.php</link>
<description><![CDATA[<p>Last time, we continued a discussion about error detection and correction by covering <a href="https://www.embeddedrelated.com/showarticle/1182.php">Reed-Solomon encoding</a>. I was going to move on to another topic, but then there was this <a href="https://www.reddit.com/r/ECE/comments/8r7svo/question_about_crc" rel="nofollow">post on Reddit asking how to determine unknown CRC parameters</a>:</p>

<p>I am seeking to reverse engineer an 8-bit CRC. I don&rsquo;t know the generator code that&rsquo;s used, but can lay my hands on any number of output...]]></description>
<pubDate>Sun, 08 Jul 2018 02:49:34 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Linear Feedback Shift Registers for the Uninitiated, Part XVI: Reed-Solomon Error Correction</title>
<link>https://www.embeddedrelated.com/showarticle/1182.php</link>
<description><![CDATA[<p>Last time, we talked about <a href="https://www.embeddedrelated.com/showarticle/1180.php">error correction and detection</a>, covering some basics like Hamming distance, CRCs, and Hamming codes. If you are new to this topic, I would strongly suggest going back to read that article before this one.</p>
<p>This time we are going to cover <a href="https://en.wikipedia.org/wiki/Reed%E2%80%93Solomon_error_correction" rel="nofollow">Reed-Solomon codes</a>. (I had meant to cover this topic in Part XV, but the article was getting to be too...]]></description>
<pubDate>Tue, 19 Jun 2018 15:06:45 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Linear Feedback Shift Registers for the Uninitiated, Part XV: Error Detection and Correction</title>
<link>https://www.embeddedrelated.com/showarticle/1180.php</link>
<description><![CDATA[<p>Last time, we talked about <a href="https://www.embeddedrelated.com/showarticle/1158.php">Gold codes</a>, a specially-constructed set of pseudorandom bit sequences (PRBS) with low mutual cross-correlation, which are used in many spread-spectrum communications systems, including the Global Positioning System.</p>
<p>This time we are wading into the field of <a href="https://en.wikipedia.org/wiki/Error_detection_and_correction" rel="nofollow">error detection and correction</a>, in particular CRCs and Hamming...]]></description>
<pubDate>Tue, 12 Jun 2018 04:06:17 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Linear Regression with Evenly-Spaced Abscissae</title>
<link>https://www.embeddedrelated.com/showarticle/1163.php</link>
<description><![CDATA[<p>What a boring title. I wish I could come up with something snazzier. One word I learned today is <a href="https://en.wikipedia.org/wiki/Studentization" rel="nofollow">studentization</a>, which is just the normalization of errors in a curve-fitting exercise by the sample standard deviation (e.g. point \( x_i \) is \( 0.3\hat{\sigma} \) from the best-fit linear curve, so \( \frac{x_i - \hat{x}_i}{\hat{\sigma}} = 0.3 \)) &mdash; Studentize me! would have been nice, but...]]></description>
<pubDate>Tue, 01 May 2018 03:19:47 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Linear Feedback Shift Registers for the Uninitiated, Part XIV: Gold Codes</title>
<link>https://www.embeddedrelated.com/showarticle/1158.php</link>
<description><![CDATA[<p>Last time we looked at some techniques using LFSR output for <a href="https://www.embeddedrelated.com/showarticle/1142.php">system identification</a>, making use of the peculiar autocorrelation properties of pseudorandom bit sequences (PRBS) derived from an LFSR.</p>
<p>This time we&rsquo;re going to jump back to the field of communications, to look at an invention called <a href="https://en.wikipedia.org/wiki/Gold_code" rel="nofollow">Gold codes</a> and why a single maximum-length PRBS...]]></description>
<pubDate>Wed, 18 Apr 2018 05:22:04 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Linear Feedback Shift Registers for the Uninitiated, Part XIII: System Identification</title>
<link>https://www.embeddedrelated.com/showarticle/1142.php</link>
<description><![CDATA[<p>Last time we looked at <a href="https://www.embeddedrelated.com/showarticle/1124.php">spread-spectrum techniques</a> using the output bit sequence of an LFSR as a pseudorandom bit sequence (PRBS). The main benefit we explored was increasing signal-to-noise ratio (SNR) relative to other disturbance signals in a communication system.</p>
<p>This time we&rsquo;re going to use a PRBS from LFSR output to do something completely different: system identification....]]></description>
<pubDate>Mon, 12 Mar 2018 05:24:20 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>A Wish for Things That Work</title>
<link>https://www.embeddedrelated.com/showarticle/1125.php</link>
<description><![CDATA[<p>As the end of the year approaches, I become introspective. This year I am frustrated by bad user interfaces in software.</p>
<p>Actually, every year, throughout the year, I am frustrated by bad user interfaces in software. And yet here it is, the end of 2017, and things aren&rsquo;t getting much better! Argh!</p>
<p>I wrote about this sort of thing a bit back in 2011 (<a...]]></description>
<pubDate>Mon, 01 Jan 2018 04:50:25 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Linear Feedback Shift Registers for the Uninitiated, Part XII: Spread-Spectrum Fundamentals</title>
<link>https://www.embeddedrelated.com/showarticle/1124.php</link>
<description><![CDATA[<p>Last time we looked at <a href="https://www.embeddedrelated.com/showarticle/1121.php">the use of LFSRs for pseudorandom number generation</a>, or PRNG, and saw two things:</p>
<ul>
<li>the use of LFSR state for PRNG has undesirable serial correlation and frequency-domain properties</li>
<li>the use of single bits of LFSR output has good frequency-domain properties, and its autocorrelation values are so close to zero that they are actually better than a <a...]]></description>
<pubDate>Fri, 29 Dec 2017 20:38:40 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Linear Feedback Shift Registers for the Uninitiated, Part XI: Pseudorandom Number Generation</title>
<link>https://www.embeddedrelated.com/showarticle/1121.php</link>
<description><![CDATA[<p>Last time we looked at the use of LFSRs in <a href="https://www.embeddedrelated.com/showarticle/1118.php">counters and position encoders</a>. </p>
<p>This time we&rsquo;re going to look at pseudorandom number generation, and why you may &mdash; or may not &mdash; want to use LFSRs for this purpose. </p>
<p>But first &mdash; an aside:</p><a name="science-fair"></a>Science Fair 1983
<p>When I was in fourth grade, my father bought a <a href="https://en.wikipedia.org/wiki/Timex_Sinclair_1000" rel="nofollow">Timex/Sinclair...]]></description>
<pubDate>Wed, 20 Dec 2017 15:28:54 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Linear Feedback Shift Registers for the Uninitiated, Part X: Counters and Encoders</title>
<link>https://www.embeddedrelated.com/showarticle/1118.php</link>
<description><![CDATA[<p>Last time we looked at <a href="https://www.embeddedrelated.com/showarticle/1117.php">LFSR output decimation and the computation of trace parity</a>.</p>
<p>Today we are starting to look in detail at some applications of LFSRs, namely counters and encoders.</p><a name="counters"></a>Counters
<p>I mentioned counters briefly in the article on <a href="https://www.embeddedrelated.com/showarticle/1088.php">easy discrete logarithms</a>. The idea here is that the propagation delay in an LFSR is smaller than in a counter, since the logic to compute...]]></description>
<pubDate>Sun, 10 Dec 2017 00:04:22 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Linear Feedback Shift Registers for the Uninitiated, Part IX: Decimation, Trace Parity, and Cyclotomic Cosets</title>
<link>https://www.embeddedrelated.com/showarticle/1117.php</link>
<description><![CDATA[<p><a href="https://www.embeddedrelated.com/showarticle/1114.php">Last time</a> we looked at matrix methods and how they can be used to analyze two important aspects of LFSRs:</p>
<ul>
<li>time shifts</li>
<li>state recovery from LFSR output</li>
</ul>
<p>In both cases we were able to use a finite field or bitwise approach to arrive at the same result as a matrix-based approach. The matrix approach is more expensive in terms of execution time and memory storage, but in some cases is...]]></description>
<pubDate>Sun, 03 Dec 2017 14:48:07 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Linear Feedback Shift Registers for the Uninitiated, Part VIII: Matrix Methods and State Recovery</title>
<link>https://www.embeddedrelated.com/showarticle/1114.php</link>
<description><![CDATA[<p>Last time we looked at <a href="https://www.embeddedrelated.com/showarticle/1112.php">a dsPIC implementation of LFSR updates</a>. Now we&rsquo;re going to go back to basics and look at some matrix methods, which is the third approach to represent LFSRs that I mentioned in <a href="https://www.embeddedrelated.com/showarticle/1065.php">Part I</a>. And we&rsquo;re going to explore the problem of converting from LFSR output to LFSR state.</p><a name="matrices"></a>Matrices: Beloved Historical Dregs
<p>Elwyn Berlekamp&rsquo;s...]]></description>
<pubDate>Tue, 21 Nov 2017 13:43:21 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Linear Feedback Shift Registers for the Uninitiated, Part VII: LFSR Implementations, Idiomatic C, and Compiler Explorer</title>
<link>https://www.embeddedrelated.com/showarticle/1112.php</link>
<description><![CDATA[<p>The last four articles were on algorithms used to compute with finite fields and shift registers:</p>
<ul>
<li><a href="https://www.embeddedrelated.com/showarticle/1086.php">multiplicative inverse</a></li>
<li><a href="https://www.embeddedrelated.com/showarticle/1088.php">discrete</a> <a href="https://www.embeddedrelated.com/showarticle/1093.php">logarithm</a></li>
<li><a href="https://www.embeddedrelated.com/showarticle/1099.php">determining characteristic polynomial from the LFSR output</a></li>
</ul>
<p>Today we&rsquo;re going to come back down to earth and show how to implement LFSR updates on a microcontroller. We&rsquo;ll...]]></description>
<pubDate>Mon, 13 Nov 2017 13:59:58 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Lazy Properties in Python Using Descriptors</title>
<link>https://www.embeddedrelated.com/showarticle/1109.php</link>
<description><![CDATA[<p>This is a bit of a side tangent from my normal at-least-vaguely-embedded-related articles, but I wanted to share a moment of enlightenment I had recently about <a href="https://docs.python.org/2.7/howto/descriptor.html" rel="nofollow">descriptors</a> in Python. The easiest way to explain a descriptor is a way to outsource attribute lookup and modification.</p>
<p>Python has a bunch of <a href="https://docs.python.org/2/reference/datamodel.html#special-method-names" rel="nofollow">&ldquo;magic&rdquo; methods</a>...]]></description>
<pubDate>Tue, 07 Nov 2017 14:04:54 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Linear Feedback Shift Registers for the Uninitiated, Part VI: Sing Along with the Berlekamp-Massey Algorithm</title>
<link>https://www.embeddedrelated.com/showarticle/1099.php</link>
<description><![CDATA[<p>The <a href="https://www.embeddedrelated.com/showarticle/1088.php">last</a> <a href="https://www.embeddedrelated.com/showarticle/1093.php">two</a> articles were on discrete logarithms in finite fields &mdash; in practical terms, how to take the state \( S \) of an LFSR and its characteristic polynomial \( p(x) \) and figure out how many shift steps are required to go from the state 000...001 to \( S \). If we consider \( S \) as a polynomial bit vector such that \( S = x^k \bmod p(x) \), then this is equivalent to the task...]]></description>
<pubDate>Wed, 18 Oct 2017 05:12:53 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Linear Feedback Shift Registers for the Uninitiated, Part V: Difficult Discrete Logarithms and Pollard&#039;s Kangaroo Method</title>
<link>https://www.embeddedrelated.com/showarticle/1093.php</link>
<description><![CDATA[<p><a href="https://www.embeddedrelated.com/showarticle/1088.php">Last time</a> we talked about discrete logarithms which are easy when the group in question has an order which is a <a href="https://en.wikipedia.org/wiki/Smooth_number" rel="nofollow">smooth number</a>, namely the product of small prime factors. Just as a reminder, the goal here is to find \( k \) if you are given some finite multiplicative group (or a finite field, since it has a multiplicative group) with elements \( y \) and \( g \), and you know you can express \(...]]></description>
<pubDate>Sun, 01 Oct 2017 20:36:48 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Linear Feedback Shift Registers for the Uninitiated, Part IV: Easy Discrete Logarithms and the Silver-Pohlig-Hellman Algorithm</title>
<link>https://www.embeddedrelated.com/showarticle/1088.php</link>
<description><![CDATA[<p><a href="https://www.embeddedrelated.com/showarticle/1086.php">Last time</a> we talked about the multiplicative inverse in finite fields, which is rather boring and mundane, and has an easy solution with Blankinship&rsquo;s algorithm.</p>
<p><a href="https://en.wikipedia.org/wiki/Discrete_logarithm" rel="nofollow">Discrete logarithms</a>, on the other hand, are much more interesting, and this article covers only the tip of the iceberg.</p>
<a name="what-is-discrete-logarithm"></a>What is a Discrete Logarithm, Anyway?
<p>Regular logarithms...]]></description>
<pubDate>Sat, 16 Sep 2017 22:38:31 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Linear Feedback Shift Registers for the Uninitiated, Part III: Multiplicative Inverse, and Blankinship&#039;s Algorithm</title>
<link>https://www.embeddedrelated.com/showarticle/1086.php</link>
<description><![CDATA[
<p><a href="https://www.embeddedrelated.com/showarticle/1070.php">Last time</a> we talked about basic arithmetic operations in the finite field \( GF(2)[x]/p(x) \) &mdash; addition, multiplication, raising to a power, shift-left and shift-right &mdash; as well as how to determine whether a polynomial \( p(x) \) is primitive. If a polynomial \( p(x) \) is primitive, it can be used to define an LFSR with coefficients that correspond to the 1 terms in \( p(x) \),...]]></description>
<pubDate>Sat, 09 Sep 2017 19:02:53 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Linear Feedback Shift Registers for the Uninitiated, Part II: libgf2 and Primitive Polynomials</title>
<link>https://www.embeddedrelated.com/showarticle/1070.php</link>
<description><![CDATA[
<p><a href="https://www.embeddedrelated.com/showarticle/1065.php">Last time</a>, we looked at the basics of LFSRs and finite fields formed by the quotient ring \( GF(2)[x]/p(x) \).</p>
<p>LFSRs can be described by a list of binary coefficients, sometimes referred as the polynomial, since they correspond directly to the characteristic polynomial of the quotient ring.</p>
<p>Today we&rsquo;re going to look at how to perform certain practical calculations in these finite...]]></description>
<pubDate>Mon, 17 Jul 2017 04:12:13 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Linear Feedback Shift Registers for the Uninitiated, Part I: Ex-Pralite Monks and Finite Fields</title>
<link>https://www.embeddedrelated.com/showarticle/1065.php</link>
<description><![CDATA[

<p>Later there will be, I hope, some people who will find it to their advantage to decipher all this mess.</p>

<p>&mdash; &Eacute;variste Galois, May 29, 1832</p>
<p>I was going to call this short series of articles &ldquo;LFSRs for Dummies&rdquo;, but thought better of it. What is a <a href="https://en.wikipedia.org/wiki/Linear-feedback_shift_register" rel="nofollow">linear feedback shift register</a>? If you want the short answer, the <a...]]></description>
<pubDate>Mon, 03 Jul 2017 18:43:16 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Ten Little Algorithms, Part 6: Green’s Theorem and Swept-Area Detection</title>
<link>https://www.embeddedrelated.com/showarticle/1058.php</link>
<description><![CDATA[
<p>Other articles in this series:</p>

<ul>
<li>Part 1: <a href="//www.embeddedrelated.com/showarticle/760.php">Russian Peasant Multiplication</a></li>
<li>Part 2: <a href="//www.embeddedrelated.com/showarticle/779.php">The Single-Pole Low-Pass Filter</a></li>
<li>Part 3: <a href="//www.embeddedrelated.com/showarticle/785.php">Welford's Method (And Friends)</a></li>
<li>Part 4: <a href="//www.embeddedrelated.com/showarticle/799.php">Topological Sort</a></li>
<li>Part 5: <a href="//www.embeddedrelated.com/showarticle/855.php">Quadratic Extremum Interpolation and Chandrupatla's...]]></description>
<pubDate>Sun, 18 Jun 2017 20:32:01 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Donald Knuth Is the Root of All Premature Optimization</title>
<link>https://www.embeddedrelated.com/showarticle/1044.php</link>
<description><![CDATA[<p>This article is about something profound that a brilliant young professor at Stanford wrote nearly 45 years ago, and now we&rsquo;re all stuck with it.</p>
<a name="tldr"></a>TL;DR
<p>The idea, basically, is that even though optimization of computer software to execute faster is a noble goal, with tangible benefits, this costs time and effort up front, and therefore the decision to do so should not be made on whims...]]></description>
<pubDate>Mon, 17 Apr 2017 05:52:23 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Zebras Hate You For No Reason: Why Amdahl&#039;s Law is Misleading in a World of Cats (And Maybe in Ours Too)</title>
<link>https://www.embeddedrelated.com/showarticle/1033.php</link>
<description><![CDATA[

<p>I&rsquo;ve been wasting far too much of my free time lately on this stupid addicting game called the <a href="http://bloodrizer.ru/games/kittens" rel="nofollow">Kittens Game</a>. It starts so innocently. You are a kitten in a catnip forest. Gather catnip.</p>


<p>And you click on Gather catnip and off you go. Soon you&rsquo;re hunting unicorns and building Huts and studying Mathematics and Theology and so on. AND IT&rsquo;S JUST A TEXT GAME! HTML and...]]></description>
<pubDate>Mon, 27 Feb 2017 14:59:45 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>The Other Kind of Bypass Capacitor</title>
<link>https://www.embeddedrelated.com/showarticle/1021.php</link>
<description><![CDATA[<p>There&rsquo;s a type of bypass capacitor I&rsquo;d like to talk about today.</p>
<p>It&rsquo;s not the usual power supply bypass capacitor, aka <a href="https://en.wikipedia.org/wiki/Decoupling_capacitor" rel="nofollow">decoupling capacitor</a>, which is used to provide local charge storage to an integrated circuit, so that the high-frequency supply currents to the IC can bypass (hence the name) all the series resistance and inductance from the power supply. This reduces the...]]></description>
<pubDate>Wed, 04 Jan 2017 03:34:59 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>How to Succeed in Motor Control: Olaus Magnus, Donald Rumsfeld, and YouTube</title>
<link>https://www.embeddedrelated.com/showarticle/1017.php</link>
<description><![CDATA[<p>Almost four years ago, I had this insight &mdash; we were doing it wrong!
Most of the application notes on motor control were about the core algorithms:
various six-step or field-oriented control methods, with Park and Clarke
transforms, sensorless estimators, and whatnot. It was kind of like a
driving school would be, if
they taught you how the accelerator and brake pedal worked,
and...]]></description>
<pubDate>Mon, 12 Dec 2016 03:18:26 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Round Round Get Around: Why Fixed-Point Right-Shifts Are Just Fine </title>
<link>https://www.embeddedrelated.com/showarticle/1015.php</link>
<description><![CDATA[<p>Today&rsquo;s topic is <a href="https://en.wikipedia.org/wiki/Rounding" rel="nofollow">rounding</a> in embedded systems, or more specifically, why you don&rsquo;t need to worry about it in many cases.</p><p>One of the issues faced in computer arithmetic is that exact arithmetic requires an ever-increasing bit length <a href="https://www.embeddedrelated.com/showarticle/532.php">to avoid overflow</a>. Adding or subtracting two 16-bit integers produces a 17-bit result; multiplying two 16-bit integers produces a 32-bit result. In...]]></description>
<pubDate>Tue, 22 Nov 2016 14:26:03 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Scorchers, Part 1: Tools and Burn Rate</title>
<link>https://www.embeddedrelated.com/showarticle/940.php</link>
<description><![CDATA[<p>This is a short article about one aspect of purchasing, for engineers.</p>
<p>I had an engineering manager once &mdash; I&rsquo;ll leave his real name out of it, but let&rsquo;s call him Barney &mdash; who had a catchy response to the question &ldquo;Can I buy XYZ?&rdquo;, where XYZ was some piece of test equipment, like an oscilloscope or multimeter. Barney said, &ldquo;Get what you need, need what...]]></description>
<pubDate>Tue, 12 Apr 2016 14:31:29 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Padé Delay is Okay Today</title>
<link>https://www.embeddedrelated.com/showarticle/927.php</link>
<description><![CDATA[<p>This article is going to be somewhat different in that I&rsquo;m not really writing it for the typical embedded systems engineer. Rather it&rsquo;s kind of a specialized topic, so don&rsquo;t be surprised if you get bored and move on to something else. That&rsquo;s fine by me.</p>
<p>Anyway, let&rsquo;s just jump ahead to the punchline. Here&rsquo;s a numerical simulation of a step response to a \(...]]></description>
<pubDate>Tue, 01 Mar 2016 14:52:08 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Margin Call: Fermi Problems, Highway Horrors, Black Swans, and Why You Should Worry About When You Should Worry</title>
<link>https://www.embeddedrelated.com/showarticle/888.php</link>
<description><![CDATA[
	<p>“Reports that say that something hasn’t happened are always interesting to me, because as we know, there are known knowns; there are things we know that we know. There are known unknowns; that is to say, there are things that we now know we don’t know. But there are also unknown unknowns — there are things we do not know we don’t know.”  —  Donald Rumsfeld, February...]]></description>
<pubDate>Sun, 06 Dec 2015 22:25:52 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Ten Little Algorithms, Part 5: Quadratic Extremum Interpolation and Chandrupatla&#039;s Method</title>
<link>https://www.embeddedrelated.com/showarticle/855.php</link>
<description><![CDATA[
<p>Other articles in this series:</p>

<ul>
<li>Part 1: <a href="//www.embeddedrelated.com/showarticle/760.php">Russian Peasant Multiplication</a></li>
<li>Part 2: <a href="//www.embeddedrelated.com/showarticle/779.php">The Single-Pole Low-Pass Filter</a></li>
<li>Part 3: <a href="//www.embeddedrelated.com/showarticle/785.php">Welford's Method (And Friends)</a></li>
<li>Part 4: <a href="//www.embeddedrelated.com/showarticle/799.php">Topological Sort</a></li>
<li>Part 6: <a href="//www.embeddedrelated.com/showarticle/1058.php">Green&#8217;s Theorem and Swept-Area Detection</a></li>
</ul>


<p>Today we will...]]></description>
<pubDate>Wed, 11 Nov 2015 14:55:29 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>The Dilemma of Unwritten Requirements</title>
<link>https://www.embeddedrelated.com/showarticle/834.php</link>
<description><![CDATA[<p>You will probably hear the word &ldquo;requirements&rdquo; at least 793 times in your engineering career, mostly in the context of how important it is, in any project, to agree upon clear requirements before committing to (and hastily proceeding towards) a deadline. Some of those times you may actually follow that advice. Other times it&rsquo;s just talk, like how you should &ldquo;wear...]]></description>
<pubDate>Sun, 25 Oct 2015 19:38:32 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Trust, but Verify: Examining the Output of an Embedded Compiler</title>
<link>https://www.embeddedrelated.com/showarticle/813.php</link>
<description><![CDATA[<p>I work with motor control firmware on the Microchip dsPIC33 series of microcontrollers. The vast majority of that firmware is written in C, with only a few percent in assembly. And I got to thinking recently: I programmed in C and C++ on an Intel PC from roughly 1991 to 2009. But I don&rsquo;t remember ever working with x86 assembly code. Not once. Not even reading it. Which seems odd. I do...]]></description>
<pubDate>Sun, 27 Sep 2015 21:30:20 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>How to Read a Power MOSFET Datasheet</title>
<link>https://www.embeddedrelated.com/showarticle/809.php</link>
<description><![CDATA[<p>One of my pet peeves is when my fellow engineers misinterpret component datasheets. This happened a few times recently in separate instances, all involving power MOSFETs. So it’s time for me to get on my soapbox. Listen up!</p>
<p>I was going to post an article on how to read component datasheets in general. But MOSFETs are a good place to start, and are a little more specific. I’m not the first...]]></description>
<pubDate>Tue, 15 Sep 2015 04:54:39 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Lessons Learned from Embedded Code Reviews  (Including Some Surprises)</title>
<link>https://www.embeddedrelated.com/showarticle/807.php</link>
<description><![CDATA[<p>My software team recently finished a round of code reviews for some of our motor controller code. I learned a lot from the experience, most notably why you would want to have code reviews in the first place.</p>
<p>My background is originally from the medical device industry. In the United States, software in medical devices gets a lot of scrutiny from the Food and Drug Administration, and for good...]]></description>
<pubDate>Sun, 16 Aug 2015 23:13:30 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Ten Little Algorithms, Part 4: Topological Sort</title>
<link>https://www.embeddedrelated.com/showarticle/799.php</link>
<description><![CDATA[
<p>Other articles in this series:</p>

<ul>
<li>Part 1: <a href="//www.embeddedrelated.com/showarticle/760.php">Russian Peasant Multiplication</a></li>
<li>Part 2: <a href="//www.embeddedrelated.com/showarticle/779.php">The Single-Pole Low-Pass Filter</a></li>
<li>Part 3: <a href="//www.embeddedrelated.com/showarticle/785.php">Welford's Method (And Friends)</a></li>
<li>Part 5: <a href="//www.embeddedrelated.com/showarticle/855.php">Quadratic Extremum Interpolation and Chandrupatla's Method</a></li>
<li>Part 6: <a href="//www.embeddedrelated.com/showarticle/1058.php">Green&#8217;s Theorem and Swept-Area...]]></description>
<pubDate>Sun, 05 Jul 2015 15:27:15 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Oh Robot My Robot</title>
<link>https://www.embeddedrelated.com/showarticle/798.php</link>
<description><![CDATA[<p>
Oh Robot! My Robot! You&rsquo;ve broken off your nose!
Your head is spinning round and round, your eye no longer glows,
Each program after program tapped your golden memory,
You used to have 12K, now there is none that I can see,
&emsp;Under smoldering antennae,
&emsp;&emsp;Over long forgotten feet,
&emsp;&emsp;&emsp;My sister used your last part:
&emsp;&emsp;&emsp;&emsp; The chip she...]]></description>
<pubDate>Fri, 26 Jun 2015 14:28:32 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Important Programming Concepts (Even on Embedded Systems) Part VI : Abstraction</title>
<link>https://www.embeddedrelated.com/showarticle/792.php</link>
<description><![CDATA[<p>Earlier articles:</p>
<ul>
<li><a href="//www.embeddedrelated.com/showarticle/629.php">Part I: Idempotence</a></li>
<li><a href="//www.embeddedrelated.com/showarticle/639.php">Part II: Immutability</a></li>
<li><a href="//www.embeddedrelated.com/showarticle/649.php">Part III: Volatility</a></li>
<li><a href="//www.embeddedrelated.com/showarticle/691.php">Part IV: Singletons</a></li>
<li><a href="//www.embeddedrelated.com/showarticle/723.php">Part V: State Machines</a></li>
</ul>
<p>We have come to the last part of the Important Programming Concepts series, on abstraction. I thought I might also talk about why there isn&rsquo;t a Part VII, but decided it would...]]></description>
<pubDate>Tue, 16 Jun 2015 16:48:51 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Ten Little Algorithms, Part 3: Welford&#039;s Method (and Friends)</title>
<link>https://www.embeddedrelated.com/showarticle/785.php</link>
<description><![CDATA[
<p>Other articles in this series:</p>

<ul>
<li>Part 1: <a href="//www.embeddedrelated.com/showarticle/760.php">Russian Peasant Multiplication</a></li>
<li>Part 2: <a href="//www.embeddedrelated.com/showarticle/779.php">The Single-Pole Low-Pass Filter</a></li>
<li>Part 4: <a href="//www.embeddedrelated.com/showarticle/799.php">Topological Sort</a></li>
<li>Part 5: <a href="//www.embeddedrelated.com/showarticle/855.php">Quadratic Extremum Interpolation and Chandrupatla's Method</a></li>
<li>Part 6: <a href="//www.embeddedrelated.com/showarticle/1058.php">Green&#8217;s Theorem and Swept-Area...]]></description>
<pubDate>Mon, 11 May 2015 00:11:11 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Python Code from My Articles Now Online in IPython Notebooks</title>
<link>https://www.embeddedrelated.com/showarticle/781.php</link>
<description><![CDATA[<p>Ever since I started using <a href="http://ipython.org/notebook.html" rel="nofollow">IPython Notebooks</a> to write these articles, I’ve been wanting to publish them in a form such that you can freely use my Python code. One of you (maredsous10) wanted this access as well.</p>
<p>Well, I finally bit the bullet and automated a script that will extract the Python code and create standalone notebooks, that are available publicly under the Apache license on my...]]></description>
<pubDate>Fri, 01 May 2015 15:56:53 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Ten Little Algorithms, Part 2: The Single-Pole Low-Pass Filter</title>
<link>https://www.embeddedrelated.com/showarticle/779.php</link>
<description><![CDATA[
<p>Other articles in this series:</p>

<ul>
<li>Part 1: <a href="//www.embeddedrelated.com/showarticle/760.php">Russian Peasant Multiplication</a></li>
<li>Part 3: <a href="//www.embeddedrelated.com/showarticle/785.php">Welford's Method (And Friends)</a></li>
<li>Part 4: <a href="//www.embeddedrelated.com/showarticle/799.php">Topological Sort</a></li>
<li>Part 5: <a href="//www.embeddedrelated.com/showarticle/855.php">Quadratic Extremum Interpolation and Chandrupatla's Method</a></li>
<li>Part 6: <a href="//www.embeddedrelated.com/showarticle/1058.php">Green&#8217;s Theorem and Swept-Area...]]></description>
<pubDate>Mon, 27 Apr 2015 15:46:56 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Ten Little Algorithms, Part 1: Russian Peasant Multiplication</title>
<link>https://www.embeddedrelated.com/showarticle/760.php</link>
<description><![CDATA[<p>This blog needs some short posts to balance out the long ones, so I thought I&rsquo;d cover some of the algorithms I&rsquo;ve used over the years. Like the <a href="http://en.wikipedia.org/wiki/Euclidean_algorithm" rel="nofollow">Euclidean algorithm</a> and <a href="http://en.wikipedia.org/wiki/Euclidean_algorithm#Extended_Euclidean_algorithm" rel="nofollow">Extended Euclidean algorithm</a> and <a href="http://en.wikipedia.org/wiki/Newton%27s_method" rel="nofollow">Newton&rsquo;s method</a> &mdash; except those you should know already, and if not, you should be locked in a room until you do. Someday one of them may...]]></description>
<pubDate>Sun, 22 Mar 2015 00:37:28 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Two Capacitors Are Better Than One</title>
<link>https://www.embeddedrelated.com/showarticle/742.php</link>
<description><![CDATA[<p>I was looking for a good reference for some ADC-driving circuits, and ran across this diagram in Walt Jung&rsquo;s <a href="https://books.google.com/books?id=dunqt1rt4sAC&amp;pg=PA215#v=onepage&amp;q&amp;f=false" rel="nofollow">Op-Amp Applications Handbook</a>:</p>
<p></p>
<p>And I smiled to myself, because I immediately remembered a circuit I hadn&rsquo;t used for years. Years! But it&rsquo;s something you should file away in your bag of tricks.</p>
<p>Take a look at the RC-RC circuit formed by R1, R2, C1, and C2....]]></description>
<pubDate>Sun, 15 Feb 2015 20:36:24 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>My Love-Hate Relationship with Stack Overflow: Arthur S., Arthur T., and the Soup Nazi</title>
<link>https://www.embeddedrelated.com/showarticle/741.php</link>
<description><![CDATA[<p>Warning: In the interest of maintaining a coherent stream of consciousness, I’m lowering the setting on my profanity filter for this post. Just wanted to let you know ahead of time.
</p>
<p>I’ve been a user of <a href="http://stackoverflow.com" rel="nofollow">Stack Overflow</a> since December of 2008. And I say “user” both in the software sense, and in the drug-addict sense. I’m <a href="http://stackoverflow.com/users/44330/jason-s" rel="nofollow">Jason S</a>, user...]]></description>
<pubDate>Sun, 15 Feb 2015 17:59:43 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Voltage Drops Are Falling on My Head: Operating Points, Linearization, Temperature Coefficients, and Thermal Runaway</title>
<link>https://www.embeddedrelated.com/showarticle/730.php</link>
<description><![CDATA[<p>Today&rsquo;s topic was originally going to be called &ldquo;Small Changes Caused by Various Things&rdquo;, because I couldn&rsquo;t think of a better title. Then I changed the title. This one&rsquo;s not much better, though. Sorry.</p>
<p>What I had in mind was the <a href="http://en.wikipedia.org/wiki/Diode_modelling#Shockley_diode_model" rel="nofollow">Shockley diode equation</a> and some other vaguely related subjects.</p>
My Teachers Lied to Me
<p>My introductory circuits class in...]]></description>
<pubDate>Mon, 19 Jan 2015 15:26:00 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Important Programming Concepts (Even on Embedded Systems) Part V: State Machines</title>
<link>https://www.embeddedrelated.com/showarticle/723.php</link>
<description><![CDATA[<p>Other articles in this series:</p>
<ul>
<li><a href="//www.embeddedrelated.com/showarticle/629.php">Part I: Idempotence</a></li>
<li><a href="//www.embeddedrelated.com/showarticle/639.php">Part II: Immutability</a></li>
<li><a href="//www.embeddedrelated.com/showarticle/649.php">Part III: Volatility</a></li>
<li><a href="//www.embeddedrelated.com/showarticle/691.php">Part IV: Singletons</a></li>
<li><a href="//www.embeddedrelated.com/showarticle/792.php">Part VI: Abstraction</a></li>
</ul><p>Oh, hell, this article just had to be about state machines, didn&rsquo;t it? State machines! Those damned little circles and arrows and...]]></description>
<pubDate>Mon, 05 Jan 2015 14:48:37 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Optimizing Optoisolators, and Other Stories of Making Do With Less</title>
<link>https://www.embeddedrelated.com/showarticle/705.php</link>
<description><![CDATA[<p>It&rsquo;s been a few months since I&rsquo;ve rolled up my sleeves here and dug into some good old circuit design issues. I started out with <a href="//www.embeddedrelated.com/showarticle/77.php">circuit</a> <a href="//www.embeddedrelated.com/showarticle/81.php">design</a> <a href="//www.embeddedrelated.com/showarticle/91.php">articles</a>, and I&rsquo;ve missed it.</p>
<p>Today&rsquo;s topic will be showing you some tricks for how to get more performance out of an optoisolator. These devices &mdash; and I&rsquo;m tempted to be lazy and call them &ldquo;optos&rdquo;, but...]]></description>
<pubDate>Mon, 15 Dec 2014 02:20:54 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Book Review: &quot;Turing&#039;s Cathedral&quot;</title>
<link>https://www.embeddedrelated.com/showarticle/700.php</link>
<description><![CDATA[<p>My library had <a href="http://www.amazon.com/Turings-Cathedral-Origins-Digital-Universe/dp/1400075998?tag=aral2-20" rel="nofollow">Turing&rsquo;s Cathedral: The Origins of the Digital Universe</a> by George Dyson on its new acquisitions shelf, so I read it. I&rsquo;d recommend the book to anyone interested in the history of computing.</p>
<p>Turing&rsquo;s Cathedral primarly covers the period in early computing from 1940-1958, and bridges a gap between a few other popular books: on the historic side, between Richard...]]></description>
<pubDate>Thu, 20 Nov 2014 05:41:04 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Important Programming Concepts (Even on Embedded Systems) Part IV: Singletons</title>
<link>https://www.embeddedrelated.com/showarticle/691.php</link>
<description><![CDATA[<p>Other articles in this series:</p>
<ul>
<li><a href="//www.embeddedrelated.com/showarticle/629.php">Part I: Idempotence</a></li>
<li><a href="//www.embeddedrelated.com/showarticle/639.php">Part II: Immutability</a></li>
<li><a href="//www.embeddedrelated.com/showarticle/649.php">Part III: Volatility</a></li>
<li><a href="//www.embeddedrelated.com/showarticle/723.php">Part V: State Machines</a></li>
<li><a href="//www.embeddedrelated.com/showarticle/792.php">Part VI: Abstraction</a></li>
</ul><p>Today&rsquo;s topic is the <a href="http://en.wikipedia.org/wiki/Singleton_pattern" rel="nofollow">singleton</a>. This article is unique (pun intended) in that unlike the others...]]></description>
<pubDate>Tue, 11 Nov 2014 06:47:18 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Second-Order Systems, Part I: Boing!!</title>
<link>https://www.embeddedrelated.com/showarticle/671.php</link>
<description><![CDATA[<p>I&rsquo;ve already written about the unexciting (but useful) <a href="//www.embeddedrelated.com/showarticle/590.php">1st-order system</a>, and about <a href="//www.embeddedrelated.com/showarticle/646.php">slew-rate limiting</a>. So now it&rsquo;s time to cover second-order systems.</p>
<p>The most common second-order systems are <a href="http://en.wikipedia.org/wiki/RLC_circuit" rel="nofollow">RLC circuits</a> and <a href="http://en.wikipedia.org/wiki/Damping#Linear_damping" rel="nofollow">spring-mass-damper systems</a>.</p>
<p>Spring-mass-damper systems are fairly common; you&rsquo;ve seen...]]></description>
<pubDate>Wed, 29 Oct 2014 14:38:41 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>The CRC Wild Goose Chase: PPP Does What?!?!?!</title>
<link>https://www.embeddedrelated.com/showarticle/669.php</link>
<description><![CDATA[<p>I got a bad feeling yesterday when I had to include reference information about a 16-bit CRC in a serial protocol document I was writing. And I knew it wasn&rsquo;t going to end well.</p>
<p>The last time I looked into CRC algorithms was about five years ago. And the time before that&hellip; sometime back in 2004 or 2005? It seems like it comes up periodically, like the <a...]]></description>
<pubDate>Thu, 23 Oct 2014 17:00:40 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Important Programming Concepts (Even on Embedded Systems) Part III: Volatility</title>
<link>https://www.embeddedrelated.com/showarticle/649.php</link>
<description><![CDATA[<p>1vol&#183;a&#183;tile adjective \&#712;v&#228;-l&#601;-t&#601;l, especially British -&#716;t&#299;(-&#601;)l\
: likely to change in a very sudden or extreme way
: having or showing extreme or sudden changes of emotion
: likely to become dangerous or out of control</p>


<p>&mdash; <a href="http://www.merriam-webster.com/dictionary/volatile" rel="nofollow">Merriam-Webster Online Dictionary</a></p><p>Other articles in this series:</p>
<ul>
<li><a...]]></description>
<pubDate>Fri, 10 Oct 2014 13:31:38 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Slew Rate Limiters: Nonlinear and Proud of It!</title>
<link>https://www.embeddedrelated.com/showarticle/646.php</link>
<description><![CDATA[<p>I first learned about <a href="http://en.wikipedia.org/wiki/Slew_rate" rel="nofollow">slew rate limits</a> when I was in college. Usually the subject comes up when talking about the nonideal behavior of <a href="//www.embeddedrelated.com/showarticle/125.php">op-amps</a>. In order for the op-amp output to swing up and down quickly, it has to charge up an internal capacitor with a transistor circuit that&rsquo;s limited in its current capability. So the slew rate limit \( \frac{dV}{dt} = \frac{I_{\rm max}}{C} \). And as...]]></description>
<pubDate>Mon, 06 Oct 2014 04:09:51 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>You Will Make Mistakes</title>
<link>https://www.embeddedrelated.com/showarticle/644.php</link>
<description><![CDATA[&lt;/scorpion&gt;: FAIL
<p>Anyone out there see the TV pilot of <a href="http://en.wikipedia.org/wiki/Scorpion_%28TV_series%29" rel="nofollow">Scorpion</a>? Genius hacker squad meets Homeland Security in a fast-paced thriller to save hundreds of airplanes from crashing after LAX air traffic control software upgrade fails and they didn&rsquo;t save a backup of the old version (ZOMG!!!) so thousands of people are going to die because the planes&hellip; well, they just...]]></description>
<pubDate>Sun, 28 Sep 2014 19:48:47 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Important Programming Concepts (Even on Embedded Systems) Part II: Immutability</title>
<link>https://www.embeddedrelated.com/showarticle/639.php</link>
<description><![CDATA[<p>Other articles in this series:</p>
<ul>
<li><a href="//www.embeddedrelated.com/showarticle/629.php">Part I: Idempotence</a></li>
<li><a href="//www.embeddedrelated.com/showarticle/649.php">Part III: Volatility</a></li>
<li><a href="//www.embeddedrelated.com/showarticle/691.php">Part IV: Singletons</a></li>
<li><a href="//www.embeddedrelated.com/showarticle/723.php">Part V: State Machines</a></li>
<li><a href="//www.embeddedrelated.com/showarticle/792.php">Part VI: Abstraction</a></li>
</ul>
<p>This article will discuss immutability, and some of its variations in the topic of functional programming.</p>
<p>There are a whole series of benefits to using...]]></description>
<pubDate>Sun, 14 Sep 2014 17:25:05 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Important Programming Concepts (Even on Embedded Systems) Part I: Idempotence</title>
<link>https://www.embeddedrelated.com/showarticle/629.php</link>
<description><![CDATA[<p>There are literally hundreds, if not thousands, of subtle concepts that contribute to high quality software design. Many of them are well-known, and can be found in books or the Internet. I&rsquo;m going to highlight a few of the ones I think are important and often overlooked.</p>
<p>But first let&rsquo;s start with a short diversion. I&rsquo;m going to make a bold statement: unless you&rsquo;re a...]]></description>
<pubDate>Tue, 26 Aug 2014 14:11:44 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Someday We’ll Find It, The Kelvin Connection</title>
<link>https://www.embeddedrelated.com/showarticle/622.php</link>
<description><![CDATA[<p>You&rsquo;d think it wouldn&rsquo;t be too hard to measure electrical resistance accurately. And it&rsquo;s really not, at least <a href="http://www.wikihow.com/Measure-Resistance" rel="nofollow">according to wikiHow.com</a>: you just follow these easy steps:</p>
<ul>
<li>Choose the item whose resistance you wish to measure.</li>
<li>Plug the probes into the correct test sockets.</li>
<li>Turn on the multimeter.</li>
<li>Select the best testing range.</li>
<li>Touch the multimeter...]]></description>
<pubDate>Mon, 28 Jul 2014 14:20:59 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>10 Items of Test Equipment You Should Know</title>
<link>https://www.embeddedrelated.com/showarticle/609.php</link>
<description><![CDATA[<p>When life gets rough and a circuit board is letting you down, it&rsquo;s time to turn to test equipment. The obvious ones are multimeters and oscilloscopes and power supplies. But you know about those already, right?</p>
<p>Here are some you may not have heard of:</p>

<li>
<p>Non-contact current sensors. Oscilloscope probes measure voltage. When you need to measure current, you need a different approach....]]></description>
<pubDate>Sun, 22 Jun 2014 22:46:27 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Musings on Publication — and Zero Sequence Modulation</title>
<link>https://www.embeddedrelated.com/showarticle/602.php</link>
<description><![CDATA[<p>Perhaps you don&rsquo;t think about it, but in order for you to read these articles, someone has to do something.</p>
<p>And I don&rsquo;t just mean writing them. <a href="//www.embeddedrelated.com/blogs-1/nf/Stephane_Boucher.php">Stephane Boucher</a> has set up this website so that it&rsquo;s automatic, for the most part &mdash; at least from my end of things, as an author. When I get an idea for an article, I open up a new <a...]]></description>
<pubDate>Fri, 30 May 2014 05:22:52 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>How to Include MathJax Equations in SVG With Less Than 100 Lines of JavaScript!</title>
<link>https://www.embeddedrelated.com/showarticle/599.php</link>
<description><![CDATA[<p>Today&rsquo;s short and tangential note is an account of how I dug myself out of Documentation Despair. I&rsquo;ve been working on some <a href="http://en.wikibooks.org/wiki/Control_Systems/Block_Diagrams" rel="nofollow">block diagrams</a>. You know, this sort of thing, to describe feedback control systems:</p>
<p></p>
<p>And I had a problem. How do I draw diagrams like this?</p>
<p>I don&rsquo;t have Visio and I don&rsquo;t like Visio. I used to like Visio. But then it got Microsofted.</p>
<p>I...]]></description>
<pubDate>Fri, 23 May 2014 06:37:13 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>First-Order Systems: The Happy Family</title>
<link>https://www.embeddedrelated.com/showarticle/590.php</link>
<description><![CDATA[Все счастли́вые се́мьи похо́жи друг на дру́га, ка́ждая несчастли́вая семья́ несчастли́ва по-сво́ему. 
<p style="text-align: right;">&mdash; Лев Николаевич Толстой, Анна Каренина</p>
 Happy families are all alike; every unhappy family is unhappy in its own way. 
<p style="text-align: right;">&mdash; Lev Nicholaevich...]]></description>
<pubDate>Sat, 03 May 2014 22:42:16 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Lost Secrets of the H-Bridge, Part IV: DC Link Decoupling and Why Electrolytic Capacitors Are Not Enough</title>
<link>https://www.embeddedrelated.com/showarticle/588.php</link>
<description><![CDATA[<p>Those of you who read my earlier articles about H-bridges, and followed them closely, have noticed there's some unfinished business. Well, here it is. Just so you know, I've been nervous about writing the fourth (and hopefully final) part of this series for a while. Fourth installments after a hiatus can bring bad vibes. I mean, look what it did to George Lucas: now we have <a...]]></description>
<pubDate>Tue, 29 Apr 2014 05:50:43 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>April is Oscilloscope Month: In Which We Discover Agilent Offers Us a Happy Deal and a Sad Name</title>
<link>https://www.embeddedrelated.com/showarticle/583.php</link>
<description><![CDATA[<p>Last month I wrote that <a href="//www.embeddedrelated.com/showarticle/540.php">March is Oscilloscope Month</a>, because Agilent had a deal on the MSOX2000 and MSOX3000 series scopes offering higher bandwidth at lower prices. I got an MSOX3034 oscilloscope and saved my company $3500! (Or rather, I didn't save them anything, but I got a 350MHz scope at a 200MHz price.)</p>
<p>The scope included a free 30-day trial for each of the application software modules....]]></description>
<pubDate>Sat, 19 Apr 2014 18:20:52 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>How to Analyze a Differential Amplifier</title>
<link>https://www.embeddedrelated.com/showarticle/557.php</link>
<description><![CDATA[
<p>There are a handful of things that you just have to know if you do any decent amount of electronic circuit design work. One of them is a voltage divider. Another is the behavior of an RC filter. I'm not going to explain these two things or even link to a good reference on them &mdash; either you already know how they work, or you're smart enough to look it up yourself.</p>
<p>The handful of things...]]></description>
<pubDate>Mon, 14 Apr 2014 02:20:40 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Garden Rakes Revisited: The Hall of Shame</title>
<link>https://www.embeddedrelated.com/showarticle/554.php</link>
<description><![CDATA[<p>A little while ago, I wrote about what I call the <a href="//www.embeddedrelated.com/showarticle/535.php">&ldquo;garden rakes&rdquo; syndrome</a> in software, where there are little bugs or pitfalls lying around like sloppy garden rakes that no one has put away, and when you use these software programs, instead of zooming around getting things done, you&rsquo;re either tripping over the garden rakes or carefully trying to avoid them. Either way, you...]]></description>
<pubDate>Sat, 12 Apr 2014 20:03:48 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>March is Oscilloscope Month — and at Tim Scale!</title>
<link>https://www.embeddedrelated.com/showarticle/540.php</link>
<description><![CDATA[
<p>I got my oscilloscope today.</p>
<p>Maybe that was a bit of an understatement; I'll have to resort to gratuitous typography:</p>
I GOT MY OSCILLOSCOPE TODAY!!!!
<p>Those of you who are reading this blog may remember I made a post <a href="//www.embeddedrelated.com/showarticle/117.php">about two years ago about searching for the right oscilloscope for me</a>. Since then, <a href="//www.embeddedrelated.com/showarticle/133.php">I changed jobs</a> and have been getting situated in...]]></description>
<pubDate>Thu, 06 Mar 2014 13:44:21 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Bad Hash Functions and Other Stories: Trapped in a Cage of Irresponsibility and Garden Rakes</title>
<link>https://www.embeddedrelated.com/showarticle/535.php</link>
<description><![CDATA[<p>I was recently using the <a href="http://www.mathworks.com/help/matlab/ref/publish.html" rel="nofollow">publish()</a> function in MATLAB to develop some documentation, and I ran into a problem caused by a bad hash function.</p>
<p>In a resource-limited embedded system, you aren't likely to run into <a href="http://en.wikipedia.org/wiki/Hash_function" rel="nofollow">hash functions</a>. They have three major applications: cryptography, data integrity, and data structures. In all these cases, hash functions are used to take some type of data, and...]]></description>
<pubDate>Tue, 28 Jan 2014 15:33:29 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Efficiency Through the Looking-Glass</title>
<link>https://www.embeddedrelated.com/showarticle/533.php</link>
<description><![CDATA[<p>If you've ever designed or purchased a power supply, chances are you have had to work with efficiency calculations. I can remember in my beginning electronic circuits course in college, in the last lecture when the professor was talking about switching power converters, and saying how all of a sudden you could take a linear regulator that was 40% efficient and turn it into a switching...]]></description>
<pubDate>Sun, 08 Dec 2013 19:09:45 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Understanding and Preventing Overflow (I Had Too Much to Add Last Night)</title>
<link>https://www.embeddedrelated.com/showarticle/532.php</link>
<description><![CDATA[<p>Happy Thanksgiving! Maybe the memory of eating too much turkey is fresh in your mind. If so, this would be a good time to talk about <a href="http://en.wikipedia.org/wiki/Arithmetic_overflow" rel="nofollow">overflow</a>.</p>
<p>In the world of floating-point arithmetic, overflow is possible but not particularly common. You can get it when numbers become too large; <a href="http://en.wikipedia.org/wiki/Double-precision_floating-point_format" rel="nofollow">IEEE double-precision floating-point numbers</a> support a range of just...]]></description>
<pubDate>Wed, 04 Dec 2013 15:21:26 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>How to Estimate Encoder Velocity Without Making Stupid Mistakes: Part II (Tracking Loops and PLLs)</title>
<link>https://www.embeddedrelated.com/showarticle/530.php</link>
<description><![CDATA[<p>Yeeehah! Finally we're ready to tackle some more clever ways to figure out the velocity of a position encoder. In <a href="//www.embeddedrelated.com/showarticle/158.php">part I</a>, we looked at the basics of velocity estimation. Then <a href="//www.embeddedrelated.com/showarticle/444.php#encoder-evaluation">in my last article</a>, I talked a little about what's necessary to evaluate different kinds of algorithms. Now it's time to start describing them. We'll cover tracking loops and phase-locked loops in this article, and...]]></description>
<pubDate>Mon, 18 Nov 2013 02:38:46 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Another 10 Circuit Components You Should Know</title>
<link>https://www.embeddedrelated.com/showarticle/522.php</link>
<description><![CDATA[<p>It's that time again to review all the oddball goodies available in electronic components. These are things you should have in your bag of tricks when you need to design a circuit board. If you read my <a href="//www.embeddedrelated.com/showarticle/112.php">previous</a> <a href="//www.embeddedrelated.com/showarticle/119.php">posts</a> and were looking forward to more, this article's for you!</p>

<p>1. Bus switches</p>
<p>I can't believe I haven't mentioned bus switches before. What is a bus...]]></description>
<pubDate>Wed, 30 Oct 2013 15:58:37 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Short Takes (EE Shanty): What shall we do with a zero-ohm resistor?</title>
<link>https://www.embeddedrelated.com/showarticle/509.php</link>
<description><![CDATA[<p>In circuit board design you often need flexibility. It can cost hundreds or thousands of dollars to respin a circuit board, so I need flexibility for two main reasons:</p>
<ul>
<li>sometimes it's important to be able to use one circuit board design to serve more than one purpose</li>
<li>risk reduction: I want to give myself the option to add in or leave out certain things when I'm not 100% sure I'll need...]]></description>
<pubDate>Sat, 19 Oct 2013 23:53:26 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Fluxions for Fun and Profit: Euler, Trapezoidal, Verlet, or Runge-Kutta?</title>
<link>https://www.embeddedrelated.com/showarticle/474.php</link>
<description><![CDATA[<p>Today we're going to take another diversion from embedded systems, and into the world of differential equations, modeling, and computer simulation.</p>
DON'T PANIC!
<p>First of all, just pretend I didn't bring up anything complicated. We're exposed to the effects of differential equations every day, whether we realize it or not. Your car speedometer and odometer are related by a differential...]]></description>
<pubDate>Mon, 30 Sep 2013 04:48:16 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Signal Processing Contest in Python (PREVIEW): The Worst Encoder in the World</title>
<link>https://www.embeddedrelated.com/showarticle/444.php</link>
<description><![CDATA[<p>When I posted an article on <a href="//www.embeddedrelated.com/showarticle/158.php">estimating velocity from a position encoder</a>, I got a number of responses. A few of them were of the form "Well, it's an interesting article, but at slow speeds why can't you just take the time between the encoder edges, and then...." My point was that there are lots of people out there which take this approach, and don't take into account that the time between...]]></description>
<pubDate>Sat, 07 Sep 2013 21:59:03 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Lost Secrets of the H-Bridge, Part III: Practical Issues of Inductor and Capacitor Ripple Current</title>
<link>https://www.embeddedrelated.com/showarticle/424.php</link>
<description><![CDATA[<p>We've been analyzing the ripple current in an H-bridge, both in an inductive load and the DC link capacitor. Here's a really quick recap; if you want to get into more details, go back and read <a href="//www.embeddedrelated.com/showarticle/421.php">part I</a> and <a href="//www.embeddedrelated.com/showarticle/422.php">part II</a> until you've got equations coming out of your ears. I promise there will be a lot less grungy math in this post. So let's get most of it out of the way:</p>
<p></p>
<p>Switches QAH...]]></description>
<pubDate>Sat, 24 Aug 2013 05:32:02 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Lost Secrets of the H-Bridge, Part II: Ripple Current in the DC Link Capacitor</title>
<link>https://www.embeddedrelated.com/showarticle/422.php</link>
<description><![CDATA[<p>In my last post, I talked about <a href="//www.embeddedrelated.com/showarticle/421.php">ripple current in inductive loads.</a></p>
<p></p>
<p>One of the assumptions we made was that the DC link was, in fact, a DC voltage source. In reality that's an approximation; no DC voltage source is perfect, and current flow will alter the DC link voltage. To analyze this, we need to go back and look at how much current actually is being drawn from the DC link. Below is an...]]></description>
<pubDate>Sun, 28 Jul 2013 16:51:44 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Lost Secrets of the H-Bridge, Part I: Ripple Current in Inductive Loads</title>
<link>https://www.embeddedrelated.com/showarticle/421.php</link>
<description><![CDATA[<p>So you think you know about H-bridges? They're something I mentioned in my last post about <a href="http://www.electronics-related.com/showarticle/197.php">signal processing with Python</a>.</p>

<p>Here we have a typical H-bridge with an inductive load. (Mmmmm ahhh! It's good to draw by hand every once in a while!) There are four power switches: QAH and QAL connecting node A to the DC link, and QBH and QBL connecting node B to the DC link. The load is connected...]]></description>
<pubDate>Mon, 08 Jul 2013 03:56:48 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Adventures in Signal Processing with Python</title>
<link>https://www.embeddedrelated.com/showarticle/197.php</link>
<description><![CDATA[<p>Author&rsquo;s note: This article was originally called Adventures in Signal Processing with Python (MATLAB? We don&rsquo;t need no stinkin' MATLAB!) &mdash; the allusion to <a href="https://en.wikipedia.org/wiki/Stinking_badges" rel="nofollow">The Treasure of the Sierra Madre</a> has been removed, in deference to being a good neighbor to The MathWorks. While I don&rsquo;t make it a secret of my dislike of many aspects of MATLAB &mdash; which I mention later in this...]]></description>
<pubDate>Sun, 23 Jun 2013 17:56:52 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Implementation Complexity, Part II: Catastrophe, Dear Liza, and the M Word</title>
<link>https://www.embeddedrelated.com/showarticle/178.php</link>
<description><![CDATA[<p>In <a href="/showarticle/132.php">my last post</a>, I talked about the Tower of Babel as a warning against implementation complexity, and I mentioned a number of issues that can occur at the time of design or construction of a project.</p>
<p></p>
<p>The Tower of Babel, <a title="Pieter Bruegel the Elder" href="http://en.wikipedia.org/wiki/Pieter_Bruegel_the_Elder" rel="nofollow">Pieter Bruegel the Elder</a>, c. 1563 (from <a href="http://en.wikipedia.org/wiki/Tower_of_Babel" rel="nofollow">Wikipedia</a>)</p>
Success and throwing it over the wall
<p>OK, so let's...]]></description>
<pubDate>Sun, 16 Jun 2013 22:19:57 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Implementation Complexity, Part I: The Tower of Babel, Gremlins, and The Mythical Man-Month</title>
<link>https://www.embeddedrelated.com/showarticle/132.php</link>
<description><![CDATA[<p>I thought I'd post a follow-up, in a sense, to an older post about <a href="http://embeddedrelated.com/showarticle/100.php"> complexity in consumer electronics</a> I wrote a year and a half ago. That was kind of a rant against overly complex user interfaces. I am a huge opponent of unnecessary complexity in almost any kind of interface, whether a user interface or a programming interface or an electrical interface. Interfaces should be clean and...]]></description>
<pubDate>Sun, 09 Jun 2013 18:12:12 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Isolated Sigma-Delta Modulators, Rah Rah Rah!</title>
<link>https://www.embeddedrelated.com/showarticle/167.php</link>
<description><![CDATA[<p>I recently faced a little "asterisk" problem, which looks like it can be solved with some interesting ICs.&nbsp;</p>
<p>I needed to plan out some test instrumentation to capture voltage and current information over a short period of time. Nothing too fancy, 10 or 20kHz sampling rate, about a half-dozen channels sampled simultaneously or near simultaneously, for maybe 5 or 10 seconds.</p>
<p>Here's the...]]></description>
<pubDate>Thu, 25 Apr 2013 06:38:33 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Oscilloscope review: Hameg HMO2024</title>
<link>https://www.embeddedrelated.com/showarticle/163.php</link>
<description><![CDATA[<p>Last year I wrote about <a href="/showarticle/117.php">some of the key characteristics of oscilloscopes that are important to me</a>&nbsp;for working with embedded microcontrollers.&nbsp;In that blog entry I rated the Agilent MSOX3024A 4-channel 16-digital-input oscilloscope highly.</p>
<p>Since then I have moved to a different career, and I am again on the lookout for an oscilloscope. I still consider the <a...]]></description>
<pubDate>Thu, 28 Mar 2013 04:00:20 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>How to Estimate Encoder Velocity Without Making Stupid Mistakes: Part I</title>
<link>https://www.embeddedrelated.com/showarticle/158.php</link>
<description><![CDATA[<p>Here's a common problem: you have a quadrature encoder to measure the angular position of a motor, and you want to know both the position and the velocity. How do you do it? Some people do it poorly -- this article is how not to be one of them.
</p>
<p>Well, first we need to get position. Quadrature encoders are <a href="http://en.wikipedia.org/wiki/Rotary_encoder" rel="nofollow">incremental encoders</a>, meaning they can only measure relative changes in position. They...]]></description>
<pubDate>Thu, 27 Dec 2012 20:24:19 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Chebyshev Approximation and How It Can Help You Save Money, Win Friends, and Influence People</title>
<link>https://www.embeddedrelated.com/showarticle/152.php</link>
<description><![CDATA[<p>Well... maybe that's a stretch. I don't think I can recommend anything to help you win friends. Not my forte.
</p>
<p>But I am going to try to convince you why you should know about Chebyshev approximation, which is a technique for figuring out how you can come as close as possible to computing the result of a mathematical function, with a minimal amount of design effort and CPU power. Let's...]]></description>
<pubDate>Sun, 30 Sep 2012 19:31:10 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Thoughts on Starting a New Career</title>
<link>https://www.embeddedrelated.com/showarticle/133.php</link>
<description><![CDATA[<p>I recently completed a 16-year stint at an engineering company. I started there fresh out of college in June 1996. This June I just started a new career as an applications engineer in the area of motor drives at Microchip Technology in Chandler, Arizona. The experience I had in switching jobs was a very enlightening one for me, and has given me an opportunity to reflect on my career. I want to...]]></description>
<pubDate>Mon, 23 Jul 2012 01:44:20 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>10 Software Tools You Should Know</title>
<link>https://www.embeddedrelated.com/showarticle/128.php</link>
<description><![CDATA[<p>Unless you're designing small analog electronic circuits, it's pretty hard these days to get things done in embedded systems design without the help of computers. I thought I'd share a list of software tools that help me get my job done. Most of these are free or inexpensive. Most of them are also for working with software. If you never have to design, read, or edit any software, then you're...]]></description>
<pubDate>Sun, 20 May 2012 18:51:28 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Have You Ever Seen an Ideal Op-Amp?</title>
<link>https://www.embeddedrelated.com/showarticle/125.php</link>
<description><![CDATA[<p>Somewhere, along with unicorns and the Loch Ness Monster, lies a small colony of ideal op-amps. Op-amp is short for operational amplifier, and we start our education on them by learning about these mythical beasts, which have the following properties:</p>
<ul>
<li>Infinite gain</li>
<li>Infinite input impedance</li>
<li>Zero output impedance</li>
</ul>
<p>And on top of it all, they will do whatever it takes to change their output...]]></description>
<pubDate>Mon, 30 Apr 2012 21:49:45 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Hot Fun in the Silicon: Thermal Testing with Power Semiconductors</title>
<link>https://www.embeddedrelated.com/showarticle/126.php</link>
<description><![CDATA[<p>Here's a trick that is useful the next time you do thermal testing with your MOSFETs or IGBTs.</p>
<p>Thermal testing?!</p>
<p>Yes, that's right. It's important to make sure your power transistors don't overheat. In the datasheet, you will find some information that you can use to estimate how hot the junction inside the IC will get.</p>
<p>Let's look at an example. Here's a page from the <a...]]></description>
<pubDate>Sat, 21 Apr 2012 00:59:43 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>How to Build a Fixed-Point PI Controller That Just Works: Part II</title>
<link>https://www.embeddedrelated.com/showarticle/123.php</link>
<description><![CDATA[<p>In <a href="/showarticle/121.php">Part I</a> we talked about some of the issues around discrete-time proportional-integral (PI) controllers:</p>
<ul>
<li>various forms and whether to use the canonical form for z-transforms (don't do it!)</li>
<li>order of operation in the integral term: whether to scale and then integrate (my recommendation), or integrate and then scale.</li>
<li>saturation and anti-windup</li>
</ul>
<p>In this part we'll talk about...]]></description>
<pubDate>Sun, 25 Mar 2012 01:46:33 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>How to Build a Fixed-Point PI Controller That Just Works: Part I</title>
<link>https://www.embeddedrelated.com/showarticle/121.php</link>
<description><![CDATA[<p>This two-part article explains five tips to make a fixed-point PI controller work well. I am not going to talk about loop tuning -- there are hundreds of articles and books about that; any control-systems course will go over loop tuning enough to help you understand the fundamentals. There will always be some differences for each system you have to control, but the goals are the same: drive...]]></description>
<pubDate>Sun, 26 Feb 2012 20:03:32 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>10 More (Obscure) Circuit Components You Should Know</title>
<link>https://www.embeddedrelated.com/showarticle/119.php</link>
<description><![CDATA[<p>The interest in my previous article on obscure but useful electronics parts, <a href="/showarticle/112.php">"10 Circuit Components You Should Know"</a> was encouraging enough that I thought I would write a followup. So here are another 10:</p>
<p>1. "Ideal Diode" controllers</p>
<p>Load-sharing circuits use diodes tied together at their cathode terminal to take the most positive voltage among the sources and connect it to a load. Works...]]></description>
<pubDate>Sun, 05 Feb 2012 18:06:52 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Oscilloscope Dreams</title>
<link>https://www.embeddedrelated.com/showarticle/117.php</link>
<description><![CDATA[<p>My coworkers and I recently needed a new oscilloscope. I thought I would share some of the features I look for when purchasing one.</p>
<p></p>
<p>When I was in college in the early 1990's, our oscilloscopes looked like this:</p>

<p>Now the cathode ray tubes have almost all been replaced by digital storage scopes with color LCD screens, and they look like these:</p>
<p></p>
<p></p>
<p></p>
<p>Oscilloscopes...]]></description>
<pubDate>Sun, 15 Jan 2012 03:14:49 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Stairway to Thévenin</title>
<link>https://www.embeddedrelated.com/showarticle/115.php</link>
<description><![CDATA[<p>This article was inspired by a recent post on <a href="http://www.reddit.com/r/ECE/comments/n8l13/i_can_not_grasp_thevevin_equivalents/" rel="nofollow">reddit </a>asking for help on Th&eacute;venin and Norton equivalent circuits.</p>
<p>(With apologies to Mr. Th&eacute;venin, the rest of the e's that follow will remain unaccented.)</p>

<p>I still remember my introductory circuits class on the subject, roughly as follows:</p>
<p>(NOTE: Do not get scared of what you see in the rest of this section. We're going...]]></description>
<pubDate>Sat, 31 Dec 2011 15:55:10 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Organizational Reliability</title>
<link>https://www.embeddedrelated.com/showarticle/116.php</link>
<description><![CDATA[<p>I was cleaning out my email inbox at work today and ran across something I had forwarded on to a friend a few years ago, which I thought I would share, for those of you who are working in the engineering world.</p>
<p>Below is a handout I got about 10 years ago from Doug Field, an executive now at Apple. Doug is a superb and inspiring leader, whom I had the opportunity to work with...]]></description>
<pubDate>Thu, 22 Dec 2011 22:58:53 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Help, My Serial Data Has Been Framed: How To Handle Packets When All You Have Are Streams</title>
<link>https://www.embeddedrelated.com/showarticle/113.php</link>
<description><![CDATA[<p>Today we're going to talk about data framing and something called COBS, which will make your life easier the next time you use serial communications on an embedded system -- but first, here's a quiz:</p>
Quick Diversion, Part I: Which of the following is the toughest area of electrical engineering?

<li>analog circuit design</li>
<li>digital circuit design</li>
<li>power...]]></description>
<pubDate>Sun, 11 Dec 2011 22:50:45 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>10 Circuit Components You Should Know</title>
<link>https://www.embeddedrelated.com/showarticle/112.php</link>
<description><![CDATA[<p>Chefs have their miscellaneous ingredients, like condensed milk, cream of tartar, and xanthan gum. As engineers, we too have quite our pick of circuits, and a good circuit designer should know what's out there. Not just the bread and butter ingredients like resistors, capacitors, op-amps, and comparators, but the miscellaneous "gadget" components as well.</p>
<p>Here are ten circuit components you...]]></description>
<pubDate>Mon, 28 Nov 2011 02:26:43 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Analog-to-Digital Confusion: Pitfalls of Driving an ADC</title>
<link>https://www.embeddedrelated.com/showarticle/110.php</link>
<description><![CDATA[<p>Imagine the following scenario:You're a successful engineer (sounds nice, doesn't it!) working on a project with three or four circuit boards. More than even you can handle, so you give one of them over to your coworker Wayne to design. Wayne graduated two years ago from college. He's smart, he's a quick learner, and he's really fast at designing schematics and laying out circuit boards. It's...]]></description>
<pubDate>Sat, 19 Nov 2011 22:20:30 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Modulation Alternatives for the Software Engineer</title>
<link>https://www.embeddedrelated.com/showarticle/107.php</link>
<description><![CDATA[<p>Before I get to talking about modulation, here's a brief diversion.</p>
<p>A long time ago -- 1993, to be precise -- I took my first course on digital electronics and processors. In that class, we had to buy a copy of the TTL Data Book* from Texas Instruments.</p>
<p></p>
<p>If you have any experience in digital logic design you probably know that TTL stands for <a...]]></description>
<pubDate>Wed, 09 Nov 2011 03:33:42 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Complexity in Consumer Electronics Considered Harmful</title>
<link>https://www.embeddedrelated.com/showarticle/100.php</link>
<description><![CDATA[<p>I recently returned from a visit to my grandmother, who lives in an assisted living community, and got to observe both her and my frustration first-hand with a new TV. This was a Vizio flatscreen TV that was fairly easy to set up, and the picture quality was good. But here's what the remote control looks like:</p>
<p></p>
<p>You will note:</p>
<ul>
<li>the small lettering (the number buttons are just under 1/4 inch...]]></description>
<pubDate>Sun, 02 Oct 2011 01:32:38 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Which MOSFET topology?</title>
<link>https://www.embeddedrelated.com/showarticle/98.php</link>
<description><![CDATA[<p>A recent <a href="http://electronics.stackexchange.com/questions/18884/switching-dc-with-mosfet-p-channel-or-n-channel-low-side-load-or-high-side-load" rel="nofollow">electronics.StackExchange question</a> 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:</p>
<p></p>
<p>From left to right, these are:</p>

<li>High-side switch,...]]></description>
<pubDate>Fri, 02 Sep 2011 01:43:09 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Thermistor signal conditioning: Dos and Don&#039;ts, Tips and Tricks</title>
<link>https://www.embeddedrelated.com/showarticle/91.php</link>
<description><![CDATA[<p>In <a href="//www.embeddedrelated.com/showarticle/81.php">an earlier blog entry</a>,&nbsp; I mentioned this circuit for thermistor signal conditioning:</p>
<p></p>
<p>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.</p>
<p>The basic premise here is that there are two resistors in a voltage divider: Rth is the thermistor, and Rref is a...]]></description>
<pubDate>Thu, 16 Jun 2011 02:45:44 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Real-time clocks: Does anybody really know what time it is?</title>
<link>https://www.embeddedrelated.com/showarticle/90.php</link>
<description><![CDATA[<p>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 <a href="http://en.wikipedia.org/wiki/Real-time_clock" rel="nofollow">real-time clock/calendar</a> (RTC) is a micropower chip that has an oscillator on it that keeps counting time, independent of main...]]></description>
<pubDate>Mon, 30 May 2011 02:00:39 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Byte and Switch (Part 2)</title>
<link>https://www.embeddedrelated.com/showarticle/81.php</link>
<description><![CDATA[<p>In <a href="//www.embeddedrelated.com/showarticle/77.php">part 1</a> 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:
</p>
<p>
</p>
<p>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...]]></description>
<pubDate>Sat, 07 May 2011 21:14:41 +0000</pubDate>
<author>Jason Sachs</author>
</item>
<item>
<title>Byte and Switch (Part 1)</title>
<link>https://www.embeddedrelated.com/showarticle/77.php</link>
<description><![CDATA[<p>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...]]></description>
<pubDate>Wed, 27 Apr 2011 01:30:29 +0000</pubDate>
<author>Jason Sachs</author>
</item>
</channel>
</rss>