No connection ESP01 and Relay

Moderators: grovkillen, Stuntteam, TD-er

Message
Author
cbirchy87
Normal user
Posts: 25
Joined: 01 Dec 2017, 09:14

Re: No connection ESP01 and Relay

#41 Post by cbirchy87 » 03 Dec 2017, 22:53

So I need to get some.esp01s WiFi boards to use my relays?

Shardan
Normal user
Posts: 1156
Joined: 03 Sep 2016, 23:27
Location: Bielefeld / Germany

Re: No connection ESP01 and Relay

#42 Post by Shardan » 03 Dec 2017, 23:02

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
Regards
Shardan

cbirchy87
Normal user
Posts: 25
Joined: 01 Dec 2017, 09:14

Re: No connection ESP01 and Relay

#43 Post by cbirchy87 » 03 Dec 2017, 23:04

I'll test it tomorrow. I might just grab some esp01s units. However most sellers.are not in the UK.

Shardan
Normal user
Posts: 1156
Joined: 03 Sep 2016, 23:27
Location: Bielefeld / Germany

Re: No connection ESP01 and Relay

#44 Post by Shardan » 03 Dec 2017, 23:17

cbirchy87 wrote: 03 Dec 2017, 23:04 I'll test it tomorrow. I might just grab some esp01s units. However most sellers.are not in the UK.
Sadly they are not in Germany either..... and those which are sold here are not really affordable.
Regards
Shardan

cbirchy87
Normal user
Posts: 25
Joined: 01 Dec 2017, 09:14

Re: No connection ESP01 and Relay

#45 Post by cbirchy87 » 03 Dec 2017, 23:21

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 :)

Shardan
Normal user
Posts: 1156
Joined: 03 Sep 2016, 23:27
Location: Bielefeld / Germany

Re: No connection ESP01 and Relay

#46 Post by Shardan » 03 Dec 2017, 23:22

You're welcome.
Regards
Shardan

cbirchy87
Normal user
Posts: 25
Joined: 01 Dec 2017, 09:14

Re: No connection ESP01 and Relay

#47 Post by cbirchy87 » 06 Dec 2017, 00:45

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.

Shardan
Normal user
Posts: 1156
Joined: 03 Sep 2016, 23:27
Location: Bielefeld / Germany

Re: No connection ESP01 and Relay

#48 Post by Shardan » 07 Dec 2017, 00:04

Great! :)
Regards
Shardan

jaap
New user
Posts: 1
Joined: 24 Dec 2017, 21:56

Re: No connection ESP01 and Relay

#49 Post by jaap » 24 Dec 2017, 22:12

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.

User avatar
soif
Normal user
Posts: 46
Joined: 20 Feb 2018, 19:11
Location: Solar System
Contact:

Re: No connection ESP01 and Relay

#50 Post by soif » 01 Mar 2018, 15:11

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
Soif
-----
Want to update ALL your ESP babies OverTheAir, or backup their settings in ONE simple command, + many other cool features.... Adopt EspBuddy

Mira80
New user
Posts: 1
Joined: 11 Jan 2020, 16:53

Re: No connection ESP01 and Relay

#51 Post by Mira80 » 11 Jan 2020, 17:14

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.
Attachments
E71CCEB0-339D-4FE3-A7F6-E99129BDF681.jpeg
E71CCEB0-339D-4FE3-A7F6-E99129BDF681.jpeg (104.56 KiB) Viewed 4384 times
890B3C30-70E7-40D3-9EC8-D69B89C6CB47.jpeg
890B3C30-70E7-40D3-9EC8-D69B89C6CB47.jpeg (85.47 KiB) Viewed 4384 times

User avatar
dynamicdave
Normal user
Posts: 257
Joined: 30 Jan 2017, 20:25
Location: Hampshire, UK

Re: No connection ESP01 and Relay

#52 Post by dynamicdave » 11 Jan 2020, 20:55

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.

Post Reply

Who is online

Users browsing this forum: No registered users and 44 guests