Alexa + ESP32 Control Relay PCB - Arduino Code

แชร์
ฝัง
  • เผยแพร่เมื่อ 17 พ.ค. 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  11 หลายเดือนก่อน

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

  • @susugar3338
    @susugar3338 11 หลายเดือนก่อน +6

    "Alexa, turn off Echo power." 😂😂

  • @Mikomanus
    @Mikomanus 11 หลายเดือนก่อน +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 11 หลายเดือนก่อน

    Tks for sharing your knowledge Electronoobs.

  • @PhG1961
    @PhG1961 11 หลายเดือนก่อน +1

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

  • @bobrowles43
    @bobrowles43 11 หลายเดือนก่อน +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  11 หลายเดือนก่อน +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 10 หลายเดือนก่อน

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

  • @djokinac
    @djokinac 4 หลายเดือนก่อน

    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

  • @jashuvasabbavarapu4053
    @jashuvasabbavarapu4053 11 หลายเดือนก่อน

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

    • @NETBotic
      @NETBotic 11 หลายเดือนก่อน +1

      You should suggest something specific.

  • @ramarastogi922
    @ramarastogi922 11 หลายเดือนก่อน +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❤️❤️

  • @OnkarJadhav-ik7kt
    @OnkarJadhav-ik7kt หลายเดือนก่อน

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

  • @prebengranberg2971
    @prebengranberg2971 หลายเดือนก่อน

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

  • @LeLaboDeHarry
    @LeLaboDeHarry 11 หลายเดือนก่อน +1

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

  • @salufuabdullahi5828
    @salufuabdullahi5828 11 หลายเดือนก่อน

    Very nice Project

  • @AMoktar
    @AMoktar 11 หลายเดือนก่อน

    Awesome bro. Thanks

  • @ignition_electronics2520
    @ignition_electronics2520 11 หลายเดือนก่อน +1

    🔥🔥Thats cool 🔥🔥🔥

  • @BeitEssentials
    @BeitEssentials 11 หลายเดือนก่อน

    you are amazing ❤❤❤

  • @dennyfox3139
    @dennyfox3139 11 หลายเดือนก่อน +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 11 หลายเดือนก่อน

      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 11 หลายเดือนก่อน

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

  • @dinismaia
    @dinismaia 11 หลายเดือนก่อน

    Another very nice project 😃😃 5 🌟

  • @FARMAN68
    @FARMAN68 5 หลายเดือนก่อน

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

  • @ingjuanz8624
    @ingjuanz8624 11 หลายเดือนก่อน

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

  • @LegitLeeVelez
    @LegitLeeVelez 11 หลายเดือนก่อน

    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?

  • @rahim9568
    @rahim9568 11 หลายเดือนก่อน

    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  11 หลายเดือนก่อน +1

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

    • @rahim9568
      @rahim9568 11 หลายเดือนก่อน

      @@ELECTRONOOBS thanks for replying

  • @Not_DB_Cooper
    @Not_DB_Cooper 11 หลายเดือนก่อน +1

    My Alexa is going crazy because of this video lol

  • @colinmcintyre1769
    @colinmcintyre1769 10 หลายเดือนก่อน

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

  • @MikesTropicalTech
    @MikesTropicalTech 11 หลายเดือนก่อน

    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.

  • @NguyenDuong-lr9uk
    @NguyenDuong-lr9uk 6 หลายเดือนก่อน

    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?

  • @prahadeesh_mk
    @prahadeesh_mk 11 หลายเดือนก่อน +3

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

    • @madhukeshnp
      @madhukeshnp 11 หลายเดือนก่อน

      Yes. That would be really good.

  • @tanishq.this_side
    @tanishq.this_side 11 หลายเดือนก่อน

    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

  • @alistairmurray626
    @alistairmurray626 8 หลายเดือนก่อน

    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  8 หลายเดือนก่อน

      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 8 หลายเดือนก่อน

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

  • @sammichael25
    @sammichael25 11 หลายเดือนก่อน

    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

  • @gtcollection6933
    @gtcollection6933 11 หลายเดือนก่อน +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.

  • @colormaker5070
    @colormaker5070 4 หลายเดือนก่อน

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

  • @sainathreddy753
    @sainathreddy753 6 หลายเดือนก่อน

    same works for esp8266?

  • @drelectronics13
    @drelectronics13 11 หลายเดือนก่อน

    Do you know about Cadio iot platform

  • @revanthr3959
    @revanthr3959 11 หลายเดือนก่อน

    Pls make a video on Cadio

  • @iam726246
    @iam726246 3 หลายเดือนก่อน

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

  • @ttssoon1975
    @ttssoon1975 11 หลายเดือนก่อน

    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?

    • @afredzhou
      @afredzhou 4 หลายเดือนก่อน

      I also can not find

    • @AkshatAgrawal-ld8bn
      @AkshatAgrawal-ld8bn 2 หลายเดือนก่อน

      Have u found the solution yet?

  • @aliemlek
    @aliemlek 11 หลายเดือนก่อน

    👌👌👍👍

  • @teddyjamilonatefreire8797
    @teddyjamilonatefreire8797 11 หลายเดือนก่อน

    Is it possible to control brightness of any bulb?

    • @ELECTRONOOBS
      @ELECTRONOOBS  11 หลายเดือนก่อน +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

  • @anonuser2640
    @anonuser2640 11 หลายเดือนก่อน

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

  • @johnh5073
    @johnh5073 11 หลายเดือนก่อน +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.

  • @telsonlancycrasta
    @telsonlancycrasta 11 หลายเดือนก่อน

    Chatgpt on ESP32 ?

  • @kennic5382
    @kennic5382 11 หลายเดือนก่อน

    You make similar to the Google and Alexa controlling relay

  • @NETBotic
    @NETBotic 11 หลายเดือนก่อน

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

  • @sunsethorizonstudios
    @sunsethorizonstudios 11 หลายเดือนก่อน +1

    Imagine making a function “alexa hack Microsoft* 😂

  • @Eckmuhl29
    @Eckmuhl29 11 หลายเดือนก่อน

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

  • @roycas3
    @roycas3 11 หลายเดือนก่อน

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

  • @overbuiltautomotive1299
    @overbuiltautomotive1299 11 หลายเดือนก่อน

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

  • @drelectronics13
    @drelectronics13 11 หลายเดือนก่อน

    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

  • @qqpp6017
    @qqpp6017 11 หลายเดือนก่อน

  • @stevenA44
    @stevenA44 11 หลายเดือนก่อน

    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.

    • @ELECTRONOOBS
      @ELECTRONOOBS  11 หลายเดือนก่อน

      Use headphones, hahaaha LOL