Role in this project: the controller. It reads every sensor, runs the state machine every 100 ms, drives the relay, the motor driver, the LEDs, the buzzer and the LCD, and talks to the PC over USB.