Microcontroller-based firefighting truck