How to connect ESP32 with MLX90333 hall sensor (3.3V - 5V voltage divider) Help


While designing the joystick, I encountered a problem that the Hall effect sensor needs 5V for proper operation and ESP32 works on 3.3V. I searched the forum for answers but found only a few diagrams. I wanted to use the diagram below, but I have a few questions:

  1. Are capacitors needed for proper operation (I mean noise reduction). I want to get the most accurate signals from the sensor.
  2. What resistor resistances should I choose to ensure the fastest response and signal transmission from the sensor to the board?
  3. Does this scheme make sense?

You use the sensor in analog mode?
Try with R1=1k, R2=2k and 100nF caps if you want to eliminate some noise.

Yes, it will be running in analog mode.

So, above setup is valid.

You will have a trade off, adding the capacitors will reduce the sensitivity to noise but will also slow down the respond. It becomes a R/C (Resistance capacitance) problem. Remember the A/D input will also add some load.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.