-
Dear community I have noticed that the project that I'm working on has some stability issues when i power the esp32 board with a battery. I have noticed that the pitch bending operation tends to send inacurate messages when is not in use (actually when the position is at idle, i mean on the center) the midi messages are constantly sent, which is good because i don't want the device to sleep in battery saving mode. But the problem is, even using high accuracy value for pitchbendsender function, the values are big enough make a pitch fluctuation in real time, meaning that instead con central position cc63 it can go one or 2 cc values below, for example. That said, i noticed that when i power the board via usb with a good quality charger, the fluctuation does not happen, so it is a power issue. The battery is new, but probably not the highest quality, i wonder if is possible to solve this with code, if so, could anyone give me a hint? Or is there any other method to improve electrical signal? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
You could try to increase the filtering in software, but fundamentally, this is a hardware issue, and should be addressed at the hardware level. I would recommend asking for advice on https://forum.arduino.cc/, be sure to provide a clear description of your problem and setup, including a detailed schematic (also add a link to this discussion). |
Beta Was this translation helpful? Give feedback.
You could try to increase the filtering in software, but fundamentally, this is a hardware issue, and should be addressed at the hardware level.
I would recommend asking for advice on https://forum.arduino.cc/, be sure to provide a clear description of your problem and setup, including a detailed schematic (also add a link to this discussion).