Alexa + ESP32 Control Relay PCB - Arduino Code

Поделиться
HTML-код
  • Опубликовано: 12 июл 2024
  • High quality PCB prototypes: www.pcbway.com
    9th anniversary: www.pcbway.com/activity/anniv...
    Project and PCB: www.pcbway.com/project/sharep...
    🔥Add Alexa control to the NOOBIX PCB with ESP32. Easy code and example. Turn on and off devices from anywhere using Amazon Alexa IOT platform and fauxmo library
    🔀LINKS
    -------------------------------------
    Tutorial Here: electronoobs.com/eng_arduino_...
    Multimeter Video: • Handheld Multimeter PC...
    My tools: electronoobs.com/eng_afiliate...
    False/True T-Shirt: teespring.com/it-s-funny-beca...
    🤝SUPPORT
    -------------------------------------
    Join my Arduino Course (Spanish): bit.ly/2JY8icE
    ELECTRONOOBS.io: electronoobs.io
    Donate on PayPal: www.paypal.com/donate?hosted_...
    Help my projects on Patreon : / electronoobs
    my Q&A page: electronoobs.io/forum/index.php
    Facebook page: / electronoobs
    Canal en Español: / electronoobs en español
    00:00 Intro
    00:13 Alexa Example
    01:17 What we need?
    02:10 The PCB
    03:23 Connections
    03:42 The code
    06:06 Add Alexa Device
    07:30 PWM Control
    09:44 Thank You
    Like share and subscribe to motivate me. Thank you
    #electronics
    #learning
    #arduino
  • НаукаНаука

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

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

    Join my Arduino Course (Spanish): bit.ly/2JY8icE
    My Tools: bit.ly/3uv8bc3
    Help me on Patreon: www.patreon.com/ELECTRONOOBS

  • @susugar3338
    @susugar3338 Год назад +7

    "Alexa, turn off Echo power." 😂😂

  • @Mikomanus
    @Mikomanus Год назад +6

    Very nice. The only thing i would change is to replace the 220VAC to 12VDC with 220VAC to 5V and then remove the 12V->5V AMS regulator to save some power. Too bad those SSR require 5V to operate. Otherwise i would go with 220AC > 3.3V DC directly. Also you can change the ESP frequency from default 240MHz to 80Mhz in the board menu. This will also save some power. And 240Mhz is not needed. Its not much but if you want to run this 24/7 its always nice to reduce the consumption as much as possible.

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

    Tks for sharing your knowledge Electronoobs.

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

    Awesome ! Now a similar project with the ESP, this time for Google Nest...

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

    It's very amazing. We want complete tutorials of esp32 with different modules and different projects

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

      You should suggest something specific.

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

    One more masterpiece❤!
    It would great to see this aplication for Extension boards, Since most of us are not allowed to play with mains.
    BTW Great content❤️❤️

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

    Awesome bro. Thanks

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

    Very nice Project

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

    🔥🔥Thats cool 🔥🔥🔥

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

    you are amazing ❤❤❤

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

    As always thank you for the content... very interesting. Two questions. Assuming the Arduino is using PWM to control the variable power on the green LED? If so I'm guessing PWM would not work through the relay? Second question. I use the pico and MicroPython for my projects. (haven't really embraced Arduino system). Any chance you might branch out to include more pico / MicroPython content? Thanks again!

    • @ELECTRONOOBS
      @ELECTRONOOBS  Год назад +2

      The SSR should work with PWM for a basic incandescendt light bulb but it won't work for LED bulbs since they already have their regulating circuits. Normal coil relays won't work with PWM but a SSR module works more or less.

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

    Nice video! Maybe you can implement Over The Air on the ESP32 (for remote code upload)

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

    Another very nice project 😃😃 5 🌟

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

    Awesome! what is the Alexa generation 3/4/5 in this demo ?

  • @prahadeesh_mk
    @prahadeesh_mk Год назад +3

    Do a video about matter with esp32 it will help a lot . 😁

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

      Yes. That would be really good.

  • @prebengranberg2971
    @prebengranberg2971 3 месяца назад

    Very interesting masterpiece :) Will be possible to upload Longitude and Latitude to show a map of the position in the near future ?

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

    Excelente pero no me gusta desperdiciar tantos salidas del esp tengo algo parecido usando thasmota usando 8 reles

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

    My Alexa is going crazy because of this video lol

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

    I want to do this, but with Google or an independent voice recognition service. Then I want to have it drive a motor to crank up or down the window screens in my new apartment. I'll dive into the project once I get back to Barcelona.

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

    Greetings from Serbia
    I have one question, actually two
    do i have to have an alexa device or is an android mobile phone enough?
    and another question
    can it be made with an esp32 alexa device, but I don't need a speaker and a microphone
    it is enough to detect devices such as these switches or sonoff
    thank you very much in advance

  • @OnkarJadhav-ik7kt
    @OnkarJadhav-ik7kt 3 месяца назад

    What should be the TCP port for Echo 4th gen, as I am not able to find the device in alexa app

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

    So sad this project is all arduino oriented (yet again) and not based on the official ESP-IDF/Eclipse libs and compiles. I think Espressif should have never SDK for arduino and leave that weak platform for what it is. What a mess. Great channel/host and efforts none the less.

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

    That's cool, great invention. Can I put a US plug on that and plug it into the wall? I think my house was like 116 volts when I tested it. idk 🤷‍♂️.

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

    I live in the USA, will your PCB run from 120VAC?
    Cool project! I have been getting Alexa control with ESP8266 and ESP32's using Tasmota and the Belkin emulation Tasmota provides.

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

      He is using a switch mode power supply to drop the Mains AC Voltage down to 12v DC and most of these supplies work from 85v AC all the way up to 250v AC. Just make sure you use the one that supports 120VAC input and you are good to go.

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

      The 5V is what's important, just use a local plugpack for your countries AC power.

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

    You should upgrade this project to use Matter so you can control from Google and Apple etc.
    Plus there aren’t much tutorials online at the moment on the subject

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

    Thank you, but do have any ideas to make it without the alexa-hardware maybe just as voice recognition software because the hardware it's not allowed in my country. I would appreciate it in advance, thank you again.

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

      I might make It but with a raspberry pi instead...

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

      @@ELECTRONOOBS thanks for replying

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

    👌👌👍👍

  • @tanishq.this_side
    @tanishq.this_side Год назад

    hey brother love your project, recently I have a request can you make thermostate for alexa which means a stand alone device with an oled display and an encoder to set a temperature using temperature and humidity sensor bm"e" 280 sensor and feedback from esp to alexa where we can get the current room temperature from alexa and use it to control the smart plug of the air conditioner to turn off when it reaches set temperature and turn back on again when required. I am struggling

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

    How can i turn on off and speed up or slow down an AC Fan without using multiple relays?

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

    hello sir I went to your website and downloaded your ino file and I changed the ssid and password like it says in the code but alexa doesn't find any new devices can you please help me with this?

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

    Imagine making a function “alexa hack Microsoft* 😂

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

    It would be funny to make some prank bulbs where you tell Alexa to turn it off and it comes on.

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

    Do you know about Cadio iot platform

  • @NguyenDuong-lr9uk
    @NguyenDuong-lr9uk 7 месяцев назад

    Hello sir I have connected wifi esp32, alexa and my phone to the same wifi like you says. But alexa doesn't find any new devices can you please help me with this?

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

    Woww same project with me but I’m working with HomeKit

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

    Pls make a video on Cadio

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

    You have great videos but please edit out Alexa wake word.

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

    Is it possible to control brightness of any bulb?

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

      Only incandescent bulbs, since LED bulbs already have their own regulating voltage circuit inside.. So if you want to control LEDs, you need to add a MOSFET and your own LEDs and not a stock LED light bulb

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

    Lol I was thinking about that lat week, but with a google assistant

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

    same works for esp8266?

  • @alistairmurray626
    @alistairmurray626 10 месяцев назад

    I couldn't compile mine, i couldn't find the "esp32" library, so i downloaded the "Arduino_ESP32_OTA" one instead, didn't work though :(

    • @ELECTRONOOBS
      @ELECTRONOOBS  10 месяцев назад

      Eso is not is library, is a board. You have to install the board from the boards manager and to find it add the json link. I have a guide on my website

    • @alistairmurray626
      @alistairmurray626 10 месяцев назад

      @@ELECTRONOOBS Thanks for the reply! I had the board already installed it turns out, i read the ReadMe file, and it said you also need to install the "AsyncTCP" board as well! so i did that and it works now!

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

    Why after i followed all your instructions and both alexa apps and esp32 connected to same wifi network, the alexa still cannot find the esp32 device eventhough how many times i tried? Can u advise?

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

    I followed the instructions and received the error:
    Arduino: 1.8.19 (Linux), Board: "ESP32 Dev Module, Disabled, Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS), 240MHz (WiFi/BT), QIO, 80MHz, 4MB (32Mb), 921600, None"
    Build options changed, rebuilding all
    In file included from /home/jpmh/Arduino/libraries/FauxmoESP/examples/fauxmoESP_Basic/fauxmoESP_Basic.ino:7:0:
    /home/jpmh/Arduino/libraries/FauxmoESP/src/fauxmoESP.h:64:26: fatal error: AsyncTCP.h: No such file or directory
    compilation terminated.
    exit status 1
    Error compiling for board ESP32 Dev Module.
    This report would have more information with
    "Show verbose output during compilation"
    option enabled in File -> Preferences.

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

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

    I have a Bose brand speaker and it never detects the device, it never detects the device, does anyone know why?

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

    You make similar to the Google and Alexa controlling relay

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

    Chatgpt on ESP32 ?

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

    My devices started to misbehave. Could’ve muted the Alexa word.

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

    Are you lacking bro ,this things are made by most of the youtubers ,it would have been better if you wud have written smooth working code for rainmaker

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

    why would any one need or want alexia or any of that nest camera stuff just odd

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

    I wish you and everyone else that makes stuff like this that are controlled by Alexa, would take into consideration that MANY MANY MANY people have The Alexa devices and when YOU ALL say Alexa, it activates OUR Alexa devices! It's really annoying! It is a cool project though.