jwillans

AIN

6 posts in this topic

Most of my midibox consists of din/douts. I also have a requirement for 3 pots and have a (PIC based) core and a din module (chained to the other modules which are all running midio128). A couple of questions:

1) What is the best software to use on the core for this purpose - midibox64? I like the configuration for midio128 from MIOS studio, is anything similar available that will allow me to configure the core associated with the ain?

2) Given that I only require 3 pots would it make sense to remove 3 of the 4051 chips to avoid having to ground all these unused inputs? If so can I remove any 3 or should it be IC2 - IC4?

Thanks,

James

Share this post


Link to post
Share on other sites

When i need to test just one or two pots i just connect directly to J5, and i then go into the asm file and change these lines and then recompile, it saves me having to ground things.

So obviously i connect the pots as follows, Pot1: Vs/Vd/A0 Pot2: Vs/Vd/A1 Pot3: Vs/Vd/A2 (connecting to correct pins on pot!!)

So i open for example setup_midibox64e.asm in my text editor

#define DEFAULT_NUMBER_AIN 64 (the amount of pots/faders connected, more than 8 needs an ain board and MUX to be enabled)

#define DEFAULT_ENABLE_AIN_MUX 1 (needed for when you use the ain boards and more than 8 pots)

I then change them to this as i only need say for example 3 pots and no mux as im connected directly and not through an AIN board

#define DEFAULT_NUMBER_AIN 3

#define DEFAULT_ENABLE_AIN_MUX 0

by doing this, the software only looks for the first 3 inputs on J5, the other 5 are not looked at and therefore i do not need to ground them.

Hope this helps

Share this post


Link to post
Share on other sites

When i need to test just one or two pots i just connect directly to J5, and i then go into the asm file and change these lines and then recompile, it saves me having to ground things.

So obviously i connect the pots as follows, Pot1: Vs/Vd/A0 Pot2: Vs/Vd/A1 Pot3: Vs/Vd/A2 (connecting to correct pins on pot!!)

So i open for example setup_midibox64e.asm in my text editor

#define DEFAULT_NUMBER_AIN 64 (the amount of pots/faders connected, more than 8 needs an ain board and MUX to be enabled)

#define DEFAULT_ENABLE_AIN_MUX 1 (needed for when you use the ain boards and more than 8 pots)

I then change them to this as i only need say for example 3 pots and no mux as im connected directly and not through an AIN board

#define DEFAULT_NUMBER_AIN 3

#define DEFAULT_ENABLE_AIN_MUX 0

by doing this, the software only looks for the first 3 inputs on J5, the other 5 are not looked at and therefore i do not need to ground them.

Hope this helps

That helps a lot - I think I will give this a go. Many thanks for your detailed response.

James

Share this post


Link to post
Share on other sites

by doing this, the software only looks for the first 3 inputs on J5, the other 5 are not looked at and therefore i do not need to ground them.

Correct - but it's still good practice to do so.

Share this post


Link to post
Share on other sites

It is possible to make a small patch to MIDIIO128 to support a few analog inputs connected directly to J5. I don't recall where the patch is posted at the moment.

Share this post


Link to post
Share on other sites

Hehe nebula, your point is good. I have for several years worked with alarm systems. The company that makes them sais to ground all unused zone inputs in the system, and that is the way we learned how to do it back on the seminars - through a resistor that is. But I came to a point in time where I stopped doing so, and just did the job 10 times as fast in the firmware. But grounding the ains is good practice yeah hehe. Can avoid future trouble when u tweak the firmware and forget about the floating stuff, and can't understand what happens to your box hehe. At work when I did those systems I made my own standard not to ground the inputs, and that way I know it is always that way :-).

Share this post


Link to post
Share on other sites

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