All About Circuits

Latest Microcontroller Articles and Videos

Categories

How to Use a Rotary Encoder in an MCU-Based Project

How to Use a Rotary Encoder in an MCU-Based Project

Learn how to use a rotary encoder in an Arduino project. Rotary encoders are electromechanical, electro-optical or electro-magnetic devices which convert rotational motion into digital or analog information.


Projects Nov 01, 2015 by Tim Youngblood
How to Build a Robot - Design and Schematic

How to Build a Robot - Design and Schematic

Part one of a series of articles on building a robot that can follow lines or walls and avoid obstacles!


Make a Wireless Thermometer with Arduino

Make a Wireless Thermometer with Arduino

Learn how to use a 433MHz RF module with an ATMega 328P-PU. In this article, we'll make a circuit with a DHT11 sensor and a RF transmitter. We'll also make a receiving circuit with a 433MHz RF receiver and an LCD display.


Make an EFM8-Based System for Monitoring and Analyzing Thermocouple Measurements

Make an EFM8-Based System for Monitoring and Analyzing Thermocouple Measurements

With this microcontroller-to-PC interface you can conveniently monitor a temperature and visualize how the temperature changes over time.


Projects Oct 26, 2015 by Robert Keim
Intro to Embedded Development: Styles and Standards

Intro to Embedded Development: Styles and Standards

Some of the unique aspects of embedded programming design will be highlighted, and various standards and tools common to the field will be discussed. Great for first-time designers and developers who have some programming experience, but are new to microcontrollers and things such as real-time operating systems.


Breadboard and Program an ESP-01 Circuit with the Arduino IDE

Breadboard and Program an ESP-01 Circuit with the Arduino IDE

The ESP8266 combination microcontroller/Wi-Fi modules can now be programmed using the Arduino IDE. Here's how!


An ATMega328-based Data Acquisition System

An ATMega328-based Data Acquisition System

In this article I will show you how to use the internal EEPROM of an ATMega 328P microcontroller. I will use a USB-to-serial converter, and an LM35 temperature sensor. I will also give you some tips and tricks when designing a PCB.


Hack a Mousetrap with a 433MHz RF Module

Hack a Mousetrap with a 433MHz RF Module

You can buy cheap 433MHz RF modules from Mouser and DigiKey. This article will show you how to use them with a PICAXE microcontroller to hack your own mousetraps.


Raspberry Pi Project: Control a DC Fan

Raspberry Pi Project: Control a DC Fan

Control a fan based on the current temperature with a Raspberry Pi!


Light Bar “Relative Comfort” Thermometer with NodeMCU

Light Bar “Relative Comfort” Thermometer with NodeMCU

Create a wireless "relative comfort" light bar thermometer by broadcasting temperature data across multiple ESP8266 modules running NodeMCU using MQTT.


Projects Sep 28, 2015 by Patrick Lloyd
How to Add Bluetooth to a Ceiling Fan

How to Add Bluetooth to a Ceiling Fan

How to add BLE capabilities to a wireless ceiling fan by incorporating the nRF51 in the remote control. Part of our series on the nRF51.


Introduction to FreeRTOS on the nRF51

Introduction to FreeRTOS on the nRF51

This article demonstrates porting FreeRTOS to the nRF51 with a softdevice so you can use an RTOS with the BLE functionality.


How to Use RTC with Arduino and LCD

How to Use RTC with Arduino and LCD

This article will show you one way of making an accurate clock by using the Real Time Clock IC DS1307. The time will be shown on a LCD display.


An LCD for Your Microcontroller Using a Single I/O

An LCD for Your Microcontroller Using a Single I/O

LCDs are great for showing info from your microcontroller. A serial adapter is inexpensive, uses only one I/O, and is easy to connect and to use.


Writing PICAXE BASIC Code - Part 4

Writing PICAXE BASIC Code - Part 4

Part 4 introduces the readadc, select, case, and endselect PICAXE BASIC commands. It is the fourth article in a multi-part series on writing PICAXE code.


Introduction to the MQTT Protocol on NodeMCU

Introduction to the MQTT Protocol on NodeMCU

MQ Telemetry Transport (MQTT) is a popular low-overhead messaging protocol used by many IoT devices to communicate. This tutorial will show the user how to to set up a basic MQTT network using Python on his or her computer and an ESP8266 running the NodeMCU firmware.


Projects Sep 15, 2015 by Patrick Lloyd
EFM8 Sound Synthesizer: From Square Wave to Sine Wave

EFM8 Sound Synthesizer: From Square Wave to Sine Wave

Part 1 in the “How to Make an EFM8-Based Sound Synthesizer” series, which will design a sound synthesizer that can play standard musical notes. We will accomplish this using a low-cost, small-form-factor EFM8 microcontroller in conjunction with a few external components and a speaker.


Projects Sep 04, 2015 by Robert Keim
Switch Bounce and How to Deal with It

Switch Bounce and How to Deal with It

In this article I will discuss what switch bounce is and some ways to deal with it. First I will take you through the theory, and later I will show you some ways to handle it in both hardware and in software.


Ambient Light Monitor: Using a Triac to Adjust Lamp Brightness

Ambient Light Monitor: Using a Triac to Adjust Lamp Brightness

Part 5 in the “How to Make an Ambient Light Monitor” series.


Projects Sep 01, 2015 by Robert Keim
Getting Started with PSoC®

Getting Started with PSoC®

Getting started with PSoC®, the Programmable-System-on-Chip by Cypress Semiconductor for developing and testing embedded systems.