My Love-Hate Relationship with Stack Overflow: Arthur S., Arthur T., and the Soup Nazi

Jason Sachs

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. I’ve been a user of Stack Overflow since December of...


Coding Step 1 - Hello World and Makefiles

Stephen Friederichs

Articles in this series:Coding Step 0 - Development EnvironmentsCoding Step 1 - Hello World and MakefilesCoding Step 2 - Source ControlCoding Step 3 - High-Level RequirementsCoding Step 4 - DesignStep 0 discussed how to install GCC and...


Important Programming Concepts (Even on Embedded Systems) Part V: State Machines

Jason Sachs
1 comment

Other articles in this series: Part I: Idempotence Part II: Immutability Part III: Volatility Part IV: Singletons Part VI: Abstraction Oh, hell, this article just had to be about state machines, didn’t it? State machines! Those...


Coding - Step 0: Setting Up a Development Environment

Stephen Friederichs
1 comment

Articles in this series: Coding Step 0 - Development Environments Coding Step 1 - Hello World and Makefiles Coding Step 2- Source ControlCoding Step 3 - High-Level RequirementsCoding Step 4 - Design You can easily find a million articles...


Book Review: "Turing's Cathedral"

Jason Sachs

My library had Turing’s Cathedral: The Origins of the Digital Universe by George Dyson on its new acquisitions shelf, so I read it. I’d recommend the book to anyone interested in the history of computing. Turing’s Cathedral...


Important Programming Concepts (Even on Embedded Systems) Part I: Idempotence

Jason Sachs
2 comments

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’m going to highlight a few of the ones I think...


Introduction to Microcontrollers - 7-segment displays & Multiplexing

Mike Silva
1 comment

[quicklinks] Doing the 7 Segment Shuffle The 7 segment display is ubiquitous in the modern world.  Just about every digital clock, calculator and movie bomb has one.  The treadmills at my gym have 6 or 7, each one displaying 3 or 4...


Using the C language to program the am335x PRU

Fabien Le Mentec

Introduction Some weeks ago, I published an article on how we used the PRU to implement a power supply control loop having hard realtime constraints: http://www.embeddedrelated.com/showarticle/586.php Writing this kind of logic in assembly...


Musings on Publication — and Zero Sequence Modulation

Jason Sachs

Perhaps you don’t think about it, but in order for you to read these articles, someone has to do something. And I don’t just mean writing them. Stephane Boucher has set up this website so that it’s automatic, for the most part...


Lost Secrets of the H-Bridge, Part IV: DC Link Decoupling and Why Electrolytic Capacitors Are Not Enough

Jason Sachs
3 comments

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...