Jump to content

PROTODECK


protofuse
 Share

Recommended Posts

as suggested by TK, I'm opening this thread in order to aggregate all the tests/troubleshot and solutions I found here and there.

- rgb led matrix & common anode matrix & ISR

solved => code was ok, but static keyword involves "non loading" at startup

- DIN problem, strange messages received in midiOX

solved => I listened midi link encapsulation, cause I didn't listen at the right place (wrong midi out..)

- blinking led

a BIG TK's answer not tested yet by me

- false detection by 4051 analog mux

this post itself, see lower AND this post too

I'll update this thread as soon as I'd have solutions, questions etc etc.

I hope it is ok for all the eventual helpers...  ;)

Link to comment
Share on other sites

My last problem deals about AIN/pots.

Here is a schematic of the pots wiring of my protodeck (attached piece)

I have 2 core.

AIN are all AINx4 & are named like that: AINxy (x=core number, y=AINx4 number in the chain)

AIN11 is filled with 32 pots.

none problem with them ! nothing strange etc.

AIN21 is like shown on the schematic:

- SR1: 8 pots ok

- SR2: 8 pots

- SR3: 8 pots

- SR4: 6 pots + 2 pins clamped to GND

AIN22 is like shown on the schematic:

- SR1: 6 pots + 2 pins clamped to GND

- SR2: 6 pots + 2 pins clamped to GND

- SR3: 8 pots

- SR4: 5 pots + 3 pins clamped to GND

as I have to scan all pots in the chain, my MIOS_AIN_NumberSet(AIN_NUMBER_INPUTS); goes with AIN_NUMBER_INPUTS defined to 64.

strange things happens witj AIN21 and AIN22.

  • if I "touch" SR with my finger, or by squeezing corresponding flat ribbon onto them, randomly value appears... on pins corresponding
  • sometimes, when I turn pots on AIN22-SR1 for instance, 0 value is 0 (ok), I turn it ... value increase, but decrease inconsistently and become 0  instead of 7F
  • the biggest problem is... it happens sometimes (I guess, when i touch flat ribbons connection to SRs) sometimes all seems very ok. but I need a more reliable deck

so questions are:

- does my wiring seems to be VERY strange? (flat ribbon for values, red/black 0,25mm wires)

- what should I test first? in second ? I  mean , a process to track that...

I checked my midilink, it works very fine: I mean, pots value from core1 (from AIN11) are VERY stable, reliable etc.

I checked 10 times my GND clamps... seems ok.

any help would be very appreciated!

5811_85c649d18e7e7e51540c42d79fc4503074d

5811_85c649d18e7e7e51540c42d79fc4503074d

Link to comment
Share on other sites

I have to add this.

I read http://www.midibox.org/dokuwiki/doku.php?id=troubleshooting#how_can_i_avoid_pot_flickering_jitter, and http://www.midibox.org/users/tor_arne/midibox64_walkthrough/potsbuttons.html and other precious posts.

My frontpanel & my box aren't connected to ground.

could it really fix that?

I mean, I can test it but, does the reason come from bad soldering/wiring?

Link to comment
Share on other sites

apparently, groundind the case isn't a way...

I'll recheck all my connections and just hope I won't have to REDO ALL THE POTS wiring ?!!!!

nILS and ssp helped me : I would have to check the analog and digital cable proximity... near from AIN and core. and I guess it could be the problem.

indeed, "moving cable analog" means "make cables closer from the SR, from the digital line" ..... it should be the cause!

I'll test it asap !

Link to comment
Share on other sites

hello nebula,

already bought some shielded wire.

I'm trying that asap!

I'm a little bit despaired by all of that..

I tried to do my best in all step

and this unstability problem gives me headache

it is only with (some) pots, I mean: some ain.

leds, buttons are very ok ... indeed, it is positive :)

Link to comment
Share on other sites

Here I come again with my obvious general questions!  ;)

Isolate the issue is your best friend. If you swap the connections from AIN->CORE around does the same problem happen on both cores? This is basically isolating the problem to be a core or ain issue. Then I would suggest if you can, swapping pots between AIN's - this isolates the problem to a single AIN module. Also I would try swapping the SR's around to see if the problem may be a flaky SR (not likely tho).

Did you solder the filter caps onto the AIN's ? Some people like myself don't seem to need them but others do, but it can affect things.

And don't forget to power down any nearby Deathstars or particle accelerators whilst testing MidiBox... 

(sorry) 8)

Link to comment
Share on other sites

I changed all the AIN<>CORE cable by shielded one.

nothing has really changed.

I found one of the 4051 was freaky dead ! easy to isolate. I had doubt so I putted it at the end of the AIN chain and put the value of pots in main.h to 56 in order to let it for later... so now I 'm sure it is a dead component (or almost dead)

my PSU seems to be noisy (it is a switchmode PSU)

the proximity between pots wire (ribbon between pots and AIN) and PSU gives me big flow of false detections.

so I had around 2 problem, but one consequence: freaky flow of false detections.

indeed, by puttin the cable far enough from psu, I decrease the data flow false detection by an amount of 10000. really.

after that, I found sometimes little false detections, but only between very little range of values. I guess DEADBAND parameter could correct a little bit this. but it isn't made for it, I guess (too)

so, one big advice:

- buy good PSU as less noisy as possible. (switchmode means noisy, too)

- put a big distance between pots wires and PSU

tomorrow, I'll try to put a couple of capacitor between 5v and GND at the main supply of the protodeck.

we'll see. but I guess my problem is found and almost solved (at least in my head!)

big thanks to nils who didn't laught at me too much with my questions and tests  ;)

Link to comment
Share on other sites

  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...