RSLK Robot
The RSLK (Robotics System Learning Kit) project develops a small robot using the Texas Instruments platform. I programmed sensors, motors, timers, and interrupts to enable line following and autonomous navigation. This was my first deep dive into embedded systems programming close to the hardware.
Development Components
- Input/Output: Processed digital and analog sensor readings, controlled motor outputs via PWM.
- Line Sensor: Used reflectance sensors that measure discharge time from a capacitor. darker surfaces cause faster discharge (the physics behind this are actually quite interesting).
- Interrupts: SysTick interrupts used for sensor timing and non-blocking reads.
- Motors: Motor control tuned for stable line following.
Visuals / Video
This video shows Albert's robot driving first, and mine quickly catching up. It is not shown in the recording, due to Albert's questionable videography skills, but my robot did indeed read-end his. My robot was much faster than his because I used a PID (Proportional Integral Derivative) controller and had fine-tuned the values for the maximum speed possible.
Reflections
Line Sensor
SysTick & Interrupts
Finite State Machines
Working at a Bit Level