Industry 4.0 Robotic Arm for SYE

Set Contents

  1. Robotic Arm x1

  2. Robotbit 2.2 x1

  3. 18650 Battery x1

  4. Joyfrog Controller x1

  5. Micro:bit board x4

  6. AAA Battery Box x2

  7. AAA Battery x4

  8. 1m Mini USB Cable x1

  9. Double sided tape x4

Wiring Diagram

Set Up Procedure

Connect the Robot arm onto the base plate for stability.

Connect the servo wires according to the labels/wiring diagram.

Mount the counterweight onto the back of the robot arm.

1. Robot Arm Micro:bit

Insert the Micro:bit marked as "Robot Arm" into the Robotbit. Switch on the Robotbit.

2. Controller Micro:bit

Insert the Micro:bit marked as "Controller" into the Joyfrog Controller. Switch on the battery box.

Use the joystick to control the rotation and the main arm. Use the X and B buttons to control the secondary arm, while Y and A buttons will control the jaws.

3. Motion Sensor Micro:bit

Mount the Micro:bit marked as "Sensor" onto the Robot Arm using the screws provided. Switch on the battery box.

4. Serial Monitor Micro:bit

Connect the Micro:bit marked as "USB" to the computer with a USB cable, then open Microsoft MakeCode. Create a new project.

Click "Show Data (Device)".

The serial monitor console from the Micro:bit will be shown.

To export the data as CSV format, click the Export Data button on the top right corner.

Relocating the Sensor Micro:bit

The sensor Micro:bit can be relocated if needed.

The Micro:bit has been removed for illustration purposes.

1. Remove the securing pins

2. Install the sensor assembly at another location

3. Push the securing pins to secure the Sensor Micro:bit

Sample Programs

By default, all Micro:bit should already be running the necessary programs. If required, please use the following sample programs.

For Robot Arm

For Joyfrog Controller

For Motion Sensor

For Serial Monitor

Micro:bit Program Recovery

Follow the instructions to recover and reupload the programs onto the Micro:bit.

Recovery Method 1:

1. Connect the Micro:bit to a computer using a USB cable.

2. Open the sample program on MakeCode.

3. Press the download button.

4. Follow the instructions.

Recovery Method 2:

1. Connect the Micro:bit to a computer using a USB cable.

2. Open the sample program on MakeCode.

3. Click Download the program as File.

4. Save the file onto the Micro:bit drive.

Micro:bit Radio Channels Designation

In order for the Micro:bits to work as intended, they need to be set to the correct channels.

The Radio channels can be set in this programming block.

The Micro:bits for Controller and Robot Arm need to be set to the same channels.

The Micro:bits for Serial Monitor and Motion Sensor need to be set to the same channels.

Troubleshooting

Q: The Robot Arm is unstable and shaking when moving.

A: The battery has run out, charge the battery with a USB cable.

Q: The Robot Arm cannot grab onto objects.

A: Try using a soft object to increase grip, or try lighter objects.

Last updated