Latest articles about Microcontrollers

Using C++ with the NXP Zigbee SDK

The NXP Zigbee SDK is not well setup for use with C++. Although I prefer it over the Texas Instruments ZStack for various reasons, ease of C++ development is not one of them. I had no trouble converting ZStack sample programs to C++. I had all sorts of issues with the NXP SDK.
Generals
Zigbee | Iot | Code | Jn5189 | C++ | Microcontrollers

Getting started with the NXP Zigbee SDK

My attempt to develop custom firmware for the Aqara E1 Zigbee wall switch (link coming soon) necessitated learning NXP’s Zigbee SDK for the JN5189.
Generals
Zigbee | Iot | Code | Jn5189 | Microcontrollers

Zigbee MCU and module cheat sheet

A comprehensive list of major Zigbee IC vendors and module makers, including a matrix of which module maker use which vendor's ICs.
Generals
Electronics | Zigbee | Iot | Microcontrollers

How to sleep an ATMega328p on less than 1µA with timer wakeup

How to configure an ATMega328p to consume lest than 1uA, while still retaining the ability to wake the processor up periodically via timer (or external interrupt).
Generals
Electronics | Microcontrollers | Low Power

BT audio player: Conclusion, problems and screwups

Discussion of the design and implementations problems encountered during the design/construction of my in-wall Bluetooth audio player, with environmental sensors, proximity wake-up, metadata display, and cat animations.
Bluetooth Audio Player
Electronics | Microcontrollers | Bluetooth

BT audio player: Firmware

Firmware design for the Bluetooth audio player project. The basic architecture uses events to trigger external interrupts. Handlers post the event details into a queue and a simple control loop polls the queue and dispatches events to various handlers.
Bluetooth Audio Player
Electronics | Microcontrollers | Firmware | Bluetooth | Code

BT audio player: Circuit and PCB

Circuit and PCB design for the Bluetooth audio player project. The circuit design is not complicated. The main sections are MCU with 8MHz crystal and supporting caps, ...
Bluetooth Audio Player
Electronics | Microcontrollers | Pcbs | Bluetooth

BT audio player: System Design

My latest project is a cat-themed Bluetooth audio player to be permanently installed in my bathroom. The unit will be housed in a standard electrical junction box on the bathroom wall..
Bluetooth Audio Player
Electronics | Microcontrollers | Bluetooth

STM32 Microcontroller Cheat Sheet

STM32 microcontroller cheat sheet by product line, feature, model number. Includes product code descriptions and timer/peripheral information.
Generals
Electronics | Microcontrollers

Building a toaster reflow oven - Part 4 (Controller software)

This is part 4 of a 4-part series on building a toaster reflow oven: Oven hardware Controller hardware Manufacturing Controller software Continuing on from the prior posts on the controller hardware and manufacturing, the device needs software.
Toaster Reflow Oven
Electronics | Microcontrollers | Firmware | Code

Building a toaster reflow oven - Part 3 (Manufacturing)

This is part 3 of a 4-part series on building a toaster reflow oven: Oven hardware Controller hardware Manufacturing Controller software So far we’ve looked at the hardware design, but aside from modifying the oven in part 1, nothing has been built yet.
Toaster Reflow Oven
Electronics | Microcontrollers | Woodwork | Reflow

Building a toaster reflow oven - Part 2 (Controller hardware)

This is part 2 of a 4-part series on building a toaster reflow oven: Oven hardware Controller hardware Manufacturing Controller software In part 1 we discussed the selection and modification of the oven itself. It’s now time to work on the external controller.
Toaster Reflow Oven
Electronics | Microcontrollers
Page 1 of 2