Kyo Posted March 13, 2003 Report Share Posted March 13, 2003 Hello all !!!So I am just starting to design my box.What I want is:- 56 encoders with led rings- 8 Faders- 24 buttons- 24 more ledsSo from what I know I'll need:- 4 x DIN for encoders- 1 x DIN for buttons- 4 x DOUT for led rings- 1 x DOUT for leds- 1 x AIN for fadersWell I guess 1 single core module is not enoughto handle all those stuff. So I should think about 2cores.Maybe I am completly wrong about this.Anyway if you guys could put me on track.Thx in advance ;) Quote Link to comment Share on other sites More sharing options...
TK. Posted March 14, 2003 Report Share Posted March 14, 2003 Hi Kyo,yes, you have to use two core modules for this setup, but it will work :)I would use one single core, 4xDINX4, 4xDOUTX4 as "MIDIbox Link Forwarding Point" (at the begining of the MIDI chain) only for the encoders and LED rings, and a second core as "MIDIbox Link Endpoint" for the rest.An AIN module is not required, since MIOS supports also unmuxed (non-multiplexed) access to the ADC. The appr. configuration has to be made in the initialization routine: ;; initialize the AIN driver ;; use 8 faders movlw 8 call MIOS_AIN_NumberSet ;; don't use the AIN 4051 multiplexers call MIOS_AIN_UnMuxed I will provide a test application for 64 encoders and LED rings in the next days.Best Regards, Thorsten. Quote Link to comment Share on other sites More sharing options...
Kyo Posted March 14, 2003 Author Report Share Posted March 14, 2003 Thanks for your reply Thorsten !Just one more question.Since the AIN is not needed anymore wheredo you connect the faders ? :P Quote Link to comment Share on other sites More sharing options...
Kyo Posted March 14, 2003 Author Report Share Posted March 14, 2003 Oh I just read your intro on MIOS and you wrote that a single core stuffed with PIC18Fcan handle:- 128 digital outputs- 128 digital input/64 encoders.- 64 analog inputs.Do I still need 2 cores with PIC18F ?Thx. Quote Link to comment Share on other sites More sharing options...
TK. Posted March 15, 2003 Report Share Posted March 15, 2003 Hi Kyo,every encoder allocates 2 digital inputs, with 56 rotary encoders you could only add 16 additional buttonsOk, alternatively you could plug some buttons to the analog pins, but this would require a AIN module (since more than 8 analog inputs are needed for this solution)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.