#linuxcnc Logs

Nov 10 2018

#linuxcnc Calendar

12:04 AM Crom: yep. I'm doing better handling it than I did with Carole
12:08 AM Crom: Practice does not make perfect
12:08 AM Crom: not the practice I want
12:08 AM XXCoder: yeah better handling but doesnt get any easier
12:08 AM XXCoder: so many of my family died in 90s
12:08 AM XXCoder: and early 2000s
12:09 AM Crom: I'm in a hole... wind doesn't blow enough here
12:09 AM XXCoder: thats powerful enough for AC. perfect for summer, as well as also add 600w solar since theres fairly cheap fan and power controller that can also have 600w solar on it
12:10 AM XXCoder: Crom: other option to consider, there is roofing material that turns white in heat, and black in cold
12:10 AM XXCoder: im sure you can see why
12:11 AM XXCoder: https://phys.org/news/2009-10-color-changing-roof-tiles-absorb-winter.html
12:11 AM Crom: 800w is pretty much you want for A/C the fridgaire 5000BTU window something star take 600w. with a battery bank, it's charge, and handle start surge
12:12 AM Crom: energystar
12:13 AM Crom: batteries will power it past minimum solar to cool the soaked up heat
12:17 AM XXCoder: https://www.aliexpress.com/item/400w-wind-turbine-Max-power-600w-5-blades-small-wind-mill-low-start-up-wind-generator/32834470953.html example
12:17 AM XXCoder: still needs convertor and batteries but quite cheap
12:23 AM XXCoder: i want as much solar as possible but expense dont really wortj it in washington state
12:23 AM XXCoder: now, wind though
12:24 AM XXCoder: summers it shines all time though so nice idea to use it to cover AC usages
12:29 AM Crom: I'd want panels that are airgapped from the roof, if they had cooling fins on the back it would be be better
12:30 AM Crom: convection cooling... and would keeps the roof dryer as well, making it last longer.
12:31 AM XXCoder: you could add tiny solar panel powered fans blowing upwards up the solar back
12:31 AM XXCoder: start termal induced air movement going and keep going
12:32 AM XXCoder: would work better if radiator has tubes for that
12:33 AM Crom: Thermosiphon in the airgap moves quite a bit of air,
12:33 AM Crom: almost like building a cold roof for reducing ice dams
12:35 AM XXCoder: cold roof is new to me
12:37 AM Crom: on youtube 'Purelivingforlife' timber framed house covered in SIP panels with a cold roof for keeping the OSB in the SIPs dry and keeping the roof cold so snow doesn't melt and stick and cause ice dams
12:38 AM Crom: 1x2 battens creating a 3/4" gap for air flow. eve is vented as well as the ridge
12:39 AM Crom: SIP - batten - plywood - membrane - steel roofing.
12:40 AM XXCoder: i also wanna try build air exchanger dual exchangers actually
12:40 AM XXCoder: lots of political signs needed, since it uses plastic corggated boards
12:40 AM Crom: nows the time to snag them
12:41 AM XXCoder: no shop unfortunately to store em
12:41 AM XXCoder: oh big one https://ecorenovator.org/forum/conservation/891-diy-ventilation-heat-exchanger-18.html
12:42 AM XXCoder: go to first one
12:42 AM Crom: ok 2:21 hours till she gets another morphine oral squirt.
12:42 AM XXCoder: first post has dual exchangers I talked about
12:42 AM XXCoder: metal corrgated board is best for this but signs is free
12:42 AM XXCoder: or very cheap
12:47 AM XXCoder: anyway one of ideas is that it exchanges inside air with outside when humidity outside is lower
12:47 AM XXCoder: great for shops
12:48 AM XXCoder: "pre-exchanger" should be well isulated since it would run at lower temperate when outside is cold
12:49 AM Crom: was always thinking about the regenerators dodge used on their turbine cars in the 60's
12:50 AM Crom: ceramic blades rotating into and out of the diferent temp zones
12:51 AM XXCoder: transferring heat?
12:53 AM Crom: moving heat from after the power take off turbine and transfering it to the intake air stream after the compressor before the flame can to increase effective compression
12:54 AM Crom: helps vaporize fuel as well
12:57 AM XXCoder: interesting
01:51 AM Deejay: moin
01:51 AM XXCoder: yo
04:55 AM jthornton: morning
04:55 AM XXCoder: yo
04:58 AM jthornton: yikes the deep freeze is on it's 28°F with a high of 38°F
04:59 AM XXCoder: votex has arrived
04:59 AM XXCoder: im at west side, the only area missed by votex
04:59 AM jthornton: put a new switch on the test rig and got the same flaky results so I wonder why now
04:59 AM XXCoder: cooler though, peak 46f low 36f
04:59 AM XXCoder: gets warmer across week, and increasing rain. yay.
05:01 AM jthornton: bought a new clock for the night stand and I thought how nice blue LED blue is my favorite color and damn that thing is so bright you can see across the room... had to toss my t shirt over it to get to sleep lol
05:02 AM XXCoder: my 20 year old clock with old green lcd has two brown tapes covering it
05:02 AM XXCoder: I can still read it in nights but it wont keep me awake.
05:02 AM jthornton: the clear brown packing tape?
05:02 AM XXCoder: tapes is as old as clock,
05:02 AM XXCoder: nope
05:02 AM XXCoder: the regular packing tape
05:03 AM XXCoder: though its so old its faded a little and I can read it in lit room now
06:16 AM Tom_L: 17F Hi 44
06:16 AM jthornton: another hen has started to moult... dumb birds wait till it's cold to moult
06:17 AM Tom_L: dude ^^ it _is_ cold!
06:20 AM XXCoder: jthornton: wonder if can use those heated rocks usually used for lizards for those chickens?
06:21 AM jthornton: chickens are well insulated balls of down, so long as they have adequate ventilation they are fine
06:21 AM XXCoder: cool
06:27 AM jthornton: a big mistake new chicken owners make is to close up the roost area
06:29 AM jthornton: moisture from breathing and pooping needs a way to escape or it will condense on the combs and waddles and cause frostbite
06:33 AM XXCoder: makes sense
06:49 AM jthornton: I still can't figure out why I get multiple hits from the switch... sorta annoying
06:54 AM XXCoder: silly question but you added only one event right?
06:54 AM XXCoder: if you added 2 listener it would call both
06:54 AM jthornton: I added one for each input
06:55 AM XXCoder: yeah doubted that was case that you added two
06:55 AM jthornton: https://paste.ubuntu.com/p/ZZvNJZc5vQ/
06:55 AM XXCoder: test out see how riciously large debounce factor get before you get single event?
06:56 AM XXCoder: ok I dont know those variables but DOWN on both up and down?
06:56 AM XXCoder: lines `6 `7
06:56 AM XXCoder: er `6 `7
06:56 AM XXCoder: dammit 16 17
06:57 AM XXCoder: or is those seperate switches?
06:57 AM XXCoder: ah it is nevermind
06:58 AM XXCoder: code looks fine?
06:58 AM jthornton: something screwy going on, I just clicked one switch with a debounce of 1000000 and got a rising edge on both switches
06:58 AM XXCoder: is debounce on MS?
06:58 AM jthornton: can crosstalk be the issue at 3.3v?
06:59 AM jthornton: yea
06:59 AM XXCoder: 3 seconds I wonder if thats too large, try say 300?
06:59 AM jthornton: I started at 300, I'm thinking an electrical issue... the cable is a 3 wire from the switch
07:00 AM XXCoder: is it packed into single covering or can you seperate em as much as possible?
07:01 AM jthornton: I'll rewire it with separate wires or get a chunk of CAT 5 and use that...
07:02 AM Tom_L: do you debounce your switch?
07:03 AM jthornton: yea for 10 seconds lol
07:03 AM Tom_L: 30ms should be plenty
07:03 AM XXCoder: do lower volt mean more inference?
07:03 AM Tom_L: that or measure the switch bounce
07:03 AM Tom_L: then set it
07:04 AM XXCoder: Tom_L: that was what I remembered. 300ms is rather large but something up with his setup. code looks fine
07:04 AM jthornton: bounce has nothing to do with it, I switched one and got a rising edge on both!
07:04 AM Tom_L: it's just eager to get the job done
07:04 AM XXCoder: lol
07:09 AM jthornton: eager to drive me nuts lol
07:10 AM Tom_L: double check any var names etc
07:11 AM jthornton: https://paste.ubuntu.com/p/ZZvNJZc5vQ/
07:11 AM XXCoder: his code looked fine tom but then its 5 am im tired lol
07:12 AM Tom_L: won't help me.. i don't speak python or arm :)
07:12 AM Tom_L: it might come back as klingon
07:12 AM jthornton: it reads just like english lol
07:12 AM XXCoder: its similiar with C if you know that
07:13 AM Tom_L: one thing i learned is sometimes a delay inbetween certain things can help
07:15 AM XXCoder: hm I wonder if doing a assignment inside parameter can cause issues expecially if theres 2 of em on same variable
07:15 AM Tom_L: those look like interrupt driven events to me
07:15 AM XXCoder: move bouncetime =3000 elsewhere and just put bouncetime where bouncetime=3000 is
07:16 AM Tom_L: could be
07:17 AM XXCoder: im kinda puzzled why it uses assignments in function call anyway
07:18 AM XXCoder: callback= can be outright removed since it dont get used elsewhere
07:18 AM Tom_L: the while is where it sits most of the time
07:18 AM Tom_L: JT-Shop, add a delay inside the while
07:18 AM XXCoder: note I might be wrong as i am not fimiliar with embedded
07:18 AM Tom_L: just to test it
07:19 AM XXCoder: in fact I think bouncetime=, both of em, can be removed leaving just 3000
07:19 AM Tom_L: or does the sleep(0.1) do that?
07:19 AM jthornton: yea sleep is a delay
07:20 AM XXCoder: I dont like "magic" numbers as its not clear what number is from. so bouncetime=3000 somewhere above where its used and just bouncetime in function call is fine
07:20 AM Tom_L: i don't like libraries because you don't know what they're doing inside
07:20 AM Tom_L: my biggest peeve about arduini.
07:21 AM Tom_L: o
07:21 AM XXCoder: honestly large part of coding is learning libraries
07:28 AM Tom_L: not much help here..
07:34 AM XXCoder: jthornton: still rewiring?
07:34 AM jthornton: filling bird feeders lol
07:34 AM XXCoder: cool :)
07:34 AM XXCoder: well off to bed before I die. laters
07:34 AM jthornton: I disconnected input 23 and cycled 22 and got multiple inputs lol
07:34 AM jthornton: see you later
07:35 AM XXCoder: try refactor code as I discrived, move all assignments out function calls
07:35 AM XXCoder: *discribed
07:35 AM XXCoder: night
07:36 AM Tom_L: jthornton, how does that work?
07:36 AM Tom_L: noise?
07:36 AM Tom_L: add external pull up/down
07:37 AM * Tom_L recalls suggesting that a few days ago
07:39 AM jthornton: looks like the internal resistors are 50k and the suggested external is 10k IIRC so yea time to test that as well as adding a cap...
07:40 AM Tom_L: one at a time
07:41 AM jthornton: lol I got a rising edge detected on channel 22 just touching the switch terminal with my finger
07:44 AM Tom_L: woops
07:44 AM MarcelineVQ: XXCoder: it's not assignment, it's providing an argument to a named field. bouncetime=3000 is supplying the argument named bouncetime with the value 3000, this is part of python allowing default values for fields, and allowing you to selectively pick which ones to over-ride
07:45 AM Tom_L: alot of times the internal resistors are too weak, that's why i never trust them
07:46 AM MarcelineVQ: rather than initializing some variable bouncetime with the value of 3000 before passing it to the function
07:46 AM jthornton: yea after breakfast and starting a few fires I'll add a resistor to 22 and see what happens
07:46 AM MarcelineVQ: oh he left, darnit
07:46 AM jthornton: yea sleepy time for him
07:46 AM MarcelineVQ: this RPi.GPIO soruce code is hella weird
07:47 AM MarcelineVQ: might be normal for python-land tho ehe
07:48 AM jthornton: yea I'm just trying to add a timeout to my door function lol
07:50 AM MarcelineVQ: Oh I​ mean the code for the library, no your code
07:53 AM MarcelineVQ: little surprised there's so few options for rpi gpio in python, not that that's really indicative of anything
07:59 AM fragalot: hi
07:59 AM Tom_L: lo
08:12 AM jthornton: MarcelineVQ: are there better/more options for gpio in C?
08:15 AM MarcelineVQ: I've really no idea, just that between the popularity of pi and python I expected to find more options in a quick googling. Could be one of those momentum things, where some few options dominate since they're most used.
08:15 AM MarcelineVQ: Or search engine shenanigans :>
08:22 AM MarcelineVQ: Though it is noteworthy that python gpio are calls to c gpio anyway, python's job there is to make things slightly nicer to write and ideally safer
08:22 AM MarcelineVQ: e.g. https://github.com/metachris/RPIO/blob/master/source/c_gpio/c_gpio.c
08:24 AM MarcelineVQ: this is the c gpio from the other main python lib, which I think the above was based on https://gist.github.com/MarcelineVQ/46ef181b590b0d68dd3ff93cb371b8a4
08:26 AM MarcelineVQ: Not particularly pleasant stuff to write for one's self
08:36 AM fragalot: writing GPIO stuff in C is fine
08:36 AM fragalot: it's when you start having to process random text files on a system with limited memory (read: a few K of ram) that it gets interesting :P
09:05 AM jthornton: know of any examples of doing gpio in C?
09:10 AM rmu: jthornton: how do you connect your switch to the raspberry pi
09:10 AM jthornton: 3.3v > switch > input
09:11 AM rmu: no resistors anywhere?
09:15 AM JT-Shop: just the internal pull down
09:18 AM rmu: bounce time of a switch is on the order of ms max, bounce times of 300ms and more seem completely ridiculous
09:19 AM rmu: seems the GPIO lib is buggy
09:20 AM rmu: JT-Shop: https://raspberrypi.stackexchange.com/questions/76667/debouncing-buttons-with-rpi-gpio-too-many-events-detected
09:22 AM rmu: what one could do is sample the input pin with fixed frequency, e.g. 10kHz, compare with previous state, if changed, increment a per-input counter, iff counter > 5, report edge, else set counter to 0
09:29 AM jthornton: rmu: interesting info about debounce
09:40 AM fragalot: rmu: smarter way to do it is to use the interrupt, disable it immediately after receiving, and only re-enabling the interrupt after a set filter time
09:40 AM fragalot: rmu: that way you don't have to "hold off" on the event like most generic counter based debouncers
10:31 AM rmu: fragalot: i beg to differ, external interrupt only makes sense if you need to wakeup a µC or some similar. IMHO.
10:32 AM fragalot: or if you have strict timing requirements
10:32 AM fragalot: which is where my suggestion comes in
10:32 AM rmu: with mechanical switches that bounce the timing can't be that strict
10:33 AM fragalot: true
10:34 AM rmu: consider using RC element and schmitt trigger for debouncing, even that will introduce a delay
10:38 AM rmu: if you have a double-throw switch and extra wire you could use a flipflop for debouncing
10:54 AM JT-Shop: rmu: a delay is not an issue... what I'm trying to actually do is to have a time out function for the door that fires once as the door transitions
10:55 AM JT-Shop: and if it times out to block the door motor until it is manually reset
11:01 AM rmu: JT-Shop: ignore all that fancy GPIO edge stuff, just look at your inputs in a loop, sleep for a second in each iteration, and if input is same changed value for two iterations fire your edge-detected code
11:02 AM rmu: btw, using a raspberry pi for this is "mit kanonen auf spatzen schiessen"
11:03 AM rmu: adafruit trinket can also be programmed in python
11:03 AM rmu: costs <usd10
11:04 AM rmu: doesn need sd card
11:04 AM fragalot: I think he's already got the rpi set up anyhow
11:05 AM tiwake: JT-Shop: do you have a favorite manufacturer for servo drivers and VFD units?
11:06 AM tiwake: or anyone else really
11:08 AM JT-Shop: I have a GS2 from Automation Direct on the BP knee mill conversion...
11:08 AM JT-Shop: rmu: that's what I'm testing now
11:09 AM JT-Shop: rmu: yea there are lots of cheaper things I could have used including a drawer full of ardunios lol
11:09 AM JT-Shop: however the RPi has a nice terminal block that just plugs into it...
11:11 AM rmu: back in the day, I participated in a university course on some magnetohydrodynamics simulation stuff with mathematica on a machine that was about as capable and fast as a raspberry pi 3
11:11 AM * JT-Shop wonders why Monique is still in the nest box...
11:11 AM rmu: using such a machine to look at some external door switch many millions of times per second seems wasteful...
11:13 AM JT-Shop: well that is not all that it does... but yea it has much more power than needed but the terminal block just makes up for all that extra power
11:24 AM JT-Shop: but anyway when code should work but does not you start grasping at whatever you can find like the edge detect stuff
02:42 PM Tom_L: JT-Shop, make any progress?
02:43 PM JT-Shop: yea, I think I got a working solution but it's a bit clunky
02:43 PM Tom_L: what was the issue?
02:51 PM JT-Shop: I never did figure out why the edge detect gave multiple hits, I tried something different
02:51 PM JT-Shop: I guess I need to try a RC circuit on the inputs just for fun
04:09 PM Deejay: gn8
04:15 PM XXCoder: MarcelineVQ: interesting! never seen that style argument.
04:15 PM XXCoder: JT-Shop: looks like I was mistaken. sorry. :)
04:17 PM XXCoder: I got idea for debugging, graph the input from your switches
04:17 PM XXCoder: see what the heck is going on
04:59 PM jthornton: hey XXCoder
05:00 PM XXCoder: hey
05:00 PM jthornton: this actually works if not very elegant lol https://paste.ubuntu.com/p/9dBW2gZby7/
05:00 PM jthornton: going to put a RC circuit on an input and test some more
05:00 PM XXCoder: man python coding style is quite different than I expected. I mean, override object internal variables huh
05:01 PM XXCoder: yeah that would feed bouncing feed to light but light dont really care
05:01 PM Tom_L: the original was interrupt driven wasn't it?
05:01 PM Tom_L: this doesn't appear to be
05:02 PM Tom_L: just inline code
05:02 PM XXCoder: Tom_L: yep INT driven but it dont seem to work well
05:03 PM jthornton: yea the one I was messing with before was interrupt driven
05:03 PM jthornton: https://paste.ubuntu.com/p/5WQ2x5Pnz3/
05:04 PM Tom_L: was the interrupt being cleared after each hit? sometimes they must be manually reset. i dunno if that is the case here
05:04 PM Tom_L: generally reading or servicing an interrupt will clear it
05:04 PM jthornton: hmm no, but if I remove the event detection then next time what happens
05:05 PM XXCoder: clear the event not listener
05:05 PM jthornton: I think the switch bounce is just the issue
05:05 PM Tom_L: that is very typically 20-30ms
05:06 PM XXCoder: he went all way to 10 seconds. still double events
05:06 PM XXCoder: https://www.raspberrypi.org/forums/viewtopic.php?t=40675
05:06 PM rmu: "while (not sleep..." looks strange...
05:06 PM XXCoder: rmu: its legal. sleep returns 0 an not makes it not 1 ie: same as true
05:07 PM XXCoder: err not 0
05:07 PM rmu: None
05:08 PM XXCoder: jthornton: try this, set sleep(.1) to sleep(.5) see if its race condition between event clearing and checking
05:08 PM rmu: sleep doesn't return anything, so in some sense, this is an endless loop in disguise
05:08 PM XXCoder: it is endless loop
05:09 PM _unreal_: GOT to love trying to log into linux well unlock the display and enter your password only to have it reject it multi times
05:09 PM _unreal_: I'm like WTF
05:09 PM rmu: i would write endless loop as "while True:" to make it explicit
05:09 PM _unreal_: after trying 20+ times. I said ding ding ding.... wonder if caps locks are on :)
05:10 PM XXCoder: _unreal_: windows displays "your caps is on" type text when it is on in login screen
05:10 PM _unreal_: I'm talking about linux
05:10 PM XXCoder: I know
05:10 PM XXCoder: I was talking about windows as comprasion
05:11 PM _unreal_: I dont have any windows machines (currently)
05:11 PM XXCoder: me either
05:11 PM rmu: it depends on the display managers greeter, some display a warning if CAPS is on
05:13 PM _unreal_: could be
05:14 PM XXCoder: it does
05:14 PM _unreal_: well monday is going to be fun.... I screamed at my boss today because he abandomed me in a danger work environment.
05:14 PM XXCoder: mine don't I think but same time havent tried to login with caps on yet :)
05:14 PM _unreal_: today not monday
05:14 PM _unreal_: err
05:15 PM _unreal_: lot on my mind and my daughter is yacking at me
05:15 PM XXCoder: login displays ! speak ballon in password vox when caps is on. cool
05:16 PM _unreal_: 3 guys at the sight including me. and nether checked on me in the hole for about 40 min.... high chemical level deadly if you dont have protective gear on....
05:16 PM jthornton: XXCoder: we found something this afternoon that the bouncetime is not really a debounce
05:17 PM XXCoder: really? what does it do?
05:18 PM XXCoder: _unreal_: ouch. worksite safety can be important. if I work overtime there must be in least 2 hearing guys and I cant be counted as one for workspace safety
05:18 PM jthornton: something rmu found https://raspberrypi.stackexchange.com/questions/76667/debouncing-buttons-with-rpi-gpio-too-many-events-detected
05:19 PM rmu: google found it ;)
05:19 PM XXCoder: man
05:20 PM XXCoder: its like anti-debounce
05:21 PM XXCoder: so I guess you need to code in debounce yourself
05:21 PM XXCoder: make sure value holds true for whatever time you want then its definitely real press. bleh
05:23 PM jthornton: it's a toggle switch so it's a real transition but bumpy I guess... I need to find a page that explains how to calculate the rc circuit
05:24 PM _unreal_: and I ran out of supplys (my ran out of resin, I needed a new roller, I needed new carbon cartridges), I kept screaming for help. kicking teh walls etc..... when my gloves disintegrated and ripped open I blew up.... I climbed out screamed... NOTHING yet I could hear them talking....
05:24 PM _unreal_: going to be interesting
05:24 PM jthornton: right now the manual switch works fine but I want to add a time out to the travel time
05:25 PM Tom_L: http://protological.com/debounce-calaculator/
05:25 PM _unreal_: jthornton, are you going to do a hardware debounc? or a software debounce?
05:25 PM Tom_L: https://www.avrfreaks.net/forum/rc-filter-calculation-switch-debouncing
05:25 PM jthornton: I'm going to try a hardware debounce
05:25 PM XXCoder: jthornton: wonder if you can use keyboard buttons. they use various stragies to make bouncing very short
05:26 PM _unreal_: a software debounce would likely be less work.... I mean its looking for an interrupt trigger...... then have a wait state, then check if the state is still the same about 7-10ms later..
05:26 PM jthornton: the RPi has no keyboard, mouse or monitor but I'm thinking of using a touch screen
05:27 PM XXCoder: cherry red MX for example
05:27 PM XXCoder: its designed to avoid bouncing
05:27 PM Tom_L: here's a whole essay on switch debounce: :) https://pubweb.eng.utah.edu/~cs5780/debouncing.pdf
05:27 PM _unreal_: jthornton, if you do a hardware debounce.. your going to need a shcimitt trigger and a few other parts...
05:28 PM jthornton: I have a AR trigger will that work?
05:28 PM _unreal_: ar trigger?
05:28 PM Tom_L: AR?
05:28 PM _unreal_: lol
05:29 PM XXCoder: hopefully not followed by -15
05:29 PM jthornton: of course it is
05:29 PM XXCoder: jthornton: https://massdrop-s3.imgix.net/img_thread/8I3OR661T3ulauCdZZXY_63d6e74f9a8a4dbaaae6dcaed0b76479.gif
05:30 PM XXCoder: mechanical keyboard switches, they are designed to avoid bouncing
05:32 PM XXCoder: spring type https://www.leafandcore.com/wp-content/uploads/2017/08/buckling-spring-100225900-orig.gif
05:34 PM Tom_L: just use a switch with a spring so tight it can't bounce
05:34 PM Tom_L: dammit!
05:34 PM _unreal_: XXCoder, all keyboards bounch.. any machanical contact bounces period...
05:34 PM _unreal_: does not matter WHAT it is or what type it is.... could be carbon contacts.. or hard metal etc...... they call produce a bounch...
05:34 PM XXCoder: _unreal_: of course. cant beat ohysics. what I mean is make it short as possible
05:35 PM XXCoder: some of examples I posted the bouncing period is very short
05:35 PM _unreal_: if there is a bounce period... its still bouncing
05:35 PM XXCoder: isnt that what I said?
05:36 PM _unreal_: :) yep
05:37 PM XXCoder: jthornton: ... simpler than I thought https://hackadaycom.files.wordpress.com/2015/11/debounce-sch.png
05:37 PM XXCoder: I dont pretend to completely understand that but interesting
05:38 PM XXCoder: https://hackaday.com/2015/12/09/embed-with-elliot-debounce-your-noisy-buttons-part-i/
05:38 PM jthornton: yea that's a rc debounce circuit with a pull up, I don't understand it either lol
05:38 PM Tom_L: did you look at that 'essay' site?
05:39 PM XXCoder: reading it current;ly
05:39 PM Tom_L: it shows several different debounce circuits
05:39 PM jthornton: I missed that one... looking now
05:39 PM Tom_L: RC is probably most effective with a gate on the end of it
05:39 PM pcw_home: cant you just poll at a decent rate and do software debounce?
05:40 PM Tom_L: i probably would
05:40 PM Tom_L: https://pubweb.eng.utah.edu/~cs5780/debouncing.pdf
05:40 PM XXCoder: lowpass interesting
05:41 PM XXCoder: r*c I’m using the microcontroller’s internal pullup resistor, which is around 10K ohms, and a 100nF capacitor, which gives 0.001 seconds — a microsecond — on the release.
05:41 PM XXCoder: jthornton: yep should read that. very interesying website. Tom_L's link probably is even better
05:42 PM jthornton: pcw_home: this is the code that is running now (the auto part) but I want to add a timeout feature https://paste.ubuntu.com/p/DRMVQWDqbq/
05:42 PM jthornton: to drop out the relay if it takes too long ie the door is stuck or a chicken ate the cord etc
05:43 PM jthornton: https://paste.ubuntu.com/p/bM2WNVHKfn/ this also shows the manual part
05:45 PM XXCoder: does python has Timer object?
05:45 PM XXCoder: if so maybe can just create timer on override if its running too long and interrupt
05:46 PM jthornton: so I cobbled this up this afternoon and it seems to work https://paste.ubuntu.com/p/T7JQZNjsWy/
05:46 PM jthornton: the problem is starting something only once like a timer and not restarting it every bounce
05:46 PM pcw_home: yeah I would just poll the inputs every time around the loop and wait for N high or N low on the GP inputs before passing the GP in data up the chain
05:47 PM XXCoder: jt that code is near bulletproof
05:47 PM Tom_L: yeah but interrupts is where the cool kids play
05:47 PM jthornton: lol
05:47 PM XXCoder: lol
05:47 PM pcw_home: Interrupts are silly here
05:47 PM jthornton: XXCoder: the last one?
05:47 PM Tom_L: pretty much since that's about all it's doing
05:48 PM XXCoder: yeah short code on lights
05:48 PM Tom_L: jthornton, when you finish... program a stop light cenario
05:48 PM jthornton: I think it's faulty because I don't reset lt if I turn the switch off too soon
05:49 PM pcw_home: that is you conditionals should only look at filtered GPIO input data
05:49 PM pcw_home: s/you/your/
05:49 PM XXCoder: it has no handling for < 10 and turned to untrue
05:49 PM jthornton: what do you mean by filtered GPIO input?
05:50 PM XXCoder: such tiny window of unhandled range (0, 10)
05:50 PM jthornton: XXCoder: yea need to drop off the last lt > 10 as I assume by then the switch has settled down
05:51 PM pcw_home: all gpio input go through a filter (count up when high count down when low) and only the filtered data is ever looked at
05:51 PM XXCoder: maybe make it if untrue then... if > 10 then... else ....
05:51 PM XXCoder: so you dont spam yourself with da lights is off!"
05:51 PM jthornton: pcw_home: I see now
05:51 PM pcw_home: since you have a .1 second loop count of 3 should be fine
05:52 PM pcw_home: count needs to be bounded at 0 and 3
05:52 PM pcw_home: when 3 report high
05:52 PM pcw_home: when 0 report low
05:52 PM XXCoder: pcw_home: I was wondering if could make it .05 second and keep lt values where it is so its now half second debounce?
05:52 PM pcw_home: this also provide noise rejection
05:52 PM XXCoder: or .01 second, making it 1/10 second debounce?
05:53 PM XXCoder: but that would be very fast loop so ehh
05:53 PM pcw_home: basically you should never make a decision on unfiltered data
05:53 PM jthornton: pcw_home: thanks I'll give that a whirl in the morning... chow time now some Texas Red is calling my name
05:54 PM XXCoder: hey hey hey you must send me some now. remember the chat rules, if menon food you must send some to XXCoder !
05:54 PM XXCoder: ;)
05:55 PM jthornton: I'll email you a bowl but you have to provide the onions...
05:55 PM XXCoder: lol
05:55 PM jthornton: http://gnipsel.com/recipes/beef/chili-con-carne.html
05:56 PM XXCoder: looks decent
05:56 PM jthornton: thanks for all the help guys
05:56 PM XXCoder: dunno if I actually helped lol but no problem
06:46 PM ChunkyPuffs: hey, back
06:47 PM ChunkyPuffs: I have a garbage CNC machine called "CNCEST"
06:47 PM ChunkyPuffs: I have no idea how to use it, have some weirdo controller with it, ultimately hoping to use LinuxCNC, just don't want to bother doing all of that tonight, including rewiring everything. Anybody feeling in the mood to help me get something going?
06:48 PM ChunkyPuffs: The thing is plugged in, it shows up as "RNR ECO MOTION 2.0
06:48 PM ChunkyPuffs: "
06:55 PM ChunkyPuffs: So it sees the device in linux, say I have some gcode, how do I send it over usb?
07:13 PM pcw_home: if it emulates a serial device it might be easy to just copy the file to it
07:18 PM ChunkyPuffs: pcw_home, so I can literally just echo something to it via a shell?
07:18 PM ChunkyPuffs: like echo /dev/itsname?
07:27 PM XXCoder: cnest yeech
07:29 PM gregcnc: looks like something made to run with Mach3
07:29 PM ChunkyPuffs: It shows up in linux, but does nothing with universal gcode sender
07:29 PM ChunkyPuffs: it's not operating as a serial port
07:30 PM XXCoder: looks like standard chiniseium cnc
07:33 PM XXCoder: gregcnc: search bears it out. mach3
07:33 PM XXCoder: and if can mach3, can do linuxcnc
07:33 PM gregcnc: via usb?
07:34 PM ChunkyPuffs: Well how do I go about doing stuff on it with linuxcnc?
07:34 PM gregcnc: linuxcnc can certainly run the machine, but it wil need parport or mesa, etc.
07:34 PM ChunkyPuffs: as it stands, I tried to cat circle.gcode > /dev/usb/hiddev0 2>&1
07:34 PM XXCoder: no serial connection?
07:34 PM ChunkyPuffs: Which probably means nothing, I'm a noob lol
07:34 PM ChunkyPuffs: it doesn't look like it, but where would I look if it was serial?
07:34 PM ChunkyPuffs: it shows up at /dev/usb hiddev0
07:35 PM XXCoder: hid device 0 interesting
07:35 PM ChunkyPuffs: in which case, not much I can do?
07:36 PM ChunkyPuffs: the actual connector on the machine is control output, and it looks like serial to me
07:36 PM ChunkyPuffs: I think it's a printer cable though? Dunno, a bit beyond my age lol
07:37 PM XXCoder: printer is approx 1.5 inch wide port
07:37 PM ChunkyPuffs: it is that massive hence why I'm saying it
07:37 PM XXCoder: it is then
07:37 PM ChunkyPuffs: so what's the steps in figuring out what to do here
07:38 PM ChunkyPuffs: it's garbage, its on ebay for like £90
07:38 PM XXCoder: figure what pins do what
07:38 PM XXCoder: is there pins list anywhere?
07:40 PM ChunkyPuffs: https://www.ebay.com/p/CNC-Router-Engraver-Milling-Machine-Engraving-Drilling-3-Axis-3020-Desktop-USB/894312284
07:40 PM ChunkyPuffs: pins list?
07:40 PM ChunkyPuffs: There's a weird board inside
07:40 PM ChunkyPuffs: https://imgur.com/gallery/0T8S0aJ
07:41 PM XXCoder: looks like BOB and 3 drivers. nice case
07:42 PM XXCoder: on BOB (first picture) there should be pin nunbers by axis letters
07:42 PM XXCoder: maybe its on other side
07:43 PM XXCoder: 3 outputs and 4 inputs not bad
07:44 PM evilroot: Yeah, that's a USB BOB
07:45 PM XXCoder: evilroot: rear of box clearly shows parallel port
07:46 PM evilroot: Nope, that's the connector to the motors
07:46 PM evilroot: Might use a DB-25 connector but its not parallel heh
07:46 PM XXCoder: apparently. bleh
07:46 PM XXCoder: can still find out pins by breakout board though
07:46 PM gregcnc: centronics
07:46 PM XXCoder: just not sure if its printed on mount surface or other side
07:47 PM evilroot: Each of those three driver boards take step/dir signals from the BOB
07:47 PM XXCoder: yep
07:47 PM evilroot: The BOB itself fully optically isolated, which is rare on cheaper ones
07:48 PM ChunkyPuffs: Yeah I was told by a few people on maker night here at the space I'm at that the port is responsible for power and not any data
07:48 PM XXCoder: thats why need to look at BOB for pin number prints if any, so he can configure linuxcnc
07:48 PM ChunkyPuffs: that printer cable looking thing is purely re-used as power
07:48 PM ChunkyPuffs: what's BOB?
07:48 PM XXCoder: i hate it when standard port is used in nonstandard way
07:48 PM XXCoder: breakout board
07:49 PM XXCoder: first picture in your list
07:49 PM evilroot: Um, you can't use LinuxCNC with a USB breakout
07:49 PM gregcnc: there are apparently many verions of that particualr board
07:49 PM evilroot: That USB breakout likely accepts gCode
07:49 PM XXCoder: yeah I was thinking that that port was parallel, guess not
07:49 PM XXCoder: but when he tried to feed it gcode nothing happened?
07:49 PM evilroot: If you want to use LinuxCNC with that system simply replace that BOB with a parallel one
07:50 PM XXCoder: yeah BOB with parallel is quite cheap
07:50 PM evilroot: XXCoder: likely incorrect communication protocol
07:50 PM XXCoder: lemme find one
07:50 PM evilroot: baud rate, etc
07:50 PM evilroot: Or it may even ned a specific program
07:50 PM XXCoder: https://www.aliexpress.com/item/SAVEBASE-Upgrade-Usb-5-Axis-Cnc-Breakout-Board-Interface-Adapter-For-Stepper-Motor-Driver/32251904090.html
07:50 PM evilroot: Easiest way is like I said just swap out to a parallel one
07:51 PM XXCoder: I didnt even try look for best deal, just first example
07:51 PM XXCoder: looks quite a good deal tho, comes with serial, and has port for pendant
07:51 PM XXCoder: nice
07:51 PM evilroot: Lukily everything is really straightforward, just move over step/dir and input/output, easy peasy
07:52 PM XXCoder: *parallel printer cable
07:53 PM ChunkyPuffs: I'm interested in linuxcnc, but not tonight
07:53 PM ChunkyPuffs: is there any way I can send some test gcode to the machine tonight
07:53 PM XXCoder: your machine might require some strange software like evil said
07:53 PM ChunkyPuffs: so mach3 on windows?
07:53 PM ChunkyPuffs: is there a legally obtainable free piece of software like mach3 I can get?
07:53 PM XXCoder: nope
07:54 PM ChunkyPuffs: Or alternatively, mach3, for free, legally.
07:54 PM XXCoder: ll free mach3 is cracked.
07:54 PM ChunkyPuffs: llo
07:54 PM XXCoder: thats why they are still pushing mach3 and not 4 or newer
07:54 PM XXCoder: mach4 is unbreakable apparently or they'd all push it by now
07:56 PM ChunkyPuffs: got a hash?
07:57 PM XXCoder: yours kinda looks like this https://www.aliexpress.com/item/Good-Quality-CNC-USB-MACH3-100Khz-Breakout-Board-4-Axis-Interface-Driver-Motion-Controller/32916316700.html
07:57 PM XXCoder: yep even has that eagle
07:58 PM ChunkyPuffs: so this board sucks?
07:58 PM ChunkyPuffs: got a torrent hash for mach3?
07:58 PM ChunkyPuffs: one that isn't labelled "Artsoft Mach3 + CrAcK"
07:58 PM XXCoder: it might be workable but eh i'd just buy board and bin that bob
07:58 PM ChunkyPuffs: that thing from aliexpress that you posted earlier will run linuxcnc?
07:59 PM XXCoder: youre supposed to get cd with your machine apparently but I guess not
07:59 PM ChunkyPuffs: what do I need to do to get this to run cnc? an arduino or something?
07:59 PM XXCoder: not sure if its best deal
07:59 PM XXCoder: nah you just need a pc you can install linuxcnc os on
07:59 PM XXCoder: and it should do decent on latency test
08:00 PM ChunkyPuffs: wait so I can run linuxcnc on this BOB then?
08:00 PM XXCoder: yours nah its usb type
08:00 PM XXCoder: I thought it had parallel port thats why I said it could earlier
08:00 PM XXCoder: but nope
08:00 PM ChunkyPuffs: oh, so grab that bob from your aliexpress link and then replace what's in my current controller?
08:01 PM XXCoder: hey evilroot what ya think of one I linked?
08:01 PM XXCoder: it dont look like it has optical couplers
08:02 PM XXCoder: might be wrong tho
08:02 PM XXCoder: this one does. https://ae01.alicdn.com/kf/HTB1tOrsbCsQ2uJjSZFFq6xYUFXaE/1pcs-MACH3-Engraving-machine-5-Axis-CNC-Breakout-Board-With-Optical-Coupler-For-Stepper-Motor-drive.jpg_640x640.jpg
08:03 PM ChunkyPuffs: will be back later
08:03 PM ChunkyPuffs: going into windows to test mach3
08:03 PM XXCoder: ChunkyPuffs: https://www.aliexpress.com/item/1pcs-MACH3-Engraving-machine-5-Axis-CNC-Breakout-Board-With-Optical-Coupler-For-Stepper-Motor-drive/32830611064.html
08:04 PM XXCoder: see picture of bottom? it has pin numbers
08:04 PM XXCoder: ydor is p8 for example
08:04 PM XXCoder: *ydir
08:04 PM ChunkyPuffs: yeah, what about it?
08:05 PM ChunkyPuffs: You want to see the back of my board?
08:05 PM XXCoder: thats info you use to find pins on that specific breakout board.
08:05 PM XXCoder: nah
08:05 PM ChunkyPuffs: I have an irc session on another machine, is it freenode blocking me from talking on it?
08:05 PM XXCoder: yours simply wont work for linuxcnc
08:05 PM ChunkyPuffs: says I can't get voice in channel, I'm registered and everything
08:05 PM ChunkyPuffs: ah ok
08:05 PM XXCoder: npot too sure but think you can register in only one location at time? dunno
08:07 PM ChunkyPuffs: https://forum.linuxcnc.org/media/kunena/attachments/482/mapped.png
08:07 PM ChunkyPuffs: how do I get my mach3 kitted out like this?
08:07 PM XXCoder: no idea, I use linuxcnc
08:07 PM ChunkyPuffs: lmfao
08:07 PM ChunkyPuffs: this is from the linuxcnc forums
08:07 PM XXCoder: honestly?
08:07 PM XXCoder: I want working ui, not eye candy
08:12 PM Tom_L: hazzy-m and a few others are working on a similar gui
08:12 PM XXCoder: saw ad, interesting https://www.gearbest.com/novelty-toys/pp_009244385861.html?
08:12 PM XXCoder: Tom_L: really? full of glossy stuff?
08:12 PM Tom_L: not quite that busy but similar
08:13 PM evilroot: XXCoder: honestly couplers aren't a huge deal unless you really fuck up
08:15 PM XXCoder: lol ok
08:16 PM Tom_L: https://github.com/KurtJacobson/hazzy
08:16 PM Tom_L: that might be it
08:16 PM Tom_L: not sure
08:16 PM Tom_L: i think there's a more recent one
08:16 PM evilroot: I've been messing with parallel controlled stuff for over 2 decades and never once have I fried one
08:17 PM evilroot: Despite seriously iffy practices when I was younger lol
08:18 PM cnomad: is it typical for a stepper motor stage (w/ optical limit sensors) to have the limit sensors pulse when they are actuated?
08:18 PM cnomad: It seems like this stage sources some current from the motor leads
08:19 PM cnomad: in addition to sourcing it from a wire called "+VS", which is constant 7v
08:19 PM cnomad: i can just add a cap in parallel and call it a day, but I'm curious
08:19 PM Tom_L: https://forum.linuxcnc.org/41-guis/32678-hazzy-another-touchscreen-gui
08:19 PM Tom_L: XXCoder
08:19 PM cnomad: i also passed the official controller through a scope and noticed there was some pulsing, albeit less of it
08:20 PM Tom_L: but there's another one
08:20 PM XXCoder: looking
08:20 PM XXCoder: I like the look
08:20 PM Tom_L: you'd like the newer one better
08:21 PM Tom_L: but i can't seem to find it
08:21 PM hazzy-m: Tom_L: Here is a thread with screen captures of Lcvettse's screen made with QtPyVCP: https://forum.linuxcnc.org/41-guis/34996-another-gui-project-underway?start=0
08:21 PM Tom_L: i figured you'd wake up sooner or later :D
08:21 PM XXCoder: that ones not bad also
08:21 PM hazzy-m: the QtPyVCP repo is here: https://github.com/kcjengr/qtpyvcp
08:21 PM Tom_L: is it working yet?
08:22 PM XXCoder: slightly concerned with slightly gray text on gray background
08:22 PM hazzy-m: Almost, it can run a machine, but still a lot left to do
08:22 PM XXCoder: gcode background should be white
08:22 PM hazzy-m: XXCoder: I think he improved some of the colors letter on, look near the end of the thread
08:23 PM XXCoder: bcause numbers nad comments is little bit hard for me to read
08:23 PM hazzy-m: XXCoder: I agree on the gcode background for sure
08:23 PM XXCoder: https://forum.linuxcnc.org/media/kunena/attachments/21571/probebasicmainscreenrelocatedincrementsforjog.png
08:24 PM Tom_L: that doesn't bother me
08:24 PM hazzy-m: Right now we are more focused on the back end coding than the looks, so there will be a lot of refinements latter on
08:24 PM hazzy-m: I think the gcode font should be bigger too
08:24 PM XXCoder: Tom_L: it does for me, I dont want even slightest problem reading
08:25 PM evilroot: cnomad: is everything on the same ground?
08:25 PM cnomad: yep
08:26 PM cnomad: scope, voltage source, and driver
08:26 PM evilroot: Oh, just saw it sources current from the motor leads
08:26 PM Tom_L: better than lime green on black
08:26 PM cnomad: (maybe it does)
08:26 PM evilroot: That's why
08:26 PM cnomad: ok
08:26 PM cnomad: yeah
08:26 PM evilroot: Just throw in a cap
08:26 PM cnomad: so pulsing is normal in this case because current is pulsed to keep the magnetic field around the windings up -- is that correct?
08:27 PM cnomad: (what's odd is that I also need to connect this mystery +VS wire to see something from the limit sensors)
08:27 PM evilroot: If that doesn't solve it use a Schmitt trigger
08:27 PM cnomad: sounds good. hoping I didn't do anything else weird that may be causing this
08:28 PM evilroot: cnomad: motors generate noise on their leads, that's why they usually usually have caps as a buffer
08:28 PM cnomad: gotcha
08:28 PM evilroot: Of course you have to attach VS to the sensor
08:28 PM cnomad: oh, is VS a reference voltage?
08:28 PM cnomad: I have not idea what VS means in this context
08:28 PM evilroot: No, it powers the light
08:28 PM cnomad: oh
08:28 PM cnomad: OHP
08:28 PM evilroot: hahaha
08:29 PM cnomad: So the current from the motor leads, that's for the detector part of the optical sensor?
08:29 PM cnomad: and the emmitter is sources from VS?
08:29 PM cnomad: *sourced
08:29 PM evilroot: Yeah
08:29 PM cnomad: THANK YOU
08:30 PM cnomad: now I have a better understanding of what the hell I'm doing
08:30 PM evilroot: It's a light on one side (usually an IR LED) and a detector on the other side that's basically a light-activated switch
08:30 PM evilroot: Something gets between the two and the dectector no longer has light shining on it
08:31 PM * hazzy-m goes to build the first fire of the fall
08:32 PM evilroot: Since usually they give a sort of sloping analog signal there's usually something involved that changes it to a more pure digital 1 or 0
08:32 PM cnomad: right, like a transistor or something else with forward bias?
08:33 PM evilroot: At the simplest
08:33 PM evilroot: Hence why optical limit switches have a PCB
08:34 PM cnomad: Gotcha. I haven't gotten to the point of taking this stage apart yet (that may have answered my question, too)
08:34 PM evilroot: The really nice ones have what's called a Schmitt trigger
08:34 PM cnomad: but this helps and probably resolves the issue
08:34 PM cnomad: gotcha
08:35 PM evilroot: Which actively removes noise and bounce via hystersis and feedback
08:35 PM evilroot: Also nearly all optical limit switches run of 5v
08:36 PM evilroot: And their power needs to be very consistent and well regulated, or you'll get weird results
08:37 PM cnomad: that seems to match with what I'm seeing on the datasheet. what's interesting is that the official controller also pulses VS +/- 1 volt, but that may be a side effect as to how it was designed
08:37 PM cnomad: i really appreciate the information
08:38 PM cnomad: I'm using the same 5v power supply as my BBB, and the scope indicates it's fairly stable. Anyway, going to add a cap, will report back. Thanks again!
08:53 PM cnomad: out of curiosity, why wouldn't they source current for both the emitter and detector sides of the light sensor from +VS?
08:54 PM cnomad: instead of having the detector on the motor winding circuit?
09:24 PM evilroot: because they're stupid?
09:26 PM evilroot: The entire thing should be on a separate well regulated supply with shared ground, but people cut corners
09:33 PM cnomad: hm. not the first time i'd encounter a stupid design but, *shrug*
09:34 PM cnomad: right there's only one GND, not isolated
09:34 PM evilroot: http://www.rocketlabusa.com/live-stream/
09:34 PM evilroot: This will be a neat one to watch
09:57 PM matthew_ is now known as Guest5300
10:19 PM ChunkyPuffs: test
10:19 PM ChunkyPuffs: Thank God for that, stuck in account creation hell, anyway I'm back
10:19 PM ChunkyPuffs: the garbage cnc isn't any further along, I'm afraid
10:20 PM XXCoder: welcome back
10:24 PM ChunkyPuffs: So, I have to manually get a datasheet or something for mach3 in order to tell to tell it what pins are which?
10:24 PM ChunkyPuffs: I'm fucked!
10:25 PM XXCoder: yeah it should have had a cdrom with it already configured
10:25 PM ChunkyPuffs: I can't figure that out lmfao, there's so many pins. I already manually deciphered one guy's video of his mach3 setup on youtube for a similar cnc
10:25 PM XXCoder: tend to have files to read docs and such
10:25 PM ChunkyPuffs: Well this is what some guy gave me, no data sheet, no cd, no nothin'
10:25 PM ChunkyPuffs: didn't come with one I'm told
10:25 PM XXCoder: probably couldnt figure it
10:26 PM XXCoder: solution really isnt complex, buy a parallel BOB and configure linuxcnc since that BOB actually has pins in it
10:26 PM XXCoder: (pin number printed on it)
10:28 PM ChunkyPuffs: So you don't reckon there's much that can be done right now?
10:30 PM XXCoder: it doesnt list anything so reverse engineering would take quite a while
10:36 PM Lcvette: yo
10:36 PM Lcvette: whats cookin in here?
10:36 PM XXCoder: you
10:36 PM Lcvette: lol
10:36 PM XXCoder: this is pretty cool https://www.aliexpress.com/item/Plastic-PT-Kit-Pan-Tilt-Camera-Platform-Anti-Vibration-Mount-for-FPV-RC/32801981819.html
10:37 PM XXCoder: combine it with VR and you got nice POV setup
10:37 PM Lcvette: uh oh.... 11.11 mania in here huh?
10:37 PM XXCoder: not really
10:38 PM XXCoder: been thinking aboyut something fun with servos but dunno
10:38 PM Lcvette: yeah?
10:38 PM Lcvette: im researching some servo stuff myself at the moment
10:38 PM Lcvette: i just bought a little machine for a retrofit
10:38 PM XXCoder: to what endpoint?
10:38 PM Lcvette: bought a little rhino ST8 cnc slant lathe
10:39 PM XXCoder: https://blog.hurco.com/hs-fs/hub/209468/file-517125189-jpg/images/slant_bed_lathe_1.jpg ?
10:39 PM * Lcvette uploaded an image: big_6_20080610092440_16970.jpg (16KB) < https://matrix.org/_matrix/media/v1/download/matrix.org/krozjxeJkikuyzLhUxkIJTjb >
10:39 PM * Lcvette uploaded an image: chuck and ways.jpg (211KB) < https://matrix.org/_matrix/media/v1/download/matrix.org/dQPLzCUMFIVhKOzvbflxSJiQ >
10:39 PM Lcvette: smaller
10:39 PM Lcvette: lol
10:39 PM XXCoder: oh definitely not "little"
10:39 PM Lcvette: but with a turret
10:40 PM Lcvette: its pretty small
10:40 PM * Lcvette uploaded an image: s-l500.jpg (39KB) < https://matrix.org/_matrix/media/v1/download/matrix.org/vJkFbuALBwiyrOvkhIKgpBnV >
10:40 PM XXCoder: interesting
10:41 PM XXCoder: I look forward to lathe rook in future lol
10:41 PM Lcvette: hahaha
10:41 PM XXCoder: converting it to linuxcnc or?
10:41 PM Lcvette: yeah
10:41 PM Lcvette: came with fanuc 6T controller
10:41 PM Lcvette: servos
10:41 PM XXCoder: if I had room I'd want to grab old fadal from work and change it to linuxcnc
10:41 PM Lcvette: pretty old school stuff though
10:42 PM Lcvette: need to see if the servos are worth keeping around and using new drives or swapping out all together
10:42 PM Lcvette: machine hasn't even gotten here yet, won't arrive until Tuesday
10:46 PM XXCoder: lol https://www.aliexpress.com/item/multifunction-lathe-10mm-three-chuck-96w-spindle-Mini-Lathe-Beads-Machine-Polishing-customize-clamp-length-DIY/32822266408.html
10:48 PM XXCoder: is it 3 phase, do you have source if it is?
10:49 PM Lcvette: not 100% sure
10:49 PM Lcvette: i have 220v 3ph here
10:49 PM Lcvette: 25hp RPC
10:49 PM Lcvette: runs my big machine
10:50 PM XXCoder: cool
10:50 PM Lcvette: but the existing controller is a bit wrecked
10:51 PM Lcvette: the monitor is broken on it beyond repair
10:51 PM Lcvette: there are some cables that have been damaged
10:51 PM Lcvette: not sure if i would want to even try and restore an old fanuc 6T control anyhow
10:51 PM Lcvette: bit clunky
10:51 PM Lcvette: late 80's
10:52 PM Lcvette: early 90's control
10:53 PM XXCoder: hard to source parts
10:54 PM Lcvette: yup
10:56 PM Lcvette: seems like a fun little machine from the research i was able to gather on it which is quite limited
10:56 PM Lcvette: it has a D1-4 spindle nose with 5C taper
10:56 PM Lcvette: and has linear rails for x and z axis
10:57 PM Lcvette: pretty high tech for a small machine from the 80's
10:57 PM Lcvette: fairly light at only 790lbs
10:57 PM Lcvette: but not too bad
10:58 PM Lcvette: has a 2hp DC spindle
10:58 PM Lcvette: and had an optional pneumatic collet closer
10:59 PM Lcvette: although finding one is impossible im sure as these machines are pretty rare now days
11:19 PM XXCoder: interesting
11:19 PM XXCoder: bunch of machines at work has that, pretty convient
11:42 PM XXCoder: so... anyone wanna caliber under 4 bucks? lol https://www.aliexpress.com/item/150mm-6-inch-LCD-Digital-Electronic-Carbon-Fiber-Vernier-Caliper-Gauge-Micrometer-Measuring-Tool/32915229483.html
11:56 PM tiwake: how about... not
11:57 PM XXCoder: its perfect to bring with you to junkyard
11:58 PM tiwake: not if it can't turn on
11:58 PM XXCoder: lol probably would fail yeah
11:58 PM tiwake: at work I have an 8" mitotoyo I got used for $5
11:58 PM XXCoder: not bad. certified?
11:58 PM tiwake: dial calipers... no batteries needed
11:58 PM tiwake: hehno
11:58 PM XXCoder: I cant use uncertified tools at work lol
11:58 PM tiwake: they are within 0.002" though
11:59 PM XXCoder: my dial and digitial is both mitoyoto
11:59 PM tiwake: they vary 0.001 based on position.. an internal gear might be a little messed up
11:59 PM XXCoder: one digitial mic and one starret 1950s mic