#avr Logs

Oct 18 2020

#avr Calendar

12:53 AM rue_shop1: vmt, I dont actually believe you can write verilog or vhdl
01:00 AM rue_shop1: I bet its been like 10 or more years since you did any kind of electronics and even then, it was something like a 555 led flasher
01:00 AM rue_shop1: I could be wrong
01:00 AM rue_shop1: but you REALLY have that ora
01:03 AM rue_shop1: polprog, I did that resistor substitution box this year
01:03 AM rue_shop1: it seems like so long ago
01:07 AM rue_shop1: oh, these cheap-ass encoders work best if you dont do quadrature on them, hey that makes it easy
01:08 AM rue_shop1: makes me wish I'd connected one leg of each to an interrupt tho
01:08 AM rue_shop1: oh god, late night binary math...
01:22 AM rue_shop1: wow I blew it
01:22 AM rue_shop1: not even midnight yet
01:22 AM rue_shop1: sad
01:24 AM rue_shop1: oh yea
01:24 AM rue_shop1: there is it
01:24 AM rue_shop1: haha
01:24 AM rue_shop1: type code like I do
01:27 AM rue_shop1: ok, blowing my bounce filter by 15x does matter
01:27 AM rue_shop1: *sigh*
01:29 AM rue_shop1: ... swap out the 10k for the 150k they are supposed to be...
01:41 AM rue_shop1: how are these encoders so horridly noisy?
01:41 AM rue_shop1: its so beyond th.... just arg
02:18 AM cehteh: 1ms datasheets say, and with the cheap ones its just some metal fins scatching on contact rails
02:19 AM cehteh: https://gist.github.com/cehteh/3c44f46f088f7723816ce98f8af53362 << did some scatch some time ago, will integrate that into a complete driver with encoding
02:19 AM cehteh: err debouncing
02:30 AM cehteh: ah .. the error handlin will become the main trick, looking at the last movement and maybe predict the errorneous movement or do something else, depending on usage/config
02:36 AM rue_mohr: yea, my filter IS about 1ms
02:37 AM rue_mohr: those 20 positon encoders are REALLY bad
02:38 AM rue_mohr: sanity check
02:38 AM rue_mohr: 20ms/ref
02:38 AM rue_mohr: rev
02:38 AM rue_mohr: 3000 rppm
02:38 AM rue_mohr: ok
03:44 AM vmt: rue_shop1: i've never done anything with fpgas and i'm not interested in starting right now either
03:46 AM vmt: but in terms of ee i was working as one for about 7 years. and i think we've had this discussion earlier, and you maintained that it's better to have some shitjob (you're an elecchicken if i'm not mistaken) and have your true passion as your hobby because otherwise it just ruins it
04:07 AM Thrashbarg: had a boss years ago that said you shouldn't make your hobby your job. It's no fun that way
04:13 AM vmt: but it might boil down to whether you're good at your hobby or not
04:13 AM vmt: and possibly how... good can you get just by tinkering alone in your garage
08:09 AM cehteh: rue_mohr: problem is that each click is a full encoder cycle, means that one does these clicks way faster with pauses in the notch position
08:10 AM cehteh: https://twitter.com/i/status/1312518924425064448 << had my fun myself
12:11 PM rue_mohr: yea, you dont quadrature decode it
12:11 PM rue_mohr: you just watch for a particular edge of one of the channels
12:13 PM cehteh: yeah thats the simpler way divided by 4
12:13 PM rue_mohr: yea
12:13 PM rue_mohr: I'd noticed before they put all 4 states between clicks
12:14 PM rue_mohr: they kinda happen all quick at once too
12:14 PM cehteh: anyway i wanna try my driver to become universal for non notched and notched, will see how that works out
11:49 PM day_ is now known as day