An Arduino sketch that builds a remote control system for a floor fan.