How to use a RELAY with ESP32 | Easy Guide

Поделиться
HTML-код
  • Опубликовано: 11 янв 2025

Комментарии • 33

  • @mohankanth1910
    @mohankanth1910 Год назад +19

    Please everyone note that
    Only relay with optocoupler works well in ESP32
    The configuration of relay without optocoupler won't work in ESP32 due to direct grounding in relay module

  • @ah-lx9xi
    @ah-lx9xi 10 месяцев назад

    Interesting but a few questions if you can answer please.
    1. How many relays can you control? Relays to open close a solenoid coil actuator.
    2. To make use in a practical application such as an ESP32 camera installed, detecting an apple. If it's in center of picture open door_center. If it's to the right, open_door right. If it's to the left open door_left
    If you can help out, otherwise thanks, still an interesting short video.

    • @Epic_coding200
      @Epic_coding200 2 месяца назад

      1. As many pins can you spare, possibly infinite if you use shift registers.
      2. i dont know

    • @ah-lx9xi
      @ah-lx9xi 2 месяца назад

      @Epic_coding200 thanks, possibly using multiplexes too.

  • @larinand
    @larinand Год назад

    Thanks man, it really helped me.

  • @snimavat
    @snimavat 10 месяцев назад +5

    This is 5v relay, needs 5v power supply and 5v logic level, how does it work with esp32 which is 3v3 ? - is it reliable, could it damage the board ?

    • @marcsmith2342
      @marcsmith2342 8 месяцев назад

      I am currently trying to make a relay work with a ESP32, i have a SRD-03VDC (3V) and it doesn’t have enough Amp output i am starting to see

    • @JoseTrujillo-qz6gv
      @JoseTrujillo-qz6gv 8 месяцев назад

      For me with upython IDE and the esp32c3, this solution has problem when the relay is with load and i think need a transistor for change the 3V3 to 5V.

    • @zonadosaber9804
      @zonadosaber9804 4 месяца назад

      The esp 32 can work with 5v

  • @mrpid87
    @mrpid87 7 месяцев назад

    what is the wiring configuration for the other side of the relay?

  • @sakethkashyapnagendra9278
    @sakethkashyapnagendra9278 5 месяцев назад

    Mine is switching only once , that too before uploading completely, how to fix?

  • @Bagad_Billa-005
    @Bagad_Billa-005 11 месяцев назад

    bro 3.3 and 5v pin of esp32 is used to supply power to esp32 but how we can use it for externa purpose this will harm our board

    • @INOVATRIX
      @INOVATRIX  11 месяцев назад +1

      Board can get power from the "VIN" pin. 3.3 and 5v can run small components.

    • @jimmyimtiaz7447
      @jimmyimtiaz7447 15 дней назад

      @@INOVATRIX thanks that helped me i was confused betwen the normal 3.3v and vin pins

  • @0my
    @0my 9 месяцев назад

    Does anyone sell a relay board that just plugs into the headers on the dev kit board?

  • @emilcost8613
    @emilcost8613 9 месяцев назад

    Where do you supply power if you disconnect the usb cable?

    • @INOVATRIX
      @INOVATRIX  9 месяцев назад

      There is a pin labelled "VIN" on the board, you can easily connect 5v supply to it.

  • @StefanVanya
    @StefanVanya Год назад

    3.3V to 5V relay ??

    • @INOVATRIX
      @INOVATRIX  Год назад

      Relay is of 5v but works perfectly with 3.3v

    • @pineappily3119
      @pineappily3119 Год назад +1

      @@INOVATRIX I am using ESP32 3.3V with Relay 5V. But the switch does not work. If I connect to 5V it keeps the switch on but it does not turn off is there any solution?
      Thanks!

    • @DDc220
      @DDc220 Год назад

      @@pineappily3119Hello! I have the same problem. Did you find any solution? I use the Esp32 version with 30 pins

    • @amir_abbas_992sh7
      @amir_abbas_992sh7 11 месяцев назад

      @@pineappily3119same

    • @summ3rtim373
      @summ3rtim373 11 месяцев назад

      ​@@pineappily3119I'm facing the same problem. did you find any solution?

  • @scaygevry
    @scaygevry 6 месяцев назад +2

    makasih bang

  • @ragulragul4031
    @ragulragul4031 Год назад

    Bro can you please send me coding

    • @INOVATRIX
      @INOVATRIX  Год назад

      I have updated the link in the description.

  • @spasticjackson9578
    @spasticjackson9578 6 месяцев назад

    YUCK

  • @Nutella66946
    @Nutella66946 5 месяцев назад

    Balls