Page 1 of 1

5V Dip switch

Posted: Thu Jul 15, 2021 10:30 am
by fanzypantz
So I'm trying to get some inputs to my ESP32 WROOM 32 for testing, and I have some 5V dip switches here and was wondering how this design bellow would faire if 5V is supplied on the dip switch and board. Would this be alright, for input testing in general, not prolonged used.

Image

Re: 5V Dip switch

Posted: Thu Jul 15, 2021 1:21 pm
by ESP_LJH
Please do not input 5 V directly to our module power and GPIO, it may damage the module, even for testing period.

Re: 5V Dip switch

Posted: Thu Jul 15, 2021 2:59 pm
by tommeyers
If you are going to pull-up the switches to a 5v source then I think you can pull-up through a pair of resistors used as a voltage divider.

That way the input pins will not receive 5v. 3k and 2k resistors?

Tom

Re: 5V Dip switch

Posted: Thu Jul 15, 2021 3:00 pm
by tommeyers
If you are going to pull-up the switches to a 5v source then I think you can pull-up through a pair of resistors used as a voltage divider.

That way the input pins will not receive 5v. 3k and 2k resistors?

Tom

Re: 5V Dip switch

Posted: Thu Jul 15, 2021 9:11 pm
by burtrum
Hello,
If your wire the switch pull-up resistors to the 3.3V output of the ESP32 board and not 5V you should not have any problems.

Burtrum

Re: 5V Dip switch

Posted: Sun Jul 18, 2021 11:08 am
by mbratch
Why are you running your ground connection for the board through a resistor?