Module relay auto reset itself

Hi everyone,

I got an esp8266 connect to the relay module and I can control it from the web.

However, I can only press the button for only sometime 3-4 times and the web seem to be lagging, idle and then the relay module seem to be restart to the time i load the web server.

Anyone has the problem with this like me?

Thank you.

Hi,

Can you please post a copy of your circuit, in CAD or a picture of a hand drawn circuit in jpg, png?

What are you using for a power supply?
What are the specs/data of the relay?

Thanks.. Tom.. :slight_smile:

Also post your program

...R

TomGeorge:
Hi,

Can you please post a copy of your circuit, in CAD or a picture of a hand drawn circuit in jpg, png?

What are you using for a power supply?
What are the specs/data of the relay?

Thanks.. Tom.. :slight_smile:

Sorry for late repy. I'm too busy these days. I'll post shortly

I'm also wondering about Power Supply problem or about the relay.

I'll post pictures detail about specs of the relay and the power supple. However the power supply I don't have much information because that I bought from China :slight_smile:

This is my relay module and the power supply. I don't know if the current intensity of the power supply affect the ESP module?

Thanks


Hi,
Do you have a DMM to measure some voltages?

Can you please post a copy of your circuit, in CAD or a picture of a hand drawn circuit in jpg, png?

Thanks.. Tom.. :slight_smile:

TomGeorge:
Hi,
Do you have a DMM to measure some voltages?

Can you please post a copy of your circuit, in CAD or a picture of a hand drawn circuit in jpg, png?

Thanks.. Tom.. :slight_smile:

Of course I have one to measure voltage but It's some kind of mechanics one not digital.

I will post the picture shortly but I don't think that's because of the circuit :slight_smile:

My power supply is 220V to 5V and 3.3V

Seems you have added a 3.3volt regulator without the decoupling caps.
Leo..

Wawa:
Seems you have added a 3.3volt regulator without the decoupling caps.
Leo..

The orange wire ís the 5V regulate to 3.3V volt using HT7133. I'm just worrying about the current that the ESP can accept

The Pink wire is 5V, and the black-white wire is GND

Hi,
HT7133.
htt3_1.jpg
and this is how it is supposed to be configured.

Tom... :slight_smile:

Hi,
From this source;

https://nurdspace.nl/ESP8266#Technical_Overview

Tom... :slight_smile:

As TomGeorge already suggested, an ESP8266 draws way more than that regulator can provide.
Leo..

Wawa:
As TomGeorge already suggested, an ESP8266 draws way more than that regulator can provide.
Leo..

Is it that the reason why the relay module and ESP keep resetting? I think so but I don't find any other better than the HT7133 :slight_smile:
Does anyone have other suggestions? Thanks

Define "better".
Have a look at schematic diagrams of USB powered ESP boards, and see what regulator is commonly used.

Some boards can be plugged directly onto a single relay shield, and powered with a cellphone charger with micro-USB lead.
Google "WeMos D1 mini" and WeMos D1 mini relay shield" (see pictures).
Leo..

Wawa:
Define "better".
Have a look at schematic diagrams of USB powered ESP boards, and see what regulator is commonly used.

Some boards can be plugged directly onto a single relay shield, and powered with a cellphone charger with micro-USB lead.
Google "WeMos D1 mini" and WeMos D1 mini relay shield" (see pictures).
Leo..

Better means I can't find any other to put it in the power supply (in the picture I posted) to make it 3.3V

I'm using ESP8266 version 1 so I can't plug cell phone charger, so I have to use another one by using other power supply (5V) to make it 3.3V

I find that I have to use 2 different power source to supply to the relay and the ESP to make it work smoothly :slight_smile: Is that because the relay module is too bad or that happen to every relay module?

If your 3.3v power supply is suspect then try using a pair of AA alkaline cells (3v) - at least for testing.

...R

TomGeorge:
Hi,
HT7133.
htt3_1.jpg
and this is how it is supposed to be configured.

Tom... :slight_smile:

Hi Tom,

Do you have any other suggestion instead of HT7133 for convert 5V supply power to the 3.3V?

So did you google for shematic diagrams of other ESP8266 development boards (post#13).

If you can't be bothered, then just use the LM1117-3.3
Don't forget the output cap. You can probably omit the input cap, because you did solder the regulator directly on the output cap of the 5volt supply.
Leo..

Wawa:
So did you google for shematic diagrams of other ESP8266 development boards (post#13).

If you can't be bothered, then just use the LM1117-3.3
Don't forget the output cap. You can probably omit the input cap, because you did solder the regulator directly on the output cap of the 5volt supply.
Leo..

I want to use LM1117, however the order of the pins didn't meet my right order. So it's not very convenient to solder the pins of the LM1117 to the power supply. That's pity! I don't know why the producer of the Power supply put the order of the pins is OUT-GND-IN but everything that I know is alway GND-IN-OUT

I prefer SOT-89 that hás the similar pins order like my Power supply: arduino - 3.3V Regulator giving 4.8V with 5V Input - Electrical Engineering Stack Exchange

But it ends up like this: http://banlinhkien.vn/goods-4293-ht7133-1-sot89-3-3v-30ma.html