#garfield Logs
Nov 09 2021
#garfield Calendar
02:12 AM rue_bed2: powers out...
01:19 PM Tom_L: wb rue_mohr
03:08 PM polprog_ is now known as polprog
06:31 PM rue_mohr: so
06:31 PM rue_mohr: we set up an account with fastenal
06:32 PM rue_mohr: it was hell
06:32 PM rue_mohr: we did an online order, they charged us $63 shipping isntead of 12
06:32 PM rue_mohr: I managed to get them to credit us back for the $50 difference
06:32 PM rue_mohr: then when the other guy went to pay it, they said the branch is closing and we dont have to
06:33 PM rue_mohr: !?!?!?!??!!?!?!
07:07 PM Tom_L: so no more fastenal?
07:07 PM rue_mohr: apparently not *that* branch
07:07 PM Tom_L: how many do you have nearby?
07:07 PM Tom_L: i think we have just one
07:07 PM Tom_L: i avoid them
07:08 PM Tom_L: was gonna test my code but i've got a wiring problem. maybe a pullup needed...
07:08 PM Tom_L: gonna check here soon
07:08 PM rue_mohr: I dont know
07:09 PM rue_mohr: they seem like a mess
07:11 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/cnc/rotary/Rotary_test.txt
07:11 PM Tom_L: the dowel pin bit was what i was working on yesterday
07:11 PM Tom_L: S0 was fighting me
07:12 PM Tom_L: N4
07:12 PM rue_mohr: whats S0?
07:12 PM Tom_L: spindle speed 0
07:12 PM rue_mohr: !?
07:12 PM Tom_L: it's a dowel pin for locating stock
07:12 PM Tom_L: it's not supposed to turn
07:12 PM rue_mohr: yea
07:12 PM rue_mohr: but it didn't like 0?
07:13 PM Tom_L: in the tool settings if you set it to 0 it ignores the tool
07:13 PM Tom_L: but
07:13 PM Tom_L: if you set it to .001 it accepts it as normal and rounds it down to 0
07:13 PM rue_mohr: haha
07:14 PM Tom_L: yeah i thougt so too
07:24 PM Tom_L: says those lines have 1k pulldowns on them..
07:25 PM Tom_L: the issue is they are all enabling at once
07:25 PM Tom_L: i just wasn't in the mood to fix something... rather test the code i did
07:28 PM Tom_L: while i'm in there i might try to put a multiplier on the A axis since it moves alot slower than the linear ones
07:30 PM rue_mohr: so I wonder if power will go out again
07:30 PM rue_mohr: hell of a wind storm last ngiht
07:31 PM rue_mohr: did you get my message that the power went out
07:31 PM Tom_L: i was wondering what caused it
07:31 PM Tom_L: yes
07:31 PM Tom_L: and i said wb
07:31 PM Tom_L: looking over this code to see about a multiplier before i go check wiring
07:32 PM rue_mohr: I'm confused what is it?
07:32 PM rue_mohr: a limit sensor?
07:32 PM Tom_L: this is on the pendant axis selector
07:32 PM Tom_L: i was messin with it, it's likely a wire is loose
07:32 PM Tom_L: when i was wiring up the A axis
07:33 PM Tom_L: looks like it won't be too difficult
07:34 PM Tom_L: i can add a multiplier of some sort just on that one line
07:34 PM Tom_L: i'll have to see what they have
07:35 PM Tom_L: # This sets up the scale that will be used based on the selector switch
07:35 PM Tom_L: # 0.0001, 0.001, or 0.01 per click of the MPG
07:35 PM Tom_L: # multiply this by ilowpass.0.scale to get actual scale
07:35 PM Tom_L: ###setp mux4.0.in0 .0000001
07:35 PM Tom_L: ###setp mux4.0.in1 .000001
07:35 PM Tom_L: ###setp mux4.0.in2 .00001
07:35 PM Tom_L: setp mux4.0.in0 .000000025
07:35 PM Tom_L: setp mux4.0.in1 .00000025
07:35 PM Tom_L: setp mux4.0.in2 .0000025
07:35 PM Tom_L: that goes out to each selected axis
07:35 PM rue_mohr: thats an awefull small number
07:36 PM Tom_L: i can pick that axis and multiply it back up again
07:36 PM Tom_L: small but it's accurate
07:36 PM Tom_L: setp ilowpass.0.scale 1000
07:37 PM Tom_L: i could probably bump those up and scale down
07:37 PM Tom_L: it gets multiplied by scale
07:37 PM Tom_L: some of this started out on the sherline and just got adapted
07:38 PM Tom_L: so if scale was 10 i could bump 2 00 of those mux numbers maybe
07:38 PM Tom_L: net mpg-counts <= ilowpass.0.out
07:38 PM Tom_L: net mpg-counts => axis.x.jog-counts
07:38 PM Tom_L: net mpg-counts => axis.y.jog-counts
07:38 PM Tom_L: net mpg-counts => axis.z.jog-counts
07:38 PM Tom_L: net mpg-counts => axis.a.jog-counts
07:39 PM Tom_L: take the A axis and put the scaler between mpg-counts and axis.a.jog-counts
07:39 PM Tom_L: and leave the other 3 alone
07:55 PM Tom_L: ok that was about as easy as it gets
07:56 PM Tom_L: 4 resistors tied together on one end to gnd with wires going to the various axis as pulldown
07:56 PM Tom_L: the resistor bundle came out
07:56 PM Tom_L: i'd been working on it and i must have forgotten to tighten it back up
08:14 PM aandrew: https://ibb.co/8YNgrqX
08:14 PM aandrew: opamp+complementary pair doing the heavy lifting -- what would be causing the opamp to oscillate when load is being drawn on the transistor output?
08:15 PM aandrew: I tried putting larger capacitance on C25 to try to damp it out without much effect
08:15 PM aandrew: it's oscillating at about 16MHz
08:17 PM aandrew: I should probably put some resistance on the output of that complementary pair to simulate the internal resistance of the battery
08:52 PM Tom_L: ok fixed that
08:52 PM Tom_L: added another ilowpass component and tied it just to the A axis and changed the scale on it
08:53 PM Tom_L: 10 mpg clicks is 1 degree on the coarse setting
09:17 PM rue_mohr: k
09:18 PM Tom_L: all set to run now. testing tomorrow after i align the rotary head
09:29 PM rue_mohr: :)
09:32 PM Tom_L: still windy up there?
09:40 PM rue_mohr: no, dead calm
09:42 PM Tom_L: supposed to rain here tomorrow