You can use the DobotStudio to control the Dobot Magician to accomplish multiple functions such as Teaching & Playback, Write & Draw, Blockly graphic programming, and Script control, as shown in Figure 5.1. For details, see Table 5.1.

Figure 5.1 The function modules on the DobotStudio page
Table 5.1 The function modules on the DobotStudio page
| Function Modules | Description |
|---|---|
| Teaching & Playback | Teach the Dobot Magician how to move and then record the movement to make Dobot Magician accomplish the recorded movements |
| Write & Draw | Control the robotic arm to write, draw, or engrave an object using a laser |
| Blockly | Use Blockly to program the robotic arm in a graphic programming |
| environment. It allows the users to drag and drop the blocks onto a workplace to generate execute code just as intuitive and easy as a block puzzle | |
| Script | Control the robotic arm using the script commands |
| Leap Motion | Support hand motions as input to control the robotic arm via a Leap Motion controller |
| Mouse | Control the robotic arm using a mouse |
| LaserEngraving | Engrave a bitmap image on an object using a laser |
| 3DPrinter | Capable of 3D printing |
| Add More | Add more custom functions to manipulate the robotic arm. |
You can also set the Dobot Magician by clicking Setting on the DobotStudio page, for example, implement general settings, base calibration, manual levelling, and auto levelling, as shown in Figure 5.2. For details, see Table 5.2.

Figure 5.2 The General Setting page
Table 5.2 The General Setting page
| Items | Description |
|---|---|
| General | Set tutorial open or close, show console when startup, device name, use Linear rail V2 |
| Firmware | Switch firmware |
| For example, you can switch to the 3D printer firmware to implement 3D | |
| printing from the currently selected Dobot firmware | |
| Sensor and Base | Set the Base Encoder and the angle sensors on the Forearm and Rear Arm |
| Base Calibration | Calibrate the base Encoder |
| Manual Levelling | Manually calibrate the angle sensors on the Forearm and Rear Arm |
| Auto Levelling | Automatically calibrate the angle sensors on the Forearm and Rear Arm. |
| Initial Pos | Set the initial pose of the robotic arm. |
| Jog | Set the jogging speed and acceleration in the Joint coordinate system and |
| Cartesian coordinate system | |
| Playback | Set the joint parameters, coordinate parameters, Jump parameters, handhold teaching and LostStepParam. |
| Write Draw | Set the Write & Draw function, such as speed, Junction velocity, linear |
| acceleration, acceleration, pen up offset and pen down position. | |
| Leap Motion | Set the parameters such as speed, scale, and performance for hand gesture control. |
| Mouse | Set the parameters such as speed, scale, and performance for mouse control. |
| LaserEngraving | Set the parameters such as junction velocity, linear acceleration, acceleration, pen down position, and DPI for laser engraving. |
The DobotStudio offers the following common areas shared by all the function modules to control the robotic arm.
You can select the liner rail or an end-effector on the DobotStudio page, as shown in Figure 5.3.

Figure 5.3 The linear rail and end-effector drop-down list Table 5.3 The linear rail and end-effector drop-down list
| Items | Description |
|---|---|
| Linear rail | When the robotic arm is connected to a linear rail, click this item to enable the rail |
| End-effector drop-down list | When the end-effector is a suction cup kit, gripper kit, laser kit or writing and drawing kit, select the corresponding kit in this list |
You can also perform other operations on the DobotStudio page such as Setting, Home, Emergency Stop, and viewing the versions, as shown in Figure 5.4.

Figure 5.4 Setting, Home, Emergency Stop, and viewing the versions
Table 5.4 Setting, Home, Emergency Stop, and viewing the versions
Table 5.4 Setting, Home, Emergency Stop, and viewing the versions
With the Operation Panel on the DobotStudio page, you can teach the robotic arm to perform a specific task such as jogging the robotic arm in the Cartesian or joint coordinate system, or controlling a gripper, suction cup, or laser, as shown in Figure 5.5. For details, please refer to Table5.5.

Figure 5.5 Setting the Operation Panel Table 5.5 Setting the Operation Panel
| Items | Description |
|---|---|
| Coordinate | |
| jogging | Jog the Dobot Magician by clicking X (X+/-), Y (Y+/-), Z (Z+/-), or R (R+/-) in the |
| Cartesian coordinate system | |
| Joint jogging | Jog the Dobot Magician by clicking J1+/-, J2+/-, J3+/-, or J4+/- in the Joint coordinate system |
| Linear control | |
| When the linear rail is enabled (see Table 5.3), click L+/- to move the robotic arm along the rail. | |
| Value range: 0 mm - 1000 mm | |
| Gripper control | When the end-effector is chosen as a Gripper, you can set the gripper to open, close, or disable in the Gripper drop-down box |
| Suction cup control | |
| When the end-effector is chosen as a Suction Cup, select SuctionCup to power on the air pump. If unselected, the air pump is powered off | |
| Laser control | When the end-effector is chosen as a Laser, select Laser to turn on the laser. If |
| unselected, the laser is turned off | |
| Jogging speedcontrol | Set the jogging speed percentage |
| Default value: 50% | |
| Value range: 1% - 100% |