El escenario
Building a small RC car that follows a line using two IR sensor pairs and an Arduino to drive left and right motors independently.
Qué hay en este dibujo
Lee las decisiones que hay detrás.
01
Use NPN low-side switching for DC motors with flyback diodes for inductive kickback.
02
Model each IR sensor as an IR LED plus reverse-biased photodiode with a pull-down resistor.
Reuse this netlist for Arduino-based differential-drive robots that need black/white line detection and independent motor control.