#linuxcnc Logs
Mar 04 2024
#linuxcnc Calendar
12:50 AM Deejay: moin
02:57 AM -!- #linuxcnc mode set to +v by ChanServ
02:57 AM -!- #linuxcnc mode set to +v by ChanServ
04:12 AM Tom_L: morning
04:26 AM TurBoss: Good morning
04:38 AM Guts71: Can I use linuxcnc under debian with wsl of windows 10
04:50 AM JT-Cave: morning
05:53 AM Guts71: can we use classic linux and linuxcnc on debian?
06:09 AM jpa-: Guts71: you can get linuxcnc to start under WSL, but the realtime part will not work
06:09 AM jpa-: so it can be ok for testing out something, but it won't be useful for actually controlling machines
06:53 AM Guts71: jpa- can we use linux and linuxcnc on debian, like both at the same time, or do we have to choose one ?
06:58 AM jpa-: Guts71: yes, linuxcnc system is usable as normal linux system
06:58 AM jpa-: the realtime stuff takes priority automatically so you can even use other programs while linuxcnc is doing machine control
07:02 AM Guts71: jpa- and can we program algorithms to create small HMIs specific to our projects?
07:03 AM jpa-: yes, the GUI can be customized in many ways
07:04 AM Guts71: Even in linuxcnc !
07:05 AM jpa-: it's pretty common to add custom side panels and tabs, e.g. this is what i have done: https://user-images.githubusercontent.com/922265/192029365-458820f8-3e23-4b2e-b2e3-71e25cdb66d8.png
07:06 AM jpa-: hardest part is picking what GUI system to use.. there is a bunch https://linuxcnc.org/docs/html/user/user-intro.html#sec:graphical-user-interfaces
07:14 AM JT-Cave: https://www.qtpyvcp.com/showcase/mill_vcps.html
07:14 AM JT-Cave: https://gnipsel.com/linuxcnc/flexgui/index.html
07:15 AM JT-Cave: a couple more gui's
07:40 AM Guts71: To do this gui's, program it in what programming language ?
07:40 AM JT-Cave: the two I linked are python
07:43 AM JT-Cave: the gui's are just a bridge between you and the motion controller
07:45 AM Guts71: I want to have a single motor tested, like I will only use a single motor to visualize its characteristics only, see its response in real time
07:46 AM Guts71: Thats all what i want
08:21 AM jpa-: Guts71: if you are just testing motor response, i'm not sure if you actually even need linuxcnc - though it will surely work
08:45 AM skunkworks: Guts71: I have used linuxcnc to show the trajectory planning/acc/vel of other systems - like mach3/4
08:49 AM skunkworks: https://www.youtube.com/watch?v=HfU4uyGgLZw
08:50 AM skunkworks: wow - 10 years ago
11:02 AM roycroft: i've been trying out opera as my web browser for a couple days, and i'm pretty happy with it so far
11:02 AM roycroft: i used it 20ish years ago as my regular browser, but stopped when plugin/extension support mostly went away
11:03 AM roycroft: it's pretty well-supported now, and works better than safari and looks better than firefox
11:04 AM Roguish: roycroft, look into Brave browser... I use it a bit. particularly when I want to be private
11:05 AM Roguish: no matter what browser is used, all need to get front screen customized 'cause they all just spit ads at ya
11:07 AM roycroft: i've loaded two ad blockers in opera, and so far things are fairly calm
11:07 AM * skunkworks has never used any ad blockers..
11:08 AM skunkworks: I seem to be very good at ignoring things.. (probably why I am divorced)
11:09 AM roycroft: it's the youtube ads that are the worst
11:10 AM roycroft: and i can't install an ad blocker on my televisions, where i often like to watch youtube videos
11:10 AM roycroft: whenever i have time i download the video first and load it in my media server
11:10 AM Roguish: roycroft, I use Brave for Youtube. it has build in adblocker for youtube. check it out
11:10 AM roycroft: it won't run on my tvs
11:10 AM roycroft: that's the issue
11:11 AM roycroft: and my main tv, the one in the living room, is old enough that i can't stream from a laptop to it
11:11 AM roycroft: when next i replace it, which i hope isn't for a few years yet, i'll get one that can take a stream from a laptop - then i can use an ad blocker for youtube on the laptop
11:34 AM lcnc-relay: <malcomatic> Have you tried running Adguard on your network? Easy to deploy on a Raspi if you can get one or just an old machine (or in a container). Does DNS level blocking. It'll block TV ads, but no guarantees
11:34 AM lcnc-relay: <malcomatic> it won't break some functionality in the process.
12:18 PM lcnc-relay: <skunkworks8841> There are many many times someone has had me look at a certain website that totally doesn't work with adblock installed..
12:18 PM XXCoder: I also use noscript
12:19 PM XXCoder: would need to enable something most times but its handy on blocking quite a lot. along with ublock
12:30 PM Unterhaus_ is now known as Unterhausen
12:36 PM Unterhausen: I guess I need to learn about smd resistors for some reason
12:40 PM Unterhausen: If I have a pull up resistor and I want to pull it down to a lower voltage level with my transistor, I actually need a bigger pullup resistor, right
12:43 PM XXCoder: that reminded me of that time I read something with error "it has billions of ohm power!"
12:43 PM XXCoder: somehow
12:45 PM Unterhausen: I'm fighting the ohm power
12:45 PM Unterhausen: in this case the man isn't keeping me down, he's keeping me up
12:46 PM Unterhausen: Sometimes the 'I' in V=IR is for "injustice"
12:46 PM XXCoder: lol
12:47 PM Unterhausen: feeding a 3.3v logic input with .94v, and for whatever reason it doesn't trigger. Probably because that's to many volts
12:47 PM Unterhausen: also, too many volts
12:49 PM lcnc-relay: <zincboy_ca_on> .94V on a 3.3 logic input would be fine with a standard input but would be right around the VIL threshold for a schmitt trigger input. The question is why your transistor is only pulling down to .94v
12:49 PM lcnc-relay: <zincboy_ca_on> ? Your pull-up is to 3.3V, correct?
01:08 PM Unterhausen: yes
01:08 PM Unterhausen: I looked up the voltage on the microcontroller, and they say .8v
01:09 PM Unterhausen: thinking about adding logic, the signal comes from a phototransistor
01:09 PM Unterhausen: it's a low-rent single channel encoder
01:09 PM lcnc-relay: <zincboy_ca_on> Yes, so it is a schmitt style input. What is your pull up resistor value? What are you using for a pull down transistor? BJT, FET?
01:10 PM Unterhausen: it's drawn as a bjt
01:10 PM Unterhausen: .4v saturated
01:11 PM lcnc-relay: <zincboy_ca_on> Optical encoder? Drive the LED a bit harder if you can.
01:11 PM Unterhausen: I think maybe there is too much reflected light on the black part of the encoder wheel
01:11 PM Unterhausen: I was thinking about lowering the value of the dropping resistor for the led
01:11 PM Unterhausen: haven't looked up the ratings yet
01:12 PM Unterhausen: Also thinking about putting a paper wheel on there to replace the one that looks like it has been in a microwave
01:12 PM lcnc-relay: <zincboy_ca_on> If it is reflection than increasing LED power won't help. You might need to add a comparator before the micro to clean up the signal.
01:13 PM Unterhausen: I was thinking of a comparator.
01:13 PM Unterhausen: circuit is tiny though
01:14 PM Unterhausen: have to see if there is room, the encoder is inside the windings of a brake mostor
01:15 PM lcnc-relay: <zincboy_ca_on> The comparator doesn't need to be located next to the encoder.
01:22 PM Unterhausen: on further reflection, there is probably room
01:22 PM Unterhausen: can you recommend a part #?
01:23 PM lcnc-relay: <zincboy_ca_on> What frequency do you expect to see on the encoder output?
01:26 PM Unterhausen: 1khz seems possibly a little high
01:32 PM lcnc-relay: <zincboy_ca_on> Something like the MCP6541 would work fine for that application. Pretty much any comparator would at that low a frequency.
01:35 PM Unterhausen: I was looking at a LMV331IDBVR
01:35 PM Unterhausen: yours looks better
01:36 PM lcnc-relay: <zincboy_ca_on> That one is open collector output, the MCP6541 is push-pull so you don't need a pull-up resistor.
01:36 PM lcnc-relay: <zincboy_ca_on> It would work fine though
01:43 PM Tom_L: JT-Cave, i found a handfull of widgets in the source that aren't in the docs
01:45 PM Unterhausen: I must be old, I can't see how to save a cart on digikey
01:47 PM Unterhausen: google says they have a lot of problems with this. Got spoiled by mcmaster, they remember your cart for years
01:49 PM Unterhausen: at least I can save it as a spreadsheet, welcome to 1999
01:58 PM Tom_L: paper & pencil were more reliable
02:11 PM lcnc-relay: <skunkworks8841> Get off my lawn!
02:21 PM JT-Cave: Tom_L, which ones?
02:21 PM Tom_L: at least i couldn't find them... i'll check here in a bit.. working in winders a bit atm
02:25 PM JT-Cave: ok
02:27 PM -!- #linuxcnc mode set to +v by ChanServ
02:27 PM Tom_dev: jog_modes_cb
02:27 PM Tom_dev: jog_vel_s
02:27 PM Tom_dev: jog_plus_pb_n
02:27 PM Tom_dev: jog_minus_pb_n
02:27 PM Tom_dev: mdi_history_lw
02:28 PM Tom_dev: some may not be included purposely.. dunno
02:29 PM Tom_dev: _s is a slider
02:37 PM Tom_dev: numberpad_pb
02:38 PM Tom_dev: gcode_pad_pb
02:39 PM Tom_dev: clear_mdi_history_pb
02:44 PM JT-Cave: just uploaded the docs again...
03:22 PM Roguish: JT-Cave, ok, put a VM of debian on my main computer so I can play with programming.
03:32 PM Roguish: and some Lnayrd Skynyrd on the box
03:46 PM Tom_L: ccr
03:47 PM Roguish: They're good tooo
03:58 PM lcnc-relay: <zincboy_ca_on> Just got my 5th axis running: https://imgur.com/2NnPydt Working pretty well so far but I haven't got the hydraulic brake tested out yet, waiting on the valve.
03:58 PM Tom_L: nice
03:58 PM Tom_L: you build it?
03:59 PM roycroft: i saw skynard in concert once, before the plane crash
04:00 PM roycroft: that was a weird show - one of those '70s megaconcerts
04:00 PM lcnc-relay: <zincboy_ca_on> Yup. The main reducer is a surplus Sumitomo FineCyclo 89:1 unit.
04:00 PM roycroft: it was at an outdoor venue - a horse race track, and lineup was: gary wright, peter frampton, yes, and leonard skynard, in that order
04:00 PM roycroft: skynard seemed the really odd band out there
04:01 PM roycroft: an i wasn't a big fan of them, but they put on a good show, i must say
04:11 PM Roguish: roycroft, you're lucky...
04:14 PM JT-Woodshop: Roguish, what is the first thing you're going to program?
04:15 PM Roguish: well, gonna play with your flex, a bit
04:15 PM Roguish: then gonna try some zigbee2MQTT
04:16 PM Roguish: just installed zigbee2MQTT and plugged in my zigbee sniffer dongle. debian actually found it
04:17 PM Roguish: JT-Woodshop, ok,, i installed your .2 deb
04:18 PM Roguish: put it in the axis display. started linuxcnc and just a blank window with 'file' on it
04:18 PM Tom_L: there's one in examples
04:18 PM Roguish: do I gotta actually make my own gui?
04:18 PM Tom_L: :)
04:18 PM Tom_L: that's the whole idea
04:19 PM Roguish: ahhhhh. i'm too lazy
04:19 PM Roguish: i trust you guys to do it right
04:22 PM Tom_L: he's doin all the work
04:25 PM Roguish: ok, just cloned the git
04:25 PM Tom_L: you may have seen it already
04:25 PM Tom_L: the status thing
04:25 PM lcnc-relay: <JT (@jt-shop:matrix.org)> https://matrix.org/_matrix/media/v1/download/matrix.org/ahmfpEcUTOHnuleAsEnYzBPs
04:26 PM Tom_L: some assembly required
04:26 PM Roguish: pretty freaking fancy mailbox post....
04:26 PM Roguish: mines just a 6x6 with a mailbox sittin on top
04:30 PM lcnc-relay: <JT (@jt-shop:matrix.org)> https://matrix.org/_matrix/media/v1/download/matrix.org/sCusroRRHLhqzqrGhuRpgzQd
04:30 PM JT-Woodshop: one more mortise to go
04:44 PM roycroft: i ordered a set of left hand drills off ebay
04:44 PM roycroft: i got them from drill hog, whose products i've always been happy with
04:45 PM roycroft: they were going for $29.99, but they went on sale for $28.49, so i made an offer of $22.50 and they accepted
04:45 PM XXCoder: trying to extract that bolt by those drill?
04:45 PM roycroft: my experience is that they always accept offers about 25% off regular price
04:45 PM roycroft: yeah, i'm going to try to drill it out first
04:46 PM roycroft: maybe even salvage the threaded hole
04:46 PM roycroft: i got a fractional set in 1/64" increments up to 1/4"
04:46 PM roycroft: i should have gotten a set of left hand drills years ago - i tend to buy them a single drill at a time when i need it
04:46 PM XXCoder: probably can chase the threads to remove damage and it would still function
04:46 PM roycroft: yes, it's just an adjuster
04:47 PM roycroft: it's not like it has to have any real strength
04:47 PM XXCoder: yeah
04:47 PM roycroft: the drills shipped out of norcal today
04:47 PM roycroft: they should be here in a couple days, unless the passes are still snowed up
04:50 PM roycroft: fortunately the screw has a hex socket head, so it should be easy to get a drill started in it
04:53 PM XXCoder: nice
04:53 PM XXCoder: if you had to, can always hammer it in a little. since its butteralloy
05:00 PM * JT-Woodshop loves working with razor sharp chisels
05:15 PM * JT-Shop takes 5 watching Alex
05:31 PM lcnc-relay: <skunkworks8841> grabbed 10 gallons of used coolant from work.. Should last me a while for things I am doing.. (they like to clean out their cnc's often then use the old coolant for bottles)
05:31 PM lcnc-relay: <skunkworks8841> going to try out the mister on the green machine
05:31 PM lcnc-relay: <skunkworks8841> finally
05:32 PM lcnc-relay: <skunkworks8841> (but it has to be mounted - as does the air regulator and valve)
05:37 PM lcnc-relay: <skunkworks8841> hmm - wonder if the mister would siphen from the floor...
05:37 PM lcnc-relay: <skunkworks8841> then I would just run the pickup in the 5 gallon bucket... 😉
05:38 PM lcnc-relay: <skunkworks8841> guess I can test it..
05:38 PM JT-Shop: just keep raising it up until it quits misting
05:42 PM lcnc-relay: <skunkworks8841> I forgot how much stuff I have working on the green machine - I have 2 switched outlets for mist and coolant
05:48 PM Tom_L: my cheap mister has to be around machine level
05:50 PM Tom_L: put a check valve on it near the bottom and that might help
05:51 PM lcnc-relay: <skunkworks8841> there is a check valve
05:51 PM lcnc-relay: <skunkworks8841> (I think this was a cheap one too
05:51 PM lcnc-relay: <skunkworks8841> I don't remember when we got it
05:51 PM lcnc-relay: <skunkworks8841> never used it though
05:52 PM Tom_L: https://www.ebay.com/itm/224414232325
05:53 PM Tom_L: there are better ones but it gets the job done
06:06 PM Unterhausen: I got more sick today than I have been for the last three days and I'm convinced I will never get better. There has to be a name for this.
06:07 PM Unterhausen: the internet is no help, says I'm right that I'm never getting better
06:08 PM roycroft: i hope it's not long covid
06:09 PM roycroft: i know a couple folks who have that, and it's not a good thing at all
06:09 PM lcnc-relay: <JT (@jt-shop:matrix.org)> https://matrix.org/_matrix/media/v1/download/matrix.org/xlozhIXGFVokOYKykBLomcyT
06:09 PM lcnc-relay: <JT (@jt-shop:matrix.org)> https://matrix.org/_matrix/media/v1/download/matrix.org/odSWqoagQSnHNyXXsCndvymr
06:10 PM JT-Woodshop: got a bit of a split prying out the brace... dunno what glue might hold that???
06:12 PM lcnc-relay: <skunkworks8841> wood I would try wood glue.. clamp it..
06:12 PM lcnc-relay: <skunkworks8841> use paper to apply it as deep as you can
06:13 PM XXCoder: for surface, use wood sawdust and glue to blend it
06:14 PM Unterhausen: should I uninstall kicad before upgrading?
06:15 PM Unterhausen: reddit says no, maybe I should
06:30 PM Tom_L: weather exposure, maybe epoxy
07:01 PM lcnc-relay: <satiowadahc#0> Question for the crows, if you have a touch off probe how do you touch off a saw blade?
07:02 PM lcnc-relay: <satiowadahc#0> Was thinking of doing a beam break sensor with the saw turned on.
07:02 PM lcnc-relay: <satiowadahc#0> Looking for 0.004" repeatability
07:05 PM lcnc-relay: <satiowadahc#0> Or just measure it once, make a cut and save tool offset
07:13 PM lcnc-relay: <skunkworks8841> last one would be the easiest...
07:14 PM lcnc-relay: <skunkworks8841> that is how I do cutoff wheels
07:14 PM lcnc-relay: <skunkworks8841> cutoff wheels? I mean slitting saws
07:15 PM lcnc-relay: <skunkworks8841> the mist worked for about a minute then stopped.. I think crap was in the system. I blew air backwards through it and now it seems more consistant.. Although the shop is starting to smell like the
07:15 PM lcnc-relay: <skunkworks8841> machine shop at work...
07:18 PM lcnc-relay: <skunkworks8841> https://jauriarts.org/_matrix/media/v1/download/jauriarts.org/eLzOkzDBXkrGYhJPUzJvafdj