gzifcak Posted March 11, 2008 Report Share Posted March 11, 2008 hi,i built a midibox64 with just a core, ain, and 16 pots. i tried to use vmidibox64 to assign controller numbers and midi channels to the pots, but i can't seem to get it to work.- i changed all the numbers in the pots tab to what i wanted.- then tried to send the sysex file, but nothing changed.- i also tried to save the sysex file, but when i open it it shows the default settings.right now my pots are sending a lot of different data on a lot of different midi channels.help!thanks,greg Quote Link to comment Share on other sites More sharing options...
gzifcak Posted March 11, 2008 Author Report Share Posted March 11, 2008 also, if i try to send one of the default sysex files, nothing changes. Quote Link to comment Share on other sites More sharing options...
gzifcak Posted March 11, 2008 Author Report Share Posted March 11, 2008 i used mios studio to upload the main.hex for my midibox64. using mios studio to monitor, everything looks good. however, when i monitor with midi ox, i see streams of data even when no pot is moving. the midi in light on my interface also stays lit.i saw a reference in another thread to configuring the midibox64 app for only 16 pots. what does this mean? i am using 12 1k pots and 4 5k pots, no lcd, no DIN or DOUT. i have grounded all the unused analog input pins on the AIN board, and also the ones on the CORE.i also haven't figured out how to program the pots with the CCs i want to use. right now each one seems to put out a ton of pitch bend, aftertouch and note data.any ideas?thanks a lot,greg Quote Link to comment Share on other sites More sharing options...
gzifcak Posted March 11, 2008 Author Report Share Posted March 11, 2008 ok, looks like part of the problem was a midi loop in midi ox. vmidibox64 is bugging out on me. if i open the virtual box, knob1 and 2 are tied together and glitchy. i'm going to try the perl method. Quote Link to comment Share on other sites More sharing options...
gzifcak Posted March 11, 2008 Author Report Share Posted March 11, 2008 i was able to make it work with mk_syx! whew, i feel like a hacker after all this. Quote Link to comment Share on other sites More sharing options...
gzifcak Posted March 11, 2008 Author Report Share Posted March 11, 2008 i was able to make it work with mk_syx. whew. Quote Link to comment Share on other sites More sharing options...
gzifcak Posted March 12, 2008 Author Report Share Posted March 12, 2008 hi,i got my midibox64 working, but as i monitor it, sometimes the pots send weird info:00000000939226 ms | [b0 3B 00] Channel 1: CC LSB 27 (Undefined) value: 000000000939227 ms | [b0 3C 00] Channel 1: CC LSB 28 (Undefined) value: 000000000939228 ms | [b0 3D 00] Channel 1: CC LSB 29 (Undefined) value: 000000000939229 ms | [b0 3E 00] Channel 1: CC LSB 30 (Undefined) value: 000000000939230 ms | [b0 3F 00] Channel 1: CC LSB 31 (Undefined) value: 000000000939297 ms | [b0 05 14] Channel 1: CC Portamento Time value: 2000000000940254 ms | [b0 05 15] Channel 1: CC Portamento Time value: 2100000000940394 ms | [b0 05 16] Channel 1: CC Portamento Time value: 2200000000940910 ms | [b0 05 17] Channel 1: CC Portamento Time value: 2300000000941162 ms | [b0 05 18] Channel 1: CC Portamento Time value: 24that's an example from a single pot set to control portamento time. each pot does this, but sometimes it happens less (almost not at all). other times it happens with every move of every pot.any ideas what it could be?thanks,greg Quote Link to comment Share on other sites More sharing options...
gzifcak Posted March 12, 2008 Author Report Share Posted March 12, 2008 i'm going crazy. sometimes it seems like a hardware issue, like if i move the parts of the case around the problem gets better or worse. i've uploaded the mios and this modified syx file:################################################################################## This is an example init file for MIDIbox 64 with Special Function Buttons# It uses the default Meta Events which come with the official firmware.## !!! SEE THE [bUTTONS] SECTION FOR SFB EXAMPLES !!!# !!! SEE ALSO http://www.uCApps.de/midibox/midibox64_sfb_table.txt !!!## It doesn't include comments for the flags which are already descriped# in the midibox64.ini default file in order to point out the differences#################################################################################[TYPE] midibox64[bANKNAME] "SFB Example " [CONNECTED_POTS] 16[GLOBAL_MIDI_CHANNEL] 0[MORPH_BANK] 1[MORPH_POT_GLOBAL] 0[MORPH_POT_G1] 0[MORPH_POT_G2] 0[MORPH_POT_G3] 0[MORPH_POT_G4] 0[sNAPSHOT_AT_POWERON] disabled[AUTO_SNAPSHOT] disabled[MIDI_MERGER] enabled[POT_BEHAVIOUR] normal[sEND_PC_ON_BANKCHANGE] disabled[RECEIVE_PC_FOR_BANKCHANGE] disabled################################################################################[POTS] # Pot Row 1 1 = B0 00 [00-7F] "CC # 0" DEC| 2 = B0 01 [00-7F] "CC # 1" DEC| 3 = B0 02 [00-7F] "CC # 2" DEC| 4 = B0 03 [00-7F] "CC # 3" DEC| 5 = B0 04 [00-7F] "CC # 4" DEC| 6 = B0 05 [00-7F] "CC # 5" DEC| 7 = B0 06 [00-7F] "CC # 6" DEC| 8 = B0 07 [00-7F] "CC # 7" DEC| 9 = B0 08 [00-7F] "CC # 8" DEC| 10 = B0 09 [00-7F] "CC # 9" DEC| 11 = B0 0A [00-7F] "CC #10" DEC| 12 = B0 0B [00-7F] "CC #11" DEC| 13 = B0 0C [00-7F] "CC #12" DEC| 14 = B0 0D [00-7F] "CC #13" DEC| 15 = B0 0E [00-7F] "CC #14" DEC| 16 = B0 0F [00-7F] "CC #15" DEC|here is an example of the output of a single pot:00000000727765 ms | [b0 06 00] Channel 1: CC Data Entry value: 000000000727766 ms | [b0 07 00] Channel 1: CC Volume value: 000000000727767 ms | [b0 08 00] Channel 1: CC Balance value: 000000000727768 ms | [b0 09 00] Channel 1: CC Undefined value: 000000000727769 ms | [b0 0A 00] Channel 1: CC Pan value: 000000000727770 ms | [b0 0B 00] Channel 1: CC Expression Controller value: 000000000727771 ms | [b0 0C 00] Channel 1: CC Effect Control 1 value: 000000000727772 ms | [b0 0D 00] Channel 1: CC Effect Control 2 value: 000000000727773 ms | [b0 0E 00] Channel 1: CC Undefined value: 000000000727775 ms | [b0 0F 00] Channel 1: CC Undefined value: 000000000727888 ms | [b0 01 55] Channel 1: CC Modulation Wheel value: 8500000000727911 ms | [b0 01 56] Channel 1: CC Modulation Wheel value: 8600000000727956 ms | [b0 01 57] Channel 1: CC Modulation Wheel value: 8700000000728058 ms | [b0 01 58] Channel 1: CC Modulation Wheel value: 88i have no clue what's wrong.any ideas?thanks,greg Quote Link to comment Share on other sites More sharing options...
gzifcak Posted March 12, 2008 Author Report Share Posted March 12, 2008 i uploaded a syx file with all the pots set to send the same cc, and the intermittent garbage turned out to be all the same. for example: 0002B0DE 1 -- B0 00 00 1 --- CC: Bank MSB 0002B0DF 1 -- B0 00 00 1 --- CC: Bank MSB 0002B0E0 1 -- B0 00 00 1 --- CC: Bank MSB 0002B0E1 1 -- B0 00 00 1 --- CC: Bank MSB 0002B0E2 1 -- B0 00 00 1 --- CC: Bank MSB 0002B0E3 1 -- B0 00 00 1 --- CC: Bank MSB 0002B0E4 1 -- B0 00 00 1 --- CC: Bank MSB 0002B157 1 -- B0 00 68 1 --- CC: Bank MSB 0002B170 1 -- B0 00 69 1 --- CC: Bank MSB 0002B190 1 -- B0 00 6A 1 --- CC: Bank MSB 0002B1B3 1 -- B0 00 6B 1 --- CC: Bank MSB 0002B1F3 1 -- B0 00 6C 1 --- CC: Bank MSB 0002B230 1 -- B0 00 6D 1 --- CC: Bank MSB 0002B236 1 -- B0 00 00 1 --- CC: Bank MSB 0002B237 1 -- B0 00 00 1 --- CC: Bank MSB 0002B237 1 -- B0 00 00 1 --- CC: Bank MSB 0002B238 1 -- B0 00 00 1 --- CC: Bank MSB 0002B239 1 -- B0 00 00 1 --- CC: Bank MSB 0002B23A 1 -- B0 00 00 1 --- CC: Bank MSB 0002B23C 1 -- B0 00 00 1 --- CC: Bank MSB 0002B23D 1 -- B0 00 00 1 --- CC: Bank MSB 0002B23E 1 -- B0 00 00 1 --- CC: Bank MSB 0002B23F 1 -- B0 00 00 1 --- CC: Bank MSB 0002B240 1 -- B0 00 00 1 --- CC: Bank MSB 0002B241 1 -- B0 00 00 1 --- CC: Bank MSB 0002B242 1 -- B0 00 00 1 --- CC: Bank MSB 0002B243 1 -- B0 00 00 1 --- CC: Bank MSB 0002B244 1 -- B0 00 00 1 --- CC: Bank MSB 0002B246 1 -- B0 00 00 1 --- CC: Bank MSB 0002B2B7 1 -- B0 00 71 1 --- CC: Bank MSB 0002B2CA 1 -- B0 00 72 1 --- CC: Bank MSB 0002B306 1 -- B0 00 73 1 --- CC: Bank MSB 0002B358 1 -- B0 00 74 1 --- CC: Bank MSB 0002B3A4 1 -- B0 00 75 1 --- CC: Bank MSB 0002B3E1 1 -- B0 00 76 1 --- CC: Bank MSB what it looks like to me is that turning one pot sometimes causes messages for other pots to be sent, always with a value of 0. could that be some sort of electrical problem? is there any other way to test the functionality of my circuit?thanks,greg Quote Link to comment Share on other sites More sharing options...
/tilted/ Posted March 12, 2008 Report Share Posted March 12, 2008 What value of pots are you using?Have you double-checked your wiring?Do you have enough power?Do you have a smooth, stable power supply? Quote Link to comment Share on other sites More sharing options...
cimo Posted March 12, 2008 Report Share Posted March 12, 2008 What value of pots are you using? midibox64 pot question« on: Yesterday at 04:32 » Reply with quoteQuotei just built a midibox64 with 2 joysticks and 12 rotary pots. no DIN, DOUT, or LCD.i have uploaded the midibox64 app, and i can see midi data when i move a joystick, but it crashes soon after. the regulator gets very hot.i used 1k pots, could this be the reason?without the pots connected, i read about 4k resistance between +5 and ground. with the pots connected it goes down to 9 ohms! is this the parallel resistance or do i have a short somewhere?thanks for any tips,greggzifcak cross posting is not really helpful if you are seeking help here in th forum as the info gets scattered all over..have you tried 10k pots ?simone Quote Link to comment Share on other sites More sharing options...
stryd_one Posted March 12, 2008 Report Share Posted March 12, 2008 AUAIMBCTGPS, you are a hacker now! Quote Link to comment Share on other sites More sharing options...
stryd_one Posted March 12, 2008 Report Share Posted March 12, 2008 AUAIMBCTG Quote Link to comment Share on other sites More sharing options...
stryd_one Posted March 12, 2008 Report Share Posted March 12, 2008 There are three reasons that came to mind right now, why you shouldn't crosspost:1) You're less likely to get an answer because you're spread thin and because2) You're making a mess which people don't like and if you're really unlucky3) stryd_one has 5 pages of unread posts overnight, and you're three of them, so he will get cranky, and merge them together and you wind up with a big mess. See 1) and 2) ;D Quote Link to comment Share on other sites More sharing options...
gzifcak Posted March 12, 2008 Author Report Share Posted March 12, 2008 oops, i apologize 1000 times. i posted different messages because i thought i was having different issues. thanks for your patience.i am using 1k pots, i've seen that pdf, but i figured 16 pots wouldn't be too many to attach to the same + and gnd rail. could this be the problem?i will separate them into 2 groups of 8 and see what happens. i would try 10k pots but i don't have any.thanks Quote Link to comment Share on other sites More sharing options...
gzifcak Posted March 12, 2008 Author Report Share Posted March 12, 2008 my power supply right now comes from a 12v 1A wall wart, through a lm317t adjustable regulator tuned to 7.6 volt output, into the core module. if i bypass the lm317 with 9v into the core module, i get the same results. Quote Link to comment Share on other sites More sharing options...
dj3nk Posted March 12, 2008 Report Share Posted March 12, 2008 you wont need that lm317. get with 9v in your core and all is fine from the powerside.Can you make some pictures od your pcbs and so on ? Perhaps we can locate the error faster.greet Quote Link to comment Share on other sites More sharing options...
gzifcak Posted March 12, 2008 Author Report Share Posted March 12, 2008 i've seen that pdf, but i figured 16 pots wouldn't be too many to attach to the same + and gnd rail. could this be the problem?i will separate them into 2 groups of 8 and see what happens. actually, looking at it again, that's exactly how i have it wired. there's another pdf that shows a "star" pattern with the pots divided into groups of 8, each fed by a separate power and ground wire.you wont need that lm317. get with 9v in your core and all is fine from the powerside.the reason i added the lm317 was so i could run it safely from a specific 12v supply that i have. i'd prefer to leave it in there if it's not causing a problem.Can you make some pictures od your pcbs and so on ? Perhaps we can locate the error faster.i'll do that now.thanks Quote Link to comment Share on other sites More sharing options...
gzifcak Posted March 12, 2008 Author Report Share Posted March 12, 2008 unfortunately i think my girlfriend has my camera today. i broke the 16 pots into 2 groups of 8 with separate power and ground rails: no change.here's a chunk from midi-ox (just pot #1 being turned): TIMESTAMP IN PORT STATUS DATA1 DATA2 CHAN NOTE EVENT 0004960C 1 -- B0 00 60 1 --- CC: Bank MSB 0004962E 1 -- B0 00 00 1 --- CC: Bank MSB 0004962F 1 -- B0 01 00 1 --- CC: Modulation 00049630 1 -- B0 02 00 1 --- CC: Breath 00049630 1 -- B0 03 00 1 --- Control Change 00049632 1 -- B0 04 00 1 --- CC: Foot Controller 00049632 1 -- B0 05 00 1 --- CC: Portamento Time 00049633 1 -- B0 06 00 1 --- CC: Data Entry MSB 00049634 1 -- B0 07 00 1 --- CC: Volume 00049635 1 -- B0 08 00 1 --- CC: Balance 00049636 1 -- B0 09 00 1 --- Control Change 00049637 1 -- B0 0A 00 1 --- CC: PAN 00049638 1 -- B0 0B 00 1 --- CC: Expression 00049639 1 -- B0 0C 00 1 --- Control Change 0004963A 1 -- B0 0D 00 1 --- Control Change 0004963B 1 -- B0 0E 00 1 --- Control Change 0004963C 1 -- B0 0F 00 1 --- Control Change 00049682 1 -- C7 00 -- 8 --- PC: Acc. Grand Piano 00049689 1 -- C2 00 -- 3 --- PC: Acc. Grand Piano 0004968A 1 -- E1 00 00 2 --- Pitch Bend 0004968B 1 -- E5 00 00 6 --- Pitch Bend 0004968C 1 -- A0 20 00 1 G# 1 Key Aftertouch 000496B0 1 -- B0 00 5D 1 --- CC: Bank MSB 000496B5 1 -- B0 00 5C 1 --- CC: Bank MSB 000496D0 1 -- C2 00 -- 3 --- PC: Acc. Grand Piano 000496D1 1 -- E1 00 00 2 --- Pitch Bend 000496D1 1 -- E5 00 00 6 --- Pitch Bend 000496D2 1 -- A0 20 00 1 G# 1 Key Aftertouch what's weird is i don't think any of my pots are setup to send a lot of that info, right? here's my pot setup:[POTS] # Pot Row 1 1 = B0 00 [00-7F] "CC # 0" DEC| 2 = B0 01 [00-7F] "CC # 1" DEC| 3 = B0 02 [00-7F] "CC # 2" DEC| 4 = B0 03 [00-7F] "CC # 3" DEC| 5 = B0 04 [00-7F] "CC # 4" DEC| 6 = B0 05 [00-7F] "CC # 5" DEC| 7 = B0 06 [00-7F] "CC # 6" DEC| 8 = B0 07 [00-7F] "CC # 7" DEC| 9 = B0 08 [00-7F] "CC # 8" DEC| 10 = B0 09 [00-7F] "CC # 9" DEC| 11 = B0 0A [00-7F] "CC #10" DEC| 12 = B0 0B [00-7F] "CC #11" DEC| 13 = B0 0C [00-7F] "CC #12" DEC| 14 = B0 0D [00-7F] "CC #13" DEC| 15 = B0 0E [00-7F] "CC #14" DEC| 16 = B0 0F [00-7F] "CC #15" DEC|so i'm getting program changes, pitch bend, aftertouch, etc, all with values of 0, even though my pots aren't setup to send those CC messages.thanks Quote Link to comment Share on other sites More sharing options...
Jidis Posted March 12, 2008 Report Share Posted March 12, 2008 Greg-You did get the app changed for your particular number of pots right?(not that it's responsible for the trouble, but having it setup for 64 or whatever probably won't help)George Quote Link to comment Share on other sites More sharing options...
gzifcak Posted March 12, 2008 Author Report Share Posted March 12, 2008 yeah, i changed it to 16 and then deleted the pot settings for the rest of the pots, and all the buttons and leds.here is a photo of my pot wiring:http://eatstapes.com/pots.JPGand here is a photo of the core and ain:http://eatstapes.com/core-ain.JPGas you can see, for the pots i now have a separate power and ground run for the 2 sets of 8 pots. the ground wire is the bare wire that runs underneath the pot lugs and the positive is red.thanks Quote Link to comment Share on other sites More sharing options...
/tilted/ Posted March 13, 2008 Report Share Posted March 13, 2008 i am using 1k pots, i've seen that pdf, but i figured 16 pots wouldn't be too many to attach to the same + and gnd rail. could this be the problem?In a word, yes. Not the problem, but not exactly part of the solution.Putting 16 x 1k pots in parallel across your power rails is the equivalent of 62.5 ohms. This will put a drain on your supply of around 80mA. This is not huge, but it is not helping.Changing to 10k pots will increase the equivalent resistance to 625 ohms, reducing the load on your power supply to 8mA. This will also increase the resolution that your pots present to the AIN pins on the core. Quote Link to comment Share on other sites More sharing options...
gzifcak Posted March 13, 2008 Author Report Share Posted March 13, 2008 cool, thanks, i've got some on order. any ideas as to what's causing the problem? do the midi messages point to hardware weaknesses? Quote Link to comment Share on other sites More sharing options...
/tilted/ Posted March 13, 2008 Report Share Posted March 13, 2008 By the way, while doing the pots in banks of 8 is certainly a good idea, it does not change the overall resistance presented to the power rails.Instead of 1k//1k//1k//1k//1k//1k//1k//1k//1k//1k = 62.5 ohms, you have:(1k//1k//1k//1k//1k)//(1k//1k//1k//1k//1k) = 125//125 ohms, = 62.5 ohms.I think the main reason for the banked structure is that it makes fault finding slightly easier. Quote Link to comment Share on other sites More sharing options...
stryd_one Posted March 13, 2008 Report Share Posted March 13, 2008 oops, i apologize 1000 times. i posted different messages because i thought i was having different issues. thanks for your patience.No sweat man :) I thought I was extremely impatient? ;Di am using 1k pots, i've seen that pdf, but i figured 16 pots wouldn't be too many to attach to the same + and gnd rail. The point of that PDF is that the unused inputs (spare AIN pins with no pots attached) should be grounded. If you don't do that, you get random input, which it sounds like you did... 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.