#garfield Logs
Feb 15 2021
#garfield Calendar
12:00 AM aandrew: -mfloat-abi=soft should be in there
12:09 AM rue_mohr: CFLAGS += -g
12:09 AM rue_mohr: CFLAGS += -Wextra -Wshadow -Wimplicit-function-declaration -Wredundant-decls
12:09 AM rue_mohr: CFLAGS += -fno-common -ffunction-sections -fdata-sections
12:09 AM rue_mohr: CFLAGS += -MD
12:09 AM rue_mohr: CFLAGS += -Wall -Wundef
12:09 AM rue_mohr: CFLAGS += -mcpu=cortex-m3 -mthumb -mfix-cortex-m3-ldrd -march=armv7-m
12:09 AM rue_mohr: CFLAGS += -mfloat-abi=soft -msoft-float
12:09 AM rue_mohr: CFLAGS += -T $(LDSCRIPT)
12:09 AM rue_mohr: ah, I see it now, yes.
12:11 AM rue_mohr: I dont know if the attempt was with this makefile or not
12:11 AM rue_mohr: this is polprogs new one
12:11 AM rue_mohr: Tom_L, I bet you get this too
12:12 AM rue_mohr: sitting there frustrated you have a cnc machine and no projects for it
12:12 AM rue_mohr: I been sitting in my bedroom with the whole shop out there and I cant think of what I want to do
12:12 AM rue_mohr: mind is developing corners or something, dont roll too good
12:13 AM rue_mohr: I'd sit out and doodle on the big cnc, but its too COLD out
12:15 AM rue_mohr: I suppose that 16 core xeon could compile kernels pretty fast
12:15 AM rue_mohr: make -j 32 ?
12:23 AM aandrew: yep, if you've got the memory I always liked -j (no number)
12:24 AM rue_shop1: it seems to me, that with disk io about 2x to 3x the processor count keeps it busy
12:24 AM rue_shop2: ok, whats cool to make
12:26 AM rue_shop2: to know, I need to wind myself back
12:26 AM rue_shop2: way back
12:26 AM rue_shop2: LM3909
12:28 AM rue_shop2: strip away all the layers of purpose
12:29 AM rue_shop2: all the obligation
12:29 AM rue_shop2: all the standard expectations
12:29 AM rue_shop2: back to a layer of magic
12:29 AM rue_shop2: kid, welcome to the candy shop.
12:31 AM aandrew: heh
12:33 AM rue_shop2: :) did I hear you say you set up an interrupter on your feed motor?
12:34 AM aandrew: just a microswitch
12:34 AM aandrew: saved my ass a few times during the sw development
12:37 AM rue_shop2: mobile robot keep comming up
12:37 AM rue_shop2: so does blinking leds
12:42 AM rue_shop2: I never really did get the robot arms doing anything
12:45 AM rue_shop2: I didn't have a breadboard, I was free-wiring everything
12:45 AM rue_shop2: I think with tel wire
12:45 AM rue_shop2: a bunch turned up under the road when they pulled the pavment off
12:46 AM rue_shop2: I was sure confused when I couldn't get power ~75 feet from one of my buddies forts to another
12:46 AM rue_shop2: would have been ~6V, incadescent lamps
12:46 AM rue_shop2: #22 wire
12:47 AM rue_shop2: wires conducted electricity, it was simple
12:47 AM rue_shop2: electricity at one end meant electricity at the other, or your wire must be broken
12:48 AM rue_shop2: I didn't learn that one till I did the 300' run of #22 from one fort to another years and years later
12:48 AM rue_shop2: I had a multimeter
12:48 AM rue_shop2: I checked at every pole to find the problem
12:48 AM rue_shop2: voltage kept going down
12:49 AM rue_shop2: 12V on one end, not enough to light a bulb at the other
12:50 AM rue_shop2: I went back and forth for hours
01:33 AM rue_shop2: arg, why are the holes in nuts never centered
04:09 AM rue_mohr: Tom_L, so is there a trick to keeping those large forming tools from chattering?
04:39 AM rue_shop2: how did it go from 10:00 to 1:30 so fast?
05:38 AM Tom_L: form tools? the thread mills? they don't cut hardly anything so they don't chatter
05:38 AM rue_shop2: no on the big automated machines
05:38 AM Tom_L: oh
05:38 AM Tom_L: they're just really heavy
05:39 AM rue_mohr: hmm
05:39 AM Tom_L: once in a while you'd rub the edge with a stone slightly
05:43 AM rue_mohr: https://twitter.com/RueNahcMohr/status/1361276820604084227
05:43 AM rue_mohr: I'm finished playing for the night
05:43 AM rue_mohr: cant hard link the shafts on those
05:48 AM Tom_L: cutting barb fittings was by far the most chattering part
05:48 AM Tom_L: but there was a drill going in at the same time so that would somewhat help support it
05:49 AM rue_mohr: cool
05:49 AM Tom_L: what's the linear thing for?
05:50 AM rue_mohr: something to do
05:50 AM rue_mohr: I was curious if I could get the shafts to align right
05:50 AM rue_mohr: I turned the 6-32 down to 2mm at the end and did a hard coupler
05:51 AM rue_mohr: didn't work out as usual
05:51 AM rue_mohr: not sure how to make a really small flex coupler
05:51 AM rue_mohr: there are some spring tricks, not sure it would work out for that
05:52 AM rue_mohr: cant really print that, too small
05:53 AM rue_mohr: oh I did once have a double U joint
05:53 AM Tom_L: -9F
05:54 AM rue_mohr: but then I need an axial bearing for the thread
05:54 AM rue_mohr: meh
05:54 AM Tom_L: k, time to finish getting ready
05:55 AM rue_mohr: gnight, your shift
05:55 AM Tom_L: :)
12:28 PM Tom_itx is now known as Tom_L
02:55 PM KidHack__ is now known as PortaPot
03:03 PM rue_mohr: maybe the answer is to not care at the editor level if there is actually content there
03:03 PM rue_mohr: but to just issue the events to an engine
03:03 PM rue_mohr: it can decide whats what
03:04 PM rue_mohr: in which case, it all becomes a 2d character field
03:04 PM rue_mohr: the engine would track a virtual cursor position
03:05 PM rue_mohr: its kinda all just pushing it back a layer
03:05 PM rue_mohr: but it says that there is position storage in the engine
03:05 PM rue_mohr: of the virtual location
03:06 PM rue_mohr: and then what about markers?
03:06 PM rue_mohr: I still need a good way to access them for rendering
03:07 PM rue_mohr: darkrose, no housing listings since that work in any way, shape, or form?
03:11 PM rue_mohr: ClosetMoon, come by, I got the hearing tester going, I need a sweep of you too
03:11 PM rue_mohr: I did me
03:32 PM rue_mohr: it kinda splits into an event collector and a content modification engine
03:32 PM rue_mohr: but I have an issue with rendering
03:33 PM rue_mohr: especially if I'm handling things like tab characters that take multiple screen positions for 1 character, or linefeed combinations that are multiple characters per non-position
03:42 PM Tom_L: is the editor upset you keep changing it by itself?
03:42 PM rue_mohr: not yet
03:42 PM rue_mohr: I found a few bugs tho
03:42 PM Tom_L: is that how you will feel?
03:43 PM rue_mohr: heh
03:45 PM rue_mohr: polprog, what electronics projects you doing while your between courses?
04:40 PM polprog: heh, i was planning to finish the soundblaster hack
04:41 PM polprog: but im writing a post about the camera mod
05:02 PM rue_mohr: MoonyMoon, showkeys only works for the local keyboard
05:02 PM rue_mohr: ClosetMoon, ^
07:31 PM rue_mohr: https://tomverbeure.github.io/2021/02/15/Analog-Devices-Tutorials.html
07:34 PM MoonyMoon: oh thats a blow
07:34 PM MoonyMoon: rue_mohr: should I write a keyDump widget?
07:35 PM rue_mohr: hah sure
07:35 PM rue_mohr: pair down terminal.c
07:35 PM MoonyMoon: elaborate on terminal.c
07:35 PM rue_mohr: its got a state machine to give you the codes
07:35 PM rue_mohr: its part of that editor
07:36 PM MoonyMoon: oh, I just need to use your NoEnter :P
07:36 PM rue_mohr: its badly extracted
07:36 PM rue_mohr: hah, if you say so
07:37 PM rue_mohr: I kinda wonder what all keys do make it thru ok
07:37 PM rue_mohr: oh I didn't look for that rail
07:39 PM aandrew: hey I have a mechanical question
07:39 PM aandrew: I bought some 150mm M4 leadscrews and some M4 threaded brass standoffs
07:41 PM Tom_itx: no you can't stretch them
07:42 PM Tom_itx is now known as Tom_L
07:43 PM aandrew: haha
07:44 PM aandrew: the motors I'm using have 50mm M4 leadscrews. Both the motor leadscrew and the 150mm leadscrew seem pretty straight, yet when I couple them there is a significant bend to them
07:44 PM aandrew: the standoff threads on to either shaft without any binding or weirdness
07:45 PM aandrew: just wondering what the hell's causing that? I thought maybe it was one end or the toher that wasn't "flat" but the threds should be keeping them straight anyway
07:46 PM Tom_L: needham coupler
07:47 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/cnc/Mill_Steel/Couplers.jpg
07:47 PM Tom_L: one on the left is what you need to join them
07:47 PM Tom_L: or a rubber hose
07:50 PM rue_mohr: aandrew, exctly the issue with what I made last night
07:50 PM rue_mohr: the answer is to not try to use a ridgid coupler
07:50 PM rue_mohr: which sucks cause you were prolly gonna dual-duty the motor as a bearing
07:52 PM aandrew: Tom_L: those only work if the "far" end of the rod is also fixed, in my case it's just in the air
07:52 PM aandrew: I'm just wondering why they're doing that
07:52 PM aandrew: yeah this little gear motor has no bearings, if I'm lucky there'll be a tiny brass bushing on the end
07:53 PM aandrew: https://www.amazon.ca/gp/product/B07HJYXB4S is the motor I'm using in this case; I chopped the shaft down to about 15mm
07:54 PM aandrew: but even before I chopped it it did the crazy wobble
08:05 PM MoonyMoon: https://paste.debian.net/1185644/
08:10 PM aandrew: MoonyMoon: man you must love typing, or autocomplete
08:28 PM MoonyMoon: ?
08:29 PM Tom_L: FuckWithMoonyMoon(){ }
08:29 PM MoonyMoon: Oh, my function names XD
08:29 PM Tom_L: we had an asshole that used __ underscores for variable names
08:29 PM MoonyMoon: yeah I have a small kink for stuff like that.
08:30 PM MoonyMoon: I'm all about the CamelBack
08:30 PM MoonyMoon: but not spelling so much.
08:33 PM rue_shop1: you forgot to unfuck it
08:33 PM rue_shop1: today me and ma learned soething
08:34 PM rue_shop1: the position of her head makes a night and day difference to what she can hear
08:34 PM Tom_L: and he didn't write it in brainfuck
08:34 PM Tom_L: so
08:34 PM Tom_L: wtf?
08:34 PM rue_shop1: :)
08:35 PM Tom_L: she have a bad ear?
08:35 PM rue_shop1: two
08:35 PM Tom_L: one of mine is shot mostly
08:35 PM rue_shop1: but one cuts of when she moves her head or jaw
08:36 PM rue_shop1: which they didn't notice when they did her official hearing etst
08:37 PM rue_shop1: !!
08:38 PM Tom_L: everybody does their job halfass anymore
08:45 PM Tom_L: so maybe the box will depart tomorrow. you were right, it was a holiday and i forgot
09:01 PM rue_mohr: I didn't know who all it was a holiday for
09:03 PM Tom_L: well sun was valentines day and that was all i remembered
09:03 PM Tom_L: didn't affect me working except no mail
09:15 PM rue_mohr: I'm out of N.R.G
09:16 PM rue_mohr: which is prolly good, 4am on a work-morning would be a disaster
09:16 PM Tom_L: heh yeah
09:16 PM Tom_L: this cold soaks it outta me
09:16 PM aandrew: I'd have done struct termios tio; :-)
09:19 PM rue_mohr: A logical choice given all the examples
09:22 PM MoonyMoon: I have a habbit from writing code to teach myself and to 'try' to teach a young'n
09:23 PM MoonyMoon: int TheNumberYourWorkingWith;
09:23 PM MoonyMoon: XD
09:38 PM rue_mohr: so , if alt-0 -> alt-9 dont carry thru, I wonder what I should use for my quick-code keys
09:39 PM rue_mohr: dont know if I can just use F1 ....
09:39 PM Tom_L: what about ctrl
09:40 PM Tom_L: ctrl-z ctrl-c ctrl-v etc
09:40 PM rue_mohr: ponder this
09:40 PM rue_mohr: what quick-key should insert a for() loop?
09:40 PM Tom_L: traditional keys
09:40 PM rue_mohr: I use alt-4
09:40 PM rue_mohr: (not alt-f4, just alt-4)
09:41 PM Tom_L: mapable from a config file
09:41 PM rue_mohr: so far alt 0 is main(), 1 is if() 2 is else{} 3 is while() 4 is for() 5 is switch()
09:59 PM aandrew: so how come joining the two relatively straight threaded rods with a brass threaded spacer creates such a wobble at the joint?
10:00 PM Tom_L: key word is 'relatively'
10:00 PM Tom_L: either they are straight or they are 'junk'
10:01 PM Tom_L: and threaded rod isn't straight
10:01 PM Tom_L: it's typically a rolled thread
10:01 PM rue_mohr: na even if their bang on
10:02 PM rue_mohr: they would have to be precision honed and press fit and even then
10:02 PM rue_mohr: the thread of the lead screw isn't centered
10:02 PM rue_mohr: yea what tom said
10:02 PM rue_mohr: so, you need to do a thrust bearing and a flex joint
10:02 PM Tom_L: the really good ones are ground and about as straight as you can find
10:02 PM rue_mohr: aandrew, did you see that actuator I did ?
10:07 PM aandrew: no
10:08 PM aandrew: ah interesting, never thought about the thread not being centered
10:08 PM aandrew: and I know the rod isn't perfectly straight
10:08 PM rue_mohr: you dont have it set to newest tweets first do ya?
10:09 PM aandrew: it's set to newest yes, not the default "what twitter thinks you want to see"
10:09 PM rue_mohr: https://twitter.com/RueNahcMohr/status/1361219502218743808
10:09 PM rue_mohr: hmm
10:09 PM rue_mohr: well thats the thread
10:10 PM rue_mohr: https://twitter.com/RueNahcMohr/status/1361276820604084227 <-- it kinda works if you dont tighten the screws
10:11 PM aandrew: ah I see it now
10:11 PM aandrew: yeah that was my solution too -- screw the coupler on to the motor M4 leadscrew and then thread the "extension" in the other end but not all the way so they touch
10:12 PM rue_mohr: it doesn't work
10:12 PM aandrew: and then kind of tweak it for minimum wobble while the threadlocker is still wet
10:12 PM rue_mohr: nope
10:12 PM rue_mohr: that assumed there is a static position that works
10:12 PM rue_mohr: there isnt
10:13 PM rue_mohr: thrust bearing and a forgiving coupler is to try next
10:14 PM aandrew: for my application it works well enough
10:14 PM rue_mohr: I should have used a 6502 instead of a 556
10:14 PM rue_mohr: oh well
10:15 PM aandrew: but I see what you're saying. it looks like what you did was to put the threaded rod in the lathe, make it round and join them with a bit of plastic?
10:15 PM aandrew: fixed coupler, but with plastic
10:15 PM aandrew: er no, you made the fixed coupler in the lathe
10:16 PM rue_mohr: all lathe
10:16 PM rue_mohr: I took the 6-32 down to 2mm
10:16 PM rue_mohr: same as the motor
10:17 PM aandrew: ah ok
10:18 PM aandrew: it's probabl as close to perfect as you'd get
10:18 PM aandrew: although I'm still wondering why that can't work
10:19 PM aandrew: if you've turned it down so the 2mm part of the screw is centered and the motor is 2mm
10:19 PM aandrew: a fixed coupling should be pretty damn close
10:19 PM aandrew: someone said a collet would be your friend. interesting idea but not sure how that'd solve it
10:20 PM aandrew: in the pic with the motor, threaded rod and what looks like a smooth coupler (like my hex coupler but round instead of hex
10:21 PM aandrew: is the gray bar that slides in and out "riding" on that round threaded coupler as it slides in and out of the black hollow rectangle?
10:22 PM aandrew: that DC motor you have is pretty slow unless there's a planetary gear inside it
10:25 PM rue_mohr: kinda slow
10:25 PM rue_mohr: good torque
10:32 PM aandrew: hm, Rogers doesn't seem to have an option to activate a SIM on my existing shared data plan, but they have a $0/mo tablet they'll give me and that is $10/mo to add on, so I guess I got a new tablet
10:33 PM aandrew: https://theinformr.com/ca/tablets/zte-grand-x-view-4/ is the tablet
10:33 PM rue_mohr: sorry, phonecall
10:33 PM rue_mohr: catch up in a sec
10:33 PM rue_mohr: ack, ok
10:34 PM rue_mohr: the square stuff is gooseneck lamp rod
10:34 PM rue_mohr: the grey thing is 3d printed, square, with a hollow middle
10:34 PM rue_mohr: there is a threaded metal bit locked into the end of it
10:35 PM rue_mohr: but it all jams up cause there needs to be movement casue its not all straight/aligned enough
10:35 PM rue_mohr: and thats the best I can do on things
10:35 PM rue_mohr: so the design is wrong,
10:35 PM rue_mohr: has to be a thrust bearing and a two-peice coupler that will take up the misalignment
10:36 PM aandrew: I'm not sure i understand how a bearing will remove the slop
10:37 PM rue_mohr: it removed the misalignment fromt he motor
10:38 PM rue_mohr: the bearings will usually allow angular play
10:38 PM rue_mohr: could be a gearbox too, but to get any speed, direct drive is good
10:39 PM aandrew: yeah I originally (mistakenly) bought a 30rpm gearbox motor. then got a 100mm shaft 300rpm, then an 100mm 500rpm and now a 55mm 1000rpm which was cheaper and I was happy cutting the shaft down
10:40 PM rue_mohr: can I suggest a 100ppr motor and a 12-24 threaded rod?
10:40 PM rue_mohr: stepper
10:41 PM aandrew: I won't bother iwth a stepper for this
10:41 PM aandrew: and 12-24 I think is too big for lego
10:41 PM rue_mohr: oo
10:41 PM aandrew: M4 is already just a tad too big, M3 works much better
10:41 PM rue_mohr: hmm, 3d printed adapter?
10:42 PM aandrew: well if I'm going 3d route I'll just rid of the lego. For this specific project I think I'm happy, nd have a route to go (much) longer with the 150mm extension and brass smooth rod
10:42 PM rue_mohr: hmm
10:42 PM rue_mohr: so, whats the reason you have no lego threaded rod?
10:43 PM rue_mohr: wait, what IS lego threaded rod?
10:43 PM aandrew: I've never seen it, but did find some on brickowl
10:43 PM rue_mohr: "threaded axle"
10:45 PM rue_mohr: errr, its a but too deep right now
10:50 PM aandrew: https://youtu.be/HvsYecWLPYM is the "final" prototype unless I decide to extend it
10:51 PM aandrew: you can tell it things like "move <dest_mm>" or "range" or "read"
10:52 PM aandrew: it accepts commands but doesn't print "ready" until the card is in the requested position
10:56 PM rue_mohr: :)
11:48 PM rue_bed: tomorow I want to set up a default debian machine and test my new video card out on it