Swamy Ananthanarayan

Category: Embedded Software

Updating firmware on the pocket AVR programmer

The pocket AVR programmer from Sparkfun is very useful tool for uploading bootloaders via ISP to any custom boards that use Atmega microcontrollers. However, the firmware on these programmers is often stuck at whatever version was the latest at the time of board production. In my case, I had a Pocket AVR programmer from February […]

Simple packet protocol for tiny microcontrollers

Recently, I needed a reliable method for a master microcontroller to send commands to a set of uniquely identified slave nodes. In this network, the master microcontroller (ATMEGA328P) communicates with the slave nodes (ATTINY85) by broadcasting the unique node identifier along with a set of commands for that particular node on a shared serial line. […]