Normaly jittering values should be history, most users don’t notice this anymore…
How did you connect the pots to the AINx4 module, are you able to send me a photo so that I can give you some suggestions regarding the wiring? Alternatively you can describe it: how long are the cables, how did you connect the pots together?
From my experience this is the best wiring method: starlike
you are not using the original layouts, so I will remind some design tips, how to eliminate pot jittering. Just check the suggestions step by step, one of them could be the reason why the analog signals get unstable:
increase the input voltage of the 7805 (MBHP core module, J1). If this voltage is too low (< 7V), the 5V output of the voltage regulator will begin to oscillate. But don’t increase the input voltage above 10V, because on this way the 7805 gets very hot and will oscillate again due to temperature noise. -> Best results with 7V-10V
ensure that the pots, the PIC and the analog multiplexers are working on the same voltage level, here a diagramm:
the power connections to the pots, analog multiplexers and to the PIC have to be wired starlike
if you own a multimeter, check the voltage levels on the pots. They must be the same like on the PIC: 0/+5V. You can ensure this on the following way: connect one probe with the +5V pin of a pot, the other probe with the Vdd pin of the PIC (pin #11): the voltage drop must be 0(!)V. Thereafter check the 0V pin with Vss of the PIC (pin #12), voltage drop must be 0V as well. The voltage drop between the 5V and the 0V pin of a pot must be 5V of course…
if this doesn’t help to find the problem, reduce the cable length! In my box, the multiplexers are placed very near by the pots, so that the cables are very short.
For the analog outputs of the multiplexers I’ve used a 50cm ribbon cable, so here the length doesn’t matter.
I have almost the same problem but only with my sliders the pots are ok, some times, slider one sends a message to ableton live and apears as 7/95 on the midi assing screen but some times ocilates like 6/95,7/95,8/95,13/95, some times the volume is jittering alot, or even other slider some times sends the same message that was previously assigened with other slider.
bellow is a sheet of my wiring i have 2 joysitcks but am showing those as two pots inside a box (for the signal [pot middle] wire the longest is not more than 40cm.
Yes in fact everything is mounted in the aluminum front panel,which is not grounded at the time I do the checking because I have to separate the entire pannel to get acces to the modules, I have done some checking agian using the first input on (coreJ5) for the four outputs on in the AIN well for the first output( i guess it should be called the first multiplexer) all 8 pots work good, using the same input conected to the 2nd multeplexer and grounding all others it gives me some erratic messages, the 3rd multiplexer that has 2 sliders and grounding all others same thing, the 4th(all) sliders is totaly a mess, am going to try to ground every single pot and slider to check if it works, any sugestions to ground the pots? for the sliders i can use the mounting pins but should I just try to solder the outer shell of the pots? when I ground all J5 inputs the module only sends the first upload request, and then it just stays there, no random messages or anything that may show a short cuircuit in the core
I just confirm it is not jittering it sends random messeges,
it is sending messages that are assing to other pots, even if i do not touch them,
and well i assum that the messages are not that random because it is only for the chorus and reverb CC
this is not the actual screen of midi ox monitor but the idea is the same:
well I tried to ground the outer shells for the sliders and pots but, still having same problem, I remember at the time I placed the multiplexers the power was on (by accident), could it be that I have faulty multiplexers because of that???
You could try this out by swapping the 4051 chips. If different MIDI events are sent, you know that there is a problem with the multiplexer.
and well i assum that the messages are not that random because it is only for the chorus and reverb CC
this is not the actual screen of midi ox monitor but the idea is the same:
183 91 1 6
180 95 44 5
183 91 4 6
180 95 44 5
183 96 100 5
180 95 44 5
183 91 4 8
176 90 120 16
177 90 95 5
180 95 97 15
With hexadecimal output debugging would be easier, because the midibox64.ini file (part of mk_syx.zip) contains the mapping. This means: if you map the events to the pot number, you know exactly which analog inputs are sending random values…
ok If am getting this right, I should first check with the one “good” 4051 into the other sockets? if the good pots correspond to the good 4051 I guess i should change the faulty 4051s. and abount jitter monitor if i Have the midi box64 uploaded do i just upload the main file (jitter mon) when it asks for the upload request at the turn on?
I don’t understand that “The pin has to be selected with two inc/dec buttons”
You don’t know the good 4051 yet, therefore just swap two of them in the hope to see any differences
The jitter monitor allows you to select the analog input which should be measured with two buttons. One button, which increments the number, another which decrements the number. See the main.asm file, on which digital inputs they are expected (you could also change the digital pins if required)
am confused, hehehe i dont know anything about electronics so it is kind of difficult to understand, about the jitter mon do i just upload it to the core??? and turn it it to check what happens?
am reading the asm, shows than at DIN#0 it decrements and at DIN#1 it increments, so where is din 0 or 1 do i have to conect abutton to those pins and the oter pin in the switch to ground?
this is my box, one core, one ain, no lcd, so if the jitter mon is uploaded to the core is it going to respond to those buttons? so i can select the ain pin an see if it is jittering so i can go one at a time and check? like "multiplexer #1- pot#1, multiplexer#1-pot#2, and so on, and also is it going to show everything in the midi ox imput screen?
am confused, hehehe i dont know anything about electronics so it is kind of difficult to understand, about the jitter mon do i just upload it to the core? and turn it it to check what happens?
am reading the asm, shows than at DIN#0 it decrements and at DIN#1 it increments, so where is din 0 or 1 do i have to conect abutton to those pins and the oter pin in the switch to ground?
If you have already MIOS on the core, just upload the jittermon and - when the jitter meassurement is done - upload the origanal application again.
To swich through the pots, you`ll need at least 1 digital in for one buton. So you need at least one 74HC165 connected to the core. Minimal circuit can be found on the DIN page (http://www.ucapps.de/mbhp/mbhp_dinx1.pdf).
this is my box, one core, one ain, no lcd, so if the jitter mon is uploaded to the core is it going to respond to those buttons? so i can select the ain pin an see if it is jittering so i can go one at a time and check? like "multiplexer #1- pot#1, multiplexer#1-pot#2, and so on, and also is it going to show everything in the midi ox imput screen?
Sorry but you need a LCD as jitter mon doesn’t send any midi values but shows the values on the LCD. So before buying a LCD it would be easier to follow Thorstens tip to swap the 4051s and see what’s happening.
Well I still have the problem but I found some more information;
-I changed the pot sets( I have 4 sets of 8 pots each)
now I know that the wiring and pots are ok since every set of pots that I conect to the J1 pins (A0,A1,A2…Vd) are flawless, very stable, no jittering no strange messages. I conected all 4 sets of pots (one at a time off course) to the J1 Pins and all worked perfectly, then I swaped all 4051 to the first socket the one that corresponds to J1 and every single one works perfectly also, what should I do then? it seems that everything that I connect to J1 works no matter of wich 4051 is in that socket and J2, J3, and J4 are not working correctly, regardless of the 4051s, what should I do, buy a new AIN board?