As far as I know, the ESP32 ADC input voltage range is 0 to 3.3V.
The Hall sensor I’m using normally outputs an analog voltage between 0 and 3V, but I’m concerned about possible transient
Therefore, I’ve been looking into protection devices like clamping diodes.
I’m wondering if the ESP32 WROOM module has built-in clamping diodes or any other protection features on its ADC inputs.
Which Hall sensor, which spikes? Please post a link to the datasheet.
From where?
You should present your circuit.
No, but the Esp32 itself has clamping diodes on GPIOs.
I know of no modules that have input protection. You must provide your own
n"I'll correct it to 'transient' instead of 'voltage spike'."
Internal clamping diodes give protection, but they are sub-micron size, so if you suspect something out of normal, you should use external clamping.
Do you mean a voltage transient?
see post #4
There are no clamping diodes.
How is the hall sensor powered?
What is the interface between the hall and ESP?
What, in your mind, is the difference? Definitions might be required.
Being relatively new to the world of Arduino, I am surprised that this is not a routine question with a routine solution. It doesn't seem that uncommon a scenario that the exact voltage range of an input signal would be unknown/unknowable, and possibly exceed either the high or low end of the ADC range.
Thus, if the ADC range is 0 V to Vref, is there no well-established design for a conditioning circuit that would implement clamping of the voltage above Vref (and below 0 V), and possibly also include an anti-aliasing filter?
I’m not sure with the 32wroom but with a lot of processors you can change the internal voltage reference for the ADC. it may be “attenuators “ in the data sheet , have a google .
So if you were to set vref to 1.1 volts and use a resistor divider for your 3 v signal , so 3v in gives say 1volt out .
As the input is still rated at 3.6v , your input is now protected around 10volts at your input .
Use values in the 10k range and this further reduces any possible current to the chip.
You can google for further input protection schemes
I followed your link
Nice picture of nature.
Since the input impedance is in the megohm range, the 10K will have little to no effect on current.
Dunno how that crept in , hope it wasn’t er porno stuff - taken it out now ![]()
Well that was the question from the very beginning.
See post #4
Do you know otherwise for the ESP32 WROOM module?
You had ADC.it. You should have added a space between ADC. and it to prevent the conversion to an URL.
Don’t worry, I get caught at occasion as well.
No No not 328 see post #1
Totally irrelevant since we are dealing with an ESP32 WROOM
Please don't post images of text.
I’m afraid you’ll have to read the textin the pictures, it gives answers
I’m out, trying to help the guy , don’t need this carping


