Electrical

The electrical system for the Skittle PNP is in charge of providing power to all components, electrically controlling the solenoid air valve, and providing an easy interface between firmware and the electromechanical devices in the system, such as the motors and servos. The system features a custom interface PCB used to house the STM32 development board, A4988 stepper motor drivers, and linear voltage regulators that take a 12V input and provide 3.3V and 5V to all components in the system.

Power

All components are powered by a 12V DC power supply, which goes through a power-on switch before powering all devices in the system (Amazon Link). The red casing prevents someone from accidentally starting the system and this switch doubles as an emergency stop switch. 
Linear regulator Switching regulator
Efficiency Low to Medium-High (depending on the difference between Vin and Vout) High
Complexity Low Medium to high
Size Small (for our applications) Small (but larger than a linear regulator since it would require more external components)
Cost Low Medium to high
Ripple/noise/EMI Low Medium to high

Source: https://www.renesas.com/us/en/products/power-power-management/linear-vs-switching-regulators

The schematics for the regulators are identical, except for the regulator itself. We use the LM1117-3.3 and LM1117-5 800-mA, Low-Dropout Linear Regulators (Datasheet).