Wireling Kickstarter Premium Robot Kit Tutorial
If you backed the Wireling Kickstarter for the Premium Robot Kit, there is ALREADY code loaded onto the RobotZero processor. The program loaded has a few separate options:
- Tiny Robot Car Line-Follower: The robot will follow a line using Color Sensor Wirelings, and display data
- Servo Calibration: This is used during the assembly of the Tiny Arm
- Tiny Robot Arm Pick-and-Toss: This program will use the combination of the assembled Car and Arm in order to make the robot move around and pick things up using the TOF Distance Sensor positioned below the claw.
All three of these different options are configured based on what Wirelings are plugged into the RobotZero processor board, so depending on what you plug in, you have a few options!
Tiny Robot Car Line-Follower
For most, the assembly takes an hour, so make sure you have enough time to spend building the car as well as a sufficient work area with good lighting to keep track of all of the components.
After the assembly is complete, use the following table to plug the Wirelings into the correct ports. The tutorials and libraries for each of these Wirelings are also included:
Plug in the rechargeable battery to the battery port on the RobotZero. *(You may need to charge the battery, to do so just plug the battery into the RobotZero and plug the RobotZero into a power source using a MicroUSB cable)
Once everything is assembled, charged, and plugged in correctly, you should have a functional line-following robot.
- The Color Sensor Wirelings are used to detect a dark line on a light background - the on-board LEDs assist with this.
- The Time-of-Flight Distance Wireling tracks the distance of the car to obstacles in front of it. This also partially applies to the car robot being able to detect distances that correlate with an edge. For this behavior, the sensor needs to be installed securely without an angle. In addition, there must be nothing in front of the car when it is by the ledge, as this can trigger a false distance. Do not leave the robot unsupervised near any ledges as the acrylic of the car can break when dropped.
- The 0.96" OLED Screen Wireling will display 3 graphs. The center graph displays a bar that tracks the distance read by the TOF Sensor, while the right and left graphs correlate with the colors read by the Color Sensors.
To see the Car follow a line, get a blank piece of paper and a black marker. Draw a thick black loop on the paper to see the robot follow the tiny course!
To enable servo calibration, all you need to do is plug in a battery to the RobotZero (charged), and the servos will move to a calibrated position.
This step is necessary when constructing the arm so that the mechanical structure of the arm is correctly positioned for the max range of movement, and for the uploaded program.
Tiny Robot Arm Pick-and-Toss
Before assembling the Robot Arm - be sure to calibrate the servos, and find the servo with the longest wire to use for the claw part of the arm (servo wire lengths may vary slightly)
Once assembled, use the following table with included tutorial (Learn) pages to plug Wirelings into the ports on the RobotZero:
|Port 0||Port 1|
The Car / Arm Robot when first turned on will scan around for an object like a tube of chapstick. The Time-of-Flight Distance Sensor is best able to see an object when it is a few inches away. The 0.96" Screen mounted on the car will display useful distance data for any debugging.
After the robot has found an object, it will hone in on it, pick it up, and then give it a toss. What more could you want in a robot?
Disclaimer: The uploaded program was designed for a tube of chapstick and several different surfaces, but not every object on every surface will be detectable.
Note on power consumption: To charge the battery after it has been installed to the arm, you will need to unplug all the servos when charging the battery so that no current is drawn
Thanks for making with us!