a1tD0000006lSqaIAE

Course: Introduction to Dobot
Lesson 2: Dobot Studio

  • 9-12 grade
  • Beginner

Lesson Description:

Objective:
Learn to use the different features of Dobot Studio. 

image description

Lesson Modules


Teaching Tips:


There are 8 applications available to control Dobot within Dobot Studio. We have split them into 4 groups based on their functionality, so you can find the information you need for your class without having to parse through instructions that aren't useful to you.


Module 1: Programming

Blockly

Script


Module 2: Easy Movement Control

LeapMotion

Mouse


Module 3: Automated Image Tracing

Write & Draw

LaserEngraving

3DPrinter


Module 4: Pose and Save

Teaching and Playback


Teaching Tips:


Blockly

To get to the Blockly coding environment, open DobotStudio and click the Blockly button pictured below.

You will see the Blockly coding environment. The different parts of the environment and their functions are outlined below.


#1 Connect (red)

Once you have your USB cable connected to your computer and the Dobot, click the connect button to start a connection control your Dobot through your PC laptop. Click again to disconnect.

                           

#2 Menu (blue)

New - Create a new file (make sure to save anything you want to keep before you click this button.

Open - Open one of your saved files.

Save - Save a file you have been working on.

SaveAs - Name and save a file.

Start - Start your program (only works when you are connected)

Stop - Stop a program that is currently running.


#3 Blockly Blocks (green)

This is the menu where you will find all the Blockly blocks. These blocks can be combined to create thousands of programs. For a detailed description of the blocks and to see sample programs, please refer to page 14 of the Dobot Startup Guide

                         

#4 Workspace (purple)

This is where you will drag the Blockly blocks to create your programs.


#5 Exit (yellow)

Click here to exit the Blockly programming environment and return to the main menu.

                        

#6 Running Log (orange)

This log will show the errors and warnings from your programs, and anything you decide to print during your programs.

            

#7 General Code (pink)

This area translates your Blockly code to easily readable Python.

      

#8 Trash (grey)

If you don’t need a certain section of code anymore, drag it to the trash can. But be careful, once you throw it away you cannot get it back!

                         


Script

To get to the scripting environment, open DobotStudio and click the Script button pictured below.

The layout of the environment is similar to the layout of the Blockly environment. 


Teaching Tips:


LeapMotion

To get to the LeapMotion app, open DobotStudio and click the LeapMotion button pictured below.

Control Dobot by manipulating the virtual Dobot with your mouse. Be careful to only use this functionality on a flat surface free from other items.

Mouse

To get to the Mouse app, open DobotStudio and click the Mouse button pictured below.


Dobot will follow the movement of your mouse. There may be a slight delay if you move the mouse quickly. Be careful to only use this functionality on a flat surface free from other items.

Press the V key to start and stop mouse control.


In both of these apps you can also control Dobot using the operation panel to the right.


Teaching Tips:


Write & Draw, LaserEngraving, and 3DPrinter

Write & Draw, LaserEngraving, and 3DPrinter all work very similarly, but they are each optimized for a different attachment. 



Write & Draw

Use this app when you want to draw with the Pen attachment.

Choose from the set of shapes and fonts in the menu to the right, or uplaod your own image from the top toolbar.

Dobot's default arm height is likely not where you have set up your paper. To change the height where Dobot will begin drawing, simply move the arm to where you'd like it to begin, then press the autoZ button (located in the top menu bar).


When you are ready to draw, hit the SyncPos button, and Dobot will move to the X and Y coordiantes at the top left of your image, and the Z coordiante you specified with autoZ. This is where Dobot will begin to draw.


Make sure to keep your image in a range where Dobot can draw it. If you place the image outside of the acceptable range, it will be highlighted red.

If you place the image within the acceptable range, it will be highlighted blue.

Press the Start button to begin printing.


LaserEngraving

Use this app when you want to engrave cardboard with the Laser attachment.

This app works almost identically to Write & Draw, but you need to enable the laser in the menu to the right. Set the Speed (also located in the menu to the right) to 5, and the laser power range (at the top center) to 20-99.

WARNING: Only enable the laser when these safety conditions are met:

  1. Safety glasses on (for everyone in the room).
  2. Sign on the door warning that a laser is in use and eye protection is neccesary to enter.
  3. Laser pointed toward the object you want to engrave.

And remeber to never place any part of your body in the path of the laser!

Press the Start button to begin printing.


3DPrinter

Use this app when you want to 3D Print.

Click the 3DPrinter app butoon, and you will be asked to update the firmware to the 3d printer version in order to continue.

Click "Confirm", then make sure you are connected to Dobot before you click "OK".

Once the firmware is updated, the 3D printing environment will be opened for you.

Watch this video for a full tutorial on 3d printing:

NOTE: 3d printing is not supported in any of our curriculum



Teaching Tips:


Teaching & Playback

Teaching & Playback is a great way to prototype movements for Dobot and model how Dobot should interact with surrounding objects.

Open Teaching & Playback.

Press the unlock button on Dobot.

Move Dobot to the first position you want to teach it, then release the unlock button.

You will see one step appear. 

Repeat this process until you have "taught" Dobot the entire sequence. Then hit Play to watch it repeat the steps.

Use the controls at the top left of the screen to control the speed and number of iterations. See the menu to the right to change the method of movement.