Troubleshooting Pots

I downloaded the ain_example3_v1.3 firmware and changed the 64 pot line to 16 (movlw 64 to movlw 16) literally by just changing 64 to 16.

Then i used the batch to convert it, then sent via midi-ox.

My LCD reads-

AIN Example 3

then when i move knob 7 or 14 (the only ones that work) i get this -

X: 0-127 o

X = numbers that keep changing randomly between about 0-7 for pot 7, and 0-15 for pot 14.

As i turn the 0-127 smoothly increases from 0-127.. nice :slight_smile:

This gave me the following midi string when i moved pot 7 or 14 -

0000ED2B   1  â€“     B0    0D    02    1  â€”  Control Change

0000ED2C   1  â€“     B0    0F    02    1  â€”  Control Change

0000ED31   1  â€“     B0    0E    02    1  â€”  Control Change

0000ED42   1  â€“     B0    0B    01    1  â€”  CC: Expression

0000ED48   1  â€“     B0    0C    01    1  â€”  Control Change

0000ED4C   1  â€“     B0    08    01    1  â€”  CC: Balance    

0000ED4D   1  â€“     B0    09    01    1  â€”  Control Change

0000ED4E   1  â€“     B0    0A    01    1  â€”  CC: PAN        

0000ED4F   1  â€“     B0    0D    01    1  â€”  Control Change

0000ED50   1  â€“     B0    0E    00    1  â€”  Control Change

0000ED51   1  â€“     B0    0F    01    1  â€”  Control Change

0000ED66   1  â€“     B0    0B    00    1  â€”  CC: Expression

0000ED6C   1  â€“     B0    0A    00    1  â€”  CC: PAN        

0000ED6D   1  â€“     B0    0C    00    1  â€”  Control Change

Pot 7 and 14 are connected to pin 13 of 4051 1 and 2.  Ic socket 3 + 4 are empty and the last 16 pot connections are empty (not clamped to ground either).  The board is a AINX4 from mikes site.

The inputs for CC#8..CC#15 are floating, so I guess that there is something wrong with the second 4051 - check especially the power connections to this multiplexer and to the appr. pots.

Best Regards, Thorsten.

Does J6 of the ain need to be connected to anything if using 1 ainx4 board?

EDIT: Heh.. yes it does.  all the pots work now