Это видео недоступно.
Сожалеем об этом.

1 x Light Bulb ESP32 Smart Home System w/Bluetooth, 5V Relay Module & Arduino IDE [Tutorial]

Поделиться
HTML-код
  • Опубликовано: 17 авг 2024
  • This is a full-fledged tutorial for the ESP-32/ESP-32S microcontroller. Create a 240V/9W bluetooth-enabled home-automated light bulb system that can be controlled by an Android smartphone. Also using a 5V 1-channel relay module, half breadboard, breadboard power supply module and Arduino IDE. Video contents are below, with links at the bottom.
    WARNING: This home automation tutorial deals with the handling of HIGH VOLTAGE (120-240V) COMPONENTS. Please exercise UTMOST CAUTION and SAFETY AT ALL TIMES. Thank you.
    Contents
    ========
    0:00 - The Beginning
    0:27 - PART 1 - Introduction to Components
    5:26 - PART 2 - Assembling the Light Bulb Fixture
    12:41 - PART 3 - Assembling the ESP32/ESP32S Microcontroller Device
    17:27 - PART 4 - Connecting Light Bulb & Microcontroller through 5V Relay
    20:22 - PART 5 - Arduino IDE Setup w/Code
    24:15 - PART 6 - Upload Arduino IDE Code to ESP32/ESP32S
    25:20 - PART 7 - Setup Smartphone to Pair & Communicate w/Device
    28:20 - EXTRA - Powering the Device Without a Computer
    Code (Arduino IDE):
    drive.google.c...
    Fritzing:
    drive.google.c...
    Arduino Bluetooth Controller - All in One App (Android-only)
    play.google.co...
    #esp32 #smarthome #lightbulb #esp32s #relaymodule #bluetooth #android #smartphone #lightbulbs #9W #240V #9WLightBulb #iot

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

  • @utkarsh1874
    @utkarsh1874 2 года назад +1

    how can you power a 5v relay with 3.3v input

  • @breeeendaqn1
    @breeeendaqn1 3 года назад +1

    Nice video! You should be more appreciated dude, loved the explaining and showing us how to do - no time lapses or anything. Good content!

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

    Is it possible to achieve the same kind of setup using a rotary encoder to dim the lightbulb instead of just switching it on or off?

  • @JeffLu-garden
    @JeffLu-garden 3 года назад +1

    Do you have an example of using two ESP32 communicate with each other via BLE instead of a phone? Basically wiring up the second ESP32 with a push button to turn on/off the lightbulb.

    • @PaulMarriott
      @PaulMarriott  3 года назад

      I have another demo video of 2 ESP32 microcontrollers for light bulbs communicating via Bluetooth (albeit not BLE but Classic) and using a custom-built controller instead of smartphone. If you check through the videos on my channel you should be able to find it.

  • @kyle2055
    @kyle2055 2 года назад

    great job man.

  • @ffonghk
    @ffonghk 4 года назад +1

    Great video. But I think the Fritzing link is not pointing to the one for this project.

    • @PaulMarriott
      @PaulMarriott  4 года назад

      Frankie Fong Thanks for letting me know! I’ll check the link soon.

    • @PaulMarriott
      @PaulMarriott  4 года назад +3

      All fixed. Thanks for letting me know!

  • @dulanramanayaka7864
    @dulanramanayaka7864 2 года назад +1

    can you please tell me whether we can build this system using a nodeMcu esp8266 and with the same code given in the video?

    • @PaulMarriott
      @PaulMarriott  2 года назад

      It should be compatible but haven’t tried it yet.

  • @mrcool7631
    @mrcool7631 3 года назад +1

    👏 😮 👏 😮 👏 😮 👏 😮 👏 😮 👏 😮 👏 wow
    But which website did u use to open #20:24

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

    Helpful thanks

  • @jhana.2023
    @jhana.2023 3 года назад +1

    Why are you feeding the relay with 3.3v if it is 5v? Isn't he beating afterwards?

    • @PaulMarriott
      @PaulMarriott  3 года назад

      The relay supports both 3.3v and 5v

  • @JunaidAhmed-pf6tc
    @JunaidAhmed-pf6tc Год назад

    I am having a issue when disconnecting from laptop, it is not reconnecting again via Bluetooth on mobile phone..

  • @MoeSaad194
    @MoeSaad194 2 года назад

    its a very good video 🥰 i want to do the same project but i am asking if it is safe to make the 220v bulb blink and flicker in high freq (sync with music) using the arduino code ? or it is gonna burn it ?

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

    How is it possible to switch 22 lights individually from a website and BlueTooth smartphone app. With DIY tools like raspberry pi / arduino
    From a web interface as an external or internal network?
    And use 22 pcs TTP223 switch.

  • @Axu_02
    @Axu_02 2 года назад +1

    Hi! Could it be paired to alarms? For example, if I have an alarm 8:00 the lamp would automatically sync it and during wake up alarm it would light up.

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

      for sure, but you need an RTC (real time clock) module.

  • @techtalk7051
    @techtalk7051 2 года назад

    Thank you so much sir 😊
    How about if i want it to be voice control ,would it will be possible😊?

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

    Is esp 32 compatible with iphone and if not what else could be compatible with iPhones

  • @luist76
    @luist76 3 года назад +1

    Hi there!
    Thankx for the video, I'm gonna build this for my backyard LED ilumination!
    One question: can't you just use a celphone old charger and connect it to the powersource USB charger? Maybe even connect everything to the same power plug?
    Just a thought.
    Also I'd like to know if it's possible to do this via wi-fi instead bluetooth?
    Thankx!

    • @PaulMarriott
      @PaulMarriott  3 года назад

      Thanks for the comment. Hope your project works out! I have not yet tried a phone charger with the power supply module so can't say whether it'd work or not. It is possible to use WiFi although this tutorial is mainly exclusive to Bluetooth and thus the former would need different code altogether.

    • @luist76
      @luist76 3 года назад

      @@PaulMarriott I don't know much about code... Is it much different from this?

  • @Randy2747
    @Randy2747 2 года назад

    Does the voice control on app work with alexa?

  • @boonchannel2993
    @boonchannel2993 3 года назад

    Can we do aplug for charge phone?

  • @jacksontomek9580
    @jacksontomek9580 3 года назад

    How setup Sketch?

  • @djmosse
    @djmosse 3 года назад

    Next time, use cable terminal sleeve. In that way you don't cut that wire so easy.

  • @Iamanalie442
    @Iamanalie442 3 года назад +1

    hi can I ask ? What software did you use for diagram ??

    • @PaulMarriott
      @PaulMarriott  3 года назад +1

      Fritzing

    • @Iamanalie442
      @Iamanalie442 3 года назад

      okay , thank you so much 🙂

    • @Iamanalie442
      @Iamanalie442 3 года назад

      @@PaulMarriott good evening sir, can I ask again to you sir?

    • @Iamanalie442
      @Iamanalie442 3 года назад

      regarding with the lightbulb sir I cant control lightbulb using ESP32 with the brand of NODE MCU-32S,
      the lightbulb cannot on or off. sir.