heyy,
i have ESP32-DevKitC-VIE dev board. i wanna control 19V 4.74A and i have a MOSFET Driver Module (as shown in the attachment) and normal 5V relay module (relay module doesn't have a optocoupler but it have freewheel diode).
can you guyz suggest me which way is the safest to control the above mentioned voltage and current!
-------------------------
if i connect the relay module, using 5V pin in the board. does it gonna have current competition i mean if the relay draw more current than rated ESP32-DevKitC-VIE board! (i assume its not directly passing the 5V from the usb connector)
ESP32-DevKitC-VIE 5V Safety!
-
- Posts: 6
- Joined: Sun Jul 02, 2023 2:03 pm
ESP32-DevKitC-VIE 5V Safety!
- Attachments
-
- Relay Module
- 1-channel-5v-relay-module-10amp-250v.jpg (157.4 KiB) Viewed 1748 times
-
- MOSFET Module
- b9b757236d73f0de150e46217689d644.jpg (18.53 KiB) Viewed 1748 times
-
- Posts: 9730
- Joined: Thu Nov 26, 2015 4:08 am
Re: ESP32-DevKitC-VIE 5V Safety!
It depends. The most foolproof would be the relay module as the 'dangerous' 19V will always be separated from your ESP devboard. If you need to switch very often, though, the relay will wear out and you're better off using the mosfet board.
The relay will indeed pull power from the devboard, which gets it (via a reverse polarity protection diode iirc) directly from the USB port.
The relay will indeed pull power from the devboard, which gets it (via a reverse polarity protection diode iirc) directly from the USB port.
-
- Posts: 6
- Joined: Sun Jul 02, 2023 2:03 pm
Re: ESP32-DevKitC-VIE 5V Safety!
so its totally okay to use relay module with my ESP32-DevKitC-VIE board! right?
there is no current overload from the board for the relay and kill the board. cuz u said its directly pulling 5v from USB port, right?
i just really wanna keep this board cuz i waited really long time for this board .
can u send me a diagram how should i connect the relay module to the board using GPIO9 pin please.
there is no current overload from the board for the relay and kill the board. cuz u said its directly pulling 5v from USB port, right?
i just really wanna keep this board cuz i waited really long time for this board .
can u send me a diagram how should i connect the relay module to the board using GPIO9 pin please.
-
- Posts: 9730
- Joined: Thu Nov 26, 2015 4:08 am
Re: ESP32-DevKitC-VIE 5V Safety!
Probably. We don't have specs for the relay board so there's no way to say this with 100% certainty, but generally I'd expect connecting together these boards won't lead to issues. I'm not gonna draw you a diagram, but you'd connect GND of the relay board to GND of your devboard, VCC to 5V and IN to your GPIO pin of choice. Note that GPIO9 cannot be used as it's occupied by the flash; better to go with e.g. GPIO13.
-
- Posts: 6
- Joined: Sun Jul 02, 2023 2:03 pm
Re: ESP32-DevKitC-VIE 5V Safety!
alright!
so i have another question, i have Arduino UNO board too,
can I make a UART com between 2 boards, (Arduino UNO and ESP32-DevKitC-VIE (ESP32-WROVER))
by directly connecting jumper wires TX to RX and RX to TX
is that safe?
or I need some kinda logic level converter?
so i have another question, i have Arduino UNO board too,
can I make a UART com between 2 boards, (Arduino UNO and ESP32-DevKitC-VIE (ESP32-WROVER))
by directly connecting jumper wires TX to RX and RX to TX
is that safe?
or I need some kinda logic level converter?
-
- Posts: 9730
- Joined: Thu Nov 26, 2015 4:08 am
Re: ESP32-DevKitC-VIE 5V Safety!
No. Uno is 5V I/O, ESP32 is 3.3V and not 5V compatible. You need level converters.
Who is online
Users browsing this forum: No registered users and 140 guests