Alexa + ESP32 Control Relay PCB - Arduino Code

Sdílet
Vložit
  • čas přidán 10. 07. 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
  • Věda a technologie

Komentáře • 67

  • @ELECTRONOOBS
    @ELECTRONOOBS  Před rokem

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

  • @susugar3338
    @susugar3338 Před rokem +7

    "Alexa, turn off Echo power." 😂😂

  • @Mikomanus
    @Mikomanus Před rokem +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

    Tks for sharing your knowledge Electronoobs.

  • @PhG1961
    @PhG1961 Před rokem +1

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

  • @ignition_electronics2520

    🔥🔥Thats cool 🔥🔥🔥

  • @AMoktar
    @AMoktar Před rokem

    Awesome bro. Thanks

  • @BeitEssentials
    @BeitEssentials Před rokem

    you are amazing ❤❤❤

  • @salufuabdullahi5828
    @salufuabdullahi5828 Před rokem

    Very nice Project

  • @jashuvasabbavarapu4053

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

    • @NETBotic
      @NETBotic Před rokem +1

      You should suggest something specific.

  • @ramarastogi922
    @ramarastogi922 Před rokem +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❤️❤️

  • @dinismaia
    @dinismaia Před rokem

    Another very nice project 😃😃 5 🌟

  • @LeLaboDeHarry
    @LeLaboDeHarry Před rokem +1

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

  • @OnkarJadhav-ik7kt
    @OnkarJadhav-ik7kt Před 3 měsíci

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

  • @prebengranberg2971
    @prebengranberg2971 Před 3 měsíci

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

  • @djokinac
    @djokinac Před 6 měsíci

    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

  • @bobrowles43
    @bobrowles43 Před rokem +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  Před rokem +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.

  • @natureloverJ
    @natureloverJ Před rokem

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

  • @LegitLeeVelez
    @LegitLeeVelez Před rokem

    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?

  • @CemeteryLarry
    @CemeteryLarry Před rokem +1

    My Alexa is going crazy because of this video lol

  • @MikesTropicalTech
    @MikesTropicalTech Před rokem

    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.

  • @ingjuanz8624
    @ingjuanz8624 Před rokem

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

  • @FARMAN68
    @FARMAN68 Před 7 měsíci

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

  • @prahadeesh_mk
    @prahadeesh_mk Před rokem +3

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

  • @aliemlek
    @aliemlek Před rokem

    👌👌👍👍

  • @gtcollection6933
    @gtcollection6933 Před rokem +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 Před 11 měsíci

    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 🤷‍♂️.

  • @sammichael25
    @sammichael25 Před rokem

    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

  • @iam726246
    @iam726246 Před 5 měsíci

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

  • @NguyenDuong-lr9uk
    @NguyenDuong-lr9uk Před 7 měsíci

    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 Před rokem

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

  • @dennyfox3139
    @dennyfox3139 Před rokem +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 Před rokem

      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 Před rokem

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

  • @sainathreddy753
    @sainathreddy753 Před 8 měsíci

    same works for esp8266?

  • @colormaker5070
    @colormaker5070 Před 6 měsíci

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

  • @rahim9568
    @rahim9568 Před rokem

    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  Před rokem +1

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

    • @rahim9568
      @rahim9568 Před rokem

      @@ELECTRONOOBS thanks for replying

  • @revanthr3959
    @revanthr3959 Před rokem

    Pls make a video on Cadio

  • @tanishq.this_side
    @tanishq.this_side Před rokem

    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

  • @drelectronics13
    @drelectronics13 Před rokem

    Do you know about Cadio iot platform

  • @NETBotic
    @NETBotic Před rokem

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

  • @johnh5073
    @johnh5073 Před rokem +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 Před rokem

  • @Eckmuhl29
    @Eckmuhl29 Před rokem

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

  • @alistairmurray626
    @alistairmurray626 Před 9 měsíci

    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  Před 9 měsíci

      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 Před 9 měsíci

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

  • @telsonlancycrasta
    @telsonlancycrasta Před rokem

    Chatgpt on ESP32 ?

  • @kennic5382
    @kennic5382 Před rokem

    You make similar to the Google and Alexa controlling relay

  • @teddyjamilonatefreire8797

    Is it possible to control brightness of any bulb?

    • @ELECTRONOOBS
      @ELECTRONOOBS  Před rokem +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

  • @roycas3
    @roycas3 Před rokem

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

  • @ttssoon1975
    @ttssoon1975 Před rokem

    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?

  • @overbuiltautomotive1299

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

  • @sunsethorizonstudios
    @sunsethorizonstudios Před rokem +1

    Imagine making a function “alexa hack Microsoft* 😂

  • @drelectronics13
    @drelectronics13 Před rokem

    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

  • @stevenA44
    @stevenA44 Před rokem

    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.