Low Trigger relay 5 V with ESP01

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
riker1
Normal user
Posts: 344
Joined: 26 Dec 2017, 18:02

Low Trigger relay 5 V with ESP01

#1 Post by riker1 » 15 Feb 2018, 15:45

Hi
just wondering if a low level trigger relay will work.

I did not manage it.

Having powered the esp-01 with 3.3v
buck converter 220- 3.3V
powering the relay with a boost, 3,3 to 5V.

But I do not manage to get a high to close the relay

Do I need a logic converter 3 to 5 v to control relay?

did I miss anything?

thanks T

lumajo
Normal user
Posts: 23
Joined: 03 Feb 2018, 13:19
Location: Munich

Re: Low Trigger relay 5 V with ESP01

#2 Post by lumajo » 15 Feb 2018, 17:00

driving the relay directly might be difficult for the ESP, as they draw too much current for the ESP.
Either use a transistor (easy) or optocoupler (also easy)

riker1
Normal user
Posts: 344
Joined: 26 Dec 2017, 18:02

Re: Low Trigger relay 5 V with ESP01

#3 Post by riker1 » 15 Feb 2018, 20:01

actually I need to pull the gpio low, but command gpio,0,0 is not pulling low
Do I need to add a resistor ? but where?

thanks

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

Re: Low Trigger relay 5 V with ESP01

#4 Post by Shardan » 15 Feb 2018, 20:22

Regards
Shardan

riker1
Normal user
Posts: 344
Joined: 26 Dec 2017, 18:02

Re: Low Trigger relay 5 V with ESP01

#5 Post by riker1 » 16 Feb 2018, 07:15

stupid me again. thanks

User avatar
toffel969
Normal user
Posts: 469
Joined: 03 Jan 2017, 10:58
Location: Germany

Re: Low Trigger relay 5 V with ESP01

#6 Post by toffel969 » 16 Feb 2018, 13:36

Yet another wiki article that probably gets read by far too little people. Great work!
Domoticz on Raspi 2 -- 14 ESP units (hacked Sonoff,NodeMCUs, Wemos, self-built units) running with RC140- Mega 2.0.0 dev8

User avatar
toffel969
Normal user
Posts: 469
Joined: 03 Jan 2017, 10:58
Location: Germany

Re: Low Trigger relay 5 V with ESP01

#7 Post by toffel969 » 16 Feb 2018, 13:40

Yet another wiki article that probably gets read by far too little people. @ Shardan, assuming that you are the one who created the wiki page; there are now three pages on relays. I just linked the "actutor" one to your "basic" one. There is another one under "Hardware tips and tricks". I think they should all be merged into one page, thus increasing the liklyhood of people actually finding and reading it. What do you think
Domoticz on Raspi 2 -- 14 ESP units (hacked Sonoff,NodeMCUs, Wemos, self-built units) running with RC140- Mega 2.0.0 dev8

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

Re: Low Trigger relay 5 V with ESP01

#8 Post by Shardan » 16 Feb 2018, 17:24

toffel969 wrote: 16 Feb 2018, 13:40
Yet another wiki article that probably gets read by far too little people. @ Shardan, assuming that you are the one who created the wiki page; there are now three pages on relays. I just linked the "actutor" one to your "basic" one. There is another one under "Hardware tips and tricks". I think they should all be merged into one page, thus increasing the liklyhood of people actually finding and reading it. What do you think
I've talked about this with grovkillen already.
I've created a page for cumulating all the basics, howtos, listings etc so we get one place for all this usefull stuff.
It is massively "work in progress" atm, far away from being complete and it's still not linked to the mainpage.
We were thinking about placing a link in the header of the mainpage.
Maybe take a look: https://www.letscontrolit.com/wiki/inde ... _&_Howto's
What do you think? Any suggestion is welcome.

Regards
Shardan
Regards
Shardan

User avatar
toffel969
Normal user
Posts: 469
Joined: 03 Jan 2017, 10:58
Location: Germany

Re: Low Trigger relay 5 V with ESP01

#9 Post by toffel969 » 19 Feb 2018, 17:13

Shardan wrote: 16 Feb 2018, 17:24
toffel969 wrote: 16 Feb 2018, 13:40
Yet another wiki article that probably gets read by far too little people. @ Shardan, assuming that you are the one who created the wiki page; there are now three pages on relays. I just linked the "actutor" one to your "basic" one. There is another one under "Hardware tips and tricks". I think they should all be merged into one page, thus increasing the liklyhood of people actually finding and reading it. What do you think
I've talked about this with grovkillen already.
I've created a page for cumulating all the basics, howtos, listings etc so we get one place for all this usefull stuff.
It is massively "work in progress" atm, far away from being complete and it's still not linked to the mainpage.
We were thinking about placing a link in the header of the mainpage.
Maybe take a look: https://www.letscontrolit.com/wiki/inde ... _&_Howto's
What do you think? Any suggestion is welcome.

Regards
Shardan
Hi Shardan

Looks great, I am just a bit worried that people don't find it (and keep on asking the same questions in the forum over and over and over again). Reading this should reduce the pain to be endured when starting with ESP and ESP Easy a lot. Maybe we can get a sticky post or something in the forum to point people towards this.

Regards
Domoticz on Raspi 2 -- 14 ESP units (hacked Sonoff,NodeMCUs, Wemos, self-built units) running with RC140- Mega 2.0.0 dev8

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

Re: Low Trigger relay 5 V with ESP01

#10 Post by Shardan » 21 Feb 2018, 15:57

toffel969 wrote: 19 Feb 2018, 17:13
Shardan wrote: 16 Feb 2018, 17:24
toffel969 wrote: 16 Feb 2018, 13:40

Yet another wiki article that probably gets read by far too little people. @ Shardan, assuming that you are the one who created the wiki page; there are now three pages on relays. I just linked the "actutor" one to your "basic" one. There is another one under "Hardware tips and tricks". I think they should all be merged into one page, thus increasing the liklyhood of people actually finding and reading it. What do you think
I've talked about this with grovkillen already.
I've created a page for cumulating all the basics, howtos, listings etc so we get one place for all this usefull stuff.
It is massively "work in progress" atm, far away from being complete and it's still not linked to the mainpage.
We were thinking about placing a link in the header of the mainpage.
Maybe take a look: https://www.letscontrolit.com/wiki/inde ... _&_Howto's
What do you think? Any suggestion is welcome.

Regards
Shardan
Hi Shardan

Looks great, I am just a bit worried that people don't find it (and keep on asking the same questions in the forum over and over and over again). Reading this should reduce the pain to be endured when starting with ESP and ESP Easy a lot. Maybe we can get a sticky post or something in the forum to point people towards this.

Regards
Hello Toffel,
I'll look over it and search the forum for some howto's or listings i might have missed and add them... I'll miss some anyways.
So if anybody finds something i've missed please message me so i can add it. Then I'll create a link in the head banner of the main page.

A sticky post in the forum will be helpfull anyways, maybe one of the forum admins can do that.

Call me a cynic: I'm quite sure the questions in the forum will go on. It is so much easier to write a question
then reading a howto....... :twisted:

Regards
Shardan
Regards
Shardan

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 19 guests