#linuxcnc Logs
Sep 28 2022
#linuxcnc Calendar
01:25 AM randy: morning
04:42 AM Tom_L: morning
04:53 AM djsftree5725[m]: i updated my pi builder script with v6 kernel
04:53 AM djsftree5725[m]: https://github.com/djsftree/rpi-img-builder
04:53 AM djsftree5725[m]: still having the glsl 1.50 issues so run stuff with forced software GL emulation
05:01 AM JT-Cave: morning
05:13 AM TurBoss: morning 🙂
06:57 AM JT-Cave: Tom_L, https://github.com/jethornton/python3/blob/master/Configparser/ini_comments.py
07:21 AM Tom_L: nice
07:21 AM Tom_L: i'll check it out later today
07:33 AM JT-Cave: ok
08:44 AM perry_j1987: morning
08:49 AM perry_j1987: this gridfinity drawer organization project is coming along nicely
08:49 AM perry_j1987: designing some er16 straight shaft holders now
09:04 AM CloudEvil: :)
09:13 AM perry_j1987: its so nice opening a drawer and having everything presented nicely heh
09:32 AM roycroft: when i get my cnc router built an early project will be making some inserts for the tool drawers in the cabinets i built this past summer
09:33 AM roycroft: organized workspaces really are nice
09:37 AM perry_j1987: yesterday i spent an hour looking for a tiny ziploc bag of tiny taps i had jUST seen the other day heh
09:37 AM perry_j1987: still didnt find them
09:37 AM roycroft: i'll finish up the inserts for abrasives today
09:38 AM roycroft: i've found a lot of duplicates of fasteners as i've been sorting through the boxes and bags that i have laying around
09:39 AM roycroft: it's still going to be probably months before i have all of the fasteners/hardware properly organized, but it's already saving me time and money
09:39 AM perry_j1987: might even add barcodes to each of these organizer bins heh
09:39 AM roycroft: i won't go that far, but i am labeling everythign as i go
09:39 AM perry_j1987: add each bin into a spreadsheet at least
09:40 AM perry_j1987: if i barcode it i could auto update the location
09:43 AM roycroft: you could put an airtag on each bin
09:49 AM roycroft: https://roycroft.us/New_Cabinets/37_90mm_Abrasives_Storage.jpeg
09:49 AM roycroft: that's what i'm finishing up
09:49 AM roycroft: i have a drawer for the 90mm abrasives, one for 125mm and 80x133mm, and one for 150mm
09:50 AM roycroft: that stuff was scattered about in boxes and bags previously
10:01 AM roycroft: it is raining this morning
10:01 AM roycroft: and it is actually rain - not sprinkle teasing
10:46 AM _unreal_: So I'm loving this... My physco pos xwife is in the DEAD center "target" for this florida storm.
10:46 AM _unreal_: Where I am currently, it'
10:47 AM _unreal_: it's a bit gusty and partly cloudy. Nothing really to report. school is closed and work is closed today.
10:55 AM Rab: _unreal_, congrats. Is your daughter with you?
10:59 AM _unreal_: yep
11:02 AM _unreal_: currently trying to figure out what I want to do today....
11:14 AM CloudEvil: _unreal_: Try to take over the world?
11:15 AM _unreal_: O...M....G..... I never thought about that.... so just kind of YT'ing is today. and there is a new harry potter "wand" out. that is IOT setup. so if a home is setup heavy with IOT lighting, tv. sound DOORS etc.... you can "use" the want to control everything.
11:16 AM _unreal_: it today
11:17 AM _unreal_: harrypottermagiccasterwand.com
11:18 AM _unreal_: ugh... waiting for this MEGA MAJOR stock market event to happen finally
11:30 AM roycroft: if the event you're waiting for is a market gain, i hope you're very patient
11:30 AM roycroft: the wait may be years
11:31 AM _unreal_: not likely
11:31 AM _unreal_: infact may even happen next week.
11:32 AM roycroft: as soon as what's his name is restored to office, right? :)
11:32 AM _unreal_: AMC just published a new filing. Now just waiting for them to act on it. which may come by the middle of next week. the moment they act on it. the market meme stocks will skyrocket
11:33 AM _unreal_: All of the bad actors in the stockmarket are about to get crushed by this. 2022 is going to be WAY worse then 2008 crash
11:33 AM _unreal_: WAY way worse
11:34 AM * roycroft will just focus on making stuff to make money
11:34 AM _unreal_: cant wait for gold to bottom in about 4-8 weeks could be 6 months...? the reversal is going to be amazing in a few years.
11:35 AM roycroft: i just wish silver would drop quite a bit more
11:36 AM roycroft: it gets expensive using silver inlays when it's up around $20 and abovve
11:36 AM roycroft: i liked it better when it was $12
12:11 PM JT-Shop: seems like we have been hearing these stock market stories for years...
12:14 PM roycroft: we have
12:17 PM roycroft: i'm just holding on to my current positions and not investing any more money in stocks
12:18 PM roycroft: and i won't likely the money i do have invested in stocks any time soon, so i should be able to ride out the bear market without any pain
12:28 PM * roycroft will continue to make stuff instead
12:28 PM Tom_L: JT-Shop, i haven't lost anything in the stock market
12:31 PM Tom_L: i've lost lots of other things.. glasses, tools...
12:42 PM JT-Shop: same here
12:42 PM roycroft: the rain has stopped
12:42 PM roycroft: but we're due for a bit more tomorrow
12:42 PM Tom_L: did you push that fix to mesact?
12:42 PM roycroft: i don't mind the rain easing back in
12:42 PM roycroft: much better than going from desert to monsoon overnight
12:42 PM JT-Shop: last one I pushed this morning was for not having lcnc installed
12:42 PM JT-Shop: there is still an issue if you're running with python 2.6 and try and read a measa card
12:42 PM Tom_L: i thought that was fixed in 2.8.4
12:45 PM Tom_L: so you can pass a file but if you don't it defaults to test.ini
12:48 PM Tom_L: JT-Shop, i found a bug
12:51 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/cnc/JT-SHOP/mesact/parser2.png
12:51 PM Tom_L: #comment 6a has a tab in front, 6b has a space
12:54 PM _unreal_: this is odd. its like totally still out side and sunny
12:54 PM _unreal_: and i'm 100 miles away from this mega ian storm on the other side of florida lo
12:54 PM _unreal_: lol
12:56 PM roycroft: the eye is offshore just north of cape coral
12:56 PM roycroft: you're at the very edge of it
12:56 PM JT-Shop: Tom_L, a single space?
12:56 PM Tom_L: yes
12:56 PM Tom_L: maybe the tab threw it off
12:57 PM Tom_L: i can add space to 6b and run it again
12:57 PM JT-Shop: hmm I know what that is, the configparser puts a space before each section
12:57 PM JT-Shop: blank line not space... I'm in space
12:58 PM JT-Shop: put a blank line after 6b and run it
12:58 PM Tom_L: ok
12:59 PM roycroft: it looks like it's headed straight towards disneyworld
01:00 PM roycroft: and the current forecast is that it may still be hurricane-strength when it reaches the east coast
01:00 PM roycroft: which would be rather unusual
01:00 PM Tom_L: JT-Shop, http://tom-itx.no-ip.biz:81/~webpage/cnc/JT-SHOP/mesact/parser3.png
01:01 PM Tom_L: odd
01:01 PM JT-Shop: that's what I thought... now to thunk how to allow that
01:01 PM Tom_L: running a quick errand then bak..
01:01 PM Tom_L: whilst ye think
01:01 PM JT-Shop: run ini_comments.py -a True
01:12 PM Tom_L: same file? i named it something else...
01:12 PM JT-Shop: -a True just makes a file for each step
01:16 PM Tom_dev: it defaults to true
01:16 PM JT-Shop: I thought I changed that to False but I guess not...
01:17 PM JT-Shop: if you don't have a blank line before a section it gets screwed up...
01:17 PM JT-Shop: look at parsed
01:17 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/cnc/JT-SHOP/mesact/
01:20 PM Tom_dev: you should test for '[' for a section
01:20 PM Tom_dev: maybe
01:21 PM Tom_dev: there again on those, i dunno if space or tabs are allowed ahead of it
01:21 PM Tom_dev: there shouldn't be any but who knows..
01:25 PM JT-Shop: the configparser would remove any white space from a section header
01:25 PM JT-Shop: I think
01:28 PM Tom_dev: linuxcnc ignores white space ahead of [SECTION]
01:30 PM Tom_L: nap time
01:30 PM JT-Shop: yep
02:05 PM boozeman[m]: Hmm, seems like mesact do not know anything about foam cutters. foam=1, geometry = XY;UZ etc. Good to know.
02:07 PM XXCoder: finally rain here
02:07 PM XXCoder: good rain, not tiny rain that just make things dirtier
02:27 PM roguish[m]: could be in Florida....
02:29 PM XXCoder: me? nah im in wa
02:29 PM XXCoder: little rains causing more dirt is due to ash and smoke in air from fires
02:30 PM roguish[m]: you'll probably be extra wet, with the triple La Nina.....
02:56 PM roycroft: we had la niña++ last winter
02:56 PM roycroft: it was nice
03:32 PM roguish[m]: yeah, up notrth gets a little wetter, down south here gets a little dryer..........
05:35 PM perry_j1987: noticing some oddities on this lathe
05:35 PM perry_j1987: if i rapid jog around "sometimes" the servos do a jittery move at the end while they find their place or something
06:14 PM Tom_L: XXCoder, first day they turned him loose on https://www.youtube.com/watch?v=Gbq-Hi9wcU4 one of these
06:14 PM XXCoder: looking
06:14 PM Tom_L: and a starrag ecospeed 6 axis
06:14 PM Tom_L: https://www.youtube.com/watch?v=tPaJkLOTRdo
06:14 PM Tom_L: couldn't find a 6 axis..
06:15 PM XXCoder: spindles pivoting nice
06:15 PM Tom_L: on the ecospeed, they pivot too
06:16 PM Tom_L: single spindle on it
06:16 PM acer: I have parts to make a 5 axis cnc
06:16 PM acer: HEAVY duty
06:16 PM acer is now known as _unreal_
06:17 PM Tom_L: https://www.starrag.com/en-us/machine/stc-1600170/183
06:17 PM Tom_L: similar
06:17 PM Tom_L: https://www.starrag.com/en-us/machine/stc-1600170/183
06:17 PM XXCoder: well olviously your son is far more advanced machinist than me
06:18 PM Tom_L: for a kid he's doing great i think
06:18 PM Tom_L: 21
06:18 PM XXCoder: jorneyman yet? or master already?
06:18 PM Tom_L: they started to show him the control and he already knew them so they let him have at it
06:18 PM Tom_L: iirc they use siemens
06:18 PM Tom_L: not positive
06:19 PM Tom_L: it's interesting how they do the tool offset on all 3 heads
06:19 PM XXCoder: I wonder if they do probing to find centers of spindles
06:19 PM Tom_L: set one and use tool offset on the other 2 if there is any
06:19 PM Tom_L: laser tool setters
06:20 PM XXCoder: makes more sense
06:20 PM XXCoder: I guess all 3 have small adjustment for z also
06:20 PM XXCoder: for offsets of tools
06:20 PM Tom_L: the setter gets them real close
06:20 PM XXCoder: I bet you that manual has tool varance limits
06:20 PM XXCoder: like +- .5 inch or whatever range it has
06:22 PM Tom_L: the cincinnatis are slower but you will not stop them.. .500 cut 1.5" cutters
06:23 PM Tom_L: more for ti etc instead of aluminum
06:25 PM Tom_L: only thing.. he wasn't used to riding the gantry
06:26 PM XXCoder: lol I bet
06:26 PM XXCoder: I guess its max rapid isnt very high at all
06:26 PM XXCoder: being super heavy monster and all
06:26 PM Tom_L: yeah they're hogs
06:28 PM _unreal_: do any of you guys do cnc or cnc type control with PLC systems?
06:32 PM Tom_L: jt knows plc
06:33 PM _unreal_: interesting. I have prob 3-4k worth in PLC hardware
06:33 PM _unreal_: you name it I likely have it
06:33 PM _unreal_: $3-4k
06:33 PM Tom_L: he does new installs
06:34 PM Tom_L: doubt used would interest him
06:34 PM _unreal_: the luxury yachts often run on PLC systems
06:34 PM _unreal_: lol I have plenty of new
06:34 PM _unreal_: new in bo
06:34 PM _unreal_: x
06:38 PM roycroft: so i had a bit of spare time today and decided it would be a good time to refoam a pair of speakers
06:38 PM roycroft: i'm tired of only having one working pair in my living room
06:39 PM roycroft: it turns out they had been refoamed before, and some idiot used about a whole tube of silicone sealant to attach the foam, instead of a small amount of the proper adhesive
06:39 PM * Tom_L bets roycroft has a mcintosh tube amp
06:39 PM roycroft: usually it takes me about 15 minutes per speaker to refoam them
06:39 PM roycroft: no, i can't afford that
06:40 PM roycroft: i have a mcintosh mc2100 :)
06:40 PM XXCoder: what is PLC anyway
06:40 PM Tom_L: classic ladder stuff
06:40 PM roycroft: my tuner and pre-amp are mcintosh as well
06:40 PM roycroft: and the speakers are stacked large advents
06:40 PM roycroft: anyway, i'm an hour into this project
06:40 PM Tom_L: i used to have advvents
06:40 PM roycroft: and i have about 1/4 of the first woofer cleaned up almost well enough
06:41 PM Tom_L: had boston pro series in the truck
06:41 PM roycroft: i have baby advents in my shop
06:41 PM XXCoder: roy theres bunch of cool speaker projects lol
06:41 PM XXCoder: 3d printed and some machined
06:41 PM roycroft: um, no thanks
06:41 PM roycroft: i'll stick with my advents :)
06:41 PM XXCoder: looked cool enough that i wanted to do it, and its useless to me LOL
06:41 PM XXCoder: :)
06:41 PM roycroft: henry kloss founded advent
06:41 PM Tom_L: roycroft, what did you think of the heil stuff?
06:42 PM djsftree5725[m]: i've machined my own tools to make GRP front baffles
06:42 PM roycroft: i know of it, but don't think anything of it
06:42 PM * djsftree5725[m] uploaded an image: (2916KiB) < https://libera.ems.host/_matrix/media/r0/download/jauriarts.org/FIttGvbsQnWugGVeJyXUcPrG/unknown.png >
06:43 PM TurBoss: 😲
06:43 PM TurBoss: super Awesome
06:43 PM roycroft: it's supposedly good stuff
06:43 PM XXCoder: djs molded and cast?
06:43 PM XXCoder: vacformed
06:43 PM Tom_L: iirc they shine on the higher frequency stuff
06:43 PM roycroft: and i'm an old man
06:43 PM roycroft: how could that possibly matter to me :)
06:44 PM Tom_L: that's 2 of us
06:44 PM roycroft: actually, my hearing is better than most of my friends'
06:45 PM * djsftree5725[m] uploaded an image: (2706KiB) < https://libera.ems.host/_matrix/media/r0/download/jauriarts.org/TuWQPqLOEtSCPOMnFSiBrfMc/unknown.png >
06:45 PM XXCoder: thats cool
06:45 PM Tom_L: that took a bit of chiseling
06:46 PM * djsftree5725[m] uploaded an image: (3125KiB) < https://libera.ems.host/_matrix/media/r0/download/jauriarts.org/xGpIsyGNQLQBtydshIYnYnOb/unknown.png >
06:46 PM Tom_L: 2 pieces stacked?
06:46 PM Tom_L: i can see the seam
06:46 PM * djsftree5725[m] uploaded an image: (3622KiB) < https://libera.ems.host/_matrix/media/r0/download/jauriarts.org/wBobJGvJZJXDwDXGiOtpwSbe/unknown.png >
06:46 PM djsftree5725[m]: yeah
06:47 PM XXCoder: looks like usual vacform stuff. 2 peices to hold heat while its heated, then place on top of mold
06:47 PM XXCoder: suck air out
06:47 PM roycroft: anyway, it's a good thing i did not try to do this at the beginning of the pandemic
06:47 PM roycroft: the best solvent i've found to soften silicone sealant is 90% isopropyl alcohol
06:48 PM roycroft: and i need to use a lot of it
06:48 PM roycroft: i'll probably go through half a bottle on each speaker
06:48 PM * djsftree5725[m] uploaded a video: (7922KiB) < https://libera.ems.host/_matrix/media/r0/download/jauriarts.org/milWfntomCuEhmlkvatlzfiF/IMG_2619.mp4 >
06:49 PM roycroft: fortunately, the idiot glued the foam to the back of the speaker cone, instead of the front where it is supposed to go
06:49 PM XXCoder: you in business of selling speakers djs?
06:49 PM djsftree5725[m]: no, just DIY toys
06:49 PM roycroft: and the fronts of the cones have some residue from the original glue on them, which cleans off easily
06:50 PM djsftree5725[m]: sometimes i have to use my machinery for my own things else i'll go mad
06:50 PM XXCoder: lol ok. well that cast would last for long time
06:50 PM XXCoder: you probably can sell sheet kits
06:51 PM djsftree5725[m]: the horn shape is pretty close to constant directivity. ie, as you walk off axis the frequency reposnse is flat out to 35deg, you just lose 3db level. blends niceely with the 12" directivity.
06:55 PM * Tom_L puts his earbuds in and walks off..
07:07 PM djsftree5725[m]: I've got a whole bunch of renishaw rgs? tape 4+ meters and some read heads if anyone wants them for a small fee?
07:10 PM djsftree5725[m]: 5x RGH41 1Vpp heads, 1 x 4 meter RGS40-S and 1 x 2.8m RGS40-S
07:11 PM djsftree5725[m]: new old stock
07:12 PM roycroft: i just remembered that a guy gave me a pair of large advents years ago whose cabinets were water damaged
07:12 PM roycroft: they are in my attic somewhere
07:12 PM roycroft: and they may have good working woofers in them that i can refoam without spending hours and hours scraping silicone sealant away
07:13 PM * roycroft thinks it's worth an excursion up to the attic before investing any more time in this project
07:13 PM XXCoder: its minutes waste of time at worse
07:14 PM roycroft: yeah, i think i can climb up, find them, and inspect them in 20 minutes max
07:14 PM roycroft: vs. 4-6 hours per woofer removing the silicone sealant
07:14 PM roycroft: i don't want to climb up there today, though
07:14 PM roycroft: perhaps saturday morning
07:37 PM roycroft: tom_l: my mcintosh tuner (mr73) does have one vacuum tube - a 6hu6 "magic eye"
07:38 PM djsftree5725[m]: i still use Quad II amps... 🙂
07:58 PM roycroft: i like my vintage hifi gear, and i think it's great stuff
08:01 PM roycroft: i'd say the vast majority could not tell the difference
08:01 PM roycroft: including all the ones who bought monster cables for their panasonic or sansui receivers :)
08:03 PM XXCoder: bad speakers I guess?
08:03 PM roycroft: or pioneer - pioneer did well with that crowd because they overrated their specs, and folks would buy a "200w" receiver that was cheap and weighed 20lbs
08:04 PM roycroft: if you have mediocre electronics, all a high quality cable will do is pass the mediocre signal from one device to another
08:06 PM Alicrow[m]: So my wife did some research today, and found an old document on PID control for brushed DC motors, and it said that brushed DC motors powered by PWM tend to take around 20ms to start spinning. So it sounds like it's just normal for brushed DC motors to not start spinning right away when using PWM? (Or at least for old ones?)
08:10 PM Tom_L: Alicrow[m], you know how long 20ms is? 20-30ms is typical debounce time on an average switch
08:10 PM Tom_L: not slow, but not quick by cnc standards
08:15 PM Alicrow[m]: We're only getting like 10ms
08:29 PM pcw--home: You would get nearly instant motion except for the fact that the torque rises at a rate dependent on the armature inductance
08:31 PM pcw--home: Brushed motors are the quickest in this respect (ironless rotor type) Brushless typically have more rotor inertia and field inductance
08:34 PM pcw--home: This is an argument for limited jerk TPs (as a parabolic profile needs instant acceleration and this is not possible because of motor inductance)
10:14 PM Thorhian[m]: Hey ZincBoy[CA, ON] (@_discord_554508768402997249:jauriarts.org), I was wondering how you wired up your 12-position switches to your 7i73 board? Did you have to use 12 input pins per switch? That seems pretty crazy.
10:35 PM roycroft: you can do it with 4 pins
10:36 PM Tom_L: binary encoder chip
10:36 PM Tom_L: 4 gets you 16 inputs i think
10:40 PM roycroft: 3 pins gets you 6 inputs
10:40 PM Tom_L: 8
10:40 PM Tom_L: i think
10:40 PM Tom_L: 74hc148
10:40 PM XXCoder: log(N), N for number of inputs
10:41 PM XXCoder: rounded up of course
10:42 PM Tom_L: CD40147
10:42 PM Thorhian[m]: Yeah, 4 bits can represent 16 different values.
10:43 PM Tom_L: or do a serial shift register
10:45 PM Tom_L: don't know of an 16 input priority encoder chip
10:45 PM Thorhian[m]: It's been a while since I've run into the term shift register. That requires a common clock right?
10:45 PM Tom_L: the 148 is 8
10:45 PM Tom_L: yes
10:46 PM Tom_L: you'd have to come up with an input comp to handle it
10:46 PM Tom_L: i don't know of one but i've never needed one yet
10:47 PM Tom_L: things like digital keyboards etc would be more apt to use serial shift registers
10:49 PM Thorhian[m]: The encoder chip is probably more appropriate. I'm guessing that HAL isn't too bad to handle a 4-bit binary string as input over 4 pins?
10:49 PM Tom_L: http://web.mit.edu/6.115/www/document/gal22v10.pdf
10:49 PM Tom_L: program a pal chip for it
10:49 PM XXCoder: would have to be careful with cross talk. if 2 gets pressed at same time there might be issues
10:49 PM XXCoder: similiar to keyboard ghost presses
10:49 PM Tom_L: that's what the priority encoder does
10:49 PM XXCoder: ok
10:49 PM Tom_L: one input locks a value
10:50 PM Tom_L: as i understand it anyway
10:50 PM XXCoder: didnt know that till now. cool :D
10:51 PM Tom_L: ck the fax sheet to be sure
10:53 PM Tom_L: wire the switches to an rpi board and use bluetooth to send the data to the linuxcnc pc
10:53 PM Thorhian[m]: I'm not really familiar with PLDs lol. I'm more familiar with regular microcontrollers. Also, I don't need a PLD to use a binary encoder chip with the 7i73 do I? I'm guessing there is a HAL component for handling a simple 4-bit binary string?
10:53 PM Tom_L: ... must be close to bedtime..
10:53 PM XXCoder: yep nice way to test it
10:54 PM Tom_L: Thorhian[m], you'd still need pins for the switch
10:54 PM Tom_L: the need for an external chip..
10:54 PM Tom_L: there likely is a hal component to handle it
10:54 PM Thorhian[m]: I'm not really sure what you are saying.
10:54 PM Tom_L: is lut5 input?
10:55 PM Tom_L: i'm not either... it's getting late
10:56 PM Tom_L: http://linuxcnc.org/docs/stable/html/man/man9/lut5.9.html
10:56 PM Tom_L: 5 input lookup table
10:56 PM Thorhian[m]: Oh, a LUT component, that's nice.
10:56 PM Tom_L: not sure that by itself would do it
10:56 PM Thorhian[m]: What do you do as a proffesion Tom?
10:56 PM Thorhian[m]: profession*
10:57 PM Tom_L: nothing related to cnc or electronics
10:57 PM Tom_L: just hobbies i happen to enjoy
10:58 PM Tom_L: i did some cnc programming & operating in a previous life
11:00 PM Tom_L: you might also look at match8 or matrix_kb comps
11:00 PM Tom_L: lut5 might be your best bet
11:04 PM Tom_L: Thorhian[m], what's his 12 position switch wired to?
11:04 PM Tom_L: what's it's purpose
11:05 PM XXCoder: yeah was wondering. maybe its min and max switches for 3 axes. that would be 6 though
11:06 PM Tom_L: i'm picturing a rotary switch selector for something
11:06 PM Thorhian[m]: I just wish I knew more about the different kinds of chips you guys are talking about lol. I programmed an FPGA to create a very simple CPU, but this is the first time I've looked into a dedicated binary encoder chip
11:06 PM Thorhian[m]: Also, this is for speed selection.
11:06 PM Tom_L: if you're more comfortable with a uC write it for an avr or something and use that
11:07 PM Tom_L: ahh
11:07 PM Tom_L: any number of ways to get from A -> B
11:07 PM Thorhian[m]: A binary encoder chip seems to be the more elegant solution though, much simpler, probably more reliable, and doesn't require the same kind of setup work to handle a uC.
11:08 PM Tom_L: only problem is they come in 8 input generally
11:08 PM Thorhian[m]: This is 8 input? https://www.digikey.com/en/products/detail/texas-instruments/CD40147BE/528409
11:09 PM Tom_L: https://www.ti.com/lit/ds/symlink/cd40147b.pdf?HQS=dis-dk-null-digikeymode-dsf-pf-null-wwe&ts=1664424499804&ref_url=https%253A%252F%252Fwww.ti.com%252Fgeneral%252Fdocs%252Fsuppproductinfo.tsp%253FdistId%253D10%2526gotoUrl%253Dhttps%253A%252F%252Fwww.ti.com%252Flit%252Fgpn%252Fcd40147b
11:09 PM Tom_L: says 10 to 4
11:10 PM Tom_L: probably limited to pins on the chip package they used
11:11 PM Tom_L: 16pin dip
11:12 PM Tom_L: 10 in, 4 out and 2 for power
11:14 PM Tom_L: gnite..
11:15 PM Thorhian[m]: Ah okay. Good night!
11:36 PM Thorhian[m]: Oh, it’s because it’s a BCD decoder. It’s meant to take an input from 0 to 9 and encode that in binary-coded decimal. I’ll look at other encoder chips.
11:39 PM Thorhian[m]: Huh. Maybe a tiny MCU might be the easiest option.
11:40 PM Thorhian[m]: Or a physical LUT that I could actually program myself.
11:52 PM Thorhian[m]: MCU might be the way. Those AVR chips are cheap and small, and I can put in debouncing logic in the code to avoid complications like what XXCoder mentioned, especially if I were to use a plain and naive encoder chip.
11:53 PM XXCoder: wonder if you could design a logic that locks input till its all 0
11:53 PM XXCoder: then it resets and waits for new input