All About Circuits

Latest Firmware Technical Articles

Categories

House-Monitoring Framework with Arduino and Raspberry Pi: The Paranoid App

House-Monitoring Framework with Arduino and Raspberry Pi: The Paranoid App

Learn how to use a Raspberry Pi and an Arduino to develop a system for monitoring and controlling your home.


Projects Jun 03, 2016 by Cezar Chirila
MicroFAT: A File System for Microcontrollers

MicroFAT: A File System for Microcontrollers

File systems can be great for handling data and organizing memory, but most file systems require large amounts of memory. This is where MicroFAT comes in!


Getting Started with OPENOCD Using FT2232H Adapter for SWD Debugging

Getting Started with OPENOCD Using FT2232H Adapter for SWD Debugging

Learn how to make flashing your ARM-based MCU easy by using OpenOCD debugger with an FT2232H adapter.


FIR Filter Design by Windowing: Concepts and the Rectangular Window

FIR Filter Design by Windowing: Concepts and the Rectangular Window

In this article, we'll review the basic concepts in digital filter design. We'll also briefly discuss the advantages of FIR filters over IIR designs, e.g. stability and linear-phase response. Finally, we'll go over an introduction to designing FIR filters via the window method.


Finite State Machines & Microcontrollers

Finite State Machines & Microcontrollers

Using Finite State Machines (FSM) is a common industrial practice in coding but their use extends beyond everyday software. They can easily be used in projects, help prevent bugs, stop infinite loops hogging the processor, and ease debugging.


Digital-to-Analog Conversion with the SAM4S Peripheral DMA Controller

Digital-to-Analog Conversion with the SAM4S Peripheral DMA Controller

Part Three in this three-article series shows you how to generate values for a discrete sinusoid and continuously convert this data into an analog signal without overburdening the CPU.


Projects May 09, 2016 by Robert Keim
NES Controller Interface with an Arduino UNO

NES Controller Interface with an Arduino UNO

Learn about the NES Controller's data protocol, then use this knowledge to easily integrate into an Arduino Uno.


Projects Apr 29, 2016 by Joseph Corleto
DMA Digital-to-Analog Conversion with a SAM4S Microcontroller: The Timer/Counter

DMA Digital-to-Analog Conversion with a SAM4S Microcontroller: The Timer/Counter

Part One in this three-article series focuses on using the SAM4S timer/counter peripheral to precisely control the DAC’s sampling rate.


Projects Apr 28, 2016 by Robert Keim
Control a Servo from Your PC with the Atmel SAM4S

Control a Servo from Your PC with the Atmel SAM4S

Learn how to communicate between your PC and the SAM4S using the Atmel Software Framework’s USB module and simple ASCII commands.


Projects Apr 25, 2016 by Robert Keim
Servo Control via USB with the SAM4S Xplained Pro

Servo Control via USB with the SAM4S Xplained Pro

Part One in this two-article series focuses on the hardware setup and on using a pulse-width-modulated signal to control a servo.


Projects Apr 22, 2016 by Robert Keim
Introducing the Intel D2000 Quark Microcontroller Developer Kit

Introducing the Intel D2000 Quark Microcontroller Developer Kit

The new development board features a 32 MHz Quark and a host of features at a $14.95 price tag.


Pulse-Width Modulation with the SAM4S Xplained Pro

Pulse-Width Modulation with the SAM4S Xplained Pro

This article covers everything you need to know to generate pulse-width-modulated signals with Atmel’s SAM4S Xplained Pro development board.


Projects Apr 14, 2016 by Robert Keim
How to Create a Gaming System with the Atmel SAM4S Xplained Pro

How to Create a Gaming System with the Atmel SAM4S Xplained Pro

This article provides additional details related to code development, hardware configuration, and the OLED interface.


Projects Apr 01, 2016 by Robert Keim
Intro to Project Development with the Atmel SAM4S Xplained Pro

Intro to Project Development with the Atmel SAM4S Xplained Pro

Learn about basic procedures and techniques for creating your own projects with Atmel’s SAM4S Xplained Pro development platform.


Projects Mar 28, 2016 by Robert Keim
How to Write Better Unit Tests For Embedded Software With TDD

How to Write Better Unit Tests For Embedded Software With TDD

Test-driven development (TDD) is an iterative process for writing software, where the unit tests are developed just before the implementation. TDD isn't used widely in embedded software, but it's the best way to get started with unit testing.


Program a PIC Microcontroller as an I2C Slave Device for Custom Sensor and I/O Interfacing

Program a PIC Microcontroller as an I2C Slave Device for Custom Sensor and I/O Interfacing

No I2C interface with that sensor? No problem. Program a PIC chip as an I2C slave device for custom sensor and I/O interfacing. Here, we use three DHT22 sensors on a single I2C interface.


Embedded PID Temperature Control, Part 5: Adjusting Gains

Embedded PID Temperature Control, Part 5: Adjusting Gains

We will explore how P, I, and D gain influences system performance, and in the process we will find a gain configuration that works well for our temperature controller.


Projects Feb 29, 2016 by Robert Keim
How to Flash the SIM900A Module

How to Flash the SIM900A Module

SIMCOM's SIM 900A in Europe? Read on to learn how.


Embedded PID Temperature Control, Part 4: The Scilab GUI

Embedded PID Temperature Control, Part 4: The Scilab GUI

With USB communications and a Scilab graphical user interface, we can really see what the PID controller is doing.


Projects Feb 19, 2016 by Robert Keim
Embedded PID Temperature Control, Part 3: Implementation and Visualization

Embedded PID Temperature Control, Part 3: Implementation and Visualization

We will implement a basic PID (proportional–integral–derivative) controller in firmware and observe the results using an oscope and LEDs.


Projects Feb 15, 2016 by Robert Keim