กลับไปหน้ารวมไฟล์
mearm-robot-recording-of-coordinates-minimalized-version-597161-en.md

This is minimalised version of older project Joystick Controller for MeArm ® Robot - Recording Coordinates. It does not require additional resistors or led diode. Just only Arduino UNO, 2 joysticks and 4 servos and meArm construction or similar one of course.

Allows 4 modes:

  • Manual mode
  • Recording of coordinates - indicated by permanent light of LED diode "L" on Arduino UNO board.
  • Play mode - play once recorded movements
  • Play repeatedly - plays recorded movements repeatedly - indicated by flashing of LED diode "L".

Press button on joistick 1 to Start/Stop of recording coordinates.

Press button on joistick 2 to Start/Stop of play coordinates.

Press and hold button for 2 seconds on joistick 2 to Start/Stop of play coordinates repeatedly.

If you have a MeArm joystick board, here is a version for you: MeArm 1.6.1 Robot Joystick Board Recording Movements (IR)

EXPANDED TECHNICAL DETAILS

Kinematic Recording

This project adds a "Learning" mode to the popular 4-DOF MeArm robotic arm.

  • Manual Teaching: The user manually moves the arm into positions. The Arduino reads the resistive feedback from the Servo Potentiometers (analog input) and records these values into the internal EEPROM.
  • Playback Loop: Once "saved," the Arduino reads the stored coordinates and moves the servos back to those exact positions in sequence.

Minimalized Optimization

  • Memory Efficiency: By storing raw analog values (0-1023) as 16-bit integers, the Nano can store dozens of movements even with its small EEPROM.
  • Speed Control: The code implements a simple easing function so that the playback movements are smooth and don't jerk the delicate acrylic structure of the arm.

ข้อมูล Frontmatter ดั้งเดิม

title: "MeArm Robot - Recording of Coordinates (Minimalized Version)"
description: "Allows 4 modes: manual, recording of coordinates, play, and autoplay mode. Uses internal LED diode attached to pin 13 to indicate mode."
author: "utilstudio"
category: "Motors & Robotics"
tags:
  - "robot"
  - "mearm"
  - "servo"
  - "joystick"
views: 20559
likes: 23
price: 2450
difficulty: "Easy"
components:
  - "1x Arduino UNO"
  - "4x Micro servo SG90"
  - "2x Analog joystick (Generic)"
tools: []
apps:
  - "1x Arduino IDE"
downloadableFiles: []
documentationLinks: []
passwordHash: "2e2c4a352ce4a9b65f4a115c4ce3433ba2ff1f5159b22a4394b3af76a6ced585"
encryptedPayload: "U2FsdGVkX1+zR128xyDvkSil66FWA36TRiH808UDrZGx3I3UdakhJURDtyD8RdbCphmEr7Jpp96LhiUWhJ4PY3xywUumhaQJMNydmjL8XLs="
seoDescription: "MeArm Robot project with 4 modes: manual, recording coordinates, play, and autoplay. Uses pin 13 LED for status."
videoLinks: []
heroImage: "https://cdn.jsdelivr.net/gh/bigboxthailand/arduino-assets@main/images/projects/mearm-robot-recording-of-coordinates-minimalized-version-597161_cover.jpg"
lang: "en"