General Raspberry Pi

5V Proximity Switch

userHead T.Rizvi 2024-02-19 17:17:43 296 Views1 Replies

Does the DFR 5V Proximity Switch work only with DFRduino board or can we program it using other microcontrollers such as the esp32c3?? 

2024-02-23 17:13:26

Hello,

If you are asking about this product:

https://www.dfrobot.com/product-2025.html

 

Then you may need to use it with a level shifter.
Because these sensors output 5V and the ESP32 has a pin withstand voltage of 3.3V.

 

Level shifter:

https://www.dfrobot.com/product-2285.html

userHeadPic Yeez_B