Sarthak Sahai

Portfolio · 2026

Initialising scan head

000%

SarthakSahai
← All projects

06Autonomous medication-delivery robotCompleted

CHIRON

Hospital Medicinal Dispensing Robot

  • $300total project budget
  • 3person team
  • ESP32controller subsystem

An autonomous robot designed to follow hospital corridors and deliver the right pill box to the right room. I led the mechanical design and electro-mechanical integration, all inside a $300 project budget.

Role
Mechanical & Electro-mechanical Lead
Team
3-person team
Period
Jan 2026 — Apr 2026
With
Mechatronics · York University

Instrument · CHIRON

Loading instrument…

$300
project budget cap
≈ $200
final bill of materials (CAD)
3
person team
4
dispensing concepts weighed

01The brief

One pill box, right room

CHIRON — the Compact Hospital Intelligent Robotic Operation Navigator — is a small autonomous robot for a simulated hospital ward: it follows a corridor, detects room branches, reads which medication is indicated and releases one pill box at the delivery zone, with no human in the loop.

The system is three tightly integrated subsystems: electromechanical (drivetrain, chassis and the dispensing mechanism), circuits (sensor interfacing and protected power distribution) and a microcontroller that runs the navigation logic and real-time control. I led the first, and the integration between them.

The constraint that shaped everything was money: a CAD $300 budget for a robot that has to drive, sense and dispense.

Course
ESSE 3380 · Introduction to Mechatronics
Team
3 students: electro-mechanical, circuits, microcontroller
My subsystem
Electro-mechanical — chassis, drivetrain, dispenser
Controller
ESP32
Fig. — Test run on the tape-line corridor

02My role

Mechanical & electro-mechanical lead

  1. 01

    Lead the mechanics

    Led mechanical design and electro-mechanical integration on a 3-person autonomous medicinal dispensing robot, covering component mounting, enclosure design, and interface definition to the ESP32 microcontroller subsystem.

  2. 02

    Choose the mechanism

    Evaluated carousel, linear-pusher and gravity-fed concepts against the lug conveyor and selected the final design on load path, stability and control.

  3. 03

    Design from scratch

    CAD for a compact, structurally sound chassis; the conveyor links and the sprocket / spindle interface designed from first principles, backed by torque, load-distribution and stability calculations.

  4. 04

    Build and integrate

    Led fabrication and mechanical assembly; integrated the DC drive motors and the servo-driven conveyor; found and resolved alignment and tolerance problems and redesigned the chassis during integration.

  5. 05

    Stay on budget

    Delivered the mechanical and electro-mechanical build within a $300 total project budget.

03Concept trade

Four ways to release one box

Rejected

Carousel

Compact circular storage for many pill boxes.

Concentrates load on a single rotational axis — structural stress that would need a heavier support than the size and weight limits allow.

Rejected

Linear pusher

Simple actuation: push the next box out.

Needs boxes stacked vertically, raising the centre of mass and the risk of tipping when turning into room branches.

Rejected

Gravity-fed

Minimal actuation, very simple.

No precise control over individual release, and prone to dispensing more than one item by accident.

Selected

Lug conveyor

A servo-driven track moving boxes in discrete steps to a release point.

Controlled, sequential, single-item release with a lower centre of mass and uniform load. The price: more mechanical complexity and sensitivity to alignment.

04The mechanism

Matching pitch to pill box

Drive
Differential drive, two DC motors
Dispenser
Servo-driven lug conveyor, independent of the drivetrain
Sprocket
10 teeth · diametral pitch 7 → ≈ 1.43 in pitch diameter
Link pitch
0.449 in circular pitch, matched to the sprocket
Links
3D-printed, geometry designed from scratch
Stability
Low, central centre of mass between castor and drive wheels

A 10-tooth sprocket at diametral pitch 7 sets the conveyor’s linear spacing: its circular pitch of 0.449 in became the link pitch, so each step advances exactly one lug. Choosing a larger pitch also made the mechanism more forgiving of the dimensional variation of 3D-printed links.

Mobility and dispensing are deliberately independent: the track is part of the dispenser only, which keeps the drivetrain simple and lets each be debugged on its own.

05Budget

Inside the $300 cap

Largest line items (CAD)Total BOM ≈ $200

  • Servo motors ×2$35.41

  • 2S LiPo battery 3000 mAh$24.11

  • ESP32 (Waveshare)$21.46

  • PLA filament$20.33

  • DC motors ×2$17.39

  • RGB colour sensor (TCS34725)$16.94

Plus eleven smaller line items: IR and ultrasonic sensors, MOSFETs, a buck converter, connectors, diodes, a capacitor, an e-stop and a castor wheel.

Budget used

67%

About $200 of the $300 cap, per the project’s final report.

06Results

What worked, and what comes next

Navigation was the strong point. Dispensing was not yet reliable.

Under controlled conditions CHIRON followed the corridor, detected room branches and positioned itself in delivery zones with reasonable consistency. Single-item dispensing was less dependable: misalignment between the conveyor and the release point, servo positioning variability and inconsistent indexing caused occasional failed deliveries, and colour detection was sensitive to lighting.

The report’s own diagnosis: circuit reliability and mechanical precision — not the concept — were the limiting factors. Its recommendations, roughly in order of impact:

01

Stable power

Dedicated regulators, proper grounding and decoupling to stop voltage fluctuation reaching the sensors and actuators.

02

Wiring that survives

Secure connections, deliberate routing and strain relief, so signals stay clean between sensors, controller and actuators.

03

Tighter tolerances

Conveyor links printed on an FDM printer varied in pitch and alignment, which showed up as inconsistent indexing. Better processes or parts would fix it at the source.

04

Lighting-robust sensing

Colour detection drifted with ambient light; shielding, calibration and signal conditioning would keep the decision logic honest.

07Figures

On the bench

  • 01The prototype · lug-conveyor dispenser on a compact chassis
  • 02Redlined: ESP32 · lug conveyor · sprocket · drive wheel · chassis
  • 03CAD · chassis, drivetrain and conveyor overview
  • 04CAD · gears, sprocket and chassis profile
  • 05Engineering drawing · conveyor track link
  • 06Operational flow chart · corridor logic
  • 07Circuit · motor-driver perfboard (top)
  • 08Bench integration · sensors and wiring