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

แชร์
ฝัง
  • เผยแพร่เมื่อ 7 มิ.ย. 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.com/open?id=1KY2...
    Fritzing:
    drive.google.com/open?id=1_08...
    Arduino Bluetooth Controller - All in One App (Android-only)
    play.google.com/store/apps/de...
    #esp32 #smarthome #lightbulb #esp32s #relaymodule #bluetooth #android #smartphone #lightbulbs #9W #240V #9WLightBulb #iot
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 36

  • @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!

  • @kyle2055
    @kyle2055 2 ปีที่แล้ว

    great job man.

  • @techtalk7051
    @techtalk7051 2 ปีที่แล้ว

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

  • @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 ?

  • @rudawabdulrahman1010
    @rudawabdulrahman1010 ปีที่แล้ว

    Helpful thanks

  • @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.

  • @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!

  • @utkarsh1874
    @utkarsh1874 2 ปีที่แล้ว +1

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

  • @Randy2747
    @Randy2747 2 ปีที่แล้ว

    Does the voice control on app work with alexa?

  • @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?

  • @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.

  • @boonchannel2993
    @boonchannel2993 3 ปีที่แล้ว

    Can we do aplug for charge phone?

  • @mrcool7631
    @mrcool7631 3 ปีที่แล้ว +1

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

  • @mohammed1995ful
    @mohammed1995ful ปีที่แล้ว

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

  • @jacksontomek9580
    @jacksontomek9580 3 ปีที่แล้ว

    How setup Sketch?

  • @dulanramanayaka7864
    @dulanramanayaka7864 ปีที่แล้ว +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  ปีที่แล้ว

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

  • @JunaidAhmed-pf6tc
    @JunaidAhmed-pf6tc ปีที่แล้ว

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

  • @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

  • @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.