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. […]