Using the Beaglebone PRU to achieve realtime at low cost

Fabien Le Mentec
4 comments

Introduction I work as an engineer in a synchrotron facility. A few weeks ago, I helped the people in charge of the power supply developments to integrate a realtime control algorithm on a prototype platform: a BeagleBone Black (BBB) running...


Unit Tests for Embedded Code

Stephen Friederichs
1 comment

I originate from an electrical engineering background and my first industry experience was in a large, staid defense contractor. Both of these experiences contributed to a significant lack of knowledge with regards to software development best...


DSPRelated and EmbeddedRelated now on Facebook & I will be at EE Live!

Stephane Boucher

I have two news to share with you today.The first one is that I finally created Facebook pages for DSPRelated.com and EmbeddedRelated (DSPRelated page - EmbeddedRelated page). For a long time I didn't feel that this was something that was needed,...


Using a RTLSDR dongle to validate NRF905 configuration

Fabien Le Mentec

I am currently working on a system to monitor the garage door status from my flat. Both places are 7 floors apart, and I need to send the data wirelessly. I chose to operate on the 433MHz carrier, and I ordered 2 PTR8000...


Understanding and Preventing Overflow (I Had Too Much to Add Last Night)

Jason Sachs

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 overflow. In the world of floating-point arithmetic, overflow is possible but not particularly common. You can...


How to Estimate Encoder Velocity Without Making Stupid Mistakes: Part II (Tracking Loops and PLLs)

Jason Sachs
1 comment

Yeeehah! Finally we're ready to tackle some more clever ways to figure out the velocity of a position encoder. In part I, we looked at the basics of velocity estimation. Then in my last article, I talked a little about what's necessary to...


How to Arduino - a video toolbox

Lonnie Honeycutt

I've begun producing a new series of video tutorials for the hobbyist new to the Arduino or microcontrollers in general.  My videos are very pragmatic - I prefer to answer the question "what is the quickest, simplest and most affordable way...


Introduction to Microcontrollers - Driving WS2812 RGB LEDs

Mike Silva
4 comments

[quicklinks]   This tutorial chapter is a bit of a detour, but I think an interesting and useful one.  It introduces a bit of assembly language programming, and demonstrates bit-banging a tight serial data protocol.  And it deals...


Introduction to Microcontrollers - Buttons and Bouncing

Mike Silva
2 comments

[quicklinks]   What Is A Button? To your hardware, that is.  As discussed in Introduction to Microcontrollers - More On GPIO, a button (or key, or switch, or any form of mechanical contact) is generally hooked up to a microcontroller...


Arduino robotics #4 - HC-SR04 ultrasonic sensor

Lonnie Honeycutt
1 comment

Arduino Robotics Arduino robotics is a series of article chronicling my first autonomous robot build, Clusterbot.  This build is meant to be affordable, relatively easy and instructive.  The total cost of the build is around $50....