Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Ivan Grokhotkov
@igrr
anyone tried PWM with the new SDK?
Russ Mathis
@RussMathis
what do you need tried?
Ivan Grokhotkov
@igrr
ok, yeah, analogWrite got broken with SDK 1.1.0
goes into WDT reset
ficeto
@ficeto
so i digged into GPIO WAKEUP_ENABLE a bit
and here is what it does:
when pin is set as WAKEUP (PULLUP/PULLDOWN)
at the point of calling pinMode(WAKEUP_PULLUP)
if the pin is HIGH, that will cause WDT reset
and sketch will restart
if HIGH, it will continue
Russ Mathis
@RussMathis
cool!
ficeto
@ficeto
too much HIGH :D one should be LOW
Russ Mathis
@RussMathis
So simply calling pinMode(15,WAKEUP_PULLUP);deepSleep(100000000);
The chip will sleep...
Then by externally pulling 15 HIGH will restart the chip before the expiration time sleep arg?
ficeto
@ficeto
WAKEUP_PULLUP not in code yet
no
did not say that
Russ Mathis
@RussMathis
k...
ficeto
@ficeto
void setup() {
  pinMode(14, WAKEUP_PULLUP);
  Serial.begin(115200);
  Serial.println("Booted!");
}
if pin 14 is LOW at the time pinMode is called
wdt will reset and not continue to say "Booted!"
kind of a latest "staging" version
Russ Mathis
@RussMathis
cool, I'll try it out now...
Russ Mathis
@RussMathis
downloaded and installed via arduino ide 1.6.4 from board manager
from eclipse set Private hardware path to:..packages\esp8266\hardware\esp8266\1.6.4-755-gdb0b8be
and recompiled... Worked for simple sleep test sketch
fmgomes
@fmgomes
Is there any example for Spiffs? I would like to store some http / template files to be served by the webserver
Russ Mathis
@RussMathis
me too... :)
Ivan Grokhotkov
@igrr
Not yet
Check out the SD example though
Russ Mathis
@RussMathis
Did any new examples get added for anything? :fire:
Cool, 6 examples under SD! Fantastic!!!!!
Ivan Grokhotkov
@igrr
if you have a microSD to SD adapter, you can solder to a few wires and have fun with SD
also be sure to check out the SD example under the ESP8266WebServer library
it shows how you can serve files from the SD card with the web server
Russ Mathis
@RussMathis
Have a few SD, can solder directly to the pins on the card! LOL!
Ivan Grokhotkov
@igrr
meh
not very good idea
you won't be able to put files on the SD with your computer then
Russ Mathis
@RussMathis
Too late... done that already. works good!
However, temperature variances seem to cause the cards to malfunction I'm always having to reformat the SDs.
Maybe lose wire or something ...
Have some nokia 5110, wonder if those will work...?...
Russ Mathis
@RussMathis
@ficeto, so when will WAKEUP_PULLUP, be defined?
Has anyone figured out how to implement the lowpower espressif talks about for wearables? Seems they say chip can be woke up on wifi access? incomming? outgoing? Be really nice to create low power devices like Intel's curie..
IanWalker
@IanWalker
@iggr - Is the wifio.cc project yours? If so can You tell us more about it ?
Ivan Grokhotkov
@igrr
actually I did a small part of this (no longer active) project
it was a pro-mini-compatible board with ESP and atmega328
shielded for FCC compliance
never reached kickstarter though
multiple other esp8266 based projects came faster