Загрузка страницы

ESP 32 Connect 5V Relay via Logic Level Converter (ESP32)

ESP 32 is a wifi and bluetooth integrated very powerful chip manufactured by Espressif.
This video shows how to use a logic converter to use this chip with a 5v relay.
5V relay needs 5V input, sometimes it works with 3.3 but this is unstable and can not guarantee that it will work always. This video show a stable and proper way to drive 5V relay with ESP 32. ESP 32 has 3.3 v output from its pins.
Detailed information about ESP 32: https://www.espressif.com/en/products/modules/esp32

0:00:50 - Drawing / wrong way to connect relay (Common mistake)
0:01:45 - How to connect 5V relay in a wrong way
0:04:14 - Drawing / correct way to connect relay (with Logic Level Converter)
0:05:50 - How to connect 5V relay with logic level converter
To buy ESP32: https://www.amazon.com/ESP32/s?k=ESP32

To buy 5V relay: https://www.amazon.com/HiLetgo-Channel-optocoupler-Support-Trigger/dp/B00LW15A4W/ref=sr_1_4?dchild=1&keywords=5v+relay&qid=1595020630&sr=8-4

To buy Logic Level Converter: https://www.amazon.com/FTCBlock-3-3V-5V-Channels-Converter-Bi-Directional/dp/B07H2C6SJJ/ref=sr_1_1_sspa?crid=RAA9OAEW6CN2&dchild=1&keywords=logic+level+converter+3.3v+to+5v&qid=1595020667&sprefix=logic+level+converter%2Caps%2C277&sr=8-1-spons&psc=1&spLa=ZW5jcnlwdGVkUXVhbGlmaWVyPUEyR1Y5VThTMUs0UFBLJmVuY3J5cHRlZElkPUEwMjY2NDQxQ0VRVkRGRkxJT1BCJmVuY3J5cHRlZEFkSWQ9QTA5MDU4MTQxVTBKRVIwUVhVM0FBJndpZGdldE5hbWU9c3BfYXRmJmFjdGlvbj1jbGlja1JlZGlyZWN0JmRvTm90TG9nQ2xpY2s9dHJ1ZQ==
Here is the very basic blinking code for Arduino to program ESP32
// the setup function runs once when you press reset or power the board
void setup() {
// initialize digital pin LED_BUILTIN as an output.
pinMode(26, OUTPUT);
}

// the loop function runs over and over again forever
void loop() {
digitalWrite(26, HIGH); // turn the LED on (HIGH is the voltage level)
delay(1000); // wait for a second
digitalWrite(26, LOW); // turn the LED off by making the voltage LOW
delay(1000); // wait for a second
}

Видео ESP 32 Connect 5V Relay via Logic Level Converter (ESP32) канала Tech Info
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
19 июля 2020 г. 3:05:48
00:09:30
Яндекс.Метрика