Raspberry myCobot

Begin your myCobot



②:Power adapter for mycobot


④:Data line of type-C


⑥:Wireless mouse

Firstly, you need to connect power supply, display, keyboard and mouse as shown in the following image, then initiate myCobot by the red switch.

Notes: Japanese users are recommended to use KSY's UNI345-1238.

open myCobot-pi

Notes:myCobot-pi startup password: mycobot /mycobotpro

Roboflow startup password: mycobot/mycobotpro

Turn on the mechanical arm switch. The following figure shows the results displayed on the screen after the manipulator is lit.


The use of python

Start quickly

We've pre-loaded the python API package in the Raspberry Pi version of myCobot pymycobot, just use it in your code.

You can create a python file at any position, for example: light_led.py, then write the following code in the file:

from pymycobot.mycobot import MyCobot
from pymycobot import PI_PORT, PI_BAUD

mc = MyCobot(PI_PORT, PI_BAUD)
mc.set_color(255, 0, 0)

After saving, run it. You'll see the light board on top of myCobot lit in red.

Update the library

If our library is updated, it can also be easily synchronized on Raspberry Pi.

python2 update:

[sudo] pip install pymycobot --upgrade

python3 update:

[sudo] pip3 install pymycobot --upgrade

More examples

In addition to the above content, we provide more examples to help users use the python API.

You can download it at the following address:

https://www.elephantrobotics.com/wp-content/uploads/2021/04/PythonAPI tutorials.zip

The use of ROS

We've pre-installed ROS kinetic in the Raspberry version of myCobot and provide the package myCobotROS, you can use it easily.

  1. Go to the working directory:
cd ~/ros_catkin_ws
source devel/setup.bash
  1. Go to myCobotROS's redeme, follow 3.Visualization in RViz, the address is as follows:


results matching ""

    No results matching ""