Software Team Member · BU Mars Rover Club · Sep 2025 – Present

Mars Rover
Club

On the software side of BU's rover team I write the code that talks to the rover's motors, drives its wheels, and runs the life detection team's instruments.

20HzEncoder sampling on a
hardware timer
20kHzPWM output to the
drive motors
target RPM measured RPM (EMA filtered) Closed-loop velocity control · step response

What I've built

Image: Jetson, CAN wiring and CubeMars motors
01

CAN bus motor control

I wrote CAN bus communication scripts between an NVIDIA Jetson and individually addressed CubeMars motors, to command and monitor the rover's actuators.

  • NVIDIA Jetson
  • CAN bus
  • CubeMars
Image: life detection UI screenshot
02

Life detection control UI

I developed the life detection team's control and monitoring UI for a CO2 measurement chamber. It integrates live video, real-time plots, data logging, and control of the chemical process steps, all communicating through the Jetson.

  • UI design
  • Live video
  • Real-time plots
  • Data logging
Image: mini rover and tuning plot
03

PID velocity control

I developed closed-loop PID velocity control for the mini rover's drive motors on an ESP32.

  • Quadrature encoder feedback sampled at 20 Hz on a hardware timer, so loop timing stays consistent.
  • EMA (exponential moving average) low-pass filtering of RPM before it reaches the controller.
  • 20 kHz PWM output, above the range of human hearing.
  • ESP32
  • PID
  • Encoders
  • PWM