Robot kit

From Fri3d WIKI 2018
Jump to: navigation, search

Tijdens de robot presentatie (na de openingsceremonie) wordt uitgelegd hoe je de robot kit kan bouwen

Software pre-requisites


Arduino IDE -


Save as zip

In Arduino IDE: Sketch > Include Library > Add .ZIP Library ...

Also read the README in this zip for tips on how to configure Arduino IDE for the Fri3d Badge.

Build instructions

YouTube video met bouwinstructies:

  • Robot body can be assembled inside out, with motors oriented wrongly
  • Battery is difficult to fit, but it does fit
  • Image of how to glue the assembly together
  • Careful assembling the feet, don't push in the center, but at the sides or you risk breaking the wood
  • After assembling the feet and hips and before fitting everything together, calibrate the motors
  • Some examples during building

Connecting the motor wires


Linker Enkel
Rechter Enkel
Linker Heup
Rechter Heup

Calibrate motors

Install calibration program

where do I find the calibration program?
If you have installed the Fri3dcamp library inside the arduino IDE, you can find the calibration under the following menu item:
File > Example > Fri3d Camp Badge > 4.Kits > RobotKit > MotorCalibratie
how to calibrate the servo's?
Once the calibration program has been flashed on the badge (use USB port of Badge, not on motor controller), you will be able to calibrate the servo's.
The following buttons can be used to navigate and manipulate the application:
Go to the next step in the progress (the step you are in is visible as the number of LEDs lit in left displays)
  1. Choose the servo to calibrate (S0/S1/S2/S3 is shown on right display). Calibrate the hip servo's first (servo 2 and 3), attach the legs after. Then calibrate the ankle servo's (servo 0 and 1) before attaching the feet.
  2. The servo moves to the 0 degrees position (left display shows "-") -> mount your leg/foot accordingly, or press BTN0/1 to adjust.
  3. The servo moves to the 180 degrees position (left display shows "+") -> mount your leg/foot accordingly, or press BTN0/1 to adjust.
  4. Save your changes (with buttons select "V" on right display instead of "X" on left display)
what is best assembled, what unassembled or temporary assembled during calibration?
The bot kit is best assembled up to the stage where you have 2 feet, 2 hips and the body. The best way it seems is to pull the servo wires already into place through the hips and the body, but keep the kit partially disassembled. You can take on of the spare horns to help you with determining the 0 and 180 degrees positions.
what is 0/180 degree reference (left or right, direction w.r.t. robot, mirrored or same for left and right motors?)
If you take the servo in front of you, the servo wire leading away from you, left is 0 degrees, right is 180 degrees, for every servo.
Do I lose my calibration if I install another application on my Fri3d Badge?
The servo calibration is stored at the badge level in the persistent memory of the badge. This means that another badge will require you to recalibrate your servo's, but you will not lose the calibration if you just flash another application on it.
Can I calibrate an assembled robot?
Calibrating an assembled robot can be a bit hard. The problem being that the servo's of an assembled robot do not have the full range of 180 degrees to move, resulting in wooden parts locking into eachother. Not saying it is impossible, just saying you have to watch out.

Questions to be answered in this wiki

  • Q/Issue - After building and calibrating, the left ankle servo (attached to servo connector #0) behaves differently compared to the other servo's. While all servo's feel 'powered' (ie. they can't be moved once powered on) the left ankle servo remains free. In most of the movements I have the impression the servo is not moving (although it does move and calibrate when the servo's are being 'attached'). I tried swapping servo's, but it doesn't seem to be related to the servo itself. Any pointers to where I should be looking to fix this?