Touch Pins as Wake-up Source (ESP32 + Arduino series)

Поділитися
Вставка
  • Опубліковано 21 тра 2020
  • Wake the ESP32 from deep sleep by using the touch sensors. This is handy if you want to respond to someone touching your device and turning it on.
    ⚡️Other videos in this series:
    • ESP32 + Arduino
    (Everything you need to know about programming the ESP32 by using the Arduino Framework)
    🌍 Social
    Twitter: / savjee
    Facebook: / savjee
    Blog: savjee.be
    Become a Simply Explained member: / @simplyexplained
  • Наука та технологія

КОМЕНТАРІ • 9

  • @zoomboom3003
    @zoomboom3003 2 роки тому

    Hi thanks for the video
    How do you do it for Arduino 328P?

  • @DavePinnock
    @DavePinnock 3 роки тому

    Hi this was a great clear explanation and easy to understand thank you. One thing, as a complete newb to the ESP32 I would have liked to see a demo of the wire you attached to create a touch sensor? Is it really as simple as attaching any piece of wire to the pin??

  • @bm830810
    @bm830810 3 роки тому

    How much current consumption increase should we expect when enabling touch in deep sleep?
    thanks

  • @pedroencina2439
    @pedroencina2439 Місяць тому

    Hi, I need to send for example the temperature when I touch the sensor, and then goes to sleep, I have the topic in the loop funtion, how can I make this , i need send the value and then go to sleep, ? thanks

  • @u1kim
    @u1kim Рік тому

    Hi, I have a practical application that requires code execution in the loop() before going into deep sleep. Is there a way to accomplish the touch sensor wake up inside the loop, like putting the touchAttachInterrupt in the setup and esp_sleep_enable_start in the loop? I've tried it and it doesn't seem to want to work.

  • @jakubtecka6885
    @jakubtecka6885 2 роки тому

    Is there a way to disable touch pin wake up? I'm using a button and a timer for wake up, but somehow even without code for touch wake up my esp32 is immediately wake up by touch.

  • @mashurshalehin4972
    @mashurshalehin4972 3 роки тому

    is it possible to make esp remember some variables during deepsleep?

    • @indyalx
      @indyalx 2 роки тому

      You can write to the flash and read it again after wakeup.