Asked

Sketch Pad Program For Servos

@Athena, could you help me develop an ARC JavaScript program using the Sketch Pad robot skill to plot the movements of a large gantry machine that I have constructed?

The machine operates with the following axes:

  • X-axis: Controlled by servo V1, with a range from 1 to 130,000.
  • Y-axis: Controlled by servo V60, with a range from 1 to 100,000.
  • Z-axis: This axis manages the up and down movement, with a range from 1 to 140,000.

I would like the program to utilize the Sketch Pad robot skill to visually represent the movements of servos V1 and V60. Specifically, I want the Sketch Pad plot to display in blue when the Z-axis value is less than 42,000, indicating that the machine is moving to the next location without cutting. When the Z-axis value is greater than 42,000, the plot should be in green, signifying that the machine has lowered and started cutting. Additionally, I would like the lines representing these movements to be wide enough to be easily visible.

Thank you for your assistance!



Related Hardware (view all EZB hardware)
EZ-B V4 by EZ-Robot
EZ-B v4/2 robot controller: dual Cortex ARM, Wi-Fi, audio/video, 24 servo/digital ports, I2C/UART, camera and Synthiam ARC control for custom robots
Wi-Fi / USB
Servos 24
Camera
Audio
UART 3
I2C
ADC 8
Digital 24

Related Robot Skills (view all robot skills)
Diagnose EZ-B Wi-Fi connection issues with verbose EZ-B communication logging, ping tests, log export and diagnostic reports for Synthiam support.
Servo Sketch 3D by Synthiam Inc.
Real-time 3D servo visualization with motion trails, interactive camera controls and clear trail for ARC debugging and analysis.

ARC Pro

Upgrade to ARC Pro

ARC Pro is your passport to a world of endless possibilities in robot programming, waiting for you to explore.

Author Avatar
PRO
Synthiam
LinkedIn Thingiverse Twitter YouTube GitHub
#17  

Woo that's awesome! Thanks for sharing. Those do look cut really good. You'll be able to build a stairway to heaven with that many stringers! You can definitely get in the business of selling stringers.

#18  

Thanks DJ, have thought about that and making Ipe spindles with the automated lathe. This is just a starting point for this gantry machine. Now that I've done somewhat of a deepdive on programing on this how about cutting up full sheet of plywood to various sizes and many other things. I want to take this 16' gantry and see if I can make an automated food fulfilling system like chipotle. Just get the recipe and then just fill the order, seems pretty straightforward to me. Many different things like that, it just goes on and on. I guess I just like the challenge of it all. It's Sunday after 4 been partaking of some drinks...

#19  

As far as the accuracy, the motors are very accurate with 20k pulses for 1 inch of movement. I used a dial indicator to fine tune the squareness of the blade to the cut. I started with a laser attached to the blade which got me close so I set it at 31k but when I used a dial indicator to get it within a couple thousands had to change the setting to 30785. Some things boil down to backlash within the gears. On this one didn't want to get to carried away by the minor backlash, just get it working then can get higher precision items later. I did get it programmed for 3 locations on the table so now just set it up sit in living room with camera on phone and then change them 39 minutes later (which will be automated later).