The engine microcontroller controls:
- Motor power
- Smoke power
- Lights
- Tachometer
- Running the locomotive simulation
The firmware is in the /LocoEngine folder of this repo.
In the actual locomotives, I use the PCB hat, but this breadboard diagram is useful for showing the external wiring and connections. (Such as to the motor drivers.)