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
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
Russ Mathis
@RussMathis
k, thx
ficeto
@ficeto
the PWM here is not like in arduino
even though I've read that the pins can do something in particular mode/settings
Russ Mathis
@RussMathis
I'm trying to keep a pwm running while sleeping for 60 then wake again to allow the PID to make changes and back to sleep.
Not sure if 60sec is to long to provide enough historiesous but would save lots of power out of a DCell with booster.
ficeto
@ficeto
i would use an arduino for PWM generation and the ESP can push the new values through Serial or SPI
I would not trust it that much for proper PWM generation
Russ Mathis
@RussMathis
Yes, have a couple ATTiny 45 that could manage that.
Russ Mathis
@RussMathis
should the CH_PD be pulled up with a resisitor?
fmgomes
@fmgomes
Hi @RussMathis, the Olimex board uses 12k pull up resistor on CH_PD
Russ Mathis
@RussMathis
K, thanks
should the 12K be used for all pullup and pulldowns? GPIO-0, 15, RST?
fmgomes
@fmgomes
I had today that discussion here, trying to find out the good values
Russ Mathis
@RussMathis
Even when pulling pin 0 down for programming?
fmgomes
@fmgomes
The olimex board uses 12k for CH_PD and reset
Russ Mathis
@RussMathis
cool, thx!
fmgomes
@fmgomes
for the remaining pins they use a 2k resistor in series withthe pin, that can be connected to gnd or vcc
And at least for me it is working and stable
ficeto
@ficeto
@RussMathis many variations in the size will work
should be great from 1K up to over 10K
fmgomes
@fmgomes
Before this board I have some ESP-01 boards, and even using the same resistors and lots of capacitors near the board, I had always stability problems
like WDOG resets, CPU Exceptions, etc.
ficeto
@ficeto
when a pin switches the output level and that pin has a pull
i found best to be used 1-2K resistors
they give best curve in both directions
@fmgomes it seems those ESP-01 boards are not very good at all