#linuxcnc Logs

Mar 14 2024

#linuxcnc Calendar

12:02 AM Leeloo: Is my thinking correct: if I connected encoder signals to the IOs of MESA, so they are exposed in LinuxCNC and then used the "encoder" software component that could potentially work? I was thinking that for 100mm/s with a 5mm pitch ballscrew that's 20x 5mm steps per second, so 20x 400 encoder pulses, so about 8k pulses/second and the documentation claims it can range from 10k to 50k?
02:23 AM Deejay: moin
04:36 AM Tom_L: morning
05:04 AM JT-Cave: morning
06:41 AM JT-Cave: just fixed a bug in mesact
08:16 AM lcnc-relay: <landlord101> Trying to fix this old obsolete CNC Lathe (2Axis+tool turret ) for my diploma college with new electronics but I am a total noob to Linux and Linux CNC. I have done some GRBL CNC work but never tried
08:16 AM lcnc-relay: <landlord101> Linux CNC. I was advised not to use the parallel port as I had a newer PC donated for the project with a Jitter of nearly 35000. And unable to get Mesa boards into the country and their cost would be
08:16 AM lcnc-relay: <landlord101> massive if I import them myself.
08:16 AM lcnc-relay: <landlord101>
08:16 AM lcnc-relay: <landlord101> I came across this project called HAL2UDP by jzolee on Git Hub running on ethernet. ( github.com/jzolee/HAL2UDP ).
08:16 AM lcnc-relay: <landlord101> I started but I am failing execution. I Have installed LinuxCNC, and uploaded the file CPP file to ESP32.
08:16 AM lcnc-relay: <landlord101> I am failing to install linuxcnc-uspace-dev
08:16 AM lcnc-relay: <landlord101> install build-essential
08:16 AM lcnc-relay: <landlord101>
08:16 AM lcnc-relay: <landlord101> halcompile --install udp.comp File Attachment:
08:16 AM lcnc-relay: <landlord101>
08:16 AM lcnc-relay: <landlord101>
08:16 AM lcnc-relay: <landlord101>
08:16 AM lcnc-relay: <landlord101> What Do i do next. how do i proceed with the project , How do i remove this error. What would be next steps after compiling? How do i setup the machine?
09:10 AM lcnc-relay: <satiowadahc#0> generally halcompile install needs permissions. try with sudo?
09:14 AM lcnc-relay: <landlord101> Still giving me linker error
09:32 AM JT-Cave: https://paste.debian.net/ the output
09:55 AM lcnc-relay: <unterhausen> that's not a good link to your output
09:55 AM Unterhaus_ is now known as Unterhausen
10:41 AM lcnc-relay: <satiowadahc#0> interesting. there is multi spindle support but not multi tool support.
10:43 AM JT-Shop: I was telling land to paste the output
10:43 AM lcnc-relay: <satiowadahc#0> Thinking out load... each spindle should be able to specify an offset. So your position is then G53 + G5x + Tool + G92 + Spindle. (The one I think I'm missing). Then G43 would need to be able to take
10:43 AM lcnc-relay: <satiowadahc#0> in the spindle number G43 $<spindle number>. M6 would need to take in the spindle number...
11:02 AM lcnc-relay: <schoch_> landlord101 use this instead: https://github.com/wezhunter/ESP32_LinuxCNC_MotionController_RealTime
12:16 PM Unterhausen: I realized having retractable casters for my lathe might not work out because you can only put one of them down at a time
12:16 PM Unterhausen: I need one with a much higher load rating
12:18 PM Unterhausen: Or maybe I'll have to make something
12:19 PM Unterhausen: I have some fairly wide angle iron, it's probably buried
12:35 PM lcnc-relay: <zincboy_ca_on> Note that castor ratings are for dynamic motion. They can support quite a bit more when static and for short periods like putting one down at a time.
12:39 PM roycroft: another approach would be to use a toe jack to lift one end of the lathe, extend the casters on that side, then use the toe jack to lift the other end and do the same
12:40 PM roycroft: that depends, of course, on accessiblity
12:49 PM Unterhausen: I would have to put a small ledge on the lathe to use a toe jack, but that's no problem and it's a good idea.
12:49 PM Unterhausen: I had some toggle clamps to raise it, but that still has the one-at-a-time problem
12:51 PM Unterhausen: harbor freight is really proud of the one they sell
12:51 PM roycroft: i'm assuming you will not be moving the lathe on a regular basis
12:51 PM pcw---home: Leeloo: if you have a 6I25 you can already have high speed encoders available on the other (P2) connector
12:55 PM Unterhausen: I was just thinking that, not moving it often. Can probably get away with the crowbar and metal block method if it's really a problem
01:00 PM pcw---home: Leeloo: A 7I85S card connected to P2 will give you 4 encoder channels (all win index and differential/TTL interfaces). 4 more step/dir outputs and a RS-422 interface. All of this is supported by LinuxCNC natively
01:15 PM Leeloo: pcw---home, Thank you, yes, this seems like a good solution.
01:17 PM Leeloo: pcw---home, My PC is 25 feet cable length or so from the CNC - would having a 25 feet host interface cable be viable or would I have to have very long encoder input cables?
01:18 PM pcw---home: 25 feet!
01:18 PM Leeloo: Yes, the cables are kind of routed under the ceiling :)
01:19 PM pcw---home: Probably OK with a good cable
01:19 PM Leeloo: And I keep all my PCs in air-conditioned bubble of sorts.
01:19 PM Unterhausen: would a smart serial board be better?
01:21 PM pcw---home: Do the encoders have differential interfaces?
01:21 PM Leeloo: They are the common 4 wires ones - one wire for A and one for B.
01:22 PM Leeloo: Plus power, NPN open collector I think.
01:23 PM pcw---home: I think it would be OK as long as you used a IEE1284 cable for the long part of the route
01:23 PM Leeloo: OK, then cable + board should be $100 or so, which is not so bad, I think.
01:23 PM pcw---home: (those cables have a ground for every signal wire)
01:24 PM pcw---home: Whats the maximum count rate?
01:25 PM Leeloo: I counted yesterday, they are 400 pulse, 5mm pitch ballscrew, so with 100mm/s I think it would be 8k/s.
01:26 PM pcw---home: Should not be an issue, worst case you would have to reduce the mux frequency
01:27 PM pcw---home: That's a 32 KHz quadrature count rate (400 PPR = 1600 counts per turn)
01:28 PM Leeloo: Oh, I see, yes, interwoven edges. Well, I have a plan now :)
01:29 PM pcw---home: since its so slow, you can have pretty massive digital filtering on the signals so the long cable should be fine
01:29 PM Unterhausen: pcw---home can I drive a 7i85s from a 7i96 through the 26 pin port?
01:30 PM pcw---home: connect with a flat cable
01:31 PM pcw---home: HDR26 on one end DB25M on the other
01:54 PM Unterhausen: I assume I would need a custom firmware?
01:54 PM pcw---home: That's standard firmware
01:55 PM pcw---home: 7i96_7i85d.bit
01:55 PM pcw---home: (assuming 7I96 not 7I96S)
01:58 PM Tom_L: JT-Shop, PR#89 ready
01:59 PM lcnc-relay: <skunkworks8841> I have a 2000 count encoder running at 4000 rpm single ended into the mesa i/o
02:00 PM lcnc-relay: <skunkworks8841> 20000 count
02:00 PM lcnc-relay: <skunkworks8841> cables are shielded and only maybe 4ft long
02:00 PM lcnc-relay: <skunkworks8841> ish
02:00 PM lcnc-relay: <skunkworks8841> I have not tried higher..
02:03 PM lcnc-relay: <skunkworks8841> I also have some servos running closed loop that do about 4000 rpm with a 2000 count encoder
02:03 PM lcnc-relay: <skunkworks8841> stait into the mesa raw i/o
02:03 PM Unterhausen: Thanks, I bought some of the last 7i96, actually a mistake :)
02:04 PM pcw---home: Actually we are building some again...
02:04 PM pcw---home: so we will have both
02:15 PM Unterhausen: that's good, but I think I have a lifetime supply. That's why I'm looking for non-stepper applications
03:11 PM JT-Cave: pcw---home, is there any reason to stock both the 7i96S and the 7i96?
03:19 PM XXCoder: there was that guy with mesa question pcw but forgot what it was
03:20 PM Unterhausen: I saw Adam Savages parts organizer storage and now I want to get sendcutsend to make me some of the trays
03:24 PM roycroft: the last parts storage video i saw from adam savage was his sortimo stack
03:26 PM Unterhausen: that's the one, he cut and bent the pieces by himself
03:27 PM Unterhausen: it would be nice to have the organizers on pull out trays like he did
03:27 PM Unterhausen: I don't want to do any of that
03:27 PM Unterhausen: don't want to do any of that work, I want the trays
03:31 PM Unterhausen: he said he bought his organizers when he had "tv money" But then he bought almost $5k usd of new ones for that project
03:38 PM roycroft: yeah, i remember the "tv money" line
03:39 PM roycroft: i don't have and never have had "tv money", but i still made all those hardware storage bins with my 3d printer
03:39 PM roycroft: i'm out of space in those storage cabinets already, primarly because i bought more festools than i anticipated
03:39 PM XXCoder: yeah that was interesting
03:40 PM XXCoder: doh. thankfully you can make more
03:40 PM roycroft: at the new house i'll have a bit more room for cabinets, so i've already planned for bulding an extra cabinet for tools
03:40 PM roycroft: the countertop is 8' long already, though, and it will be hard to make a longer one
03:41 PM roycroft: but i'm thinking of splitting the cabinets up into a hardware storage unit and a tool storage unit
03:41 PM roycroft: each of which would be <8' long
03:41 PM roycroft: anyway, i'm still playing around with the new shop layout
03:41 PM XXCoder: id suggest "odd sizes cabinet" also
03:41 PM XXCoder: for large or tiny
03:42 PM roycroft: i'm going to have 2' of extra headroom in the new shop, and i'm planning on a bunch of overhead storage
03:42 PM roycroft: i'm not sure how that's going to work out yet, but it will be there
03:42 PM Unterhausen: if I go galvanized, that's $15 apiece before bending
03:43 PM Unterhausen: I don't have 65 organizers, I don't think
03:44 PM Unterhausen: that's for 10, next price break is 100
03:45 PM Unterhausen: my wife would lose her mind if a refrigerator size box showed up. Have to send her on vacation
03:45 PM * roycroft is door shopping right now
03:46 PM roycroft: the door on my new shop is too narrow to fit some of my equipment through it
03:46 PM Unterhausen: for the current house? Habitat
03:46 PM roycroft: no
03:46 PM roycroft: for the new one
03:46 PM roycroft: and i was at habitat at lunch time today - no luck
03:46 PM Unterhausen: bummer
03:46 PM Unterhausen: doors are expensive, that's why I put in a new frame for my shop door
03:46 PM roycroft: there's a place in junction city (where radar o'reilly lives) that has used doors and windows for good prices
03:47 PM roycroft: i'm going to go up there after work today
03:47 PM roycroft: i can get a 3-0 steel exterior pre-hung door for about $250 new
03:47 PM Unterhausen: there was a place with antique doors near my mom's house. Always very tempting
03:47 PM roycroft: i'd like to find a used one for $50
03:47 PM roycroft: and i need 3-0
03:47 PM roycroft: my thicknesser is 35" wide
03:48 PM Unterhausen: my shop doors are double, so almost $1000
03:48 PM roycroft: my router table is 34" wide
03:48 PM roycroft: i'm going to get a roll-up garage door for the shop as well
03:48 PM Unterhausen: everything for double doors is more expensive
03:48 PM roycroft: which will cost me $1k for an insulated one
03:48 PM roycroft: but that's down the road a bit - after i move in
03:48 PM roycroft: i need to lift the roof first
03:49 PM roycroft: which i might do before moving in - i'm not sure
03:49 PM roycroft: it would be easier to do before, so i don't have to empty out the shop when i do it
03:49 PM Unterhausen: seems like the time to do it, but also not the time to do it
03:49 PM roycroft: i don't want double mortgage payments for very long
03:49 PM Unterhausen: how big is the new shop?
03:49 PM roycroft: every double payment is less money for the new shop
03:49 PM roycroft: small - its about 280 square feet
03:50 PM roycroft: i'm going to add anothe 450 or so square feet to it
03:50 PM roycroft: so still small
03:50 PM roycroft: but it will be taller, and i'll make it work
03:50 PM Unterhausen: even barns seem small once you move your shop in
03:50 PM roycroft: the compressor and dust collector will live in a lean-to outside
03:50 PM roycroft: i think my big sink will live in the house, so i can just install a wash-up sink in the shop
03:51 PM Unterhausen: projects take up all free space for most people
03:51 PM XXCoder: and clutter
03:51 PM Unterhausen: "projects" is what we call "clutter"
03:51 PM roycroft: i do not currently have an assembly table
03:51 PM roycroft: i am designing the new shop so that there will be room for one
03:52 PM XXCoder: lol
03:52 PM roycroft: that will be a huge improvement
03:52 PM roycroft: currently i do assembly on my table saw or joinery bench
03:52 PM XXCoder: just got the exercise thing for under table
03:52 PM Unterhausen: There was some guy that posted all his shop build pics online, it was huge. And then posted pictures 2 years later and I think he might have had as much working space as I do
03:52 PM XXCoder: its not bad. my first one was really cheap because i had money issues then and it sucked though it still helped till it broke
03:53 PM roycroft: yeah, i'm also going to do a big purge when i move
03:53 PM roycroft: the mother of all garage sales
03:54 PM Unterhausen: I try to get rid of stuff as I go along, starting to hurt, but I have to face facts about what I'm actually going to use in my lifetime
03:54 PM Unterhausen: doing a purge now
03:55 PM Unterhausen: I can't make myself get rid of my fine woodworking and fine homebuilding magazines
03:55 PM Unterhausen: would be a big step
03:55 PM lcnc-relay: <xxcodery> https://jauriarts.org/_matrix/media/v1/download/jauriarts.org/LKCPskIJKpJwLFmAlALLTElD
03:55 PM lcnc-relay: <xxcodery> the new exercise thing
03:56 PM Unterhausen: that looks better than what I imagined
03:56 PM Unterhausen: maybe I should make one with my junk bike collection
03:56 PM XXCoder: it uses magnet resistance
03:56 PM XXCoder: so it'll never wear out. in least not on that anyway
03:57 PM Unterhausen: that's the way to do it
04:04 PM roycroft: i'm going to be building some new bookcases in my new house, and i'm going to build some short cases for magazines as well
04:04 PM roycroft: i have every issue of fww going back to issue 1, and i'm not going to get rid of that collection
04:06 PM Unterhausen: I think I have issue 1, but I'm not sure my collection is complete
04:06 PM Unterhausen: thanks for reinforcing my reluctance to get rid of them, enabler
04:06 PM roycroft: if you ever sort through it and you find some missing, let me know
04:06 PM roycroft: i have a small collection of dupes
04:07 PM XXCoder: lol
04:07 PM roycroft: although i might put them out in the garage sale
04:07 PM Unterhausen: I have the archive disk
04:07 PM XXCoder: that reminds me. you still want that book scanner?
04:07 PM roycroft: yes, maybe :)
04:07 PM roycroft: it depends on whether i have room for it or not
04:07 PM XXCoder: ill be going south evenually on may or so
04:07 PM roycroft: but maybe yes
04:08 PM roycroft: i've decided to sell my brew system, but that is going to be tough
04:08 PM XXCoder: it still has orginal box so its easy to pack when unused
04:08 PM roycroft: i have over $6k invested in it
04:08 PM roycroft: and countless hours of work
04:08 PM roycroft: even if i asked $3k or it, it's going to take a while to find the right buyer
04:09 PM roycroft: the other brewing gear should be easy to sell, and i'm going to keep some of it
04:09 PM bjorkintosh: call it "vintage"
04:09 PM roycroft: i'm not going to stop fermenting things completely
04:09 PM bjorkintosh: and see where the marketing takes it.
04:10 PM roycroft: have you seen it, bjorkintosh?
04:10 PM bjorkintosh: nyet.
04:10 PM roycroft: the control panel definitely looks "vintage"
04:10 PM bjorkintosh: got a pix?
04:11 PM roycroft: https://roycroft.us/BrewSystem/IMG_1012.JPG
04:11 PM roycroft: there's the control panel
04:12 PM roycroft: https://roycroft.us/BrewSystem/IMG_1014.JPG
04:12 PM roycroft: and the original brew stand
04:12 PM XXCoder: interesting
04:12 PM bjorkintosh: wow!
04:13 PM bjorkintosh: it's pretty fucking serious shit right there, roycroft
04:14 PM Leeloo: skunkworks, Isn't that 130k pulses? Does that evven work with the PC?
04:14 PM roycroft: https://roycroft.us/NewKettle/NewKettle2.jpeg
04:14 PM roycroft: i upgrade to a better kettle, as i got tired of boil-overs
04:14 PM roycroft: yeah, it's a nice system
04:14 PM Leeloo: That's very shiny :)
04:15 PM roycroft: it took a very very very long time to make it shiny
04:15 PM roycroft: but it was an important step
04:15 PM roycroft: polishing the kettles reduces the surface area dramatically, hence, the thermal conductivity
04:16 PM roycroft: so shiny kettles are much more efficient than matte ones
04:16 PM Leeloo: I used to ride bike marathons and I had this weird idea of polishing my aluminum cranks like that before every event, so I can imagine how much work that was :)
04:16 PM roycroft: and the kettles are stainless steel
04:16 PM roycroft: i did not even try to keep track of how many hours i spent making them shiny
04:17 PM roycroft: it would be depressing to add up all that time
04:17 PM bjorkintosh: roycroft, internally shined?
04:17 PM Leeloo: You could consider it an active meditation and feel better :)
04:19 PM XXCoder: whew bit tired. it wasnt hard exercise, but besides from short walks in stores, i havent exercised for too long
04:20 PM roycroft: no, not internally
04:21 PM roycroft: that would have been way more work
04:21 PM bjorkintosh: curious, would copper have worked too?
04:21 PM bjorkintosh: I don't know much about these kettles.
04:21 PM roycroft: it would make it slightly more efficient, but polishing the outside is both easier and a bigger win
04:21 PM XXCoder: isnt copper usually better for brewing
04:21 PM XXCoder: expensive tho
04:21 PM roycroft: copper would have worked fine, except it's even more conductive than ss
04:21 PM roycroft: thermally conductive
04:22 PM bjorkintosh: huh. never imagined the outside of a kettle had anything to do with its efficiency.
04:22 PM roycroft: so it would be less efficient
04:22 PM XXCoder: interesting. i misremembered then
04:22 PM roycroft: interestingly, brewing yeast needs a fair amount of copper to ferment well
04:22 PM roycroft: and so i always toss a piece of copper into the boil kettle while boiling the wort, to feed the future yeasties
04:22 PM roycroft: copper is used for stills a lot
04:23 PM roycroft: but in a still you WANT high thermal conductivity, so you can condens the distillate easily
04:23 PM roycroft: for brewing, you want to heat to a specific temperature and hold that temperature for a period of time
04:24 PM roycroft: for distilling you want to heat past the boiling point of the distillate and then cool as rapidly as possible
04:24 PM XXCoder: ahh that may what I have remembered, the still
04:24 PM Unterhausen: there are so many videos on youtube about making organizer storage that it might break the internet
04:24 PM roycroft: yeah
04:24 PM roycroft: there are
04:25 PM roycroft: i'm really happy with what i did - it is working great for me
04:25 PM roycroft: but, as the saying goes, different strokes for different folks
04:25 PM Unterhausen: I was pleased that Adam Savage did something different
04:25 PM roycroft: i'm not happy with how many weeks i spent tending to the 3d printer almost non-stop while making all those damn boxes
04:26 PM roycroft: but the end result was great for me
04:26 PM Unterhausen: Once you use those metal bolt organizers $$$, just putting the plastic ones on shelves is less than fully satisfying
04:28 PM roycroft: btw, since those pics i posted i've cut the boil kettle part of the brew stand off the rest of it, so i can move it around more easily, and i never finished rebuilding the boil kettle stand
04:28 PM roycroft: so i'd have to do some fabrication and paint work before i can sell that system
04:29 PM roycroft: i might just keep it, but it takes up so much space that i'm having a hard time justifying keeping it
04:29 PM roycroft: i do like making beer though, and that is a really fun brew system to use
04:30 PM * roycroft imagines he'll be really popular in the new town if he starts making beer in his driveway
04:33 PM lcnc-relay: <skunkworks8841> well - the USA seems to have a rocket that will put 150 tons into low earth orbit..
04:33 PM lcnc-relay: <skunkworks8841> just isn't re-usable yet..
04:33 PM lcnc-relay: <skunkworks8841> but it got farther..
04:34 PM lcnc-relay: <cathy_me> I am curious about this - how come such a high pulse rate (100k pulses/s) works fine?
04:35 PM lcnc-relay: <skunkworks8841> because those are usually serial.. of some kind
04:36 PM lcnc-relay: <skunkworks8841> and updating at some rate.. Maybe 1khz
04:36 PM lcnc-relay: <cathy_me> The documentation page mentions something about 10k to 50k/s possible with PC.
04:36 PM roycroft: that sounds like a description of the penis rocket than the spacex one, skunkworks8841
04:36 PM roycroft: at least this one did not blow up (yet)
04:37 PM lcnc-relay: <skunkworks8841> I think penis rocket (well - the new glen?) is like 50 tons? iirc
04:38 PM lcnc-relay: <treeda> Hello, i am kinda new to LinuxCNC and try to learn currently. I am working since 3 years with a Sorotec CNC controlled by ESTLCam but i would like to rebuild the control part and thats where LinuxCNC
04:38 PM lcnc-relay: <treeda> comes into the game.
04:38 PM lcnc-relay: <treeda>
04:38 PM lcnc-relay: <treeda> I am a bit struggeling currently because i always thought LinuxCNC will run on a RPi which i could put into the control box. I only have a NUC currently in the basement which i need to have windows on
04:38 PM lcnc-relay: <treeda> it because i would like to work on other programs while the cnc is running. I assume that having LinuxCNC in a virtualbox on a windowsPc might not be the best idea so seems i have to go with the RPI
04:38 PM lcnc-relay: <treeda> idea, so i think the basic question i have currently is LinuxCNC really reliable working on an RPI? i've read about many different problems in the forums that i not really understand currently.
04:38 PM lcnc-relay: <skunkworks8841> I have a very reliable machine running on the pi4
04:39 PM roycroft: as long as you are using an intelligent motion controller it works fine on a rpi
04:39 PM lcnc-relay: <skunkworks8841> right - mesa has spi and ethernet solutions
04:39 PM lcnc-relay: <skunkworks8841> (I am using an ethernet solution - 7i95
04:39 PM roycroft: running linuxcnc in a vm not at all, if you want to make parts that resemble your design
04:39 PM lcnc-relay: <skunkworks8841> )
04:40 PM lcnc-relay: <treeda> i am planning to use the 7i96s ( i think that was the correct name) i think this brings everything i also have with estlcam, no fancy needs currently. When all of that is running i am planning on deve
04:40 PM lcnc-relay: <treeda> loping my own wireless handwheel
04:40 PM roycroft: if you have to share the computer, set it up as a dual-boot machine
04:40 PM roycroft: so you can boot windows or linux
04:40 PM roycroft: but not run linux as a vm
04:40 PM lcnc-relay: <schoch_> how much ram has your pi?
04:40 PM lcnc-relay: <skunkworks8841> 4
04:40 PM lcnc-relay: <schoch_> I don't think 2gb workie
04:41 PM lcnc-relay: <skunkworks8841> 4gb
04:41 PM lcnc-relay: <treeda> and that exactly is the conflict with what i mentioned above, working on other projects while machine is running
04:41 PM roycroft: iirc, 4gb is the minimum that works
04:41 PM lcnc-relay: <skunkworks8841> It think 2 works ok..
04:41 PM roycroft: and the maximum that is not made of unobtanium
04:41 PM lcnc-relay: <skunkworks8841> hmm - ok
04:41 PM lcnc-relay: <treeda> so you are saying a rpi5 with 4 or better 8gb and a 7i96s should work like a charm?
04:42 PM lcnc-relay: <schoch_> are there pi5 images?
04:42 PM XXCoder: should, but nobody have tested it and let us know so far I know. I dont read forums maybe its there
04:42 PM lcnc-relay: <treeda> yes
04:42 PM XXCoder: yeah there are
04:42 PM lcnc-relay: <treeda> or should i better pick the pi4?
04:43 PM lcnc-relay: <schoch_> I don't think the buildbot has pi5 supported, but maybe i'm wrong. the issues (afaik) is the lack of grub.
04:43 PM lcnc-relay: <treeda> ah ok so pi4 is known to be working but pi5 could be a problem? Well then i would go with the 4 i think because i need it working not for experiments
04:43 PM lcnc-relay: <schoch_> it would seem pi4 is currently better supported, but there is athread on the forum about pi5
04:43 PM lcnc-relay: <treeda> at least i saw you can download pi5 images from the linuxcnc page
04:44 PM lcnc-relay: <schoch_> something else to consider is a NUC may be cheaper and more capable than a pi 5
04:44 PM lcnc-relay: <treeda> yeah thats what i mentioned above, i read that thread and about a few problems but they are beyond my understanding right now.
04:44 PM lcnc-relay: <schoch_> you for sure want a SSD if you go pi
04:44 PM lcnc-relay: <treeda> i have a nuc already
04:45 PM lcnc-relay: <mikemader#0> I started out with a PI4 for my CNC Build. I did not find it reliable.
04:45 PM lcnc-relay: <mikemader#0> I did use an SSD via USB, and I believe that caused issues with the realtime needs for LinuxCNC
04:46 PM lcnc-relay: <schoch_> you can get going with the nuc, just buy a cheap ssd to load lcnc and then decide
04:46 PM lcnc-relay: <treeda> i afraid that... i don't really want to have a second nuc placed in the shop, thats the decision i have to do. trying pi or a second nuc with second monitor mouse etc... worst solution
04:46 PM lcnc-relay: <schoch_> why not run windows in VM on the NUC?
04:47 PM lcnc-relay: <mikemader#0> I ended up getting a used HP Elitedesk 800 G1 mini PC from Craigslist
04:47 PM lcnc-relay: <treeda> How? i used many PI4 with ssd over usb for different projects in my experience its all way better than a sd card
04:47 PM lcnc-relay: <mikemader#0> MUCH more responsive than the PI and LinuxCNC has been flawless
04:47 PM lcnc-relay: <mikemader#0> USB is not friendly to realtime
04:48 PM lcnc-relay: <treeda> that idea scares me.... not sure if vcarve and apsire like that
04:48 PM lcnc-relay: <schoch_> should be easy to try
04:48 PM lcnc-relay: <schoch_> isn't gpu virtualization pretty decent these days?
04:49 PM lcnc-relay: <schoch_> the box i'm developing on is a N3700, seems to run lcnc great
04:49 PM lcnc-relay: <treeda> hm the pi i currently have is a NUC8i5BEK2 i5-8259U would be another one for linuxcnc, should do the trick ?
04:51 PM lcnc-relay: <mikemader#0> Which PI has an intel processor? The RPI, and most of the variants use ARM based processors. That sounds like you are running a NUC not a PI
04:51 PM lcnc-relay: <treeda> easy to try not really because i have to install linux as dualboot on my estlcam machine to then try virtualbox window windows and aspire but you are right i think it should work, maybe a bit slow wit
04:51 PM lcnc-relay: <treeda> h animated rendering but i can switch them off, don't need them
04:51 PM lcnc-relay: <treeda> Not pi, nuc... my bad
04:51 PM lcnc-relay: <schoch_> spend $25 on a ssd, no dual boot and you can just re-use the ssd if it doesn't work out.
04:51 PM lcnc-relay: <mikemader#0> Okay, was confused there, lol
04:52 PM lcnc-relay: <treeda> hm good point, well even no need to buy one have a couple 128gb ssds laying around
04:52 PM lcnc-relay: <schoch_> 256GB SAT 3 ssd on amazon is $22
04:53 PM lcnc-relay: <treeda> however... it seems my dream configuration LinuxCNC on a PI is not the recommend way for a reliable system.... sigh
04:53 PM lcnc-relay: <treeda> well i have enough here
04:54 PM lcnc-relay: <schoch_> I have a pi4 running lcnc also, seems stable but I havn't put much time in on it yet
04:55 PM lcnc-relay: <treeda> hm ok. maybe if i have it running i am up to an experiment with a pi4 or 5.
04:56 PM lcnc-relay: <schoch_> I found the most difficult part of setup was getting RDP/VNC working lol
04:56 PM XXCoder: yeah its not like machine is locked to one computer forever
04:56 PM lcnc-relay: <treeda> next thing i need to find out is what is this modbus stuff and how i get it running with my teknomotor spindle well and buying the mesa board
04:56 PM XXCoder: its always swappable
04:56 PM lcnc-relay: <mikemader#0> Dual boot on the NUC is feasible if you are needing it to run windows apps as well. That said used mini PCs get be purchased for $100 on Amazon, and that way you can keep one machine dedicated to you
04:56 PM lcnc-relay: <mikemader#0> r CNC
04:57 PM lcnc-relay: <schoch_> is the rs485 protocol available?
04:57 PM lcnc-relay: <schoch_> or has someone else set up a driver?
04:57 PM lcnc-relay: <schoch_> I wrote a driver for my teco L510 for esp32 grbl, it wasn't that hard.
04:57 PM lcnc-relay: <treeda> i saw that the spindle has a slot for an optional module for that. Currently with estlcam i use it with analong 0-10v
04:57 PM lcnc-relay: <treeda> still don't have that module yet
04:58 PM lcnc-relay: <treeda> well not the spindle have the slot but the FU unit
04:58 PM lcnc-relay: <schoch_> those mach3 BOB's have 0-10v out, i think they are like $10
04:59 PM lcnc-relay: <treeda> if i rebuild everything i would like to go with something more exact, this modbus stuff looks interesting but even more to learn
04:59 PM XXCoder: yeah. I used BOB and 3 tb6600s. not best system but worked. i would probably do it differently if I work on cnc again
04:59 PM lcnc-relay: <mikemader#0> The Mesa 7i96S will do RS485
04:59 PM lcnc-relay: <schoch_> it is just a serial protocol like SPI or i2c
04:59 PM lcnc-relay: <schoch_> TB6600's belong in the trash can, sorry to say.
05:00 PM lcnc-relay: <treeda> still reading that linuxcnc documentation and i need to say i would prefer to read the phonebook from Frankfurt 10 times i think its a bit more fun
05:00 PM lcnc-relay: <treeda> i am using DM542eu
05:00 PM XXCoder: why be sorry? it is junk yes but only thing I could afford back then lol
05:00 PM JT-Shop: https://youtu.be/SDt-h5ycgrw?list=PLH4J0b3KfGaNED27Y1kCvS_mSQtyXsiwC&t=1312
05:01 PM JT-Shop: fine woodworking
05:01 PM lcnc-relay: <schoch_> i think many of us were victimized by TB6600s
05:01 PM lcnc-relay: <treeda> seems i was lucky never owning them
05:02 PM XXCoder: first board was tb6360 something. it really was much worse than tb6600
05:03 PM lcnc-relay: <schoch_> i'm sure the mesa stuff can also do 0-10v, not sure what to recommend there. I don't have a mesa card and have been torturing myself with learning some verilog and using linuxcnc-rio (now riocore)
05:03 PM lcnc-relay: <Wolftree> i feel more victimized by estlcam... well the board is ok, the software also for the beginning but it has as couple very annoying bug which could to critical crashes... and the beauty of the UI is a d
05:03 PM lcnc-relay: <Wolftree> ifferent story
05:03 PM Tom_L: JT-Shop, a good painter can hide anything :)
05:03 PM XXCoder: estlcam was pretty good cam turned into crappy controller
05:04 PM JT-Shop: lol
05:04 PM lcnc-relay: <mikemader#0> I believe the mesa 7i96S can do 0-10v, though the 7i96 (no S), which is what I have, does not have that feature
05:04 PM lcnc-relay: <Wolftree> Well i am willing to buy the modbus module for my Yaskawa J1000 FU it's only around 50EUR so i would use the old analog way as fallback
05:04 PM lcnc-relay: <schoch_> you can also go mesa to mach3 bob by feeding the bob some pwm
05:05 PM lcnc-relay: <schoch_> you can get a rs485 adapter for pretty cheap if, again not sure how this works with mesa.
05:06 PM lcnc-relay: <Wolftree> is it complicated to get modbus working with linuxcnc? saw a video from tallax i think was the name and it seems to be quite easy but i can be horrible wrong (happens often)
05:07 PM lcnc-relay: <zincboy_ca_on> mb2hal is really easy to get going.
05:07 PM lcnc-relay: <schoch_> asin: B082Y19KV9 5 for under $8 bucks
05:08 PM lcnc-relay: <schoch_> you just plumb in rx/tx serial and it converts it to rs485
05:08 PM lcnc-relay: <schoch_> i'm guessing the mesa cards have extra uarts
05:08 PM lcnc-relay: <Wolftree> https://jauriarts.org/_matrix/media/v1/download/jauriarts.org/OjkeXSzGiHIVKpSecqwQpQMG
05:08 PM XXCoder: is b08... driver for steppers?
05:08 PM lcnc-relay: <Wolftree> under that plate with the J1000 is a slot for an optional modbus module so i hope it's no big deal
05:09 PM lcnc-relay: <mikemader#0> Just double checked the manuals for 7i96 and 7i96s both have RS485, and as i said the S variant has the analog control as well.
05:09 PM lcnc-relay: <Wolftree> i will, thanks. so even better as fallback
05:09 PM lcnc-relay: <schoch_> xxcoder, you mean the asin i posted? that is "HiLetgo 5pcs TTL to RS485 485 to Serial UART Level Reciprocal Hardware Automatic Flow Control UART to RS485 Converter RS485 to TTL"
05:10 PM XXCoder: ahh ok
05:10 PM lcnc-relay: <schoch_> i have those going from esp32-grbl to my teco L510 VFD
05:10 PM lcnc-relay: <schoch_> the modbus is built in
05:11 PM lcnc-relay: <Wolftree> hm ok so seems i first have to get the mesa card and a spare nuc to start well good thing is i don't need to disassemble the cnc until a certain point
05:11 PM lcnc-relay: <schoch_> eventually when I get competent enough with LCNC i'm going to rip out the esp32-grbl but it works so it is staying for now....
05:12 PM lcnc-relay: <Wolftree> i was saying the same with the estlcam board 🙂
05:12 PM lcnc-relay: <schoch_> expect a very steep learning curve
05:12 PM lcnc-relay: <schoch_> lol
05:13 PM lcnc-relay: <schoch_> almost everything is about 10x longer than I originally expected
05:13 PM lcnc-relay: <schoch_> but, i'm self flagellating by not buying a mesa card.
05:13 PM lcnc-relay: <Wolftree> well it looks pretty difficult to me so far. My Background is 30 years software development
05:13 PM lcnc-relay: <mikemader#0> Once you start getting into it, it isn't bad
05:13 PM lcnc-relay: <Wolftree> and i still have linux style documentation
05:14 PM lcnc-relay: <Wolftree> *hate
05:14 PM lcnc-relay: <schoch_> one of the key ideas is the GUI is not really linuxcnc, however they are also dependent in odd ways.
05:14 PM JT-Shop: that makes me sad
05:15 PM lcnc-relay: <mikemader#0> The GUI config tools are actually pretty good, and will get you up and running pretty quick
05:15 PM JT-Shop: oh I thought you said you hate linuxcnc documentation...
05:15 PM lcnc-relay: <Wolftree> i hope so and i really wish i would be already at that point
05:15 PM lcnc-relay: <schoch_> i agree that man page format kinda sucks
05:16 PM lcnc-relay: <mikemader#0> That said, if you want to do more advanced config you will want to go to editing the config files directly, but I got my CNC build setup pretty quick using the PNC Config
05:16 PM lcnc-relay: <schoch_> it would be nice to be able to read the source but I havn't found doing that in lcnc is enlightening
05:16 PM lcnc-relay: <Wolftree> well.... i hate linux style documentation.... lets not talk about how linuxcnc documentation looks like i don't know you but i don't want to see you sad 🙂
05:16 PM JT-Shop: well I spent 10 plus years translating linuxcnc docs from programmer speak to redneck
05:17 PM lcnc-relay: <mikemader#0> And FWIW I come from a dev/app support IT background as well, all Windows end.
05:17 PM lcnc-relay: <Wolftree> well i think working with config files is more my thing but for sure i will start with the UI to get a better understanding
05:17 PM JT-Shop: you may want to check out my tools like mesact and flex
05:17 PM lcnc-relay: <mikemader#0> The UI is for getting you started, direct config is the way to go for more advanced and slick features
05:17 PM lcnc-relay: <Wolftree> i am sorry to hear that 🙂
05:18 PM lcnc-relay: <schoch_> Wolftree going from one GUI to another is like going from windows to linux
05:19 PM lcnc-relay: <schoch_> I have found it fairly enlightening to write a few components, one in c and one in python
05:19 PM lcnc-relay: <Wolftree> the first time i really started to read the docs was when i tried to figure out how you could control linuxcnc from extern because i had the idea of creating my own wireless control wheel for the cnc.
05:19 PM lcnc-relay: <Wolftree> i have the basics done with ESP32 etc but was looking for an easy interface. then i decided it makes more sense to switch my machine to linuxcnc first before trying that 🙂
05:19 PM lcnc-relay: <schoch_> i'd also say that there is PLC oriented stuff sprinkled around but it is optional
05:19 PM Tom_L: JT-Shop, does mdi work yet?
05:20 PM JT-Shop: no, been working on jog
05:20 PM lcnc-relay: <Wolftree> i see i still have a lot to learn about it
05:20 PM Tom_L: saw that
05:20 PM JT-Shop: jog was interesting to do
05:20 PM Tom_L: maybe i won't have to bring in the jog functions now to test :)
05:20 PM XXCoder: yeah for basic setups the config tool is really fast way to setup it
05:21 PM JT-Shop: if you have jog buttons but don't have the jog type cb it won't connect the jog buttons
05:21 PM XXCoder: took me like a day, and that was from knowing nothing at all
05:21 PM Tom_L: i posted something about pause_pb but maybe need to verify that
05:21 PM Tom_L: this AM
05:21 PM XXCoder: majority of it was due to shitty steppers
05:21 PM JT-Shop: pause worked for me yesterday
05:21 PM lcnc-relay: <Wolftree> so that bad? 🙂
05:21 PM XXCoder: and step controller
05:21 PM lcnc-relay: <schoch_> Wolftree I just got my wireless MPG working, using esp_now and msgpack
05:22 PM Tom_L: same with anything that may require a spinbox etc
05:22 PM lcnc-relay: <Wolftree> i was also using espnow, at first played around with N24 but espnow is nice. Whats msgpack?
05:22 PM XXCoder: it was in 2014 or so
05:22 PM lcnc-relay: <schoch_> msgpack is for serialization, like json but binary optimized
05:22 PM XXCoder: so yeah docs was pretty shit back then. jt here did a lot.
05:22 PM lcnc-relay: <schoch_> you can also go arduinoJSON -> msgpack
05:23 PM lcnc-relay: <Wolftree> ah interesting, i was using json so far for tests because bandwidth is enough but that sounds interesting
05:23 PM Tom_L: 08:06 PM Tom_L: JT-Cave, commands.py line 168 may need to be changed to an action. it errors if the _pb isn't present
05:23 PM Tom_L: 08:08 PM Tom_L: and if pause_pb is present, it errors in startup.py line 236
05:23 PM Tom_L: i'll check it again
05:23 PM JT-Shop: ok
05:23 PM lcnc-relay: <schoch_> i'm using this: https://github.com/hideakitai/MsgPack
05:23 PM JT-Shop: if it's a menu item it's an action
05:23 PM Tom_L: however mdi does something with the button iirc
05:24 PM Tom_L: and maybe shouldn't
05:24 PM lcnc-relay: <schoch_> but arduinoJSON has a direct serializer to msgpack if you want to keep using JSON.
05:24 PM JT-Shop: I've not tested mdi so no clue
05:24 PM Tom_L: k
05:24 PM JT-Shop: a lot is still copy and paste from jet
05:24 PM Tom_L: i think it wanted to see the pause_pb
05:25 PM Tom_L: i know
05:25 PM JT-Shop: you can make a blank gui and it will load
05:25 PM lcnc-relay: <schoch_> Wolftree on the other side i'm using an S3 and just NCM over usb to copy the esp_now packet to UDP and feed it to linuxcnc.
05:25 PM Tom_L: i've been doing some of the same to get things to work to test
05:25 PM lcnc-relay: <schoch_> i kinda wonder how much faster it ends up being vs just sending udp over regular wifi
05:26 PM lcnc-relay: <Wolftree> well i did some basic experiments with rx and tx also base controller, wrote a java app to keep the com, however about the protocol i am still flexible didn't continue yet due to that linuxcnc stuff b
05:26 PM lcnc-relay: <Wolftree> ut this is interesting i will have a look at it.
05:26 PM lcnc-relay: <schoch_> I'm going to try to get some code up on github tomorrow
05:26 PM lcnc-relay: <schoch_> i used python userland component to deserialize and feed the data to HAL pins
05:27 PM lcnc-relay: <schoch_> i don't think java plays
05:27 PM Tom_L: JT-Shop, did you ditch the Recent file open?
05:27 PM lcnc-relay: <Wolftree> well i will go the way with an esp32 as basestick via usb
05:27 PM JT-Shop: no, it's not tested yet so it's not called
05:27 PM Tom_L: oh.. also start line
05:27 PM Tom_L: on the gcode page
05:27 PM Tom_L: run from line
05:27 PM JT-Shop: yup run from line is not done
05:27 PM Tom_L: k
05:27 PM Tom_L: figured
05:28 PM lcnc-relay: <schoch_> i was getting 2ms round trip with the NCM network driver, apparently ECM/RNDIS is 10x faster
05:28 PM Tom_L: i'm mentioning only because i'll forget
05:28 PM lcnc-relay: <Wolftree> that was what i have tried to figure out how to talk to lcnc, then i stumbled over the hal layer i gave up, was late in the night and a quick experiment but i will continue this 🙂
05:28 PM XXCoder: millenium mill project is starting a livestream of some kind. I wonder what they will tallk about
05:28 PM lcnc-relay: <Wolftree> thats pretty nice
05:28 PM lcnc-relay: <schoch_> Wolftree one sec, i'll make a gist for my component
05:29 PM lcnc-relay: <Wolftree> no hurries i need to drop off now, but i would be happy to have a look at it tomorrow
05:29 PM lcnc-relay: <Wolftree> thanks guys for the good insight, need to drop off now but probably will have more questions 🙂
05:30 PM Tom_L: we charge for the next round
05:31 PM XXCoder: $10 a minute
05:31 PM XXCoder: hope you learned a lot
05:32 PM XXCoder: I hope I can walk tomorrow lol been exercising a lot
05:32 PM lcnc-relay: <schoch_> Wolftree https://gist.github.com/jschoch/55bb6335aa1433e28a0df91a7144c3a7
05:32 PM Tom_L: walking is optional, breathing is not
05:33 PM * JT-Shop goes to glue on a bit to the bird guard
05:34 PM XXCoder: tomorrow is when I go to mcdonalds for my nephew lol so walking required
05:38 PM Unterhausen: my organizer drawer is just cheap enough that I feel compelled to go back and finish the design.
06:20 PM JT-Shop: shit is fixing to hit the fan here
06:20 PM JT-Shop: https://radar.weather.gov/station/kpah/standard
06:20 PM XXCoder: hurry, move the fan ;)
06:21 PM XXCoder: hope things go ok there
06:22 PM Tom_L: looks like an ugly green monster
06:22 PM JT-Shop: yup
06:23 PM JT-Shop: pretty bad up by st louis
06:24 PM JT-Shop: T-5
06:27 PM * JT-Shop calls it a day
06:41 PM lcnc-relay: <skunkworks8841> well - 1/2 of the 40 amp curcuit done for the split unit. That hasn't arrived yet.
06:42 PM lcnc-relay: <skunkworks8841> there are no outlets out side this house. so - now there is a disconnect and soon - an outlet
07:12 PM JT-Cave: https://radar.weather.gov/station/kpah/standard
07:20 PM lcnc-relay: <skunkworks8841> yikes - stay safe!
07:20 PM lcnc-relay: <skunkworks8841> starlink still staying up?
07:36 PM Unterhausen: google's ai doesn't know what a line drawing is
07:37 PM Unterhausen: I just asked for one, and it's got greyscale all over it
07:37 PM XXCoder: its just extremely extremely fine lines art ;)
07:45 PM Unterhausen: I told it to do it over, and it did give me a line drawing, but I'm pretty sure it just stole it from the interwebs
07:46 PM Unterhausen: I'm going to make it in marquetry, so line drawing is best
07:48 PM Unterhausen: I made him a going away plaque 30 years ago with a joke on it, so I'm making the same thing with the most recent airplane he worked on
07:49 PM Unterhausen: 1lt vs 2 star general
07:53 PM Unterhausen: I'm glad working with me didn't totally destroy his career
08:21 PM Unterhausen: I probably should get rid of some of my open linear encoders. They all came off machine tools, but I have no idea how to protect them
11:56 PM roycroft: wow - the maestro was on fire tonight
11:57 PM roycroft: he's all about new music and new artists, but i think he really loves conducting beethoven more than anything else in the world
11:57 PM roycroft: and tonight was the 7th symphony, which has to be about the funnest one to conduct