Johannus OP240

Getting Analog(J5) to work on CORE8 Mios8 Midio128

19 posts in this topic

Hi there!

Can someone please explain to me in a step by step process how to get the analog pins (J5) on the core.  I have built the Core with PIC  (the midio128) V3 design.  Running Mios8.  I don't know how to program or actually what on earth to do to get life out of it?  It just doesn't respond.  Please anybody with step by step procedure!

Many thanks.

Share this post


Link to post
Share on other sites

To Clarify....... the board works 100 percent,  just don't know how to get life from J5.  The 8 analog pins.

Share this post


Link to post
Share on other sites

Johannus OP240.

If you are discussing mios8 and midio128, you are in the digital domain, not analog.  

What are you attempting to do?

If you go to the Ucaps website, and go to the link for  MIOS8 located in left panel, you will find some apps down at the bottom of the list dealing with J5.

johnc

 

Share this post


Link to post
Share on other sites

Johannus OP240.,

Have you constructed the control surface?  Take a look at the writeup for the midio128V3.  it specifically covers the analog programming using the AIN module and others and how to program it.

Johnc

 

Share this post


Link to post
Share on other sites

If you're getting bizzare results from J5 after enabling AINs, don't forget any unused pins must be jumpered to ground.

Share this post


Link to post
Share on other sites

Thanks for you replies.

I am simply trying to connect pots to j5. that's it. No AIN module.  I do not know how to program it without overwriting the MIDIO128 settings.  At the moment there is no response from J5, as if I haven't activated something yet.  So basically how does one enable J5 to use pots? Again no AIN modules. If I load a hex file I find that my midio128 application disappears and I loose all my setting for the pins on the DIN boards.  So this has me confused overall!  I am connecting an organ.  I have the keyboards all working,  but need the pots as well!

Regards,

Ryan

 

Share this post


Link to post
Share on other sites

Hardware side: there is no AIN module (well, there is AINSER and the old AIN64), just the AIN pins. Can you explain or post a diagram of how you're trying to connect the pots?

Software side: I don't have experience with these MIOS apps, but maybe you could try to upload MB64 to test?

http://svnmios.midibox.org/filedetails.php?repname=svn.mios&path=%2Ftrunk%2Fapps%2Fcontrollers%2Fmidibox64%2Fsetup_midibox64.asm

Edited by latigid on

Share this post


Link to post
Share on other sites

Trying to connect just to the 8 AIN pins as per the website.  I don't get any activity,  and there is no activity with regard to analog pins on the lcd screen or mios studio.

 

Share this post


Link to post
Share on other sites

The question is how does one enable AIN's?  I guess that's the problem?

Share this post


Link to post
Share on other sites

The question is how does one enable AIN's?  I guess that's the problem?

 

Johannus OP240.

If you are discussing mios8 and midio128, you are in the digital domain, not analog.  

What are you attempting to do?

If you go to the Ucaps website, and go to the link for  MIOS8 located in left panel, you will find some apps down at the bottom of the list dealing with J5.

johnc

 

Share this post


Link to post
Share on other sites

I see where you might be confused: it looks like the IO app doesn't have codespace for AIN, but the later version (V3 as John mentioned) is only for 32 bit cores. V2 was for the PIC:

http://www.ucapps.de/midio128_v2.html

Does that make more sense?

Edited by latigid on

Share this post


Link to post
Share on other sites

That's correct.  I have tested the AIN with another application and they do work.  But I need to configure my pins(DIN boards) via Midio Studio,  the Midio 128 application AND get the AIN pins to activate simultaneously!   Do I need to write a new hex?  If so being a newbie,  I don't know where to begin?

 

 

Share this post


Link to post
Share on other sites

Normally DINs/shift registers are configured in the ASM file before building a new hex. I can't answer about activating AINs; it looks like MIDIO V2 doesn't support them and it would be a custom application. If you're unable to write new software, maybe you can try with a 32 bit Core module and V3?

