crimp connectors was what I tried... that's how I had the connection problems...
do you have aim/msn/skype? wouldn't mind having a chat with you about teensy stuff![]()
Okay.. that's good to know! I did some prototyping with pots and buttons and didn't experience any problems. But I used crimp connectors only with buttons. Perhaps they are not suitable to use with analog inputs.. Anyway, probably I just play it safe and solder everything together in the final build.
Yeah, I have msn. I'm gonna send you a message!
On my project I did add capacitors on the pots to stabilize the signal. 100nF was enough for me.
hmm, capacitors might work but that would involve more soldering... I was trying to attach pots to my teensy without doing any soldering at all (by crimping 1x5 'dupont' connectors like these http://www.pololu.com/catalog/product/1920 to the pots terminals)
Juri - just got your pm.. i'll hit you up soon![]()
They are not necessary but believe me they stabilize the signal significantly. Only 2 soldering points per potmeter. Try it for one, if that works ok for you, do the rest you wont regret it !
Add it from ground to the center pin (runner) of the potmeter.
would these be suitable?
http://www.ebay.co.uk/itm/40-x-100nF...item45fde4fd53
is 50V too much?
They are suitable. You can go to 1uF if you want too.
Oh and in the code you can also add something like taking 5 samples and compare if they are equal. If so compare with the previous value and if necessary send a new midi value.
Another approach is counting the values together and dividing by the number of readings, comparing, ... and so on.
I do it like the first way and this works good.
Last edited by Skirmitt; 11-22-2011 at 07:45 AM.
|
Bookmarks