Hi, I’m using a couple of the xiao esp32c3 but right now run into a new situation. In my project I use pin D6 (GPIO21) as an output pin to drive an relay (an ULN2003AN in-between the GPIO and the relay). On the esp32 I run esphome.
I read that here:
For my use case it doesn’t matter if d6 is high for a moment on start up. But besides of being high the board is making a strange high frequency sound at the same moment.
During runtime a high output on d6 is switching the relay as expected and now strange sound.
That leads me to two questions:
what might that sound be
is it "harmful "
Using another pin than d6 would mean building a new PCB, that’s just an option for the worst case…
Hmm not quite sure there. The “naked” xio esp32c3 isn’t doing anything unexpected. On my pcb there is just the uln next to the xioa no extra capacitors. Might be some “interaction” with the uln. I can’t hear if the sound comes from he xioa or the uln as they are straight next to each other.