Jump to content

Help with encoder


goyousalukis
 Share

Recommended Posts

Hey d2k - Thanks a lot for finding the spec sheet. I searched the panasonic website, but I couldn't find it. I went ahead and bought 64 of them for $20 us. I figure I can't lose.

Since it is only 15 pulses, does that mean it takes more rotation to change the valuse from 0 to 127, or does that mean a lower resolution?

Thanks again

Justin

Link to comment
Share on other sites

No, that just means that you have to make about 8 turnings to go from 0 to 127.

But TK made some "fast" mode for Encoders (in the SID), which means that if you turn the encoder really fast, it is counting up 3 times faster (1,4,7,11...). Anyhow, you would still need about 2-3 rotations to go up to 127...

Link to comment
Share on other sites

Yet another encoder choise question.

It seems that the production of the Alps EC16B24 (http://international1.farnell.com/Search/level_5.jhtml?PRODID=89285&SKUID=87224) encoders has ended. At least I was told so by Farnell. So, the question is now what to use instead? They offered to me EC11B15 (http://international1.farnell.com/Search/level_5.jhtml?PRODID=89283&SKUID=87222) which is twice the price (almost 10e each) and has some switch in it. Maybe some encoders by Bourns? http://international1.farnell.com/Search/level_5.jhtml?PRODID=4803&SKUID=2742 which is about the same price or http://international1.farnell.com/Search/level_5.jhtml?PRODID=62469&SKUID=60408 which looks like an el cheapo model?

Or if someone knows a better option from Finland?

Link to comment
Share on other sites

Farnell is one of the most expensive distributors, maybe it's better to order the parts from a scandinavian shop - see also this article:

http://www.midibox.org/cgi-bin/yabb/YaBB.cgi?board=scandinavian;action=display;num=1048720464

Some words to the resolution: it depends on the application which encoders are the best for you. In the meantime I prefer a reduced resolution for MIDIbox SID so that I'm able to change the values more precisely. The progressive mode (Speed Setting) still allows to sweep over the full range with a single turn.

Pay_c: you possibly have to change the CS_MENU_ENC_SPEED_VALUE in main.asm for a higher acceleration on fast turns.

Best Regards, Thorsten.

Link to comment
Share on other sites

I got all the other parts already from a cheaper dealer, but the encoders seem to be somewhat rare to the local shops here. So, when needing just one encoder, there is no use in ordering them e.g. from Sweden. Luckily, I got one local dealer to order the encoder from RS Electronic when they order some other stuff from there. Hopefully it'll be ok.

(Extending my one-SID -box to dual-SID with the minimal control surface.)  :)

Link to comment
Share on other sites

Ok, I got my encoders today, and I am just trying to get one to work on my test board. I only have one hooked up to one 74HC165. I do have all the 10k resistors on all the inputs. I am using the din_enc_v1 firmware from the test programs portion of the MBHP. When I turn the encoder, it registers the correct one - #1. The Inc Value is always $01 or $FF depending on the direction. I assume this is not correct behaviour? Two questions - do I have to wire anything different since I'm only using one IC? I do have the 10k on pin 10. Do I need to change any of the code since my encoders are detented?

Thanks for any help..

Justin

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...