Jump to content

14 bit encoder input


Guest zoe
 Share

Recommended Posts

Hi!

I want to use the midibox to interface  quadrature encoders (inkremental drehgeber). It works fine with 7 bit but i would like to have a resolution of 14 bit. Is there a simple way to implement this with the midibox. Maybe with the pitchbend?

Thanks

zoe

Link to comment
Share on other sites

Hi!

I want to use the midibox to interface  quadrature encoders (inkremental drehgeber). It works fine with 7 bit but i would like to have a resolution of 14 bit. Is there a simple way to implement this with the midibox. Maybe with the pitchbend?

Thanks  

zoe  

I'm sure you could encode it into pitchbend data ( I think LC does this) but your application or midi hardware wouldn't know how to interpret it unless it is compatible with such data... anyway, I don't really know, I'm just guessing  :-[

Link to comment
Share on other sites

Hi,

yes, the hardware has to support 14-bit values. Most prefered are NRPNs or SysEx streams.

The realisation is simple, the enc_speed example is the smallest program which supports up to 16 bit, and it depends on the hardware in which way this number has to be transmitted.

Best Regards, Thorsten.

Link to comment
Share on other sites

  • 3 weeks later...

Hi Thorsten,

I am planning some kind of robotdevice, and need to read 14 (or16) bit, from standard encoders, and send them to the computer. (5 encoders total)

I did try this with the enc_speed example and it works nice. (but only sending to the LCD):

yes, the hardware has to support 14-bit values. Most prefered are NRPNs or SysEx streams.

what do i have to change in the code to get these values into the computer? And what is the best kind of stream (pitchbend, NRPNs or SysEx)?

And just that i have some kind of idea how fast i can move the encoder, how many ticks per second can the pic handle? Thats because i must know the position of my little encoders (robotaxis) very precisly.

Is this all possible with MIOS?

Thanks

chriss  

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...