Jump to content

Recommended Posts

Posted

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 leds

So 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 faders

Well I guess 1 single core module is not enough

to handle all those stuff. So I should think about 2

cores.

Maybe I am completly wrong about this.

Anyway if you guys could put me on track.

Thx in advance ;)

Posted

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.

Posted

Thanks for your reply Thorsten !

Just one more question.

Since the AIN is not needed anymore where

do you connect the faders ? :P

Posted

Oh I just read your intro on MIOS and you

wrote that a single core stuffed with PIC18F

can handle:

- 128 digital outputs

- 128 digital input/64 encoders.

- 64 analog inputs.

Do I still need 2 cores with PIC18F ?

Thx.

Posted

Hi Kyo,

every encoder allocates 2 digital inputs, with 56 rotary encoders you could only add 16 additional buttons

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...