background image

1

Summary of Contents for Robotic Arm

Page 1: ...1...

Page 2: ...ce area we strive to provide best hardware support and software service for general makers and electronic enthusiasts around the world We aim to create infinite possibilities with sharing No matter wh...

Page 3: ...3 Displaying Text on the OLED Screen 47 Lesson 4 Saving Data with EEPROM 52 Lesson 5 Servo 90 degree adjustment 58 Lesson 6 How to Assemble the Robotic Arm 62 Lesson 7 GUI application control mode 97...

Page 4: ...1 Components List 1 1 Acrylic Plates A05 1pcs A01 1pcs A03 1pcs A04 1pcs A02 1pcs A07 1pcs A08 1pcs A06 1pcs...

Page 5: ...f breaking The acrylic plate is covered with a layer of protective film You need to remove it first Some holes in the acrylic may have residues so you need to clean them before the use A15 1pcs A17 1p...

Page 6: ...unk Head Screw X5 www adeept com X2 www adeept com X18 www adeept com www adeept com X1 X4 X2 www adeept com www adeept com X5 M3 30 Nylon Standoff M3 Nut X2 X3 X9 M3 40 Nylon Standoff www adeept com...

Page 7: ...4 1 3 Electronic Parts Servo X5 Adeept Arm Drive Board X1 USB Cable X1 OLED X1 18650x2 Battery Holder X1 Servo Extension Cable X1...

Page 8: ...5 Cross Socket Wrench X1 Large Cross head Screwdriver X1 1 4 Tools 1 5 Self prepared Parts Ribbon X1 Pencil X1 18650 Battery X2 Winding Pipe X1...

Page 9: ...kit to learn how to assemble a robotic arm and learn how to write the code to control the robotic arm to perform the specific motions We provide a completed using method for learning Arduino and Proce...

Page 10: ...7 The following figure shows that we control the robotic arm to write and draw through the mouse with serial communication...

Page 11: ...robotic arm We let the robotic arm to record the manually controlled mechanical movements we made and the robotic arm can learn repeatedly such as repeat moving the object repeat drawing the same grap...

Page 12: ...Adeept Arm Drive Board development board is mainly composed of a microcontroller MCU a universal input output interface etc You can understand it as a microcomputer motherboard We will introduce the A...

Page 13: ...USB It is used to connect the Micro USB interface of the computer to realize the serial communication uploading program and serial monitoring between the Adeept SmartHub development board and the com...

Page 14: ...of the lower level microcontroller support library For example the core library of Arduino using AVR microcontroller is the secondary packaging of AVR Libc GCC based AVR support library In the traditi...

Page 15: ...DE under Windows We will teach you how to download and install 1 Open Google Chrome and enter the URL in the address bar https store arduino cc usa After successfully opening the interface as shown be...

Page 16: ...e of Windows ZIP file for non admin install After the interface jumps we select JUST DOWNLOAD And then start the download The download status will be displayed in the lower left of Google Chrome Then...

Page 17: ...14 4 After the download is complete open the folder There are downloaded compressed installation files arduino 1 8 12 windows zip 5 Double click to open the file and unzip it...

Page 18: ...ion As shown follows 7 Open the arduino 1 8 12 folder and double click arduino exe to open the software 8 The interface will show as follows after the Arduino software is opened indicating that our so...

Page 19: ...16 4 Introduction of Arduino software interface The following figure is the interface introduction of Arduino software...

Page 20: ...file open file save file close file save etc For the Examples you can check the official sample program 2 Edit has the functions for the program code of editing copying and pasting commenting indentin...

Page 21: ...18 written project The Include Library can load the library After selecting the library file in the list the relevant header files are automatically added in the code editing area...

Page 22: ...ols Board can choose different development boards Our course uses Arduino Uno development board so we need to choose Arduino Uno The list contains many Arduino development board models We choose the c...

Page 23: ...o download the program that is the port number of the development board connected to the computer The port display of each computer is different When we use the Arduino Uno to connect to the computer...

