RoboGeeks

Tutorial 16 - Recording and Replaying Robotic Arm Actions - ADA031-V5.0

Adeept · Uploaded · 4:01 · Watch on YouTube

Adeept walks through flashing a recording sketch to the ADA031-V5.0 arm controller. The user sets each pose with a potentiometer, saves it with a button press, and the arm then replays the stored sequence on its own.

Transcript

Captions as a .vtt fileEmbed with the transcript

  1. 0:04This lesson introduces the motion recording function of the robotic arm.
  2. 0:08It uses EEPROM to store pose data, so the robotic arm can automatically repeat preset movements.
  3. 0:16Program Upload Steps
  4. 0:17Connect the robotic arm controller to your computer with a USB cable, install the batteries, and turn on the power switch.
  5. 0:26If an ESP8266 module is installed, set the upload switch to position 0.
  6. 0:32Open the motion recording sample code, select the matching board model and serial port, then flash the program to the controller.
  7. 0:53Once uploaded successfully, the buzzer will beep to indicate the program has started.
  8. 0:58Now you can start recording motions.
  9. 1:03The program is preset with a maximum of 10 recording steps.
  10. 1:06For example, if you need to move an object from point A to point B, split the whole handling process into 10 pose steps.
  11. 1:16Adjust the robotic arm pose with the potentiometer for each step, then press the button on the controller.
  12. 1:22When you hear a single beep, the current pose is saved successfully, and the remaining step count on the OLED decreases by 1.
  13. 1:30Repeat this until the remaining steps reach 0.
  14. 1:34The robotic arm will automatically play back the recorded motion sequence.
  15. 1:39The device defaults to recording mode every time it powers on.
  16. 2:26If you have saved motions previously,
  17. 2:28long press the onboard button for 8 seconds to switch directly to working mode and play back your saved motions.
  18. 2:35To record a new set of motions, press the reset button to restart the program and return to recording mode.
  19. 3:00Code principle
  20. 3:02Setup function, initializes servos, OLED display and buzzer.
  21. 3:08Two beeps from the buzzer after initialization mean the program starts successfully.
  22. 3:14Loop function
  23. 3:14First check the remaining step count.
  24. 3:17If the remaining steps greater than 0, the system is in recording mode.
  25. 3:22It reads values from the potentiometer and drives the robotic arm to the corresponding pose.
  26. 3:29If the remaining steps equals 0, the system enters working mode and automatically plays back the saved motion sequence.
  27. 3:37The code detects button presses and hold duration.
  28. 3:40Short press, single beep, step count minus 1, save the current pose.
  29. 3:45Long press, repeated buzzer alerts, switch to working mode.
  30. 3:50Once you understand this recording sketch,
  31. 3:53you can adjust the maximum step count for more complex tasks,
  32. 3:57or develop your own custom features.
Embed this video with its transcript

Paste this into your page. The frame holds the player and the transcript; the link below it says where the transcript comes from.

Discussione

Sceglierai un nome nel passaggio successivo. Sei già membro? Accedi.

Una mail quando qualcuno commenta. Non serve un account.

La newsletter

Ricevi la nostra newsletter gratuita con nuovi robot, prezzi e notizie di robotica.