Share this post


Link to post
Share on other sites

Ok firstly,  I have built a core (the old PIC based V3), running MIOS 8 and configuring all the PINS of the DIN modules in Mios Studio using the Midio 128 application.  So far so good,  everything works perfectly.  However because I am using this system to convert an organ,  I need the AIN inputs directly on the CORE to work at the same time.  So what I need is all 128 contacts working with 8 POTS as well. Now I can't get the POTS to work as in the MIDIO128 application there is no option to activate AIN or configure AIN! 

 

Please how do I go about getting them to both recognized and working together?  I am a newbie, and am so grateful for this project - but I really want to make a success out of it.  I feel I am nearly there expect for this issue.  If I need to write a program to get it to work,  then I am lost!   My programming knowledge is zero,  and trying to make sense of all that is on the website with regard to programming has got me sooooo confused!  I don't know where to begin!    Is there no way to include AIN functionality into the MIDIO128 Application so one can benefit from full use of the CORE in one simple application? 

Share this post


Link to post
Share on other sites

What's wrong with your other post where the issue was explained to you? Making a duplicate post isn't a way to get more attention. If TK. doesn't answer after a reasonable time perhaps you could PM him. One solution is there but requires an upgrade to a newer Core. 

Share this post


Link to post
Share on other sites

My humble apologies Latigid.  I have abandoned that post as I felt I had not explained myself correctly and therefore might not have attracted more help! I have sent a message directly to TK yes.  But no response yet.  Unfortunately I have chosen the Old PIC Core due to the availability of parts in South Africa. Building the new generation boards would mean me importing parts,  and unfortunately that is just to costly as the SA Import duties are very steep.  I might as well then buy a complete system for MIDI Gadgets etc.

I know that this core must be able to work simultaneously(with contacts and pots),  because if one is midifying an organ one needs a swell pedal,  and then what?  I have tried also to connect multiple cores so I could perhaps use the second core for the job,  but again not sure how to successfully chain the cores and get Midio Studio to recognize both cores.  So far it will only recognize one of them.  And then again what applications to load?   Thus far I have 128 contacts working thats it.  For an organ I need the complete thing,  or its only really partly midified!

Surely someone must have the solution out there!?

 

Many thanks again to all.

 

 

Share this post


Link to post
Share on other sites

Hi,

I received your PM this Thursday, but usually work through various requests only on Sundays, that's the reason for the delayed reply.

Here is a quick&dirty hack which should send CC#16...CC#23 over MIDI channel 1 on pots connected to J5.A0...A7
-> http://www.ucapps.de/mios/midio128_v2_2c__ain_enabled.zip

Please note that unused analog inputs have to be clamped to ground, otherwise they will cause random MIDI data.

Best Regards, Thorsten.

Share this post


Link to post
Share on other sites

Thank you soooooooo much Thorsten!   Solved my problem in two ticks!  Much appreciated indeed.  I don't know if i should start another thread,  but my last question is how do i chain 2 or more cores together?  I have tried via the core chain images given on the website,  however i am not sure of what the pins on J11 are.  There are 4 pins. Which is VS, MO and MI?  Thanks.

Share this post


Link to post
Share on other sites

Long time I didn't come to this forum.

If you want to chain cores, the easiest way is to make your own MIDI cable and connect J12 and J13. I guess you had to fit the 5-pin DIN connectors if only to be able to upload MIDIO128 and the pin configurations. This is what I've done for my own rig (currently 2 COREs, another one to come later).

See e.g. http://soundsparks.blogspot.fr/2010/03/diy-midi-cables.html (found after a quick googling) if you need information about how to build a MIDI cable. Make them long enough so that they don't bend too much. About 1 to 1.5 inch slack is nice.

You still have to enable MIDIO128's midi merger (end point/forwarding point) on each CORE.

Hope that helps.

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