Page 24: ...mpilation is complete 2 Upload Download the program code to the Arduino development board It is better to click Verify first and then click Upload 3 New Open a new program editing window to create a n...

Page 25: ...Arm Drive Board to the computer As shown below 2 Select the Arduino Uno development board in Tools Open Arduino IDE under Tools Board Select Arduino UNO in the list 3 Install CH341SER driver 1 Open t...

Page 26: ...he 01 Software Package folder and open the Adeept driver folder If you are using a Windows system you can directly double click to open CH341SER_Windows EXE install corresponding driver according to t...

Page 27: ...24 4 Now you will find the Arduino serial port is accessible different computer configuration has different serial port It means that the Arduino UNO development...

Page 28: ...puter You will need to pay attention to this connection step in the following course 6 The solution for situation that Arduino IDE cannot be opened When opening the Arduino IDE you will suddenly encou...

Page 29: ...c art and introduce the concept of electronic art to programmers It is an extension of the Java language and supports many existing Java language architectures It is not only much simpler in syntax bu...

Page 30: ...27 2 Click Download Processing as shown below 3 The operating system we choose to use here is windows 64 bit select Windows 64 bit...

Page 31: ...t a compressed file processing 3 5 4 windows64 zip 5 After extracting this file you can get the following file just click to run processing it can be run directly without installation 6 The interface...

Page 32: ...ple code that implements the following functions Change the variable to create a moving line When the line moves out of the window edge the variable becomes 0 and the line goes back to the bottom of t...

Page 33: ...30 9 Running effect is as follow...

Page 34: ...need to configure the libraries folder under the downloaded Arduino IDE directory First you need to find the user folder provided by Adeept AdeeptRoboticArmforArduinoV3_5 and find the libraries folder...

Page 35: ...32 You need to copy all files to the libraries under the Arduino IDE installation directory as shown in the figure below Paste the three folders in libraries As shown below...

Page 36: ...tain relationship with the input voltage external voltage to output Voltage so called potentiometer Potentiometers can be divided into rotary potentiometers push pull potentiometers straight slide pot...

Page 37: ...ue from pin 2 to both ends In the experiment Connect pin 1 and pin 3 to the GND and 5V of the development board respectively And then read the voltage divided by the pin 2 of the potentiometer through...

Page 38: ...1 4 1Compile and run the code program of this course 1 Open the Arduino IDE software as shown below 2 In the Tools toolbar find Board and select Arduino Uno as shown below 3 In the Tools toolbar find...

Page 39: ...nd the folder AdeeptRoboticArmforArduinoV3_5 that we provide to the user Open the folder 02 Course Code in it Enter the Lesson 1 potentiometer directory Select potentiometer ino This file is the code...

Page 40: ...rduino UNO If there is no error warning in the console below it means that the Upload is successful 7 After successfully running the program we need to observe the value of the potentiometer by openin...

Page 41: ...n by rotating the buttons of A0 A1 A2 A3 and A6 When the buttons of A0 A1 A2 and A3 are rotated the data change range is from 0 to 180 The data becomes smaller when rotating clockwise and the data bec...

Page 42: ...ing the code program of this lesson Initialize potentiometers A0 A1 A2 A3 A6 Initialize the serial monitor Convert the value of 1023 to 180 proportionally and then print out the converted data to the...

Page 43: ...otor refers to the engine that controls mechanical component operation in the servo system It is a kind of auxiliary motor indirect transmission device The servo motor is a gear motor that can rotate...

Page 44: ...y time at an angle and a corresponding number of pulses will be sent out In this way the pulses received by the servo motor form a response or a closed loop In this way the system will know how many p...

Page 45: ...xis to the corresponding angular position For the continuous rotation type of servo the write function can set the rotation speed of the servo 0 indicates that the servo rotates at full speed in one d...

Page 46: ...43 2 3Wiring diagram Circuit diagram Connect Servo to the servo port on the Adeept Arm Drive Board as shown below 2 4 How to control Servo 2 4 1Compile and run the code program of this course...

Page 47: ...e as shown below 2 In the Tools toolbar find Board and select Arduino Uno as shown below 3 In the Tools toolbar find Port and Select the port number of The Adeept Arm Drive Board as shown below 4 Clic...

Page 48: ...2 Course Code in it Enter the Lesson 2 servo directory Select servo ino This file is the code program we need in this course Then click Open 6 After opening click to upload the code program to the Ard...

Page 49: ...of the servo 2 4 2 Learning the code program of this lesson Create servo object to control a servo In the setup function attach the servo on pin 9 to servo object back to 0 degrees wait for a second I...

Page 50: ...organic light emitting device which produces light by the injection and recombination of carriers and the luminous intensity is proportional to the injected current The Alter robot uses an OLED screen...

Page 51: ...g diagram Circuit diagram You need to connect it to the OLED interface on the Adeept Arm Drive Board As shown below 3 4 How to display text on the OLED screen 3 4 1 Compile and run the code program of...

Page 52: ...e as shown below 2 In the Tools toolbar find Board and select Arduino Uno as shown below 3 In the Tools toolbar find Port and Select the port number of The Adeept Arm Drive Board as shown below 4 Clic...

Page 53: ...warning in the console below it means that the Upload is successful 7 After successfully running the program you will observe that text will be displayed on the OLED screen 3 4 2 Learning the code pr...

Page 54: ...loop function set the display font size with setTextSize 1 setCursor 30 30 sets the position of the text displayed on the OLED screen and print TEST prints out the text information that needs to be d...

Page 55: ...ter power failure EEPROM can erase existing information on a computer or special equipment and reprogram it It is generally used in plug and play The Adeept Arm Drive Board has its own EEPROM and its...

Page 56: ...n the code program of this course 1 Open the Arduino IDE software as shown below 2 In the Tools toolbar find Board and select Arduino Uno as shown below 3 In the Tools toolbar find Port and Select the...

Page 57: ...nu 5 Find the folder AdeeptRoboticArmforArduinoV3_5 that we provide to the user Open the folder 02 Course Code in it Enter the Lesson 4 EEPROM directory Select EEPROM ino This file is the code program...

Page 58: ...rduino UNO If there is no error warning in the console below it means that the Upload is successful 7 After successfully running the program we need to observe the value of the potentiometer by openin...

Page 59: ...Read Succes indicating that the data has been saved successfully 4 4 2 Learning the code program of this lesson After the above practical operation you must be very curious to know how we use C langu...

Page 60: ...we will introduce how the main code program is implemented In the setup function first initialize the serial monitor EEPROM read 5 reads the data and judges by if if the read data is 2 then it is sav...

Page 61: ...ust the 5 servos of the robotic arm by 90 degrees 5 1 Components used in this course Components Quantity Picture Adeept Arm Drive Board 1 Micro USB Cable 1 Servo 5 5 2 Wiring diagram Circuit diagram C...

Page 62: ...59 5 3 Upload the Servo90 ino 1 Open the Arduino IDE software as shown below 2 In the Tools toolbar find Board and select Arduino Uno as shown below...

Page 63: ...as shown below 4 Click Open in the File drop down menu 5 Find the folder AdeeptRoboticArmforArduinoV3_5 that we provide to the user Open the folder 02 Course Code in it Enter the Lesson 5 Servo90 dire...

Page 64: ...Upload is successful 7 After successfully running the program You will see that all the servos will turn to 90 degrees Note For the adjusted servos it is forbidden to rotate them when assembling the...

Page 65: ...le the following components Effect diagram after assembling Lesson 6 How to Assemble the Robotic Arm 6 1 Pedestal Assembly 1 Fix four Sucking Discs on the four corners of A01 Cap Nut x4 A01 x1 Sucking...

Page 66: ...diagram after assembling 2 Fix OLED to drive M2 5 11 cooper stands x2 M2 Nut x2 OLED M2 18 Screw x2 Oled should be correct with the robot Arm drive Hat connection the screen should be placed in the dr...

Page 67: ...the following components Effect diagram after assembling 3 Fix 18650x2 Battery Holder to A01 M3 10 Countersunk Head Screw x2 18650x2 Battery Holder x1 M3 Nut x2 The wires of 18650x2 Battery Holder are...

