ESP-01 Problem

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
journeyman
Normal user
Posts: 14
Joined: 06 Dec 2016, 22:03

ESP-01 Problem

#1 Post by journeyman » 06 Dec 2016, 22:22

Hello every one.

Sorry for my english, and greetings from Poland ;)

Im working on ESP-01 1024kB with build 120 of Easy ESP.

Till i was working only with 2 ds18b20 everything was great.
Now I add relay. And start using

Code: Select all

http://192.168.1.135/control?cmd=GPIO,02,1
For on and off.
After I started using the realey my ESP somtimes is hanging. Or just after reboot - the red and blue diode is still on, ESP is not responding at all. After that I have to erase the momory and put firmware from begining.

What can be wrong?

If I'm using relay should I add some device in settings?
I didnt found relay on list but without settings its working just with http command.

Thank you!

NightBird
Normal user
Posts: 24
Joined: 02 Dec 2016, 17:54

Re: ESP-01 Problem

#2 Post by NightBird » 07 Dec 2016, 00:16

Hi,

to send an order to a relay, you don't need any device. The http://... you use is sufficient.

Look at your power supply. When relay activates, it may produce some glitches on the supply rails, hanging the ESP unit.
If you did it by yourself (not a already-made relay board) don't forget to put a diode in (opposite) parallel with the relay coil, to protect against high voltage spikes when switching the coil.

Another good idea is to add a large (470µF +) capacitor between GND and +3.3V, as closest as possible to the ESP module.
ESPEasy running on ESP-12F self-made modules (with various sensors) and talking to Domoticz (hosted on RPi2)

journeyman
Normal user
Posts: 14
Joined: 06 Dec 2016, 22:03

Re: ESP-01 Problem

#3 Post by journeyman » 07 Dec 2016, 00:31

Thenk you for your answer.

Its aliexpress module.

Image

First time when its happened ESP was blinking blue led like heatbeat. Now Its stedy sight from blue and red led.
And now It hang not during swiching but after reboot. Before this, few time when I sent command to close reley it was closed.... and after few minutes it open itself.
Attachments
15320423_252028008547223_1447941610_n.jpg
15320423_252028008547223_1447941610_n.jpg (75.97 KiB) Viewed 4593 times

macuira
New user
Posts: 6
Joined: 09 Nov 2016, 16:11

Re: ESP-01 Problem

#4 Post by macuira » 07 Dec 2016, 16:45

Try to use Gpio 3 (RX) to drive the relay, Gpios 0 and 2 gives unwanted pulse at starup firing the relay ON.

The blue and red leds on is a power issue, try using another power supply, I have followed all the advices given in this link http://www.letscontrolit.com/wiki/index.php/Power

journeyman
Normal user
Posts: 14
Joined: 06 Dec 2016, 22:03

Re: ESP-01 Problem

#5 Post by journeyman » 08 Dec 2016, 19:40

It was still not blue and red till i cleaned the flash and put firmware from begining. I will try now with GPIO3 ;)

journeyman
Normal user
Posts: 14
Joined: 06 Dec 2016, 22:03

Re: ESP-01 Problem

#6 Post by journeyman » 08 Dec 2016, 21:38

ON GPIO03 sometimes turning swich on after click in browser is taking about 10sec. :?

And if i turn off power douring the "Thinking about turn on/of" its dying :/

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests