atmel_fan Posted July 14, 2003 Report Share Posted July 14, 2003 Hello!!!I make jog wheel (based on pc-mouse opto-encoder) and use  in my project midi transport controller (used at89c2051 and 24mhz crystal). I have question, how work Jog wheel in Logic control. In Midi implementation is write , ( b0, 3c, xx ) xx - ( 0svvvvvv)    s - direction bit  (0-cklockwise, 1-couter clockwise)    vv - number of ticks ( 1-3f value)I know what is this.... but. When I turn jog wheel my midi controller send (b0,3c,01) one tiks to logicaudio. How to send ticks value in slow or fast turning wheel.  how to calculate turn speed ticks? Ps. sorry for my english I'm from Poland... thanx Quote Link to comment Share on other sites More sharing options...
TK. Posted July 14, 2003 Report Share Posted July 14, 2003 Hi,just measure the number of cycles between two encoder pulse transitions. Than lower this value, than higher the rotation speed. Unfortunately Mackie didn't specify an equation for the "number of ticks" conversion, but from my experience a maximal number of vv=3 for full speed (==minimum number of cycles between two transitions) works fine. Best Regards, Thorsten. Quote Link to comment Share on other sites More sharing options...
atmel_fan Posted July 15, 2003 Author Report Share Posted July 15, 2003 Hi, thanx for answer...Value of 'vv' ticks is between 1-63 , I write in last post in hex value (1-3F),... How to measure the number of cycles between two encoder pulse transitions?... I must calculate on a timer or something else ? help me... wtitte me some example ..... Quote Link to comment Share on other sites More sharing options...
TK. Posted July 17, 2003 Report Share Posted July 17, 2003 Possibly the answer would be easier for me and more understandable for you, if you could explain how your current solution works so that I only have to write which enhancements are required.Best Regards, Thorsten. 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.