No connection ESP01 and Relay
Moderators: grovkillen, Stuntteam, TD-er
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: No connection ESP01 and Relay
Correct
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: No connection ESP01 and Relay
Placed a 10k resistor between vcc and Ch Eng and getting the same.problem. any ideas
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: No connection ESP01 and Relay
I flashed a ESP-01 just an hour ago (to make this wiki page): https://www.letscontrolit.com/wiki/index.php/ESP-01
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: No connection ESP01 and Relay
Im really not getting this. My unit has been flashed with firmware. Just doesn't connect.to WiFi after I disconnect it from the usb programmer and just apply power.
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: No connection ESP01 and Relay
Do you get any serial information?
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: No connection ESP01 and Relay
When I disconnect it from the programmer I don't have anything connected to the unit no serial info. As I said it works fine when connected to the programmer. I am able to connect via the IP address. When disconnected from the programmer it doesn't appear on my network.
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: No connection ESP01 and Relay
Do you have any other programmer?
But please send a picture of your soldering / connection when trying to run it with NO programmer.
But please send a picture of your soldering / connection when trying to run it with NO programmer.
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: No connection ESP01 and Relay
Yes I do. I have a standard ftdi programmer. I will send over a photo to.orrow if you don't mind. By soldering those pins does that mean it's in bootloader mode 247? I thought these where the pins I shorted to flash the firmware.
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: No connection ESP01 and Relay
Yes that jumper is a permanent thing. Do not remove 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: No connection ESP01 and Relay
Ok all soldered. Still not connecting to my network ;(
Re: No connection ESP01 and Relay
Image attached
- Attachments
-
- IMG_20171203_173419.jpg (2.25 MiB) Viewed 37981 times
Re: No connection ESP01 and Relay
Really want to get this to work. But im on the verge of giving up. A lot of information online is different from one page to another.
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: No connection ESP01 and Relay
You sure it's 1MB? Have you removed it from the back relay board and booted 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: No connection ESP01 and Relay
Do you get Wifi from the ESP if it is connected to the programmer?
Regards
Shardan
Shardan
Re: No connection ESP01 and Relay
I sure do.
Re: No connection ESP01 and Relay
Not sure if it is 1mb. And no I haven't booted away from the relay. As I don't have a 3.3 psugrovkillen wrote: ↑03 Dec 2017, 20:28 You sure it's 1MB? Have you removed it from the back relay board and booted it?
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: No connection ESP01 and Relay
Try to get 3.3V and boot before giving up. Also double check the memory size.
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: No connection ESP01 and Relay
I'll try powering from my arudino.
Re: No connection ESP01 and Relay
If Wifi is OK with the programmer the ESP is working and should have 1 MB.
Something does not work when the ESP is plugged into the relay board.
As the board should work with it's own software deleiverd with the board
something is stopping the ESPEasy firmware on the board.
Sadly i don't have a schematic or a sample of the board so it's difficult to say what's going on.
Something does not work when the ESP is plugged into the relay board.
As the board should work with it's own software deleiverd with the board
something is stopping the ESPEasy firmware on the board.
Sadly i don't have a schematic or a sample of the board so it's difficult to say what's going on.
Regards
Shardan
Shardan
Re: No connection ESP01 and Relay
Just a question. Why does it work from the programmer without the link out? Why is it then needed?
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: No connection ESP01 and Relay
The programmer board connected these two pins via the board. You can test if they do using a multimeter.
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: No connection ESP01 and Relay
This may answer your question.
I suspiced some needed pull-up resistors are missing on the board so i just checked the pictures of the board on AliExpress.
Beware - i'm judging only by the photos and may be wrong.
This is an interesting relay board.....
- Relay connected to GPIO0 - no pull-up resistor on the board
- GPIO2 floating - no pull-up resistor on the board
- ch-pd floating - no pull-up resistor on the board
- Reset just connected to the button - no pull-up resistor on the board
seeing this I checked ESP-01 and ESP-01S from my shelf:
The older ESP-01 (the one you used juding by your photos) has a internal pull-up on reset only.
The newer ESP-01S has internal pull-ups on reset, ch-pd (enable) and GPIO0 (I see 9..12 KOhm with multimeter) but
not on GPIO2 (I see some MOhms).
There may be other ESP-01 types differing from this.
It might be worth a try to solder the missing resistors to the board for a test.
Possibly it would work with the newer ESP01S, but not with your older ESP-01 types.
If you have a multimeter or voltmeter try the following:
- put the ESP-01 into the board
- power up the board (it needs 5V)
- check the voltage from GND to GPIO0, GPIO2, CH-PD (enable) and reset.
If possible give the results here.
Regards
Shardan
I suspiced some needed pull-up resistors are missing on the board so i just checked the pictures of the board on AliExpress.
Beware - i'm judging only by the photos and may be wrong.
This is an interesting relay board.....
- Relay connected to GPIO0 - no pull-up resistor on the board
- GPIO2 floating - no pull-up resistor on the board
- ch-pd floating - no pull-up resistor on the board
- Reset just connected to the button - no pull-up resistor on the board
seeing this I checked ESP-01 and ESP-01S from my shelf:
The older ESP-01 (the one you used juding by your photos) has a internal pull-up on reset only.
The newer ESP-01S has internal pull-ups on reset, ch-pd (enable) and GPIO0 (I see 9..12 KOhm with multimeter) but
not on GPIO2 (I see some MOhms).
There may be other ESP-01 types differing from this.
It might be worth a try to solder the missing resistors to the board for a test.
Possibly it would work with the newer ESP01S, but not with your older ESP-01 types.
If you have a multimeter or voltmeter try the following:
- put the ESP-01 into the board
- power up the board (it needs 5V)
- check the voltage from GND to GPIO0, GPIO2, CH-PD (enable) and reset.
If possible give the results here.
Regards
Shardan
Last edited by Shardan on 03 Dec 2017, 22:34, edited 1 time in total.
Regards
Shardan
Shardan
Re: No connection ESP01 and Relay
Balls! Powered from arud and it's booted.
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: No connection ESP01 and Relay
Great! You can get a DC-DC step down to 3.3V.
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: No connection ESP01 and Relay
Possible. However I wanted to use this relay due to the size. Which sucks!
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: No connection ESP01 and Relay
You probably can by modifying it a bit...
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: No connection ESP01 and Relay
I can does reading tomorrow. It has esp01s printed on the rear of the relay if that helps
Re: No connection ESP01 and Relay
See photo.
- Attachments
-
- IMG_20171203_214800.jpg (1.95 MiB) Viewed 38543 times
Re: No connection ESP01 and Relay
Yep, i think that's the reason - some pull up resistors are missing.
If you check the pictures on AliExpress et al you will see they all use a ESP-01S type.
Look at this picture:
. .
In the upper left marked area there are some more parts on the ESP-01S.
In the lower area are two resistors that are missing on the ESP-01.
As said check the voltage on the four pins as described some might have too low voltage to start up.
Regards
Shardan
If you check the pictures on AliExpress et al you will see they all use a ESP-01S type.
Look at this picture:
. .
In the upper left marked area there are some more parts on the ESP-01S.
In the lower area are two resistors that are missing on the ESP-01.
As said check the voltage on the four pins as described some might have too low voltage to start up.
Regards
Shardan
Regards
Shardan
Shardan
Re: No connection ESP01 and Relay
As i can see from the photos you're using an ESP-01, not an ESP-01S (misstyped that on first run, sorry).
All boards i've seen on the marked use ESP-01S.
Regards
Shardan
Shardan
Re: No connection ESP01 and Relay
So I need to get some.esp01s WiFi boards to use my relays?
Re: No connection ESP01 and Relay
If you have a multimeter or voltmeter at hand try to check out the voltage on the four "middle" pins, GPIO 0 & 2, CH-PD (enable) and reset when the ESP-01 is plugged into the board.
I suspice the voltage on some pins is too low to boot up correctly due to the missing resistors.
The easiest way to get it working is getting ESP-01s, yes.
If you can check which pins have too low voltage it should be possible to use some 10KOhm resistors and pull the voltage up.
Regards
Shardan
I suspice the voltage on some pins is too low to boot up correctly due to the missing resistors.
The easiest way to get it working is getting ESP-01s, yes.
If you can check which pins have too low voltage it should be possible to use some 10KOhm resistors and pull the voltage up.
Regards
Shardan
Regards
Shardan
Shardan
Re: No connection ESP01 and Relay
I'll test it tomorrow. I might just grab some esp01s units. However most sellers.are not in the UK.
Re: No connection ESP01 and Relay
Sadly they are not in Germany either..... and those which are sold here are not really affordable.
Regards
Shardan
Shardan
Re: No connection ESP01 and Relay
Will get an esp01s WiFi module from the UK. If it works I'll bulk buy for the project. Can't thank you enough for the help. I'll test the voltage tomorrow
Re: No connection ESP01 and Relay
Hey
So I've replaced the esp01 for esp01s and it works flawlessly. Thanks for your help. Just need to find a use for the old units now.
So I've replaced the esp01 for esp01s and it works flawlessly. Thanks for your help. Just need to find a use for the old units now.
Re: No connection ESP01 and Relay
i have connected VCC to CH_PD and put a 10K ohm resistor on VCC and GPO0 on the esp01.
The board seems to start up now and GPO0 can operate the onboard relais.
So don't throw away your old esp's yet.
The board seems to start up now and GPO0 can operate the onboard relais.
So don't throw away your old esp's yet.
Re: No connection ESP01 and Relay
BTW the shematic of this relay baby is there:
https://github.com/IOT-MCU/ESP-01S-Rela ... ematic.pdf
as well as some others documents (look like the manufacturer repo)
HTH
https://github.com/IOT-MCU/ESP-01S-Rela ... ematic.pdf
as well as some others documents (look like the manufacturer repo)
HTH
Soif
-----
Want to update ALL your ESP babies OverTheAir, or backup their settings in ONE simple command, + many other cool features.... Adopt EspBuddy
-----
Want to update ALL your ESP babies OverTheAir, or backup their settings in ONE simple command, + many other cool features.... Adopt EspBuddy
Re: No connection ESP01 and Relay
Hi there, everything is about which relay module you have. ESP-01 relay V1.0 there you have to do to changes first wire connect VCC pin and CH_PD pin picture1 step two is take out R2 picture 2.
ESP-01 relay V4.0 only first step connect VCC and CH_PD.
ESP-01 relay V4.0 only first step connect VCC and CH_PD.
- Attachments
-
- E71CCEB0-339D-4FE3-A7F6-E99129BDF681.jpeg (104.56 KiB) Viewed 4378 times
-
- 890B3C30-70E7-40D3-9EC8-D69B89C6CB47.jpeg (85.47 KiB) Viewed 4378 times
- dynamicdave
- Normal user
- Posts: 257
- Joined: 30 Jan 2017, 20:25
- Location: Hampshire, UK
Re: No connection ESP01 and Relay
Only just seen this thread.
I spent a couple days (a month or so ago) trying to sort out why the ESP-01 didn't work after I used the programmer, shown above, to flash it.
Discovered like a few people that a pull-up is missing on SOME of the ESP-01 boards.
I had a mixture of boards, so some worked and some didn't - which just added to my confusion.
The miniature 'programmer' does have pull-ups so when the ESP-01 is mounted on the programmer it will work correctly.
Solution is a 10K pull-up resistor from the CHPD pin to +3v3 if you want to operate the ESP-01 in standalone mode.
Cheers from David.
I spent a couple days (a month or so ago) trying to sort out why the ESP-01 didn't work after I used the programmer, shown above, to flash it.
Discovered like a few people that a pull-up is missing on SOME of the ESP-01 boards.
I had a mixture of boards, so some worked and some didn't - which just added to my confusion.
The miniature 'programmer' does have pull-ups so when the ESP-01 is mounted on the programmer it will work correctly.
Solution is a 10K pull-up resistor from the CHPD pin to +3v3 if you want to operate the ESP-01 in standalone mode.
Cheers from David.
Who is online
Users browsing this forum: Google [Bot] and 81 guests