Page 68: ...65 Assemble the following components Effect diagram after assembling 4 Fix four M3 6 Copper Standoffs to A01 M3 8 Screw x4 M3 15 nylon Standoff x4...

Page 69: ...66 Assemble the following components Effect diagram after assembling 5 Fix Adeept UNO R3 Board to M3 6 Copper Standoff 6 Fix four M3 30 Nylon Standoffs to A01 M3 5 Screw x4 Adeept UNO R3 Board x1...

Page 70: ...67 Effect diagram after assembling Assemble the following components M3 8 Screw x4 M3 30 Nylon Standoff x4...

Page 71: ...ate to the initial state then turn off the power and remove each servo In the subsequent installation processes before fixing the servo to the rocker arm with screws do not rotate the rotary shaft of...

Page 72: ...ies just pull the ribbon and take them out Install the batteries into the holder based on the pole Insert the batteries into the rings ribbon closer to the anode Roll one end of the ribbon to let thro...

Page 73: ...degrees according to Lesson 5 then you don t need to adjust it anymore please proceed to the next part Connect No 1 5 servo and increase from No 1 5 in the direction close to the oled screen Note tha...

Page 74: ...71 SERVO of number 5 4 2 1 3...

Page 75: ...Effect diagram after assembling 2 Fix a debugged servo to A02 and A03 For convenience to read A02 is displayed in green and the color of all acrylic sheets is subject to the actual product M2 10 Screw...

Page 76: ...73 Effect diagram after assembling Assemble the following components 3 Then fix A02 to M3 30 Nylon Standoff M3 8 Screw x4 M3 30 Nylon Standoff...

Page 77: ...74 Effect diagram after assembling Assemble the following components 4 Assemble 51108 Bearing Put 51108 Bearing on A03 as shown in the figure 51108 Bearing x1 A03...

Page 78: ...tion and connect them to A07 7 Fix a debugged servo to A06 Note that the center of the rocker arm is aligned with the center of the A04 Rocker arm x1 A04 x1 Screw the self tapping screw just into the...

Page 79: ...hole on the A07 Install it at the angle shown below Assemble the following components Effect diagram after assembling 8 Then fix one end of A07 to the servo on A06 A07 M2 5 7 Screw x1 Please note that...

Page 80: ...hould be aligned with the round hole on the A07 Install it at the angle shown below Effect diagram after assembling Assemble the following components Assemble the following components 9 Fix a debugged...

Page 81: ...78 Assemble the following components Effect diagram after assembling 11 Then fix A06 to A04 A06 M3 Nut x1 A04 M3 12 Screw x1...

Page 82: ...omponents Effect diagram after assembling 12 Connect A05 with A08 and A11 M3 Lock Nut x2 A08 x1 A11 x1 A05 x1 M3 12 Screw x2 Do not tighten between M3 Lock Nut and M3 12 Screw Allow rotation between A...

Page 83: ...80 Effect diagram after assembling Assemble the following components 13 Fix A05 to A04 M3 Nut x1 A05 A04 M3 12 Screw x1...

Page 84: ...81 The angle when the rocker arm is installed into the servo is as shown below Assemble the following components 14 Fix the rocker arm under A04 with the servo on A02 Rocker arm A04 A02 Servo...

Page 85: ...82 Effect diagram after assembling Assemble the following components Then fix the rocker arm to the servo with the fixing screw packaged with servo Fixing screw packaged with servo x1...

Page 86: ...83 Effect diagram after assembling...

Page 87: ...84 Assemble the following components Effect diagram after assembling 6 2 Play 1 Fix A18 between A10 and A11 M3 Nut x2 M3 8 Screw x2 A18 x1 Choose A18 or A19 according to the actual size of the pen...

Page 88: ...85 Assemble the following components Effect diagram after assembling Fix the pen with A18 Pen x1 M3 Nut x1 M3 12 Screw x1 The tip of the pen should be 60 mm away from A18...

Page 89: ...llowing components 6 3 Play 2 1 Fix one M3 8 Copper Standoff to A15 2 Fix a debugged servo to A15 Servo x1 M3 18 Screw x1 M3 8 Copper Standoff A15 Install it in strict accordance with the position sho...

Page 90: ...Effect diagram after assembling Assemble the following components 3 Fix one rocker arm of the servo to A17 4 Assemble A16 and A17 A17 x1 Rocker arm x1 Self tapping screw packaged with servo x1 A16 A17...

Page 91: ...gram after assembling Effect diagram after assembling Assemble the following components 5 Fix a debugged servo to A12 6 Fix a rocker arm to A13 M2 10 Screw x2 A12 x1 Servo x1 M2 Nut x2 Rocker arm x1 A...

Page 92: ...89 Install as shown below Assemble the following components Effect diagram after assembling 7 Fix the rocker arm on the A13 to the servo on the A12 Fixing screw packaged with servo x1...

Page 93: ...the following components Assemble the following components Effect diagram after assembling 8 Fix one A14 with two M3 40 Nylon Standoffs 9 Complete assembly of the clamp section M3 8 5Screw x2 M3 8 Scr...

Page 94: ...wing components Effect diagram after assembling Install the clamp section on the robotic arm M3 30 Nylon Standoff x1 M3 8 Screw x2 Servo3 Servo4 Servo5 Servo2 Servo1 Number each servo to prepare for t...

Page 95: ...92 40mm 60mm 66 5mm 65mm 13mm 70mm...

Page 96: ...each devices for the robotic arm OLED 18650x1 Battery Holder Insert the servo numbered in the last step into the port here correspondently The color of the three power cables of the servo corresponds...

Page 97: ...r there are problems with the assembly of the robotic arm When you connect all the servos mounted on the robot arm to the Adeept Arm Drive Board correctly and turn on the power switch using battery po...

Page 98: ...Observe if the robot arm is close to the one in the picture above 2 If it does not work then you need to manually disassemble the robot arm for adjustment is to operate with the power on generally you...

Page 99: ...96...

Page 100: ...e robotic arm with the GUI application 7 1 Downloading and installing Python 1 Log in to the official website by browser https www python org downloads 2 Click the Download Python 3 8 3 button to down...

Page 101: ...98 4 Select the Add Python 3 8 to PATH option 5 Then click Install Now to install 6 Wait for the Python installation to complete and click Close to close...

Page 102: ...supported support binary transmission no null elimination no cr lf conversion All programs are completed by Python In addition to the standard library it does not depend on other packages except pywi...

Page 103: ...connect the Adeept Arm Drive Board development board to your computer 1 Press Win R shortcut key to open CMD under Windows 10 2 Click OK 3 Enter the command in the window pip install pyserial Press th...

Page 104: ...he folder AdeeptRoboticArmforArduinoV3_5 01 Software Package block_py provided by Adeept for users and find this file block_py ino 2 Then right click the file block_py ino Select Open with Choose anot...

Page 105: ...Use the mouse to slide down click Look for annother app on this PC and then click OK 5 Find the Arduino software on the Desktop or where you installed the Arduino software select it and finally click...

Page 106: ...103 6 At this time the Arduino software opens the file block_py ino 7 First select the Arduino development board as UNO version with Tools...

Page 107: ...104 8 Then continue to use Tools to select the port Port of the Adeept Arm Drive Board connected to the computer 9 Click the Upload button to download the code program to the Arduino development board...

Page 108: ...105 10 Find the folder AdeeptRoboticArmforArduinoV3_5 01 Software Package websocket find this file servosGUI py 11 Double click to open this file servosGUI py...

Page 109: ...he Arduino IDE in the Port input field For example the Port connected to the Arduino IDE is COM5 then you enter COM5 and then click Connect After successfully connecting there will be a prompt message...

Page 110: ...he servo D1 D5 and the right area is the structure diagram of the servo of the robotic arm 2 When you need to control the robotic arm you can slide the slider corresponding to the servo in the left ar...

Page 111: ...108...

Page 112: ...ogramming platform graphical programming is more conducive to learners who have not mastered C C If you have studied Scratch then you will be able to easily master the graphical programming of Arduino...

Page 113: ...110 3 Open the downloaded file double click to open it to install 4 Select the Add Python 3 8 to PATH option 5 Then click Install Now to install...

Page 114: ...111 6 Wait for the Python installation to complete and click Close to close 8 2 Installing pySerial and connecting GwBlock graphical editor...

Page 115: ...ed by Python In addition to the standard library it does not depend on other packages except pywin32 windows JavaComm Jython POSIX Linux BSD only depends on the Python standard library APIs like file...

Page 116: ...e Enter and wait for the installation to complete 4 Open the folder AdeeptRoboticArmforArduinoV3_5 provided by Adeept to the user 01 Software Package block_py and find this file block_py ino 5 Then ri...

Page 117: ...114 6 Click More apps then click OK 7 Slide the mouse down click Look for annother app on this PC and then click OK...

Page 118: ...115 8 Find the Arduino software on Desktop or the place where you installed the Arduino software select it and click Open 9 Then the Arduino software opens the file block_py ino...

Page 119: ...116 10 First select the Arduino development board as UNO version with Tools 11 Then continue to select the Port of the Adeept Arm Drive Board connected to the computer with Tools...

Page 120: ...rduino development board 13 We re use the Arduino software to open the block_py ino file and then click the Upload button again to download the code program to the Adeept Arm Drive Board development b...

Page 121: ...118 14 Find the folder AdeeptRoboticArmforArduinoV3_5 01 Software Package websocket find this file GUI info v1 0 py 15 Double click to open this file GUI info v1 0 py...

Page 122: ...input box enter the port we set in step 11 Everyone s port is different The port of my Adeept Arm Drive Board development board is COM4 After entering click the Connect button 18 Enter the URL of the...

Page 123: ...x enter the IP address we recorded in step 16 as shown below and then click the Connecting button 20 After the connection is successful a green connected will appear in the lower left corner of the in...

Page 124: ...itor 2 When you close the Adeept Arduino Robot window 3 When you restart the computer 4 When you log in to the GwBlock website again 5 When you close the Arduino IDE 1 Before doing the experiment you...

Page 125: ...ck to open this block_py ino file use Arduino to open as shown below 5 Select COM4 as the port of Adeept Arm Drive Board in Tools in the toolbar of Arduino IDE and click the icon in the upper left cor...

Page 126: ...ge As shown below 7 Open the websocket folder There is a file inside GUI info v1 0 py 8 Double click to open the GUI info v1 0 py file and the following picture will appear after opening 9 After openi...

Page 127: ...of Adeept Arduino Robot The connected port number COM4 Click the Connect button As shown below 11 Enter the URL of the GwBlock graphical editor in the browser http www adeept com gwblock hd_mo uno_r3...

Page 128: ...then click the Connecting button as shown below 14 After a successful connection as shown below a green connected prompt will appear in the lower left corner It means that we have successfully connec...

Page 129: ...The functions of the buttons on the main interface of the GwBlock editor will be described in detail below according to the function numbers in the picture As shown below 1 Blocks Click this button t...

Page 130: ...o the state of the next operation 3 is the button to run the program Click it to run the correct program we have compiled 5 is a drop down menu button Under the drop down menu button you can Import pr...

Page 131: ...currently in the Arduino programming mode 7 is the camera button which is gray in the initial off state When you click it the camera will turn red indicating that the camera is on At this time a scree...

Page 132: ...device is not connected 2 After the device is successfully connected the display is as follows 11 is a code trash you can drag and drop the code instruction block to delete it 8 5 Controlling the move...

Page 133: ...ng it a blank page will appear You need to make a modification in the lower right corner and select All Files as shown below 3 Then the folder will be displayed As shown below 4 Find the user folder A...

Page 134: ...select the main gwblock file This file is our graphical code program for this lesson Click Open in the lower right corner as shown below 6 Click OK as shown below 7 Click the button in the upper righ...

Page 135: ...with a swing range of 0 180 When you rotate the A2 button by controlling the rotation of the D3 servo you can control the forearm part of the robotic arm to swing up and down with a swing range of 0...

Page 136: ...Block graphical editor all code programs are executed from Initialize the servo Read the data of the potentiometer button Convert the read potentiometer analog data Control the movement of each servo...

Page 137: ...134...

Page 138: ...gh the potentiometers on the Adeept Arm Drive Board 9 1 Upload the Potentiometer_control ino 1 Open the Arduino IDE software as shown below 2 In the Tools toolbar find Board and select Arduino Uno as...

Page 139: ...folder AdeeptRoboticArmforArduinoV3_5 that we provide to the user Open the folder 02 Course Code in it Enter the Lesson 9 Potentiometer_control directory Select Potentiometer_control ino This file is...

Page 140: ...s no error warning in the console below it means that the Upload is successful 7 Next unplug the USB cable connected to the robotic arm Note Do not turn on the power of the arm after downloading the p...

Page 141: ...ly adjust the robotic arm to the position shown below Gently support the robotic arm with your hand to prevent swinging arm Turn on the power and then rotate the four potentiometers on the driver boar...

Page 142: ...139 arm to clamp and carry objects The rotation angle of Servo5 is set in the code 9 2 How to control the robot arm by potentiometer...

Page 143: ...to 180 degrees The potentiometer A1 on the driver board controls the movement of servo 2 range from 0 to 180 degrees The potentiometer A2 on the driver board controls the movement of servo 3 range fr...

Page 144: ...grees Note 1 Potentiometer control mode is not very precise there will be some delay so it is best to turn the potentiometer button slowly when using 2 The power of the tiller is very small and can on...

Page 145: ...mode of the robot arm 10 1 Upload the Learning ino 1 Open the Arduino IDE software as shown below 2 In the Tools toolbar find Board and select Arduino Uno as shown below 3 In the Tools toolbar find Po...

Page 146: ...5 Find the folder AdeeptRoboticArmforArduinoV3_5 that we provide to the user Open the folder 02 Course Code in it Enter the Lesson 10 Learning directory Select Learning ino This file is the code prog...

Page 147: ...he above preparations gently support the robotic arm and then turn on the power You will see the working status of the current situation and the number of the remaining motions the robotic arm needs t...

Page 148: ...on the OLED and the manipulator will automatically perform the previously recorded actions The specific operation method is as follows 1 Rotate the potentiometer on the drive board to control the mec...

Page 149: ...other motion states or actions 5 After the robotic arm is re powered or restarted press the BUTTON button for more than 8 seconds to enter the automatic motion mode and the robotic arm will automatica...

Page 150: ...n in the folder Lesson 10 Learning 2 Find the 37th line of code where number 10 means that the robotic arm can record up to 10 motion states or actions You can modify the number to the number you want...

Page 151: ...electronic art to programmers It is an extension of the Java language and supports many existing Java language architectures It is not only much simpler in syntax but has many intimate and user frien...

Page 152: ...k Download Processing as shown below 3 The operating system we choose to use here is windows 64 bit select Windows 64 bit 4 When finish downloading you will get a compressed file processing 3 5 4 wind...

Page 153: ...150 5 After extracting this file you can get the following file just click to run processing it can be run directly without installation 6 The interface is as follows after the Processing runs...

Page 154: ...151 7 the library file controlP5 needs to be added...

Page 155: ...dow reopen it and search again Finally click Install 8 Let s write a simple code that implements the following functions Change the variable to create a moving line When the line moves out of the wind...

Page 156: ...153 9 Click Run 10 Running effect is as follow...

Page 157: ...ad the AdeeptArmRobot ino The AdeeptArmRobot ino is a program to control the robotic arm servo 1 Open the Arduino IDE software as shown below 2 In the Tools toolbar find Board and select Arduino Uno a...

Page 158: ...155 3 In the Tools toolbar find Port and Select the port number of The Adeept Arm Drive Board as shown below 4 Click Open in the File drop down menu...

