Frindo

Frindo

Frindo chassis build guide

How to build the Frindo chassis: a printed robot base with two motors, a battery and the Motion Core MC1 motor controller.

The build takes 12 steps. Steps 13 and 14 power it up and set MC1 up for Frindo. At the end you have a working chassis that you can drive from your computer's web browser, ready for whatever you put on its deck.

What you put on the deck is up to you. The Frindo projects are worked examples, each with its own parts list, starting with a ROS 2 robot on a Raspberry Pi.


Parts to print

The chassis takes about 6 hours to print and uses about 252 g of PLA. The optional brackets add under an hour. The STL files are in 3D files, with ready-made print sets in each folder's .3mf file.

Mounts for things that go on the deck, such as a Raspberry Pi or a camera, are listed in the project that uses them.

No 3D printer? You can send the files to a print service to have the parts made, and some also supply the other parts or a complete kit. See 3D print services.

Chassis

Part File Qty PLA each Time each
Chassis plate chassis/3D Printed base.stl 1 134 g 170 min
Wheel hub chassis/50mm Wheel Hub for O-ring.stl 2 4 g 10 min
15 mm PCB stand-off chassis/MC1 stand off.stl 4 0.5 g 4 min
Deck deck/Deck plate.stl 1 92 g 127 min
70 mm deck stand-off deck/Deck stand off.stl 4 4 g 6 min

Optional accessories

Print only the ones you need.

Part File Qty in this build PLA each Time each
Sharp sensor bracket accessories/Sharp sensor bracket.stl 3 4 g 10 min
Toggle switch bracket accessories/Toggle switch bracket.stl 1 5 g 14 min

The times and weights above come from these settings, on a Bambu Lab P1S. All parts use the same settings, and the .3mf files already contain them:

Setting Value
Material PLA
Nozzle 0.4 mm
Layer height 0.2 mm
Walls 2
Infill 30%
Supports Automatic (30° overhang threshold), off for the stand-offs

Bill of materials

Chassis

The gearmotors, their cabling and the jumper links come two ways — as one kit, or as separate parts. Pick one route; you do not need both:

Everything else below is needed either way.

Item Qty Step
50 mm OD, 40 mm ID O-ring 2 2
Miniature ball castor. Do not use the self-adhesive pads 2 3
12 V, 47:1 metal gearmotor with 48 CPR encoder (Pololu item #4885 or equivalent). Its connector needs changing to fit MC1: see Motor connectors. (or use the RIK) 2 5
Battery pack (this build uses an 11.1 V, 5200 mAh LiPo with an XT60 connector). The largest pack that fits is 150 x 50 x 28 mm 1 7
Velcro strap, 20 to 25 mm wide: about 220 mm cut from a roll plus a buckle, or a 200 mm pre-cut strap with an integrated buckle 1 7
Motion Core MC1 PCB, USB version. Comes with the JP1 jumper 1 9
Motion Core Cable Kit: motor, encoder, E-stop/charger and aux 5 V cables. Its motor and encoder cables are option C in Motor connectors, and its aux 5 V cable can make the Raspberry Pi power cable in the ROS 2 project. (or use the RIK) 1 9
Motion Core Shorting Jumper Links (pair), for J2 and J3 if you are not fitting switches. (or use the RIK) 1 9
3S LiPo balance charger 1 Battery safety
M3 x 8 mm screws 16 3, 4, 5, 9
M3 x 10 mm screws 8 11, 12

The screws, nuts and washers in this guide are standard metric hardware, available from any good fastener supplier or as an assorted kit. Keep to the stated lengths.

Optional chassis accessories

Item Qty Step
M3 x 8 mm screws 2 per bracket 8
M3 nuts 2 per bracket in a 45° position 8
Battery switch, pre-wired in an in-line lead with an XT60 connector at each end. Or a short battery extension cable if you need the extra reach 1 10

For setting up

Item Qty Step
A computer with the Chrome or Edge web browser 1 14
A USB-C data cable from your computer to MC1, long enough to follow the robot across a table. A charge-only cable will not work 1 14
A block, box or mug to stand the robot on, so both wheels are off the table 1 13

Battery safety

Warning

Please read this before you start. This build uses a 3S LiPo pack. LiPo batteries are safe with sensible handling, but they can catch fire if they are damaged, short-circuited, overcharged or badly over-discharged.

What to do
🔌 Charging Take the pack out of the robot and use a 3S LiPo balance charger. Never leave it charging unattended, and keep it on a non-flammable surface or in a LiPo charging bag. Do not charge a 5200 mAh pack above 5.2 A (1C).
🔧 Short circuits Keep the battery connector away from metal tools and loose screws, and leave the pack unplugged while you work on the robot.
🔋 Low voltage MC1's default settings suit a 3S pack. It warns at 9.9 V and stops the motors at 9.0 V. This does not disconnect the battery, and MC1 and anything it powers, such as a Raspberry Pi, keep drawing current, so shut down and switch off once you get a low-battery warning.
💤 After use Always switch off or unplug the battery. A pack left connected can discharge below the point where it is safe to recharge.
📦 Storage For anything longer than a few days, store the pack at about 3.8 V per cell (11.4 V), somewhere cool and away from anything flammable.
♻️ Damage Stop using a pack that is swollen, punctured, hot or has damaged wires. Dispose of it at a battery recycling point, not in household waste.

Chassis build

Step 1: Print the parts

Print all the 3D printed parts and remove any supports.

Important: make sure all swarf has been removed from the printed parts before you begin. You don't want small pieces of plastic getting into the motor gearboxes!

All the printed parts laid out: chassis plate, deck, wheel hubs, stand-offs and accessories

Step 2: Build the wheels

Place the 50 mm O-rings onto the printed wheel hubs. The O-rings should be a good fit and need no glue to hold them in place. The finished wheel has a 52 mm diameter.

You will need: 2x printed wheel hubs, 2x 50 mm OD, 40 mm ID O-rings

An O-ring beside a bare wheel hub and a finished wheel

Step 3: Fit the castors

Fit the castors to the bottom of the chassis using four M3 x 8 mm screws. The screws thread directly into the printed base, so do not over-tighten them.

Note: do not use the self-adhesive pads supplied with the castors.

You will need: 4x M3 x 8 mm screws, 2x miniature ball castors, 1x printed chassis plate

Underside of the chassis plate with arrows marking the castor screw holes Close-up of a castor fixed with two screws Underside of the chassis with both castors fitted

Step 4: Fit the PCB stand-offs

Fit the four hexagonal 15 mm PCB stand-offs using one M3 x 8 mm screw for each. The screws thread directly into the printed stand-offs, so do not over-tighten them. Fit each stand-off to the inner-most set of recessed holes.

You will need: 4x M3 x 8 mm screws, 4x printed 15 mm stand-offs

Underside of the chassis with arrows marking the four stand-off screws Top of the chassis with the four stand-offs fitted

Step 5: Fit the motors

Note

Before you start: if you are using the Rapid Integration Kit, its motors arrive with MC1's connectors already fitted, so there is nothing to do here. If not, the motors need MC1's connectors fitted: see Motor connectors at the end of this guide.

Fit the motors using two M3 x 8 mm screws per motor. Orient the motors so that the motor and encoder wires exit nearest the large pass-through hole in the chassis. Once they are fitted, pass the wires through that hole.

Important: do NOT use any screws longer than 8 mm, as this will damage the gearbox!

You will need: 4x M3 x 8 mm screws, 2x gearmotors with encoders

A motor fixed into its mount, with its wires running towards the pass-through hole Underside of the chassis with both motors fitted and the wires passing through the hole

Step 6: Fit the wheels

The wheels are a simple push-fit onto the output shaft of each motor gearbox. Align the D-shaped cut-out in the wheel with the D-shaped shaft, then push the wheel on until its outside is flush with the end of the shaft.

Note: once the chassis is on its wheels, there should be a very small forward-backward rocking motion. This is deliberate, to make sure the wheels always make good contact with the ground.

You will need: the 2 wheels from step 2

A wheel pushed onto the motor shaft, flush with the end of the shaft The chassis upright on its wheels, with the wires coming up through the hole

Step 7: Test-fit the battery pack

This needs a Velcro strap 20 to 25 mm wide. You can use about 220 mm from a cut-to-length roll with a separate buckle, as in these photos, or a 200 mm pre-cut strap with a buckle.

The strap fits through the two slots, with the free end and buckle on the underside of the robot. Once you are happy with the fit, remove the battery but leave the strap in place. This gives you access to the remaining recessed holes used in step 11.

Any 3S (11.1 V) LiPo with an XT60 connector will work, as long as it is no bigger than 150 x 50 x 28 mm. The pack in the photos is 132 x 43 x 25 mm.

You will need: the battery pack and Velcro strap

The Velcro strap threaded through the slots in the chassis The battery pack strapped to the underside of the chassis

Step 8: Fit the optional accessory brackets

The brackets you choose depend on your application. In this example, we fit a power switch bracket at the back and three forward-facing Sharp sensor brackets. It is easier to fit the brackets before fitting the sensor or switch.

Each bracket is attached with two M3 x 8 mm screws:

Note: this build fits the Sharp sensor brackets ready for later, but leaves them empty. MC1 has no sensor input, and the software in this guide does not read these sensors. Sharp distance sensors with an analog output also need an analog-to-digital converter, because the Raspberry Pi has no analog inputs.

You will need: your chosen brackets, 2x M3 x 8 mm screws per bracket, and 2x M3 nuts per bracket in a 45° position

Close-up of a bracket fixing screw in its slot Nuts in the captive recesses on the bottom of the chassis Two brackets fitted at the front of the chassis Top view with all four brackets fitted Angled view of the chassis with all four brackets fitted

Step 9: Fit Motion Core MC1

Fit the MC1 PCB to the four PCB stand-offs using four M3 x 8 mm screws.

Before you plug in the encoders, fit the jumper supplied with MC1 on JP1 (ENC VOLTAGE) between pin 1 (5 V) and pin 2 (ENC_VCC). This selects 5 V as the supply to both encoders. The encoders will not work with JP1 left open.

Then plug in each motor's power and encoder connectors (see Motor connectors), noting the correct left/right orientation when viewed from above:

Connection Left Right
Motor J9 J11
Encoder J8 J10

Note: MC1 has safety E-stop (J3) and Charger connected (J2) inputs, and the motors will not run if either is left open. If you do not want to use these functions, you need to fit a jumper link between pins 1 and 2 of J2 and J3. It is easier to do that now.

Important: with a link fitted to J3, the robot has no hardware E-stop. That is fine on the bench, but fit a real normally-closed E-stop switch if the robot will be running near people.

You will need: 1x Motion Core MC1 PCB, 4x M3 x 8 mm screws, the JP1 jumper supplied with MC1, and a pair of jumper links for J2 and J3 if you are not fitting switches. These links bypass the charger-connected and E-stop inputs. The Rapid Integration Kit includes a pair, or use the Motion Core Shorting Jumper Links

Motion Core MC1 fitted to the chassis with the motor and encoder cables connected Close-up of MC1 with wire links fitted to the E-stop and charger connectors

Step 10: Fit the optional battery switch

If you are fitting the optional battery switch, fit it now. If you do not fit a switch, you may need a short battery extension cable so that the battery connection can reach the MC1 board.

Keep the battery unplugged, and set the switch to off. Pass the switch through the toggle switch bracket and secure it with its nut. The switch in this build sits in an in-line lead with an XT60 connector at each end:

  1. Plug one end of the lead into J1 (VBAT 9V-20V DC) on MC1.
  2. Leave the other end free, ready for the battery.

XT60 connectors only fit one way round, so do not force them. If you make up your own lead, switch the positive wire only, match the + marking at J1, and use a switch rated for at least 15 A DC.

You will need: 1x battery switch, or a short battery extension cable

A toggle switch in its rear bracket, wired to the MC1 battery connector

Step 11: Fit the deck stand-offs

Turn the robot over. Fit the four hexagonal 70 mm deck stand-offs using one M3 x 10 mm screw for each, working from the underside. The screws thread directly into the printed stand-offs, so do not over-tighten them. Fit each stand-off to the outer-most set of recessed holes.

You will need: 4x M3 x 10 mm screws, 4x printed 70 mm stand-offs

Underside of the chassis with arrows marking the four deck stand-off screws The four tall deck stand-offs fitted around MC1

Step 12: Fit the deck

Turn the robot back onto its wheels and fit the deck using four M3 x 10 mm screws.

You will need: 4x M3 x 10 mm screws, 1x printed deck

Top view of the fitted deck Angled view of the finished chassis with the deck fitted

That completes the chassis. You can now re-fit the battery, leaving it unplugged.


Power-up and configuration

Motion Core MC1 arrives knowing nothing about your robot. In these two steps you power it up for the first time, then tell it which way Frindo's wheels turn, how big they are and how far apart they sit. You do all of this from a web browser. There is nothing to install.

Step 13: First power-up

Check these before you plug in the battery:

Plug in the battery and turn on the switch. The green LED on MC1 should light, which means it is running. A flashing red LED means MC1 has found a fault, such as an open link on J2 or J3.

Note

MC1 always needs the battery, even when it is plugged into a computer. Its USB port carries data only and does not power the board, so with the battery unplugged your computer will not find it.

If you need to stop the robot at any point, turn off the switch or unplug the battery.

Step 14: Configure MC1 for Frindo

You need Chrome or Edge on your computer. The configurator uses a browser feature called Web Serial, which Firefox and Safari do not have.

1. Connect.

  1. Plug a USB-C data cable from your computer into J7 on MC1.
  2. Open the Motion Core configurator.
  3. Choose Connect a real board. Your browser shows a list of devices: pick the one called FLR Motion Core.

The Status panel should now show live readings, including the battery voltage. If it shows a fault such as ESTOP or CHARGER, check the links or switches on J3 and J2.

2. Check that each wheel turns the right way.

Every motor can be wired either way round, so it is normal for one or both wheels to be backwards at this point. You fix this with a setting, never by rewiring.

  1. In the Motor Control panel, set Mode to Velocity and Profile to SLOW.
  2. Press and hold the left wheel's forward button. Look at the wheel from the side: the top of the tyre should move towards the front of the robot, where the forward-facing sensor brackets fit in step 8. Release the button.
  3. Do the same for the right wheel.
  4. If a wheel turned backwards, open Configuration, find Motor & encoder direction, and switch that wheel's Invert left motor or Invert right motor setting. Test again.

Now check the encoders, which tell MC1 how fast each wheel is really turning:

  1. Hold each wheel's forward button again, and watch that wheel's Measured speed. Driving forward, it must show a positive number.
  2. If it shows a negative number, switch that wheel's Invert left encoder or Invert right encoder setting, and test again.

Warning

Do not skip the encoder check. If a wheel drives forward but MC1 thinks it is going backwards, MC1 keeps trying harder to correct it, and the robot runs away at full speed.

Always fix the motor direction first, then the encoder direction. Doing it the other way round makes the two settings chase each other.

3. Enter Frindo's measurements.

In Configuration, set these values:

Setting Where to find it Value for Frindo
Wheel radius (kin.wheel_radius) Kinematics 0.026
Track width (kin.track_width) Kinematics 0.172
Encoder counts per output rev (kin.counts_per_rev) Kinematics 2249, the factory value, which is already correct for the motors in this guide
Linear velocity cap (kin.max_v) Velocity command clamps 0.208
Angular velocity cap (kin.max_w) Velocity command clamps 2.419
Wheel speed ceiling per side (motor.max_rads) Motor protection Leave it at 8.0

The wheel radius is half the 52 mm wheel diameter, in metres. The track width is the distance between the middles of the two tyres. These are good starting values. If your robot later drives a little too far or turns a little too much, the ROS 2 project shows you how to fine-tune them.

The two speed caps come from the others:

Important

If you ever change motor.max_rads or the wheel radius, work out the two speed caps again. If they are wrong, the robot feels sluggish or turns wider than it should, and nothing reports a fault.

motor.max_rads is the fastest each wheel can turn, in radians per second. The factory value of 8.0 is deliberately on the low side. A value that is too low only costs some top speed, but one that is too high makes the robot's turns come out wider than you asked for. So leave it at 8.0 unless you know you need more.

4. Tune the motors.

MC1 can tune its own speed control to your motors. The wheels will turn for a minute or two, so keep the robot on its block.

  1. Open the Velocity-Loop Tuner panel.
  2. Tick The robot is safe to move, then click Start tuning.
  3. When it finishes, click Apply & Save.

Afterwards, a wheel driven at a steady speed should turn smoothly and quietly. If it buzzes, twitches or hunts up and down, run the tuner again.

5. Save.

Settings you change take effect straight away, but MC1 forgets them when it is switched off unless you save them. Click Save to Flash.

Then prove it: turn the switch off, wait a few seconds, turn it on again, reconnect, and check that your values are still there. A configuration that was never saved is the most common reason a robot stops behaving after a power cycle.

Close the configurator tab when you have finished, because only one program at a time can talk to MC1 over USB. Then turn off the switch, unplug the battery and disconnect the computer.


What next

Your chassis is built and configured. You can drive it at any time from the configurator's Motor Control panel.

To turn it into a robot you can drive around the room, add a computer to the deck. The Frindo projects show you how, step by step:


Motor connectors

The Pololu gearmotors come with all six wires ending in a single 0.1″ header, which does not fit MC1. MC1 needs two connectors on each motor:

If your motors came from the Rapid Integration Kit, their connectors are already fitted, so you can go straight to step 5. Otherwise, do this before step 5. There are three ways to do it.

Option What you need Best if
A. Use the Rapid Integration Kit The Rapid Integration Kit: its motors arrive with MC1's connectors already fitted You want the motors ready to plug in, with no crimping or soldering
B. Fit new connectors Mini-Fit Jr. and JST XH housings and crimp terminals, and the right crimp tool for each You already have the crimp tools
C. Solder on the Cable Kit A Motion Core Cable Kit, a soldering iron and heat-shrink sleeving You can solder but have no crimp tools

Wiring

Options B and C use this wiring. The wire colours are Pololu's.

If you use a motor from another maker, check its wiring against this table before you start. Other makers may use the same colours for different signals.

Pololu wire Function MC1 connector Pin
Red Motor power Motor (J9 or J11) 1 (M+)
Black Motor power Motor (J9 or J11) 2 (M−)
Green Encoder GND Encoder (J8 or J10) 1 (GND)
Blue Encoder supply Encoder (J8 or J10) 2 (VIN)
Yellow Encoder A Encoder (J8 or J10) 3 (A)
White Encoder B Encoder (J8 or J10) 4 (B)
Not used Encoder (J8 or J10) 5 (shield), leave empty

Find pin 1 from the pin 1 marking on the board. Do not count the silkscreen labels from left to right, because they are printed in the opposite order to the pin numbers.

Do not worry about getting a motor or encoder "backwards". Each motor's direction, and the direction its encoder counts, are set in software in step 14, so you never need to rewire to fix a direction.

Option A: use the Rapid Integration Kit

The kit's motors already have MC1's motor and encoder connectors fitted. There is nothing to wire — go straight to step 5.

Option B: fit new connectors

  1. Cut the 0.1″ header off, leaving as much wire as you can.
  2. Strip each wire by the length the terminal maker specifies, and crimp on a terminal. Use Mini-Fit Jr. female terminals for the red and black wires, and JST XH terminals (SXH series) for the four encoder wires. Choose terminals that suit the wire size.
  3. Push each terminal into its housing, using the pin numbers in the table above, until it clicks. Use a 2-circuit Mini-Fit Jr. receptacle housing for the motor and a 5-way JST XH housing (XHP-5) for the encoder.
  4. Tug each wire gently to check that it is locked in.

Crimp the terminals with the proper tool for each connector family. Pliers do not make a reliable crimp, and a loose motor terminal can cause intermittent faults that are hard to trace.

Option C: solder on the Cable Kit

The Cable Kit has a pair of motor cables and a pair of encoder cables, already fitted with MC1's connectors. Each is 300 mm long, with tinned ends that you can cut to length. The kit's wires use the same colours as the Pololu motor's, so you join each wire to the one of the same colour.

  1. Cut the 0.1″ header off the motor wires. Cut the kit cables to length, leaving enough slack to reach from the motor to MC1, as in step 9.
  2. Slide a piece of heat-shrink sleeving onto each wire, then solder each motor wire to the kit wire of the same colour.
  3. Slide the sleeving over each joint and shrink it, so no bare metal is showing.

This guide is also on GitHub, released under CC BY-SA 4.0. Spotted a mistake? hello@frindo.org