will these Panasonic EVQ-WTEF2515B Mechanical Rotary Encoders work with the midi-fighter?
will the encoder and the switch work
if they do work is it posable to use 16 of them? because i want to make a midi-fighter with all of these instead of buttons
here are the details:
The EVQ-WTEF2515B rotary encoder by Panasonic features a shaft rotation angle: 360° (endless), output resolution of 15 pulse/360°, detent points 30 (each detent angle 12° ± 3°), rating DC 10V @ 1mA (each bit), contact resistance between terminals 1ohm max, and insulation resistance 50 megohm minimum at 250VDC between all terminals and shaft. This also has a push ON momentary switch. Size about 0.50" sq. Mounts in a 0.30" hole in a panel. Complete with panel nut. Has 5 leads (2 for switch). Shaft size is 0.70"L x 0.25"Dia. “D” shaft. New.
thanks midifidler, do i need to modify the code because i want to use 16 of them or just because they’re rotary encoders?
That word code is a little scary to me. Here is the extent of my Midi-fighter coding knowledge:
I had two MF’s go crazy and give me the “upper-left light of death” and every time i tried to update the firmware, to fix them, i could never get them to work again. I was using terminal and my computer is a mac. When i sent them back to the guys at DJTT they got them to work right away.
that said i am somewhat tech savvy (insert air-quotes here). By trade i am a graphic designer and have a good grasp of HTML, CSS, and action-script. I also have made custom arcade sticks by hacking old PS controllers.
thanks Fatlimey, i can program a little in flash, so i think i will take a stab at it.
now on to the wiring of it, to run 16 of these encoders with the 16 switches would i need to do something like your “Multiplexing 8 analog inputs using a CD4051B” post? Because that is a little over my head, i think.
Rotary encoder is somehow tricky to work with. You need to poll them really often (or use interrupt-on-change) compare their actual position to their previous one. If different, and after a Xor bitwise operation, you know if you send an Inc or Dec command.
I don’t see how a Multiplexer could help here. What I see is OR another Microcontroller OR use an I/O expander with Interrupt line such as MCP23017, MCP23S17, MCP23018, MCP23S18 with ‘maybe’ some D-Type-Flip-Flop to simplify the code.
If you want to add that many device you are probably best off just building a separate custom controller based on a DIY midi board which has native support for the encoders, unless you really want to take the hard road.
If this is the case for 16 encoders I would use another micro controller to take care of decoding the encoders and then use some kind of coms protocol between the midifighter and the expansion micro.