Page 159: ...Enter the Lesson 11 Processing AdeeptArmRobot directory Select AdeeptArmRobot ino This file is the code program we need in this course Then click Open 6 After opening click to upload the code program...

Page 160: ...he computer with the USB cable Rotate the arm to the position as shown in the figure below Manually remove and adjust without power supply 11 3 Run the ProcessingArmRobot pde Note that the arm is stil...

Page 161: ...inoV3_5 that we provide to the user Open the folder 02 Course Code in it Enter the Lesson 11 Processing ProcessingArmRobot directory Select ProcessingArmRobot pde This file is the code program we need...

Page 162: ...the corresponding button on the keyboard to control the arm 1 Q and W control servo5 Gripper The Q button is to control the gripper to open the W button is to control the gripper to close 2 E and R c...

Page 163: ...corresponding button the robotic arm will make the corresponding movement 1 Gripper and Gripper control the servo5 2 Rotate and Rotate control the servo4 3 Elbow and Elbow control the servo3 4 Shoulde...

Page 164: ...161...

Page 165: ...In this lesson we will introduce the Imitation function mode of the robot arm 12 1 Prepare Refit You need to transform the robotic arm into the structure of the picture on the right Replace the claws...

Page 166: ...163 Connect Servo1 Servo2 and Servo3 on the robotic arm to Servo1 D9 Servo2 D6 and Servo3 D5 ports on the Adeept Arm Drive Board...

Page 167: ...164 12 2 Upload the AdeeptSimulation ino 1 Open the Arduino IDE software as shown below 2 In the Tools toolbar find Board and select Arduino Uno as shown below...

Page 168: ...165 3 In the Tools toolbar find Port and Select the port number of The Adeept Arm Drive Board as shown below 4 Click Open in the File drop down menu...

Page 169: ...t Enter the Lesson 12 Imitation_function directory Select AdeeptSimulation ino This file is the code program we need in this course Then click Open 6 After opening click to upload the code program to...

Page 170: ...some configuration according to part 8 of lesson 0 otherwise you will encounter many errors when you download the program to the Adeept Arm Drive Board 12 3 How to start the imitation mode of robotic...

Page 171: ...l the robotic arm in the Y track of motion press the BUTTON button on the drive board for about 2 3 seconds to release it at this time the remaining steps 2 item on the OLED screen The number will dec...

Page 172: ...e it to complete some simple imitations such as drawing triangles and line segments Because everyone s abilities are different errors will occur during operation You often practice it After you are fa...

Page 173: ...eans that the robotic arm can record up to 3 motion track or actions You can modify the number to the number you want to record and the maximum should not exceed 333 3 Save the modified program and th...

Page 174: ...ng software to control robotic arms write and draw 13 1 Upload the WritingAndDrawing ino 1 Open the Arduino IDE software as shown below 2 In the Tools toolbar find Board and select Arduino Uno as show...

Page 175: ...er AdeeptRoboticArmforArduinoV3_5 that we provide to the user Open the folder 02 Course Code in it Enter the Lesson 13 write and draw WritingAndDrawing directory Select WritingAndDrawing ino This file...

Page 176: ...load is successful 7 After downloading close WritingAndDrawing ino 8 Note that the arm is still connected to the computer with the USB cable Turn on the power supply 13 2 Run the ProcessingWritingAndD...

Page 177: ...eeptRoboticArmforArduinoV3_5 that we provide to the user Open the folder 02 Course Code in it Enter the Lesson 13 write and draw WritingAndDrawing directory Select ProcessingWritingAndDrawing pde This...

Page 178: ...175 4 After opening Click to run the code as shown below 5 Then click Run to run the control panel program the following control interface will appear...

Page 179: ...oint to see if the pen tip falls on the paper If it is not or is suspended in the air three parameters need to be modified These three parameters are to fine tune the offset of the servo In this exper...

Page 180: ...modifying the three parameters to make the tip of the pen reach to the paper do not make the tip press against the paper click Run to run the control panel program The robotic arm will paint as you wr...

Page 181: ...178...

Page 182: ...179...

Reviews: