Previous in Forum: The Original Digital Display   Next in Forum: Engineering Project
Close
Close
Close
13 comments
Rate Comments: Nested
Active Contributor

Join Date: Jun 2011
Location: Haridwar (India)
Posts: 18

Boost Circuit for Wi-Fi Module Digital Output

11/04/2018 2:29 AM

hello, everyone, as i am working on wifi module ESP8266, and found that its digital input output pin GPIO0 has out voltage 3.3V and only 12mA current, so only max upto 36mW load can operate but i need to operate 5V relay by using this input signal, so any one can suggest any boost ciruit diagram through which i can convert upto 5V and 700mA... Please suggest any solution, thanks in advance... please help me for my project.... (FYI if i directly connect any relay even 3V as well our module goes shutdown as relay coil current is high and cross the limit of wifi module output, even 5mm dome led with series resistor working fine with it.) Please help me everyone thanks on advance...

__________________
Parteek Gola
Register to Reply
Pathfinder Tags: boost circuit wifi module
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.

"Almost" Good Answers:

Check out these comments that don't yet have enough votes to be "official" good answers and, if you agree with them, vote them!
Guru

Join Date: Apr 2010
Location: About 4000 miles from the center of the earth (+/-100 mi)
Posts: 9910
Good Answers: 1141
#1

Re: Boost Circuit for WiFi Module Digital Output

11/04/2018 7:12 AM
Register to Reply
Active Contributor

Join Date: Jun 2011
Location: Haridwar (India)
Posts: 18
#2
In reply to #1

Re: Boost Circuit for WiFi Module Digital Output

11/04/2018 8:17 AM

thanks Mr. Rixter for guidance i will try and let you know its working or not...

__________________
Parteek Gola
Register to Reply Score 1 for Good Answer
Guru
Hobbies - HAM Radio - New Member Hobbies - Model Rocketry - New Member

Join Date: Jan 2007
Posts: 787
Good Answers: 52
#3

Re: Boost Circuit for Wi-Fi Module Digital Output

11/05/2018 2:39 PM

I am doing something similar but for pixel light control but the principle should work fine for a relay. The transistor method given in the previous posters link is the way I am going. Keep in mind that you will need both 5v and 3.3v power for this to work. That can be as simple as having a 5v supply and a 3.3v regulator. The schematic I used as a reference for my circuit is this one which comes from this page

You can buy logic level converters for cheap like this one as this is a common issue for many devices.

You could step up from 3.3v to 5v but I would't recommend it unless you don't have 5v available.

The design I am building needs to operate from between 4v to 12v so I have a step up and and step down converter as well as 3.3v regulator to make this work but you don't need that.

Register to Reply
Guru
Engineering Fields - Electrical Engineering - Been there, done that. Engineering Fields - Control Engineering - New Member

Join Date: Dec 2008
Location: Long Island NY
Posts: 15600
Good Answers: 981
#4

Re: Boost Circuit for Wi-Fi Module Digital Output

11/05/2018 3:53 PM

Let's not forget that the coil of a relay is an inductor. Thus when transitioning from ON to OFF a current path for the flyback energy should be in place in the form of a snubber. This snubber can be as simple as a reverse diode.

__________________
"Don't disturb my circles." translation of Archimedes last words
Register to Reply
Associate

Join Date: Mar 2012
Posts: 42
Good Answers: 5
#5

Re: Boost Circuit for Wi-Fi Module Digital Output

11/07/2018 11:20 PM

You need to connect the ESP output to the gate of an N-channel logic level FET (one that can be fully turned on by the 3.3V output of the ESP). The FET connects the Drain pin to the grounded Source pin (turns on) when the Gate pin is driven high by the ESP output. A 5V relay connected between a suitable 5V supply and the Drain pin of the FET will be turned on when the the FET turns on. You should put a diode across the relay with the band (Cathode) pointed towards the 5V supply. Your 5V supply must be able to provide enough current to turn on the relay (700mA?). Don't try to make a 3.3V to 5V converter, since it will require more than an amp from your 3.3V supply. Instead (as mentioned by another poster), get a good 5V supply and then run the 3.3V regulator from the 5V supply. Pick a FET rated at more than 1 amp, like a BSS816NWH6327XTSA1.

Register to Reply
Guru

Join Date: Oct 2009
Posts: 1460
Good Answers: 30
#6
In reply to #5

Re: Boost Circuit for Wi-Fi Module Digital Output

11/09/2018 5:53 AM

It may even be that the relay is totally unnecessary and that the FET itself can supply sufficient current to drive whatever is to be switched

Register to Reply
Guru
Hobbies - HAM Radio - New Member Hobbies - Model Rocketry - New Member

Join Date: Jan 2007
Posts: 787
Good Answers: 52
#7
In reply to #6

Re: Boost Circuit for Wi-Fi Module Digital Output

11/09/2018 10:05 AM

Very true, with the FET it is basically an SSR at that point. If a mechanical relay is needed an Sonoff module for about $5 has the esp8266, the relay and power supply built in and wired might be the easier way to go. It is readily hack able to load your own code onto.

Register to Reply
Associate

Join Date: Mar 2012
Posts: 42
Good Answers: 5
#8
In reply to #7

Re: Boost Circuit for Wi-Fi Module Digital Output

11/09/2018 1:18 PM

Yes, the question we need to ask is "what is the problem we are trying to solve?"

Perfectly solving subsets of the big picture almost always proved sub-optimal solutions. Determining what the relay is going to control may point to a much simpler solution.

Register to Reply Score 1 for Good Answer
Guru
Engineering Fields - Electrical Engineering - Been there, done that. Engineering Fields - Control Engineering - New Member

Join Date: Dec 2008
Location: Long Island NY
Posts: 15600
Good Answers: 981
#9
In reply to #8

Re: Boost Circuit for Wi-Fi Module Digital Output

11/09/2018 2:54 PM

The relay will turn ON/OFF the 6,809 megawatts of electric power from the Grand Coulee Dam power station. Why would this matter?

<end sarcasm mode>

<Maybe>

__________________
"Don't disturb my circles." translation of Archimedes last words
Register to Reply Off Topic (Score 5)
Associate

Join Date: Mar 2012
Posts: 42
Good Answers: 5
#13
In reply to #9

Re: Boost Circuit for Wi-Fi Module Digital Output

03/26/2019 1:28 PM

I guess the OP has solved his problem by now . . .

I should probably be less irritated by the lack of response . . .

Where do you get a 10 Giga-Watt rated 3-phase relay, and how much coil current does it take?

. . . back to work . . .

Register to Reply Off Topic (Score 5)
Guru

Join Date: Feb 2012
Posts: 595
#10

Re: Boost Circuit for Wi-Fi Module Digital Output

11/23/2018 3:14 AM
__________________
ci139
Register to Reply
Guru

Join Date: Feb 2012
Posts: 595
#11

Re: Boost Circuit for Wi-Fi Module Digital Output

11/23/2018 10:16 AM

(had nothing to do) i played around with the spice a bit - the following is just to illustrate the principal setup of such (this example uses different supplies for hi/low power nets to avoid accidental switching from rails' noise , . . . there are likely power buffers in a single chip , ... or then the entire stage from (isolated) 3.3 Inp -to- 5V Outp might be) . . . in pictures

__________________
ci139
Register to Reply
Guru
United Kingdom - Member - Indeterminate Engineering Fields - Control Engineering - New Member

Join Date: Jan 2007
Location: In the bothy, 7 chains down the line from Dodman's Lane level crossing, in the nation formerly known as Great Britain. Kettle's on.
Posts: 32175
Good Answers: 839
#12

Re: Boost Circuit for Wi-Fi Module Digital Output

03/26/2019 3:52 AM

A transistor and a sprinkling of other components would do this - probably about £2GBP-worth in total...

__________________
"Did you get my e-mail?" - "The biggest problem in communication is the illusion that it has taken place" - George Bernard Shaw, 1856
Register to Reply
Register to Reply 13 comments

"Almost" Good Answers:

Check out these comments that don't yet have enough votes to be "official" good answers and, if you agree with them, vote them!
Copy to Clipboard

Users who posted comments:

Carl Van Wormer (3); ci139 (2); frankd20 (2); pgola4u (1); phph001 (1); PWSlack (1); redfred (2); Rixter (1)

Previous in Forum: The Original Digital Display   Next in Forum: Engineering Project

Advertisement