Search found 3 matches
- Mon Feb 04, 2019 3:13 pm
- Forum: ESP32 Arduino
- Topic: Best solution for ESP32 + Neopixel and battery life
- Replies: 5
- Views: 9020
Re: Best solution for ESP32 + Neopixel and battery life
Well they're not 'Arduino' functions but ESP-IDF functions are accessible within the Arduino framework. They will work fine in Arduino IDE, for example. I forgot to mention you'll need this though: #include "driver/rtc_io.h" Just tried with your advice on GPIO12, no change. With 12 ws2812b neopixel...
- Wed Jan 30, 2019 10:19 am
- Forum: ESP32 Arduino
- Topic: Best solution for ESP32 + Neopixel and battery life
- Replies: 5
- Views: 9020
Re: Best solution for ESP32 + Neopixel and battery life
Drive the data in pin HIGH on sleep. //on wakeup rtc_gpio_hold_dis(rgb_data_pin); //on sleep digitalWrite(rgb_data_pin,HIGH); rtc_gpio_hold_en(rgb_data_pin); //keep it high in deep sleep I guess you'll need to make sure it's a RTC GPIO. Thank you for this remark. Are those commands working on ardui...
- Tue Jan 29, 2019 5:56 pm
- Forum: ESP32 Arduino
- Topic: Best solution for ESP32 + Neopixel and battery life
- Replies: 5
- Views: 9020
Best solution for ESP32 + Neopixel and battery life
Hi All, I'm working on a little project involving an ESP32 devboard, powered on 4*AA 2400mA NiMH batteries, and equipped with neopixels (12 of them), and a capacitive soil sensor. The idea is simple, have the best autonomy with those components. In order to do so, the ESP32 only wakes once every hou...