I have built a box with 4 encoders and 5 buttons, for which I had all the plans and code by Brad Evens Clark, but I wanted to add 3 faders and use the code from Sefan Staub.I understand very little, very little, of code and I was not able to establish a handshake.Could someone help me?I am using a Teensy 3.5
Thank you very muchSamora
Eine neue Version 1.3.1 ist bereit auf GitHub. Um z.B. auf Nomad die Faderseite 2 anzusteuern verwendet man initFaders(1, 2, 10); man muss folgende #defines ändern#define FADER_BANK 1#define FADER…
Thank you very much for your help. I already have my new #lightBox working combining faders with encoders and buttons. It was a precious help. Thank's for your time
I just wanted to ask one more question. The fader reaches 100% before reaching the top.Is this a problem in the code or did I make a bad call?
When it is short before the top, it is by the code. It is also when you are at 0%, you must move the fader a little bit before it reacts. It is necessary because of the jitter in the analog inputs, you can control it with #define THRESHOLD
What happens is the opposite. The fader is still in the middle and says it is already at 100%. So this is an error in the connections?
This sounds more like a 0-100 vs 0-255 issue?
It is the connection, there was error in the description, the leveler pin is most at the outer position. Swapping the GND and leveler pin should solve the problem.
Here a photo of a fader:
Don't forget a 10nF ceramic capacitor (code 103) between ground and leveler for preventing analog noise.
I tried to do that but what happened was to change the direction of the fader.what happens is that my fader has a 7cm path and after 4cm it is already full
Is it a linear fader?
yes. its a 10kR 200mW mono metallic linear sliding potentiometer
Problem solved!!!The power was at 6V and I had to switch to 3.3V and everything was resolved.Thanks again for the help you provided me.
Good you have a Teensy 3.5, any other will killed.
Some additional advices for the faders:Arduino UNO, MEGA: use IOREF instead of +5VTEENSY 3.x: use 3.3V, use 'Analog GND' instead the normal ground