#Can't Mute channels
36 messages · Page 1 of 1 (latest)
@neon fox Yeh, sorry. Its difficult to show all conections, but I made this diagram to explain better
Just realize I'm dumb, the pots are connected in parallel, still can't overcome the "parasitic" voltage from the other pots
Your schematics look good, this issue often happens in breadboards because they are basically dozens of little capacitors. What resistance are your pots?
My pots are 10k, but @plush vortex solve my issue recently. I have to connect my struf to 3.3v instead of 5v, that solve the issue
What board are you using?
rp2040-zero
And going to 3v3 let the pots go down to 0?
more less, still got jitter, but it much less than before
Well that sort of makes sense, glad you were able to fix this
Thx
@neon fox i covered this issue in this issue https://discord.com/channels/702940502038937667/1221272609422053437
basically shorting 5v to a part running on 3.3 when it is not a 5V tolerant part does bad things
I make it really smooth with no jitter with software. I uploaded the code to github!
also, you have to know about your analog reference voltage,
what did you use for your filter?
i was going to add a IIR filter to my code
Nothing, just software. I used a buffer
Yes, also use the full 12 resolution of my adc's to avoid dead zones
not that we need to be efficient but an IIR filter works great for this sort of thing, It is what i use in my code for power tools on the speed potentiometer input
i also use shift functions to avoid multiply and divides
and it is also only 3 lines of code
and uses no additional memory
AccumulatorValue -= AccumulatorValue >> 6;
AccumulatorValue += NewAnalogValue;
and whenever you use the value
actualValue = AccumulatorValue >> 6;
Wow!! My code is really big at this point also make aesthethic changes for gui. I copy the idea from @hasty goblet but make it a little more efficient and adapt it for my display
mine is really easy to move around stuff
and it is the same code really as the one you linked last night
effectively what that code does is average the last 64 readings
but we get 100 readings per second, so it really cushions the changes
Yeah, I saw it... still working on hardware to implement the layers.
Also, where do you get the icons.h? The look cool and would decluter the code