Drive-by-wire technology replaces traditional mechanical systems with electronic systems controlled by electronic control units (ECUs). ECUs consist of microcontrollers, sensors, power switches, drivers, and voltage regulators. They connect sensors and actuators to a central ECU. Modern cars contain up to 100 ECUs communicating over automotive bus protocols like CAN, LIN, and FlexRay. This allows for advanced driver assistance systems like anti-lock braking systems and electronic stability control.