Wondering why one of the 4 bit or 8 bit 74 series parallel to serial ic’s won’t do?
I got the chip wrong. CD74HC4067 would do the job and it’s available on eBay for about £2 including postage, sourced in the UK.
Get a few as there is a tonne of fun in the guts of these. (Taps side of nose knowledgeably though brain currently too medicated to remember a single funky use. Sorry, it’ll come to me.)
Edit: ooh I remember I used them for a nervous net walking robot. But there are synth uses too
Of course I’d need a 4 bit counter to drive it. Can’t help thinking there must be some kind of parallel-in, serial-out latch that would do it in one chip.
Im sure there is. Damned if I can name it XD
I think I’ve found it. SN74LS674.
16-bit parallel-in, serial-out shift register.
It may be difficult to source, so I’ll probably go for another design at first. CD4014B is 8-bit parallel-in, serial-out and may be easier to get.
I have heard not to use mux for rotary encoders. You can probably make it work if you use interrupts though.
The teensy is really compatible with this strategy, although you might want to use an IO Expander instead, since those support interrupts already.
I’ll worry about that when I have a test circuit. I know some people have had problems with multiplexing at encoder speeds, but that suggests to me that these people had little experience in software.
I ordered a couple of SN74ALS166 at about £5 each. They’re 8-bit PISO (parallel-in, serial-out) shift registers. It would probably be cheaper to use separate counting and a multiplexer, but this is arguably more elegant.
Whilst it may work you may end up missing lots of twiddles on the encoder.
I have a couple of the i2c mini encoder boards. Initial testign was fine but not had a chance to do anything since the summer…
I just ended up wiring directly to the microcontroller. They were too much of a hassle. This project was sitting on my desk for too long, and this week was the week to get it done. I dont take on new projects until i finish the current one, so it was getting in the way.
Side note, i also have the displays working to display current readouts, but there is now delays introduced. I might have the screen updates occur less frequently, but i think right now that future designs will leave this out since there is a lot of overhead for not a lot of utility gained. Since im using this for DAW, im not really looking at screens on the controller anyways.
I’ve got some ideas about that. It’s a user experience problem in my view. The tech is much more powerful than you’d think.
I got my tube VCA working as well as my sequencer - though its been a bear sorting out the sequencer controls! Still got some unexpected behavior. And I found out its really easy to damage the spdt toggles.
yeah they are not fond of excessive soldering heat .
But rotary encoders ARE a pain…
Not only do you have to deal to not miss a single change, or else the next one will go backward, but that can be handled with interrupts.
But you have also to deal with the crappy contacts that bounce like crazy !
I look forward to further discussion about the joys and pains of rotary encoders in a separate thread.
Side note: you can order these kind of chip directly from ti.com, and it’s much cheaper ! The shipping cost are also really cheap, you can order just one IC for $2 total, delivered the next day.
Or you use a small program called “Hairless” it is a midi serial bridge which of course always has to run in the background.
Greetings THOGRE
Yeah, there are a few solutions like this out there. Whatever works! I just prefer a 5 pin din and a UMC404HD, or USB MIDI protocol.