Wiring basics for microcontroller projects
Plan power and signal paths, grounds, logic levels, and loads before connecting a microcontroller project.
Draw power separately from signals
Start with two sketches: one for the energy path and one for information. The controller reads sensors and sends control signals; a motor, heater, or lamp usually needs a separate supply and a suitable driver.
A common reference ground is often needed when two circuits exchange signal voltage. Confirm the circuit design first; isolated interfaces are an intentional exception.
Check voltage and current
Read the exact board and module documentation. A USB connector accepting 5 V does not mean the GPIO pins accept 5 V. ESP8266, ESP32, and many compact boards use 3.3 V logic; classic Uno boards differ. Use a proper level shifter when signal ranges do not match.
Estimate load current, including motor startup or stall current. Do not power a motor, relay coil, or high-current LED directly from a GPIO. Select a rated driver and supply, and add the protection specified by its manufacturer.
Wire with power disconnected
Check polarity, pin names, connector orientation, and short circuits before energizing the build. Add a current limit on the first power-up where possible, then measure the supply rail before attaching sensitive modules.
General checks do not replace the exact board and component documentation. Find a project guide.