Tag
Sensors
10 sheets with this mark.
- Encoder quadrature you'll decode without the phase chartIncremental encoders give you direction and distance, but only if you sample both channels correctly. Here's how to wire and poll quadrature without consulting the timing diagram every build.
- UART baud rates that match what you solderedCrystal tolerances and baud-rate math collide in real hardware. Here's how to pick speeds that won't drift into garbage frames.
- Pull-up resistors that won't lie to your microcontrollerWeak internal pull-ups work until they don't. Here's how to pick external resistors that keep your I²C lines honest and your GPIO reads predictable.
- ADC reference voltage you won't second-guessPick a stable voltage reference once and your analog reads stay honest. Here's how to choose one that survives your bench and your production run.
- Watchdog timers before the mystery rebootYour microcontroller will lock up eventually. A properly configured watchdog catches silent failures before they become field support calls.
- State machines that survive the prototypeFinite state machines aren't academic ceremony—they're how you keep firmware predictable when inputs misbehave and timers collide.
- Interrupt-driven sensor reads you'll debug oncePolling burns cycles and misses edges. Interrupt-driven sensor reads give you precision timing and lower power draw—if you set them up correctly the first time.
- PID tuning without the spreadsheet theaterStop guessing gains from blog posts. A disciplined step-response test and three coefficients you measure yourself will outperform any magic number you found online.
- Sensor calibration you'll actually run twiceMost calibration routines gather dust in a comment block. Here's how to build the kind you'll invoke before every demo without groaning.
- Closed-loop or cosplayIf the robot cannot sense the thing it claims to control, it is performing robotics.