Skip to content
← Back to projects

May – August 2026

Mieru Mirai — Yazaki Autonomous Vehicle

Mieru Mirai, or Visible Future. A 1:3-scale autonomous vehicle built solo at Yazaki to make an invisible technology visible: a node-and-strut space frame carrying five modules, tied together by a hand-built wiring harness, that drives itself around obstacles.

My roleProduct Design Intern, sole engineer on the build. Yazaki assigned a static training mock to teach new hires automotive electrical architecture. I treated that spec as a floor rather than a ceiling, delivered it as Phase 1, then added a second phase of my own: four-wheel mecanum drive, a 360 degree LiDAR, and the perception stack for reactive obstacle avoidance. Mechanical design, electrical architecture, harness design and firmware were all mine.

Outcome

  • FEA in Onshape on the over-designed roll cage let me strip low-stress members and cut build cost by roughly 15%, so the demonstrator could be reproduced and deployed across multiple Yazaki offices.
  • 23 lb vehicle on a PVC and printed-nylon frame, routinely carried by gripping a single member with no visible deflection.
  • Three processors, two concurrent I2C buses and nine documented inter-module wires, verified live: ambient 20.97 C from the sensor and 42.40 C from the Pi CPU moving across the harness in both directions.
  • Scope delivered beyond the assigned brief, turning a static teaching aid into a vehicle that drives itself.

Media

The finished Mieru Mirai vehicle, lit, on its display base
Mieru Mirai complete. Node-and-strut space frame, five modules, and a harness that lifts out as one piece.
Research slide showing precedent vehicles, scale roll cage references and the first roll cage sketch
Where it began. Precedent research into exposed-harness show cars and scale roll cages, narrowed down to a first roll cage profile.
Design slide showing the roll cage progressing from hand sketch to wireframe to CAD, with key drawings, module designs and the full assembly
Sketch to CAD. The profile goes hand sketch, wireframe, solid CAD, then into dimensioned drawings, the custom ball joints and each module, ending at the full assembly.
The bare node-and-strut space frame assembled from PVC members and printed ball joints
The bare space frame. Half-inch PVC members joined by custom printed nylon ball joints, before the drivetrain went on.
Close-up of a printed nylon ball joint with PVC struts seated into it
A node up close. These spindles were designed with a 0.04 mm buffer and would not assemble at all, because nylon absorbs moisture and expands.
Electrical slide showing planning diagrams, the Yazaki circuit schematic, bench unit testing and the component list
Electrical design. Hand planning to block diagram to a released schematic, with every module bench-tested on breadboard before it went near the frame.
Three wire runs laid out and measured on a workbench before termination
Harness runs laid out before termination. Cut lengths came from foam tape routed along the real frame, not from a CAD straight line.
Software slide showing cockpit firmware, interface and autonomy responsibilities, the LiDAR perception view and a see-think-act loop
The software split. Arduino owns timing-critical hardware, the Pi owns perception and display, the ESP32 drives the motors. See, think, act.
The frame on four mecanum wheels with the drivetrain baseplate installed
Phase 2. Four mecanum wheels, 37D gearmotors at 70:1, and the plywood-reinforced baseplate underneath.
The touchscreen dashboard running inside the vehicle frame
The interface module live in the frame. The Pi drives the dashboard and ingests the LiDAR point cloud.

The problem

Yazaki is one of the largest wiring harness manufacturers in the world. Nearly every car on the road contains their work and almost nobody has heard of them, because the product lives under the floor, behind the dash, inside the doors. It is invisible by design. The brief was a scale vehicle demonstrating an automotive electrical architecture as a teaching tool for new hires: 1:3 to 1:4 scale, liftable by one to four people, wire-to-wire connectors, circuit protection, at least two modules communicating, a relay, an area ECU, and both visual and mechanical outputs. The name Mieru Mirai, Visible Future, came from the theme: making an invisible technology something you can see and touch.

What I built

  • A node-and-strut space frame built from half-inch PVC members joined by custom 3D-printed nylon ball joints, carrying five functional modules: power, interface, cockpit, drivetrain and perception. Final mass 23 lb.
  • A deliberate architectural split: microcontrollers own timing-critical hardware, the Linux host owns perception and display. An Arduino Uno runs the servo, gear selector and status lights; a Raspberry Pi 3B runs the touchscreen dashboard and ingests the LiDAR point cloud; an ESP32 runs PID on the four drive motors.
  • Two I2C buses on the Arduino at once, forced by hardware rather than chosen. The Uno has exactly one hardware I2C peripheral and cannot be master and slave simultaneously, and Arduino slave mode only works on the hardware bus. So the Pi link had to own it, and the sensors needed a second bit-banged software bus on separate pins, with a level shifter between the Pi 3.3V GPIO and the Arduino 5V logic because the Pi pins are not 5V tolerant.
  • A hand-built wiring harness: nine wires across three runs, all 0.35 mm squared, terminated in salvaged 6-pin JST connectors with female receptacles on each module and male plugs on the harness, so the bundle installs by plugging in at each module and lifts out as one piece.
  • Perception and autonomy scoped to reactive obstacle avoidance: an RPLIDAR A1 mounted 345 mm above the frame base scans 360 degrees, the Pi finds obstacles, the ESP32 drives the motors. See, think, act.
  • Documentation treated as a deliverable rather than an afterthought: a live workbook carrying the wire schedule with terminal-to-terminal entries, connector cavity assignments, pinout drawings of both mating halves, and a cut list, so the build is reproducible by someone who was not there.

