Microcontroller-Free Obstacle-Avoiding Robot
A microcontroller-free obstacle-avoiding robot built from IR sensors, op-amp comparators and discrete transistor (RTL) logic gates driving an L298N H-bridge — CSE350.
Overview
An obstacle-avoiding robot that navigates with no microcontroller and no code at all — every decision is made by discrete electronics. It's a hands-on demonstration that autonomous behaviour doesn't always need a programmable brain, built for CSE350 (digital logic / electronics).
How it works
Infrared sensors paired with op-amp comparators turn how much light bounces back off an obstacle into clean binary (on/off) signals. Those pass through Resistor-Transistor Logic (RTL) NOT gates built from NPN transistors, which generate the motor-control logic, and an L298N H-bridge then drives the two DC motors. The result: the robot steers away from obstacles purely through analog sensing and transistor logic.
Why it's interesting
By removing every programmable component, it becomes a clear teaching model for beginners in robotics and digital electronics — and a reminder of how much you can do with comparators and a handful of logic gates. Bench testing showed reliable detection and dynamic response across a range of obstacle scenarios.
By the numbers
Schematic & figures

Tech stack & key skills
Core tools, methods and skills demonstrated in this project: