Guest zoe Posted July 16, 2003 Report Share Posted July 16, 2003 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 Quote Link to comment Share on other sites More sharing options...
Steven_C Posted July 17, 2003 Report Share Posted July 17, 2003 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 :-[ Quote Link to comment Share on other sites More sharing options...
TK. Posted July 17, 2003 Report Share Posted July 17, 2003 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. Quote Link to comment Share on other sites More sharing options...
chriss Posted August 5, 2003 Report Share Posted August 5, 2003 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.