tomcody Posted January 16, 2006 Report Posted January 16, 2006  Last night I finished building the core module, I burned into the PIC the bootstrap loader, placed 1 pot into the core with no AIN module and clamp to ground the rest 7 analog inputs, connected the core to the PC with an interface, and the CORE and PIC seems works fine: after power-on, the core sends the awaited message every 2 second. I configured the MIDIbox64 main.asm with 1 pot and no multiplexor (for testing) and I converted it into HEX. - later I send with MIOS Studio the mios_v1_8.hex and seems the core receive the MIOS without problem. After this I send the MIDIbox64 main.asm. My question is What I have to do now to see the core send MIDI messages when turn the pot?? ??? ??? Please help me :) Quote
TK. Posted January 16, 2006 Report Posted January 16, 2006 Hi,after you've uploaded MIOS and the main.hex (! not the main.asm !) file of MB64 to the PIC, the single pot should send 8 CCs at once (since it isn't multiplexed via AIN)If not, the pot is propably not connected correctly? One outer pin has to be connected to ground, the other outer pin to +5V, the middle pin (taper) to the analog input.Best Regards, Thorsten. Quote
tomcody Posted January 17, 2006 Author Report Posted January 17, 2006 Thanks for reply my doubt, it had it connected correctly. After many attempts, the CORE is working now ;D ;D ;D : it sends MIDI messages, these are the messages:B0 07 00B0 07 02B5 5B 00B5 5B 02B1 5B 01B6 5B 01B2 5B 01B3 5B 01B4 5B 01B0 07 01B5 5B 01B6 5B 00B1 5B 00B2 5B 00B7 5B 00B3 5B 00B4 5B 00B0 07 00B5 5B 00I configured it with the Serge's MIDIbox64 Editor to send Volume message (B0 07 vv) and seems is sending other MIDI events ... ??? What's happening ??? ?  Thanks for clarify my doubts ;D Quote
raphael Posted January 17, 2006 Report Posted January 17, 2006 I configured it with the Serge's MIDIbox64 Editor to send Volume message (B0 07 vv) and seems is sending other MIDI events ... What's happening ? Thanks for clarify my doubts As Thorsten already mentioned: A single pot without AIN moard will behave like 8 pots (multiplexing). So if you have it connected to the first analog input. the core will send a message for the first 8 pots configured in the MIDIbox64 Editor. Quote
tomcody Posted January 17, 2006 Author Report Posted January 17, 2006 Â Sorry, I didn't understand ;D. what I can do in this case so that the CORE sends 1cc corresponding to the first analog input?. With the AIN module connected, this happen? Thanks. :D Quote
raphael Posted January 18, 2006 Report Posted January 18, 2006 With the AIN module connected, this happen? Yes. Every input on the core handles 8 AIN inputs. So a pot connected directely will be seen as 8 puts from the core.HINT:Read always the comments in main.asm (line 11):; Multiplexers (AINX4 modules) connected? -> set this value to 1; No multiplexer connected= -> set this value to 0, allowed number of pots in this case: 1-8#define DEFAULT_MUX_ENABLED 1 ; enable multiplexers--> So set it to 0 if you don't have a AIN connected. Quote
tomcody Posted January 19, 2006 Author Report Posted January 19, 2006 now I tried connecting 8 pots, and works fine!!! each pot sends its own message which I configured in the MIDIbox Editor ;D .... THANK YOU VERY MUCH FOR YOUR HELP AND TIME ;D ;D ;) !!!!! Quote
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.