
Code and exercise for this section: Resources tab, s01_why_electronics_fail.zip.
Code and exercise for this section: Resources tab, s02_circuit_fundamentals.zip.
Code and exercise for this section: Resources tab, s03_semiconductors.zip.
Code and exercise for this section: Resources tab, s04_motor_drivers.zip.
Code and exercise for this section: Resources tab, s05_brushless_escs.zip.
Code and exercise for this section: Resources tab, s06_power.zip.
Code and exercise for this section: Resources tab, s07_grounding_noise_emi.zip.
Code and exercise for this section: Resources tab, s08_digital_buses.zip.
Code and exercise for this section: Resources tab, s09_signal_chain_adc.zip.
Code and exercise for this section: Resources tab, s10_inertial_sensors.zip.
This course contains the use of artificial intelligence.
Your robot browns out halfway through a turn. One motor runs hotter than the others. The compass suddenly reads thirty degrees off, but only when the motors spin up.
You check the code, and the code is fine.
These are not software problems. They are electrical problems showing up as software symptoms, and most robotics courses barely teach you how to diagnose them.
This course covers the electronics layer of a robot, from the battery and motor drivers to ESCs, flight controllers, companion computers, and sensors. The goal is not to memorize components, but to understand the physical mechanisms behind them.
No hardware required
Every waveform, current spike, voltage sag, and time constant comes from circuit simulations using ngspice, which is free and open source.
Every netlist is included, so you can change values, rerun experiments, observe failures, and test your own hypotheses.
For example, we test the common advice of adding a large capacitor when a microcontroller resets during a motor stall.
A 4700 µF capacitor can save the processor during a 0.5 ms disturbance. At 2 ms, it fails. By 10 ms, increasing capacitance barely matters.
The lesson is that capacitors help with short transients. Sustained motor stalls require a stronger power source, current limiting, or better system design.
What you will learn
Power systems: cells, internal resistance, voltage sag, brownouts, and shared grounds
Transistors: on-resistance, gate charge, switching losses, and thermal behaviour
H-bridges and motor drivers: shoot-through, dead time, PWM frequency, and current ripple
Brushless motors and ESCs: commutation, back-EMF, sensorless startup, and DShot
Current and position sensing: measuring the system and closing control loops
Flight controllers and companion computers: what each should handle and why
Robot sensors: IMU bias and noise, GPS fix quality, and acoustic ranging
Communication and integration: buses, EMI, grounding, and wiring the complete robot
By the end of the course, you should be able to look at a robot behaving strangely and reason about whether the real problem is software, power, sensing, communication, or the electronics underneath it.