#garfield Logs

Jul 02 2025

#garfield Calendar

01:06 PM aandrew: https://pastebin.com/WaptERFA
01:22 PM aandrew: slimmer, cleaner, more robust
01:22 PM aandrew: had a couple of little gotchas in the older code but they're gone now. Sets up a last will as well that I use to set the boot flag to zero, and also now has a "list of my devices" publish under housemon/ip/<hostname> so I can more readily track that stuff
01:38 PM rue_mohr: mmm monring
03:11 PM MoonyMoon: rue_mohr BOINK
03:18 PM rue_mohr: hey
03:18 PM MoonyMoon: how's it?
03:19 PM rue_mohr: there is a seies of cores i dint test
03:19 PM MoonyMoon: oh? Does that bring you joy, or distain?
03:19 PM rue_mohr: I'm going to test 2 or 3 and then change that master clutch cyl
03:19 PM rue_mohr: I'm curious
03:19 PM MoonyMoon: Why, when you will just pluck the engine?
03:20 PM rue_mohr: about the cores, I'm not sure if their high loss or not
03:20 PM rue_mohr: turn the truck around, point it downhill
03:20 PM MoonyMoon: Right..
03:20 PM rue_mohr: hard enough to get that out without it being pointed uphill
03:20 PM MoonyMoon: You will give me that truck when you are done right?
03:20 PM rue_mohr: but you cant keep it here
03:20 PM MoonyMoon: Understood.
03:20 PM rue_mohr: take it anywhere but my yard
03:21 PM MoonyMoon: :3
03:21 PM MoonyMoon: yup
03:21 PM rue_mohr: I'll get the guy taking the steering part to leave the old one in
03:21 PM MoonyMoon: okay.
03:21 PM rue_mohr: your going to need to start a wrecker yard at this rate eh?
03:21 PM MoonyMoon: NOOOOOOOOOOOOOOOOOO!
03:22 PM rue_mohr: ugh, ok, shower, cores, clutch
03:22 PM MoonyMoon: okay, switching terminals back to my code.
05:25 PM polprog: https://streamable.com/2pwmtc
05:26 PM polprog: the heater controller, now arduino controlled
05:26 PM polprog: >expires in 2 days
05:26 PM polprog: what the fuck is this shit
05:26 PM rue_mohr: long ferrite breads, the shiny ones are dual permeability and the matt ones are distributed gap
05:27 PM polprog: https://www.youtube.com/watch?v=njXNHngVPac
05:27 PM rue_mohr: nobody needs a prn video for longer thant hat
05:27 PM polprog: Its neat because i can do SET:TIME=1000 SET:FF=50
05:27 PM polprog: [20:17]
05:27 PM rue_mohr: forgot the feedback...
05:28 PM polprog: ported the SCPI parser to it
05:28 PM polprog: just needed to swap char* to C++ strings in one place
05:28 PM rue_mohr: hmm
05:28 PM polprog: because Arduino
05:28 PM polprog: so now i use these two SCPI commands to set the time and pwm ratio
05:28 PM rue_mohr: pwm with a current sense, fancy
05:28 PM polprog: then i send a *TRG
05:28 PM polprog: and it works
05:28 PM rue_mohr: what are you controlling the temp of?
05:29 PM polprog: right now there is no sensing. i would need to attach the PT100 and program it to keep a given temp
05:29 PM polprog: but NiTi wire changes the phase when it's done re-forming, so the resistance jumps
05:29 PM rue_mohr: ...there is a sensor attached...
05:29 PM polprog: its dangling in the air
05:29 PM rue_mohr: yea
05:30 PM rue_mohr: is that muscle wire?
05:30 PM polprog: the board can measure the current and voltage across the load, and integrate it
05:30 PM polprog: yeah, its for the muscle wires
05:30 PM polprog: so the idea is
05:30 PM rue_mohr: lot of work for 1 muscle...
05:30 PM polprog: we heat the muscle wire until it's resistance changes - tahts when it's done
05:30 PM rue_mohr: hmm
05:30 PM polprog: the wire is thin (0.5mm), so we cant find a temp sensor small enough to not add thermal load to it
05:31 PM polprog: thats why the resistance measurement is better
05:31 PM rue_mohr: use a sample thats not part of the muscle
05:31 PM polprog: i dont care about the wire temp, all icare is when it's done changing the material phase
05:31 PM rue_mohr: ah
05:31 PM polprog: i need to solder the capacitors to the opamp circuit so it integrates the current and voltage readings
05:31 PM rue_mohr: mm
05:32 PM rue_mohr: not software integration?
05:32 PM polprog: no, Arduino is too slow for that
05:32 PM rue_mohr: a += reading;
05:32 PM polprog: i dont trust it
05:32 PM rue_mohr: ah
05:32 PM polprog: besides, that would need to be faster than I do the (software) PWM
05:32 PM rue_mohr: I'm going to go try to change a master cylinder in a truck clutch
05:32 PM polprog: id rather have the integrator in hardware
05:32 PM polprog: good luck
05:32 PM rue_mohr: thanks
05:33 PM polprog: when i bought my first car the clutch broke on my way home :D
05:33 PM polprog: it's also a pneumatic system
07:00 PM rue_mohr: well the master I found doesn't fit, so screw it, I'll get a towtruck to move it around for me
07:00 PM rue_mohr: ARG