Decisions and trade-offs

  • I derived harness cut lengths from a physical model rather than CAD. I routed foam window tape along the actual frame exactly as the finished bundle would run, around nodes and following the real bends, then measured it in segments. The segments summed to 891 mm. The continuous tape measured 936 mm. That 45 mm gap is real routed curve length a straight-line CAD estimate would have silently lost.
  • Two power domains sharing only a common ground. Motors inject electrical noise capable of resetting a Pi mid-write and corrupting its SD card, so the 5V logic rail and the 12V motor rail stay separate.
  • I chose a 70:1 gear ratio over 19:1, trading top speed for stall-current margin and thermal headroom. At 19:1 the motors would have run at 30 to 60 percent of stall; at 70:1 they sit near 10 percent. The vehicle then gained another 30 percent in mass during integration and the margin absorbed it.
  • Autonomy was bounded to reactive obstacle avoidance rather than full SLAM. Mapping and path planning is a fundamentally larger effort, and most of that time goes into tuning against physical hardware. A demonstrable capability delivered on time was worth more than an ambitious one delivered incomplete.
  • Encoders deferred. The motors carry 64 CPR encoders, but they are only needed for closed-loop speed control, precise mecanum strafing and odometry. Wiring them before the basic drivetrain worked would have meant debugging two things at once.
  • Park uses the driver brake mode. Holding position by driving motors against a stop would cook the windings, so shorting the terminals through the driver resists rotation at near-zero power.
  • Both I2C buses carry an SDA line, and under a consistent colour convention both are white. Two identical white wires in one bundle is a silent failure mode, because a swapped SDA throws no error and simply reads the wrong device. Both ends were labelled and continuity-checked before power-up.

What I learned

  • Size against the measured number, not the planned one. The original drivetrain used hobby motors rated for roughly 1 to 3 lb. I weighed the assembled frame partway through and found 17.75 lb, eventually 23 lb loaded. Those motors were not slow for the job, they were incapable of it. Catching that by weighing rather than trusting the estimate saved the project.
  • Design clearances for material behaviour, not nominal dimensions. The printed nylon spindles had a 0.04 mm buffer and would not assemble at all, because nylon is hygroscopic and expands as it absorbs moisture. The fix overshot into a loose fit, and the eventual answer was patterned shelf-liner foam wrapped around the spindle, which compresses going in and expands to grip. That is what DFM actually means in practice.
  • In a multi-joint assembly the tolerance that matters is the sum, not the individual part. Most spindle-to-member joints left a small gap. Across many nodes in series those gaps accumulated into real frame misalignment.
  • A model that assumes stress-free parts will not tell you how the assembly behaves. In CAD every member fit. In reality the ball joints pushed and pulled on each member as the frame came together, and seating one end would pop another loose under the built-up pre-load. I should have run analysis for assembly loading during design rather than discovering it with the frame half-built on the bench.
  • When every measurement says the system should work and it does not, question the measurement. The Pi could not see the Arduino on I2C and i2cdetect returned nothing. I verified common ground, confirmed the level shifter was powered on both sides, traced every segment, checked the shifter channels were paired correctly, and flashed a bare-minimum slave sketch. Every check passed and the scan still showed nothing. The answer was that an Arduino in slave mode does not reliably answer a bare address scan but communicates fine the moment real traffic is sent. The diagnostic itself was the problem.
  • Continuity cannot be measured through a level shifter, because there is a MOSFET in the signal path rather than a wire. End-to-end tests always read open, and each side has to be tested separately.
  • Read the datasheet for the constraint, not the tutorial for the happy path. The Adafruit BME280 library requires a TwoWire pointer and will not take a SoftwareWire one, so I read the calibration and temperature registers manually and implemented the Bosch compensation formula directly. Separately, the ESP32 GPIO 34, 35, 36 and 39 are input-only with no output drivers, and I had wired a motor driver control signal to them. No amount of code would have fixed that.
  • Order long-lead parts first. Two motor orders failed to ship and forced mid-project substitutions. Because I had documented the requirement as a target RPM rather than a specific gear ratio, I could evaluate alternatives quickly, since gear ratio numbering varies between manufacturers but RPM is universal. The documentation choice saved me, but the lead time should have been handled up front.

Skills

  • Quantitative design and drivetrain sizing
  • FEA in Onshape
  • Tolerance stack-up and interference fits
  • Design for manufacturing
  • Wire harness design and documentation
  • Multi-processor embedded architecture
  • I2C master/slave and level shifting
  • Systematic fault isolation
  • Arduino and C++ firmware
  • Python on Raspberry Pi
  • LiDAR perception
  • 3D printing in nylon