#garfield Logs
Mar 28 2025
#garfield Calendar
03:20 AM rifraf: rue i found a pcb with ESP8266 , was that a thing you been playin with for wifi?
03:34 AM rifraf: with an atmega328P and usb, looks like a cool little dev board
04:11 AM rifraf: ah yes chatty bunch today aren't we this evening, geez gonna fall asleep soon
04:20 AM rifraf: want my levitator dammit
04:22 AM rifraf: and tell ya wat, the new rat trap might look cool and all but has not caught him yet, gonna get old school trap tomorrow
04:23 AM rifraf: i reckon they know the rat poison smell, need simple cheese and peanut butter, irresistable
04:44 AM Tom_L: what control do they use on your router?
04:45 AM rifraf: windows software
04:47 AM Tom_L: my bud had a cnc with some windows control.. he got rid of it
04:47 AM rifraf: router generic cartisian, 1.5 x 3m moving gantry, 10 kw spindle w/ vacuum bed
04:47 AM Tom_L: my kid was running some 6 axis with 174kw spindles
04:47 AM Tom_L: now he's programming em
04:47 AM rifraf: yep nice
04:48 AM Tom_L: http://tom-itx.no-ip.biz:443/~webpage/cnc/cincinnati/Cincinnati_1.jpg
04:48 AM Tom_L: he ran those for a while
04:48 AM Tom_L: 2 3 head gantry per bed
04:49 AM rifraf: you taught him well i guess
04:49 AM Tom_L: http://tom-itx.no-ip.biz:443/~webpage/cnc/cincinnati/Cincinnati_7.jpg
04:50 AM Tom_L: i pointed in a direction was all
04:51 AM rifraf: same concept as we all do, bigger sheets to wreck
04:51 AM Tom_L: yep
04:52 AM Tom_L: those beds are 180' long
04:52 AM rifraf: yep pretty impressive size
04:53 AM Tom_L: he did alot of wing parts for planes
07:31 AM rue_mohr: rifraf, yea, the esp8266 is a wifi chip
07:33 AM rue_mohr: we had some crazy rain here yesterday, see what today is like
01:36 PM rifraf: nearly 200mm of rain in last 24 hours now
01:39 PM aandrew: wow... you're a little waterlogged I take it
01:39 PM rifraf: won't be working outside today thats for sure
01:39 PM aandrew: I know you're not exactly close to .my but did you feel the 7.7 quake?
01:40 PM rifraf: didn't feel anything, think it was up in thailand?
01:40 PM aandrew: yeah I think myanmar specifically. I'm geographically stupid but do know you're closer than I am :-)
01:41 PM rifraf: yep, 8200km from here
01:46 PM aandrew: yeah that's a little far. 13300km for me
01:48 PM Tom_L: mud boggin'
05:16 PM aandrew: wow that was a weird one
05:17 PM aandrew: this printer was reporting a bed temp sensor error, no biggie, a bit of a pain in the ass to change out because it's an aluminum clad PCB but I did it with enough heat
05:18 PM aandrew: still erroring, weird... open the printer up (pain in the ass) and look at where the sensor cable connects... looks fine, measures 100k at the pins, so hopefully not a PCB issue
05:18 PM aandrew: put a 100k resistor across the pins, error goes away, connect the cable, error
05:18 PM aandrew: meter again measures both the same so wtf
05:18 PM aandrew: maybe the connector spring leaf thing inside is loose, pull it apart, spread it out, nope same issue
05:19 PM aandrew: pull the bed off again, measure again, it's fine
05:19 PM aandrew: then I measure from either NTC pin to ajacent pins (for the heater traces)... not infinite... hm ok, maybe some crap or something bridging and throwing it off
05:21 PM aandrew: clean it, still funky. looks clean now, maybe there's crap under the plastic of the connector on the heater bed PCB
05:21 PM aandrew: pulled that off real careful like and cleaned the shit out of that... NOW it's reading right
05:21 PM aandrew: never came across that before
05:21 PM aandrew: guess they never cleaned the PCB and the flux/etc just kind of gummed up over time and heat
06:21 PM rue_mohr: so, I want to try to get basic on a z80
06:24 PM Tom_L: zw basic
06:24 PM rue_mohr: BBC
06:25 PM Tom_L: what's the british broadcasting co have to do with it??
06:25 PM rue_mohr: they do lots of free stuffs
06:25 PM Tom_L: are you good with python?
06:25 PM rue_mohr: try me
06:27 PM Tom_L: line 185, in indicator
06:27 PM Tom_L: self.power_pb.setEnabled(True)
06:27 PM Tom_L: RuntimeError: wrapped C/C++ object of type QPushButton has been deleted
06:27 PM Tom_L: https://github.com/jethornton/Indicator
06:28 PM Tom_L: indicator.py
06:28 PM rue_mohr: oh no, QT
06:28 PM Tom_L: :)
06:29 PM Tom_L: i tried printing self.power_pb.isEnabled() and it is not there
06:29 PM rue_mohr: just what it said, QT no longer supports that call
06:29 PM rue_mohr: they might have renamed the object, or the method
06:29 PM rue_mohr: or just dropped support for it all together
06:29 PM Tom_L: QPushbutton?
06:29 PM Tom_L: it PyQt6
06:30 PM rue_mohr: I hate QT for a reason
06:30 PM rue_mohr: this I cant help ya with
06:30 PM rue_mohr: :(
06:30 PM Tom_L: he scans the buttons at the top
06:31 PM Tom_L: 128: self.power_pb.setEnabled(False)
06:31 PM Tom_L: but you get further down and it disappears
06:36 PM rue_mohr: are you adding a button?
06:37 PM Tom_L: no
06:37 PM rue_mohr: your rewriting it for a new QT version?
06:37 PM Tom_L: http://tom-itx.no-ip.biz:443/~webpage/cnc/JT-SHOP/flexgui/indicator-2025-03-28_13.09.18.mkv
06:37 PM Tom_L: that's what it's supposed to do but it's also supposed to enable the power button
06:38 PM Tom_L: no this is new code in pyqt6
06:38 PM Tom_L: for the gui we're working on
06:39 PM rue_mohr: yea, sorry, QT, <--- 10m stick ----> me
06:40 PM Tom_L: we'll figure it out
06:40 PM Tom_L: it's pretty cool when it works
06:41 PM rue_mohr: by the time you figure it out, QT7 will be out, and you will have to rewrite everything
06:41 PM rue_mohr: yea, sorry, QT, <--- 10m stick ----> me
06:42 PM Tom_L: naw
06:42 PM rue_mohr: yea, librecad has the same issue
06:43 PM Tom_L: this is just uncharted territory for us
06:43 PM Tom_L: we've gotten past everything else
06:43 PM rue_mohr: they went and used QT, and versions of QT are NOT compatible, not even close, they like to do things like re-use the same function name for something completely different with different arguments
06:43 PM rue_mohr: or change the argument order to a function
06:43 PM rue_mohr: or add/remove arguments between versions
06:43 PM Tom_L: pyvcp is the same way
06:43 PM rue_mohr: or drop support for basic elements
06:43 PM rue_mohr: QT, <--- 10m stick ----> me
06:44 PM Tom_L: but you like a challenge
06:44 PM rue_mohr: I like a challange when its worth something, not when its disposable
06:44 PM rue_mohr: anything written in QT is garbage in about a year
07:12 PM aandrew: sigh... now why the hell will cura not load a model. no error, justn ever puts it on the screen and if I try to load it again or load another it just says "can't load when already loading, aborting"
07:12 PM aandrew: software is just pissing me off today
07:13 PM aandrew: oh there it goes
07:13 PM aandrew: and some of my aliexpress stuff just got delivered
07:14 PM rue_mohr: oh I need to order a new meter
07:14 PM rue_mohr: I think the bastards are somehow canceling shipments in the middle if they are refunded
07:14 PM rue_mohr: aandrew, did it come with a fee?
07:15 PM aandrew: ugggggggggghhhh
07:15 PM aandrew: it homed, spat out a bit of filament (priming) then sits there and the cura screen is just showing the print time scrolling super fast
07:16 PM rue_mohr: you got this one free?
07:16 PM rue_mohr: is it spooling to an SD card?
07:16 PM rue_mohr: maybe it needs marlin
07:16 PM rue_mohr: and to lose the screen
07:17 PM aandrew: no, I am suspecting long usb cable issues
07:17 PM aandrew: which I was already concerned about
07:18 PM aandrew: hm, removed one hub, it's at temp but not doing anything
07:18 PM rue_mohr: send it G00 X10 Y10 Z10
07:18 PM rue_mohr: see what it does
07:19 PM aandrew: nope there it goes again, super fast time countdown
07:19 PM aandrew: but no usb weirdness
07:19 PM aandrew: gonna remove all the other USB serial ports and see
07:20 PM aandrew: it's accepting gcode
07:20 PM aandrew: it's using 250kbaud which is odd but ok
07:23 PM aandrew: yep just out of th eblue it will do the home, then wait and ait, then turbo downdown
07:23 PM aandrew: no errors in the logs, nothing in dmesg
07:23 PM aandrew: I wonder if I can tell cura to not be so smart about baud rate
07:24 PM rue_mohr: connect a serial console send it a ?
07:24 PM Tom_L: i got it narrowed down to one def
07:24 PM rue_mohr: "?"
07:24 PM rue_mohr: Tom_L, DEF ATVER 6
07:24 PM rue_mohr: Tom_L, DEF QTVER 6
07:30 PM aandrew: it screws up the exact same way on osx (same cable)
07:30 PM rue_mohr: dont connect a serial terminal and send the character '?'
07:30 PM rue_mohr: momatter what you do
07:30 PM aandrew: oh?
07:48 PM aandrew: trying with windows now and a shorter cable
07:49 PM rue_mohr: I'm laughing, I wonder how long before you know, for sure, what the
07:49 PM rue_mohr: directory is that I put my ISAZ80 code in
07:50 PM rue_mohr: cause I'm not sure if I ever got the uart working
07:50 PM aandrew: my son has a friend at school named izzy, izz80 sounds like a cool program name
07:54 PM aandrew: hm, windows, short usb cable, it's at temp but nothing yet
07:54 PM aandrew: oh, it claims it's done
07:54 PM aandrew: it didn't print anything
07:57 PM rue_mohr: but it correctly set the head, waited for it, and turned it back off?
07:57 PM aandrew: yep
07:57 PM aandrew: I am going to update the firmware to the latest marlin for this board
07:57 PM rue_mohr: a mm is so much smaller than an inch
07:58 PM aandrew: something's screwy and at least with OSS firmware I can get more visibility
07:59 PM aandrew: yep picked a regular old calibration cube stl and it did the same... heated up, homed, then hangs like it's waiting for something
07:59 PM aandrew: maybe fan speed?
07:59 PM rue_mohr: oooo
07:59 PM rue_mohr: I should put a coffeetable infront of the counch on the deck
08:01 PM aandrew: same thing... turbo countdown
08:01 PM aandrew: something is weird
08:01 PM aandrew: time for pizza
08:12 PM aandrew: ok, so I think *all* my aliexpress stuff came in one combined package
08:13 PM aandrew: close... everything but one thing
08:14 PM aandrew: no different than any other time, no "you gotta pay duties" or anything
08:15 PM aandrew: hm, general consensus is that if cura stops during the print, then starts to count down rapidly it's a sign of USB comm errors
08:15 PM aandrew: but I've tried three different computers and two different USB cables
08:15 PM aandrew: I'll try new firmware next
08:15 PM aandrew: now it's time for food
08:46 PM rue_mohr: I have to re-controller one of the pritners
08:46 PM rue_mohr: its got a cursed short in a driver or something
08:47 PM rue_mohr: somewhat intermittently blows up
09:07 PM rue_mohr: oh
09:07 PM rue_mohr: ooops,
09:07 PM rue_mohr: I got the high and low nibbles mixed up for the baud format
09:07 PM rue_mohr: naybe thats why my old code didn't work
09:10 PM Tom_L: lifo fifo fee fi fo fum..
09:12 PM rue_mohr: :2001000031FFFF01FB031680ED51AF01F903ED793C0BED7901FB031603ED5101FD03ED7862
09:12 PM rue_mohr: :1D012000CB6F28F73E5501F803ED79C31B01C32E0148656C6C6F20776F726C642E39
09:12 PM rue_mohr: *burp*
09:12 PM Tom_L: *hickup*
09:12 PM rue_mohr: ok, that should work
09:12 PM rue_mohr: I wish I didn't ahve to lock my shop, I'd go out there more
09:12 PM Tom_L: narrowed the error to a line
09:12 PM Tom_L: why?
09:12 PM rue_mohr: I narrowed mine to 2 digits
09:12 PM rue_mohr: casue ma comes and takes things
09:13 PM Tom_L: oh
09:13 PM rue_mohr: I watched her on video
09:13 PM Tom_L: a thief among us
09:13 PM rue_mohr: she's not being malicious
09:13 PM rue_mohr: she just does an "oh, thats what I need!"
09:13 PM Tom_L: i have relatives that borrow and never return
09:13 PM rue_mohr: sometimes wanders around trying to find a solution to ????
09:13 PM Tom_L: i don't loan much out anymore
09:13 PM rue_mohr: yea
09:14 PM Tom_L: years back i loaned out my mower to get it back needing a new engine
09:14 PM rue_mohr: its sad to have to be like that
09:14 PM rue_mohr: ugh
09:14 PM Tom_L: hit a post
09:14 PM Tom_L: wasn't a cheap mower either
09:14 PM rue_mohr: doesn't that usually just sheer the flywheel key?
09:14 PM Tom_L: but i've had it now for over 35 yrs and it's still going
09:15 PM Tom_L: bent the shaft
09:15 PM rue_mohr: oof
09:15 PM Tom_L: i'm of the opinion to buy it once and be done
09:15 PM rue_mohr: was it a "here's your mower back" or "crap I think I killed it, I'm so sorry"
09:15 PM Tom_L: cheaper in the end
09:16 PM rue_mohr: I pick up free mowers on the side of the street, fix 'em up and run 'em to death
09:16 PM Tom_L: i checked last summer and i can't get an engine for it anymore
09:16 PM Tom_L: not that i need one
09:16 PM rue_mohr: USUALLY they just need the water purged from the tank and a carb cleanout
09:18 PM Tom_L: i've got irc working on the phone now but dunno how reliable it will be
09:18 PM Tom_L: and ssh
09:18 PM rue_mohr: ok
09:19 PM Tom_L: may or may not have interweb available
09:19 PM rue_mohr: trying to make sure you can say "thanks for the fish" if your last words are due?
09:20 PM rue_mohr: ...my life is just a set of specific obscure cultural references...
09:20 PM rue_mohr: It would be appreciated if I knew you were alive
09:20 PM Tom_L: checking... it will accept voice commands too
09:20 PM Tom_L: meh
09:21 PM Tom_Cell: I'm alive
09:21 PM rue_mohr: :]
09:21 PM rue_mohr: ok I want to go try my z80 serial code
09:23 PM Tom_L: she gets mad because google usually gets my voice right but hardly ever hers
09:24 PM Tom_L: i can talk a whole paragraph and it will get 95% right
09:24 PM Tom_L: i hate typing on a phone
10:26 PM rue_shop3: on a z80 how do you know if HL is 0?
10:31 PM rue_shop3: ok, I have written an awesomely optimized delay routine
10:31 PM rue_shop3: delay:
10:31 PM rue_shop3: dec hl
10:31 PM rue_shop3: inc l
10:31 PM rue_shop3: dec l
10:31 PM rue_shop3: jr NZ,delay
10:32 PM rue_shop3: inc h
10:32 PM rue_shop3: dec h
10:32 PM rue_shop3: jr NZ,delay
10:32 PM rue_shop3: ret
10:32 PM rue_shop3: share with everyone
10:32 PM aandrew: ahem good sir
10:32 PM aandrew: that is not basi
10:32 PM rue_shop3: :]
10:32 PM aandrew: basic
10:32 PM rue_shop3: hahahah
10:32 PM rue_shop3: the dec hl doesn't set flags, wtf eh?
10:34 PM aandrew: it won't manipulate zero or borrow?
10:34 PM rue_shop3: nope
10:34 PM rue_shop3: and I cant do any sort of other test without putting the H or l value in a
10:34 PM rue_shop3: and I didn't want to modify a
10:38 PM rue_shop3: 0xFFFF is about .25 seconds
10:46 PM aandrew: is it just hl that is weird or any dec (and does inc set flags?0
10:47 PM rue_shop3: 16 bit inc/dec do not affect flags
10:47 PM aandrew: so you have to use add/sub
10:47 PM rue_shop3: if I use any other instruction to do anything to them, it doesn't set the flags
10:48 PM rue_shop3: inc/dec is my fastest way to test for 0
10:48 PM rue_shop3: pop, ld, none of them set flags
10:48 PM aandrew: ... but you just said they don't adjust flags
10:48 PM rue_shop3: 16 bit wont
10:48 PM rue_shop3: 8 bit will
10:48 PM aandrew: that's really ... yuck
10:49 PM rue_shop3: hah, yea wt
10:49 PM rue_shop3: f
10:49 PM aandrew: I wonder if that was a silicon bug that they had to maintain
10:49 PM rue_shop3: na
10:49 PM rue_shop3: they had different ideas about how it would all work
10:49 PM rue_shop3: and speed wasn't their main goal
10:49 PM rue_shop3: old processors were about performing a task, but not doing it lightnign fast
10:55 PM rue_shop3: ok, code refactoring is going well
11:07 PM rue_shop3: oh, the return statement would be needed there...
11:08 PM rue_shop3: :(
11:11 PM rue_shop3: cool
11:11 PM rue_shop3: I fixed 4 bugs I didn't know I had to find the bug I was going for
11:12 PM rue_shop3: eek
11:13 PM rue_shop3: minicom uses ctrl-a c to clear the screen
11:13 PM rue_shop3: this is not a good sequence to do in your editor
11:13 PM rue_shop3: it has a similar effect tho