Replies: 1 comment
-
rp pi pico work fine with multiplexer . |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello! I really need help. I'm making a MIDI controller based on the ESP32-S3 microcontroller. Sixteen potentiometers are connected to the ESP32-S3 through an analog multiplexer 74HC4067. So, the problem is that the potentiometers are very noisy, meaning they are constantly sending values. In the program, the knobs to which the potentiometers are tied are constantly twitching slightly. The problem persists even if I connect one potentiometer directly to the board. In the case of one potentiometer, I connected a 10 nF capacitor in parallel to the middle and GND pins, and the noise disappeared (a capacitor in parallel to VCC and GND pins did not help). But when connecting through the multiplexer, I connected the capacitor in different ways—both to the potentiometers themselves and in parallel to GND and SIG of the multiplexer—which helps little. I tried shortening the wires a bit, which helps slightly, but the noise is still there. Based on all this, I concluded that the problem is probably not in the code, since the Control_Surface library already includes filtering. Moreover, when I previously used this code on an Arduino Pro Micro (ATmega32U4 chip), everything worked flawlessly, with no hint of noise. I even specifically connected the multiplexer to the Arduino with long wires, and there was no noise. I think the issue might be that the Arduino operates at 5 volts, while the ESP32-S3 uses 3.3 volts, and this voltage difference could be causing an unstable signal. However, I don’t know how to solve this problem.
Beta Was this translation helpful? Give feedback.
All reactions