You can do a lot with a microcontroller the size of a stick of gum.