switch gpio 0 always high after boot
Moderators: grovkillen, Stuntteam, TD-er
switch gpio 0 always high after boot
Hi
I tried to have default low for gpio 0.
so in hardware I said boot default low.
in device switch is defined normally, not pulled high.
but after reboot or new repowering, gpio is 1 high?
how can I avoid this?
thanks
T
I tried to have default low for gpio 0.
so in hardware I said boot default low.
in device switch is defined normally, not pulled high.
but after reboot or new repowering, gpio is 1 high?
how can I avoid this?
thanks
T
Last edited by riker1 on 21 Jan 2018, 09:17, edited 1 time in total.
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: switch gpio 0 alsway high after boot
You can't.
https://www.letscontrolit.com/wiki/inde ... figuration
But you can use rules to set it to low after boot is completed. But it will always be high at first.
https://www.letscontrolit.com/wiki/inde ... figuration
But you can use rules to set it to low after boot is completed. But it will always be high at first.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
Re: switch gpio 0 alsway high after boot
Hi
thanks for the link.
but do not understand the default setting options so.
No funktion for GPIO 2 and 0 for example?
thanks for the link.
but do not understand the default setting options so.
No funktion for GPIO 2 and 0 for example?
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: switch gpio 0 alsway high after boot
Not really no. The default setting is not that accurate (at the moment). I tend to use rules just to be sure. But we might need to take a look at the default settings and fix it.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
Re: switch gpio 0 alsway high after boot
ok thanks for the info.
maybe you know this:
I have an ESP-01S relais .
but ESP is not booting when inserted, especially when GPIO0 is inserted.
Do not know how to solve this. Rules is too late, as they are handled after powering up, right?
maybe you know this:
I have an ESP-01S relais .
but ESP is not booting when inserted, especially when GPIO0 is inserted.
Do not know how to solve this. Rules is too late, as they are handled after powering up, right?
Re: switch gpio 0 alsway high after boot
Try a 10K Resistor from 3.3V to GPIO0 to keep it high if it isn't on the board.
A "Low" at boot time will not work as it puts the ESP8266 into flash mode.
A "Low" at boot time will not work as it puts the ESP8266 into flash mode.
Regards
Shardan
Shardan
Re: switch gpio 0 alsway high after boot
Hi
do not understand this.
https://www.letscontrolit.com/wiki/inde ... figuration
is saying it is always high at boot , so how can it come into flash mode?
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: switch gpio 0 alsway high after boot
The MCU (ESP8266) will only boot if it defects a high signal on GPIO 0. Thus the GPIO 0 will always be high during boot but once the firmware is booted the GPIO 0 can be set to low or used as what ever.
But please understand that the high signal on GPIO 0 is not set by the ESP but by external source. The pre-build boards take care of this but raw ESP chips do not.
But please understand that the high signal on GPIO 0 is not set by the ESP but by external source. The pre-build boards take care of this but raw ESP chips do not.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
Re: switch gpio 0 alsway high after boot
ok thanks for clarification
will try a resistor between GPIO 0 and VCC
will try a resistor between GPIO 0 and VCC
Re: switch gpio 0 alsway high after boot
it is working with the resistor
perfect
i am wondering why they sell esp-01s with relais, how can this work?
perfect
i am wondering why they sell esp-01s with relais, how can this work?
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: switch gpio 0 alsway high after boot
Don't know really.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
Re: switch gpio 0 alsway high after boot
Simple reason: Cost.
It is the cheapest ESP.
It is the cheapest ESP.
Regards
Shardan
Shardan
Re: switch gpio 0 alsway high after boot
Which version of ESPEasy are you using? I've tested this with the latest mega and v2.0, and i was able to set the bootstate of GPIO 0 to both low and high. (and it would give the correct signal)
Edwin
Edwin
Re: switch gpio 0 alsway high after boot
Hi
I am using r147 on ESP01 1M
I was not able to flash and boot a V2xx on an ESP-01
it was never starting up right with V2 for me
I am using r147 on ESP01 1M
I was not able to flash and boot a V2xx on an ESP-01
it was never starting up right with V2 for me
Re: switch gpio 0 always high after boot
Hi
is it possible to create a rule for reboot to
set gpio 0 low after startup?
how would a rule loook like?
Thanks
is it possible to create a rule for reboot to
set gpio 0 low after startup?
how would a rule loook like?
Thanks
Re: switch gpio 0 always high after boot
It's simple...
Code: Select all
on System#Boot do
gpio,0,0
endon
Re: switch gpio 0 always high after boot
ok, perfect, thanks, will check
Re: switch gpio 0 always high after boot
hi this is working , but will take a will .
so how can I avoid gpio beeing switched after powerup?
rule skips in after reboot, so too late.
setting hardware gpio to input low does not solve it
maybe a resistor?
Thanks T
so how can I avoid gpio beeing switched after powerup?
rule skips in after reboot, so too late.
setting hardware gpio to input low does not solve it
maybe a resistor?
Thanks T
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: switch gpio 0 always high after boot
Then you need a physical pull down...?
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
Re: switch gpio 0 always high after boot
ok, you mean a resistor between GPIO 0 and GND?
Would 10 kOhm be sufficient?
Would 10 kOhm be sufficient?
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: switch gpio 0 always high after boot
That's what I use...
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
Re: switch gpio 0 always high after boot
@riker: Are you specifically talking about this relay-modul?
Re: switch gpio 0 always high after boot
yes I am
even need a pulldown to boot up the esp-01
even need a pulldown to boot up the esp-01
Re: switch gpio 0 always high after boot
and with this setup after powering up, GPIO 0 stays low?
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: switch gpio 0 always high after boot
It might flicker, if I remember correctly (only got one ESP-01 running).
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
Re: switch gpio 0 always high after boot
It works like follow at me:
ESP-01 on ESP-01S relay modul v1.0 with ESPEasy R148.
One resistor 10k between Vcc and CH_PD and one resistor 15k between Vcc and GPIO0 was soldered on the relay-modul.
No flicker, no "1" while or after boot !
ESP-01 on ESP-01S relay modul v1.0 with ESPEasy R148.
One resistor 10k between Vcc and CH_PD and one resistor 15k between Vcc and GPIO0 was soldered on the relay-modul.
No flicker, no "1" while or after boot !
Re: switch gpio 0 always high after boot
ok, thanks, will try this.
Re: switch gpio 0 always high after boot
Hi
where did you get the R148 from?
Only find 147
where did you get the R148 from?
Only find 147
Re: switch gpio 0 always high after boot
I don't know anymore
Do you think, the R148 make any difference? If you wish, I would attach the R148 here today evening or send it as PM.
E.g. you can download it from here .
Do you think, the R148 make any difference? If you wish, I would attach the R148 here today evening or send it as PM.
E.g. you can download it from here .
Re: switch gpio 0 always high after boot
Hey there Micha_he,Micha_he wrote: ↑20 Mar 2018, 19:09 It works like follow at me:
ESP-01 on ESP-01S relay modul v1.0 with ESPEasy R148.
One resistor 10k between Vcc and CH_PD and one resistor 15k between Vcc and GPIO0 was soldered on the relay-modul.
No flicker, no "1" while or after boot !
esp01s.jpg
hardware.jpg
devices.jpg
rules.jpg
Because i didn't have a 15K with me, I tried and put a 10K resistor VCC<>CH_PD & 10K resistor VCC<>GPIO0, but it did not work.
Do you think it is because of the 10K i used and it's necessary to be 15K?
Thanks in advance,
Re: switch gpio 0 always high after boot
Yes maybe. I have tried several values...
Test it, with 4.7k and 10k in series !
Test it, with 4.7k and 10k in series !
Who is online
Users browsing this forum: No registered users and 115 guests