edrumulus icon indicating copy to clipboard operation
edrumulus copied to clipboard

Error receiving rimshot

Open Frostokus opened this issue 2 months ago • 5 comments

Hi, thank you for your work. I decided to join this community. I downloaded Release 0.9 and can’t get a rimshot signal using esp32, the hardware is working properly, because... reassigning pin 35, pin 36 (costom pin 39) proves this. What am I doing wrong?

Image

Frostokus avatar Oct 12 '25 16:10 Frostokus

I forgot to add that the rim zone does not work on all pads as if the parameter NO_RIM was enabled in the code. Pin 5 pull up 3.3V. I tried it on an esp32S3 - the rim shot works, only there is more noise, more messages like (value 1).

Image

I don't understand what the problem is.

Frostokus avatar Oct 12 '25 16:10 Frostokus

The "DC OFFSET ERROR" in your screen shot indicates that something with your analog front end seems not to be correct. Can you please cross check the correct schematics?

corrados avatar Oct 13 '25 17:10 corrados

The "DC OFFSET ERROR" in your screen shot indicates that something with your analog front end seems not to be correct. Can you please cross check the correct schematics?

This error does not occur when connecting ESP32WROOM.

Image Image

And value 1 messages are very rare. schematics implemented as edrumulus 6 with Rp 10k/10k/20k (stopped there) added a 10nf capacitor.

Image

esp32 dev board - dc offset on 2.2V (Rs=10k, Rp=10k/20k, Cp=10nf) inputs or 1.65V (Rs=10k, Rp=10k/10k, Cp=0)- works more or less. There is no rimshot on any of the pads. esp32s3 - sends many messages with DC OFFSET on 2.2V or inputs 1.65V doesn't matter. There is a rimshot.

Frostokus avatar Oct 13 '25 17:10 Frostokus

Interesting observations. Have you played with the "rim thres" parameter already?

corrados avatar Oct 14 '25 15:10 corrados

Good afternoon. Set Rs=100k, Rp=20k/20k, Cp=10nf (constant voltage at ADC input is also 1.65V) esp32 dev board began to respond adequately, rimshot appeared. Image

esp32s3 - what is happening has not changed, it sends many messages to the serial port. Setting sensitivity and treshold do not help. The inscription "SAMPLING RATE TOO LOW WARNING" appears several times at the beginning, then disappears. Image

I initially wanted to increase the sensitivity i.e. Alesis DM10 pads have Center piezzo R47k between Piezzo->TIP, R150k between TIP->GND. I was wrong, I should have started right away with the correct schema values.

"Have you played with the "rim thres" parameter already?" - Yes, thanks, I'll try that too.

Frostokus avatar Oct 14 '25 17:10 Frostokus

esp32 dev board began to respond adequately, rimshot appeared. [...] "Have you played with the "rim thres" parameter already?" - Yes, thanks, I'll try that too.

I think we can then close this issue. If there are still problems, please re-open this issue or create a new one.

corrados avatar Nov 24 '25 11:11 corrados