#garfield Logs
Dec 03 2023
#garfield Calendar
01:57 AM rue_mohr: did it lose any steps tho?
06:08 AM polprog: morning
06:13 AM rue_mohr: oh your awake now eh?
06:14 AM rue_mohr: polprog, do you have an idea for how to C pototype that "print register in hex" function?
06:14 AM rue_mohr: I think the value is passed to it in R0/R1 and I cant seem to get C to do that
06:18 AM polprog: without asm inserts, nope
06:23 AM rue_mohr: hmm
06:23 AM rue_mohr: I tried "extern "C" " but no luck
06:24 AM rue_mohr: I think there used to be a way to specify pascall calling convention
06:28 AM rue_mohr: regparm
06:28 AM polprog: maybe __attribute__((xxxxx)) ?
06:29 AM rue_mohr: I like the z80 thing where you put a string after a function call to that needs it, and the function pops the return address as its data pointer and pushes it back with the address after the terminating NULL
06:32 AM rue_mohr: good for anonymous strings
06:33 AM rue_mohr: well its been a week of vaccation time
06:33 AM polprog: damn, thats cleverl
06:33 AM rue_mohr: didn't get much done, but some of it was sure cool
06:36 AM rue_mohr: check out the combination lock on twitter :] gnight
06:36 AM rue_mohr: (4:30am)
06:36 AM polprog: nite
10:24 AM Tom_L: redid the axis test with Z
10:32 AM Tom_L: https://www.youtube.com/watch?v=pOLsLrPLbUg
12:48 PM rue_mohr: but did it come back tot he right step?
01:31 PM Tom_itx: the point of the test was to try and get a joint following error. if i want to check for position error i will have to make it in the same plane or it would hit the dial indicator
01:31 PM Tom_itx: 2 similar but very different things
01:37 PM Tom_itx: joint following errors are generally caused when max_acceleration is too high. i've been adjusting that a little at a time until i get no errors
01:39 PM Tom_itx: if the velocity is too high, that would cause lost steps
01:39 PM Tom_itx: i don't think that's the problem i'm having.
01:39 PM Tom_itx is now known as Tom_L
01:46 PM rue_mohr: ? interesting, so its a software generated error
01:49 PM Tom_L: yes
01:50 PM Tom_L: if it were due to too high feed, you would hear the stepper whine
01:50 PM Tom_L: i can run that same test at 210 ipm all day
01:51 PM Tom_L: i dropped the joint velocity from 45 to 40 and it has helped. i may drop it a bit more
01:51 PM Tom_L: i'm not sure what that number represents
02:02 PM Tom_itx: MAX_VELOCITY = 1.2 default - Maximum velocity for this joint in machine units per second.
02:02 PM Tom_itx: MAX_ACCELERATION = 20.0 default - Maximum acceleration for this joint in machine units per second squared.
02:02 PM Tom_itx: so i'm well above the defaults already
02:03 PM Tom_L: machine units would be Inch
02:04 PM Tom_L: so for acceleration mine would be 1600 ips
02:04 PM Tom_L: and i've been lowering that until i get no errors
02:05 PM Tom_L: i had it at 45 when i built it and it ran that way for quite a long time
02:05 PM Tom_L: (2012) ips
02:05 PM Tom_L: for accel
02:06 PM Tom_L: rather fast acceleration rate
02:07 PM rue_mohr: so it has an internal velocity limit, and it will go into a fail mode if it tries to overshoot it.
02:07 PM Tom_L: aside from the joint numbers there is also a trajectory planner limit with the same settings
02:07 PM rue_mohr: huh
02:08 PM Tom_L: the accel there is 50
02:08 PM rue_mohr: grbl just limits scales all the speeds so nothing hits a limit
02:08 PM Tom_L: being independent allows you to run completely different hardware per axis if you needed to
02:08 PM rue_mohr: mhm
02:09 PM Tom_L: one could be stepper where the next could be a servo
02:09 PM rue_mohr: yup
02:09 PM rue_mohr: damn 12:00 already
02:09 PM rue_mohr: just finished my shower
02:09 PM Tom_L: but i figured until i'm testing on metal again i'd run all 3 axis at once to load the system
02:09 PM rue_mohr: tommorow is going to hit me like a truck of bricks
02:10 PM Tom_L: i got 3 more blocks ready
02:10 PM rue_mohr: did it ever drop steps?
02:10 PM Tom_L: not that i could see no
02:10 PM rue_mohr: or was it just the software error saying it tired to do a velocity it knew it couldn't?
02:10 PM rue_mohr: ok
02:10 PM rue_mohr: huh
02:10 PM Tom_L: i'm not going to mount a dial on this test cause it would get hit
02:10 PM Tom_L: but it goes back to zero where it should
02:11 PM rue_mohr: I was kinda thinking it couldstaart at the dial, move around away from it, and then slowly come back to it
02:11 PM Tom_L: i haven't had a problem with missed steps even when the X axis hit the shop vise. it just moved the mill
02:11 PM rue_mohr: :)
02:11 PM Tom_L: i can test with a dial but that's not what this problem is about
02:12 PM Tom_L: when it faults, yes it does loose home position and it's difficult to get it exactly where it was the first time
02:13 PM Tom_L: the fault causes and estop
02:13 PM Tom_L: so whatever wasn't quite done moving moves out of position a bit
02:13 PM rue_mohr: I think the power supply for my computer speakers has mostly died over the last 15 years
02:14 PM Tom_L: there's enough tuning settings with lcnc i think you'd have a ball with it
02:14 PM rue_mohr: :)
02:19 PM rue_mohr: haha github
02:19 PM rue_mohr: so, https://github.com/ruenahcmohr/seaduino this is a fork of the repository the other fellow started
02:20 PM rue_mohr: at the right, it says, 2 forks, but when you click on it, it says it cant find any
02:20 PM rue_mohr: if you go to the repo I forked it from, it shows 2 forks
02:20 PM rue_mohr: and if you click on it, it shows 1
02:20 PM rue_mohr: hahah
02:20 PM rue_mohr: twitter cant count either
02:21 PM Tom_L: https://github.com/ChristianIvarsson/seaplay
02:21 PM rue_mohr: yup
02:22 PM Tom_L: i bet you could get flyback goin on something like that
02:22 PM rue_mohr: he didn't bite
02:23 PM rue_mohr: I need to go rake leaves
02:23 PM rue_mohr: oh breakfast first
02:23 PM rue_mohr: damn
02:24 PM Tom_L: i mulch them with the mower. it bags em really well
02:48 PM rue_mohr: I have composters this time
06:55 PM Tom_L: you got a mower bot... you need a leaf bot now
07:35 PM rue_shop4: :)
07:35 PM rue_shop4: MMMmmm tab bender
07:36 PM rue_shop4: gonna do up a bunch tommorow
07:36 PM rue_shop4: need a stock of 10
07:36 PM rue_shop4: cant get myself to focus on anything
08:59 PM Tom_L: did you figure out a tube holder for the little ends you clip off?
09:01 PM rue_mohr: I managed to stay awake and rake some leaves...
09:01 PM rue_mohr: I cant get a clear head I just want to sleep
09:01 PM rue_mohr: all the time
09:18 PM Tom_L: immune system weak?
09:18 PM Tom_L: you're hours are not helping either
09:26 PM rue_mohr: back to work tommorow
09:27 PM rue_mohr: ok get this
09:27 PM rue_mohr: reccomeneded daily intake 2500 cal/day
09:27 PM rue_mohr: body is about 80w idle
09:28 PM rue_mohr: *24hrs is 1920wh
09:28 PM rue_mohr: but 2500cal is only 3wh
09:28 PM rue_mohr: I think a k is missing somewehere
09:28 PM Tom_L: air counts for something
09:29 PM Tom_L: keeps the fire lit
09:40 PM rue_mohr: thats some thick air
09:40 PM rue_mohr: apparently it should be 2500kcal
09:46 PM rue_mohr: so about 12kg of battery
09:46 PM rue_mohr: (li-ion)
09:53 PM Tom_L: wonder if a heavy duty scraper would work for a tube shear
09:53 PM rue_mohr: *blink* for the cut?
09:53 PM rue_mohr: I like the idea of a hole saw
09:53 PM rue_mohr: like they use for tube frames on bikes
09:54 PM Tom_L: oh i nearly forgot about that
09:54 PM Tom_L: but you don't need a rounded cut do you?
09:54 PM rue_mohr: :) you lead me to it
09:54 PM rue_mohr: no
09:54 PM Tom_L: err maybe you did
09:54 PM rue_mohr: oh well I still need the slot
09:54 PM Tom_L: shove the tube into the end of a 2x4 and put the hole saw thru it
09:54 PM rue_mohr: and being able to lock in jig and run the program for that cut would be nice
09:55 PM rue_mohr: yea
09:55 PM rue_mohr: not everything needs to be super fancy :)
09:55 PM rue_mohr: I have a 2.6 with holes drilled to the length of the pins
09:55 PM rue_mohr: just put the rod in the hole and cut it off
09:55 PM rue_mohr: dont even bother removing it, move to the next one
09:56 PM rue_mohr: fill all the holes, shake empty and move on
09:56 PM Tom_L: oh for those pins you were looking for
09:56 PM rue_mohr: no
09:56 PM rue_mohr: there are two smaller pins
09:56 PM rue_mohr: a 1/16" aluminum and a 1/8" brass
09:56 PM Tom_L: didn't i suggest roll pins
09:56 PM rue_mohr: maybe
09:56 PM rue_mohr: finding the right lengths is a problem
09:57 PM rue_mohr: those 1/4"x15mm pins are a problem
09:57 PM Tom_L: yeah that was it iirc
09:57 PM rue_mohr: right now, its actually easist/cheapest to get 1/4" copper tubing and cut it up with a pipe cutter
09:57 PM rue_mohr: I cant get 1/4" bar out here anymore
09:58 PM rue_mohr: isn't THAT stupid!?
09:58 PM rue_mohr: I made a huge supply of the copper pipe ones
09:59 PM rue_mohr: Sean got a bunch of premade dowels that are a bit too long, they work in the head hole ok tho
09:59 PM rue_mohr: a guy in oz has a cnc lathe, but doesn't seem to be biting on it
10:00 PM rue_mohr: I wonder how tommorow will go for me
10:01 PM rue_mohr: maybe I'll just take a melitonin now
10:02 PM Tom_L: i'm gonna hit the hay real soon
10:02 PM rue_mohr: gngight
10:03 PM Tom_L: i seem to sleep in 2-4 hr increments
10:03 PM rue_mohr: I'll try to do some sprayer stuff tommorow, but I'll be dead tired until thurs
10:03 PM Tom_L: well i did do _something_ over the weekend
10:04 PM Tom_L: working on the cnc error
10:04 PM Tom_L: the pendant baffles me.
10:04 PM Tom_L: one day it works and the next it doesn't
10:04 PM Tom_L: on the jog scale
10:04 PM rue_mohr: hmm
10:04 PM Tom_L: right now it's working
10:04 PM rue_mohr: flakey switch?
10:04 PM Tom_L: no
10:05 PM Tom_L: it's probably a wire or software
10:05 PM Tom_L: those parport wires are pretty fine
10:05 PM Tom_L: but i got it in the box where they shouldn't move
10:05 PM rue_mohr: oh, its dec, you can safety check last years lights and power them back up
10:06 PM Tom_L: i got boxes of those in the attic that will stay there
10:06 PM rue_mohr: incadescent ?
10:06 PM Tom_L: xmas lights
10:06 PM rue_mohr: incadescent ones?
10:06 PM rue_mohr: or LED?
10:07 PM Tom_L: probably
10:07 PM Tom_L: the tree is led
10:07 PM rue_mohr: yea
10:07 PM rue_mohr: I have boxes of incadescent that I need to turf
10:07 PM rue_mohr: I cant afford to run them
10:07 PM rue_mohr: like 1000w in lamps
10:08 PM Tom_L: i don't belong on the wrong end of a ladder much anymore
10:08 PM rue_mohr: oof actually thats only 6 strings
10:08 PM rue_mohr: I suppose Dec is a good time to put them at the end of the driveway
10:09 PM Tom_L: yeah i put my disposable things over the back fence
10:09 PM rue_mohr: ? k
10:09 PM rue_mohr: sharing alley?
10:10 PM Tom_L: yeah
10:10 PM Tom_L: usually gone within a few hours
10:10 PM rue_mohr: yep
10:10 PM Tom_L: but they're respectful. they don't take it inside the fence
10:10 PM rue_mohr: :)
10:10 PM rue_mohr: here things go really slow if you dont put a "free" sign on it
10:11 PM rue_mohr: so I made one
10:11 PM rue_mohr: and someone took it, so the repalcement says "$5 for the free sign" at the bottom
10:33 PM aandrew: when we built the house I bought like a mile of outdoor led lights. Damn near broke my neck installing them but they're permanent. now I just turn them on with a switch
10:33 PM aandrew: I should have a pic somewhere
10:35 PM aandrew: https://i.imgur.com/x8ehbRf.jpg
10:36 PM aandrew: not the clearest but I'm 4000mi from home so that'll have to do