← Back to Projects
Course project · Fall 2025

Autonomous Walking Rickshaw

MECE 2310U Concurrent Engineering & Design · Group of 6
Linkage Design Meccano Arduino SolidWorks Testing
The finished walking rickshaw prototype, side view

The brief

A rickshaw is pulled by a person walking at the front. Our brief was to replace that person with a machine that actually walks: legs instead of wheels, built mostly from Meccano, with under $50 of extra parts and at least one autonomous feature.

We called ours Big Rick. Two crank-rocker legs pull a small two-wheeled carriage, and an ultrasonic sensor lets it stop and back away from obstacles on its own. We designed it in SolidWorks first, then built the Meccano prototype and tested it three times, fixing what each test turned up.

My partThe physical build, the Arduino and sensor programming, and testing. I also presented the chosen design, the problems we found, our fixes and future improvements.
SizeAbout 230 × 110 × 200 mm (L × W × H)
Extra partsUnder $50 beyond the Meccano kit

Choosing the legs

We sketched five walking concepts: Jansen and Klann multi-link walkers, a long-foot biped, a cam-driven sliding foot, and a crank-rocker biped. A weighted decision matrix scored each one on stability, payload, mechanical complexity, how much it looked like walking, and how well it could be built from Meccano.

The Jansen and Klann linkages are the best-known walking mechanisms. Each drives a leg from one crank through six to eight links:

Jansen linkageEight links per leg. Theo Jansen’s design, from his Strandbeest sculptures. The foot stays almost level for nearly half of each turn.
Klann linkageSix links per leg. Joe Klann’s 1994 design. The foot moves almost straight along the ground for half of each turn, then lifts high.

One side of each walker, with three pairs of legs on one crankshaft. Leg geometry from Jansen’s published link lengths and the example leg in Klann’s patent (US 6,260,862).

The Jansen linkage walks more realistically, but it was too heavy and complex for the kit.

The design we chose

The crank-rocker won. It’s a four-bar linkage on each side, so one rotating shaft makes both feet step, with four links per leg instead of six or eight. The foot path is set entirely by geometry, which makes the gait repeatable, and the long stance keeps a foot planted while it’s pulling.

Side view of Big Rick showing the orange crank disc driving the crank-rocker leg
Big Rick from the side. The orange crank disc drives the four-bar leg linkage.
House of Quality for the walking rickshaw
House of Quality: customer needs mapped to motor torque, gear ratio, mass, leg length, frame stiffness and sensor range.

How it works

A low-voltage DC motor in the front chassis drives the crank shaft through a spur-gear reduction. An Arduino Uno controls the motor through an L293D driver, reads an HC-SR04 ultrasonic sensor on a boom at the front, and listens for an IR remote that turns the walker on and off.

Wiring and control

Ultrasonic readings get noisy when the whole frame is vibrating, so the code doesn't react to a single reading. It averages three pings, smooths them with a moving average, and only treats something as an obstacle after three close readings in a row. Then it runs a simple sequence: stop for 2 s, reverse until the path is clear (up to 5 s), stop for 2 s, and walk forward again.

Rickshaw motor circuit – breadboard viewArduino Uno · L293D · HC-SR04 · IR receiver · DC gearmotor · 6×AA pack — wired from Rickshaw_Motor_File.ino+−−+jihgfedcba115510101515202025253030L293DATMEGA328P-PUARDUINOUNODIGITAL (PWM~)POWERANALOG IND2D3D5D6D7D115VGNDHC-SR04VCCTrigEchoGNDIR RECEIVERDC GEARMOTORAAAAAAAAAAAA6×AA DURACELL CASE (9 V)Wire keyD5 → L293D pin 1 (EN1, PWM)D6 → L293D pin 2 (IN1)D7 → L293D pin 7 (IN2)D2 → HC-SR04 TrigD3 → HC-SR04 EchoD11 → IR receiver OUTL293D pin 3 (OUT1) → motorL293D pin 6 (OUT2) → motor5 V rail, VCC pins; pack + → pin 8GND: pins 4, 5, 9, 12, 13, sensors, pack −Grounds are common: Arduino, rails, pack −.
How it's wired: Arduino Uno, L293D motor driver, HC-SR04 sensor, IR receiver and the gearmotor, running off a 6×AA case (9 V).

Testing and fixes

The first test proved the idea worked, and showed everything that didn't: the frame flexed, the gears rubbed, the feet slid and it veered off line. Two more rounds fixed most of it.

ProblemFix
Frame flexAdded two diagonal braces and lock nuts at the high-load joints.
Gear rubShim washers, better shaft alignment and a little PTFE grease.
Uneven steps, feet slidingAdjusted the hip pivot and fitted wider rubber feet for traction.
Noisy sensorSoft-mounted the ultrasonic sensor and filtered its readings in the code.
Starting under loadA gentler start and tighter joints.

By the final test it started reliably, pulled the carriage and payload, tracked mostly straight, and stopped and backed away from obstacles every time.

What I'd do next

Next stepWhy
Jansen or Klann legsA flatter foot path and longer stance. The feet slid and stepped unevenly in testing.
Steering servo and brake on the drawbarIt can only walk forward or back up, and the first build veered off line. A brake would hold it still when it stops.
Wheel encoder and PID speed controlKeeps the pace steady under load. Starting under load was one of our problems.
Load cell at the hitchMeasures pulling force instead of eyeballing it, so changes can be compared properly.

Tools

SolidWorks Meccano Arduino (C++) L293D motor driver HC-SR04 ultrasonic IR remote