Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
ficeto
@ficeto
to wake manually, i pull the pins down
tzapu
@tzapu
@ficeto i m using eeprom in a lib, what happens if both the main app and the lib do eeprom.begin?
Russ Mathis
@RussMathis
Currently I have 16 and reset connected together(No resistor). When the ESP is in sleep mode I put the scope on either the 16 or gnd and see a sinus wave.
Not familiar with scope well enough yet LOL. Just got it and started using it.
ficeto
@ficeto
@RussMathis pul those pins UP! EN pin also!
Russ Mathis
@RussMathis
What is the EN pin?
ficeto
@ficeto
@tzapu if whatever opened the EEPROM first made any changes to it and did not commit(), those will be gone
CH_PD
tzapu
@tzapu
cool, cheers
Russ Mathis
@RussMathis
I don't see a reference in the PIN table to the EN pin?
ficeto
@ficeto
@RussMathis CH_PD is the EN pin
Russ Mathis
@RussMathis
remember I'm a newb LOL
OK, thanks, why is it called EN?
ficeto
@ficeto
i'm more in question why is it called CH_PD
EN comes from ENABLE
maybe CH_PD is Chip_PowerDown
tzapu
@tzapu
or this is hangman and CHPD_
ficeto
@ficeto
:D
tzapu
@tzapu
hmm, it eat my underscores
Russ Mathis
@RussMathis
LOL
tzapu
@tzapu
not a very good joke afterwards
:P
(probably not very good before either)
ficeto
@ficeto
it was actually good at least to me :D had a laugh
@tzapu I'll probably never look at acronyms with underscores the same way again... it's your fault now! :D
Russ Mathis
@RussMathis
So the rst pin goes high when in sleep mode, then goes low while chip is not sleeping... That's what the scope seems to indicate. While sleeping if I connect rst to ground it wakes... cool!
ficeto
@ficeto
RST and CH_PD need to always be pulled up by e resistor
i prefere having them tied together and pulled with one resistor
you control their level
should never ever have them floating
Russ Mathis
@RussMathis
Currently I'm only connecting 16 & rst and it seems to run ok. Why pull up?
ficeto
@ficeto
as that will lead to unpredicable restarts
pulled up because they are active low pins
Russ Mathis
@RussMathis
ahhh, OK, with 10K or 1000K
ficeto
@ficeto
1K-4.7K
that makes sence to name the CH_PD pin since on low the chip is powered down
and RST on low resets the chip
same thing from my point of view :D
Russ Mathis
@RussMathis
k, thanks, so they use 3V ? and 3/1000 = 3mA. Will hat help to reduce overall power consumption too?
yup, this newb found ohms law... LOL
ficeto
@ficeto
have not investigated that far :)
use 4.7 on mine
but i imagine the input inmedance is so high
that none of the 3mA will pass through
they are input pins after all
Russ Mathis
@RussMathis
currently while in deepsleep I seen a .001-.003 mA on the meter. I'll will tie pullup and pulldowns on all the necessary pins and see if there is a difference.
ficeto
@ficeto
sure :)
Russ Mathis
@RussMathis
Do you know if there is a sleep mode that will keep pwm going?
ficeto
@ficeto
well I have not digged that deep, but there is a mode in which only the modem sleeps (wifi)
apb clock should be up
no clue if it will call the interrupt routines