Everything for Electronics

A Real-Time Operating System for the Arduino

An RTOS (Real Time Operating System) is a software component that lets you rapidly switch between different running sections of your code. Think of it as having several loop() functions in an Arduino sketch where they all run at the same time.


MakerPlot – The DIY Software Kit

If you use microcontrollers in your projects, imagine how helpful it would be to see the data in a graphical format, rather than just a series of numbers -- especially when debugging! MakerPlot does all of this and connects directly to your microcontroller’s serial port to display analog and digital data in graphical form; it’s DIY software for your microcontroller projects.


Libraries and Headers in C: A Tutorial

If you’ve written a program for a microcontroller board such as the Arduino, Raspberry Pi, or Propeller QuickStart, you have relied on software libraries that provide constants and functions.  Often, we use software libraries without thinking much about them.

When you start to write libraries, it takes time to read documents, follow directions, and experiment with simple functions. Fortunately, after you understand how to create libraries and header files for the software tools you use, you'll have a useful skill that can simplify programming tasks.

Even if you never create a library, you probably want to know how they work and what they contain. This tutorial provides information that gives you a good start.


Enhance Your Debugging Tool Suite

Debugging microcontroller designs can be difficult due to resource limitations that block or curtail access to real time information internally and externally. In this article, I’ll demonstrate both a multiplexed bus protocol analyzer and the 1-Wire Manchester decoder. Combining these logic analyzer decoders with an embedded software Manchester encoder forms a great tool to enhance your debugging and diagnostic skills.


Working with I2C Sensor Devices

Here’s a quick beginner-friendly tutorial that shows you how to interface and read data with the popular serial protocol, I2C. In particular, we’ll be reading data from the NXP MPL3115A2 altimeter/barometer/temperature sensor. The principles found here can also be applied generically, even to your ambifacient lunar wane shaft positioning sensor of your turboencabulator.