Comand:
http://192.168.1.6/control?cmd=GPIO,12,1 Turn on my relay but...\
http://192.168.1.6/control?cmd=GPIO,12,0 Don't turn it off :/
Can someone help me to make it work ? I use mqtt and http just for testing. Relay turn off after power then I can turn it on again and can't turn it off :/
relay go on but after gpio12.0 it will stay on help plz
Moderators: grovkillen, Stuntteam, TD-er
Re: relay go on but after gpio12.0 it will stay on help plz
Which hardware ?
Re: relay go on but after gpio12.0 it will stay on help plz
And which version of ESPeasy ?
I think, it must works.
What response of your ESP in browser after sending this commands?
I think, it must works.
What response of your ESP in browser after sending this commands?
Re: relay go on but after gpio12.0 it will stay on help plz
mega-20190116And which version of ESPeasy ?
http://192.168.1.9/control?cmd=GPIO,12,1What response of your ESP in browser after sending this commands?
{
"log": "GPIO 12 Set to 1",
"plugin": 1,
"pin": 12,
"mode": "output",
"state": 1
}
http://192.168.1.9/control?cmd=GPIO,12,0
{
"log": "GPIO 12 Set to 0",
"plugin": 1,
"pin": 12,
"mode": "output",
"state": 1
}
after I use command again I got
{
"log": "GPIO 12 Set to 0",
"plugin": 1,
"pin": 12,
"mode": "output",
"state": 0
}
state change but led diode on relay stay on :/
Re: relay go on but after gpio12.0 it will stay on help plz
Look here:
http://www.wholesalebuying.com/product/ ... ino-214386
"Relay control interface by single chip IO.
Low level suction close, high level release."
http://irishelectronics.ie/epages/95001 ... /SRD-05VDC
"Description:
SWITCH ON GROUND"
So it is not possible, that you switch relay on with gpio,12,1
You give us wrong information.
Relay is switched on by log0 and off by log1.
Maybe 3V log 1 from ESP is not enough for 5V relay logic - so ti is not switched off.
Disconnect relay and measure log levels directly on gpio-12
http://www.wholesalebuying.com/product/ ... ino-214386
"Relay control interface by single chip IO.
Low level suction close, high level release."
http://irishelectronics.ie/epages/95001 ... /SRD-05VDC
"Description:
SWITCH ON GROUND"
So it is not possible, that you switch relay on with gpio,12,1
You give us wrong information.
Relay is switched on by log0 and off by log1.
Maybe 3V log 1 from ESP is not enough for 5V relay logic - so ti is not switched off.
Disconnect relay and measure log levels directly on gpio-12
Re: relay go on but after gpio12.0 it will stay on help plz
Look how this boy connected one from four relays on board from the same manufacturer - YWROBOT
Through transistor ....
https://www.instructables.com/id/ESP826 ... martphone/
https://cdn.instructables.com/ORIG/F9Z/ ... 8KRC7U.pdf
Through transistor ....
https://www.instructables.com/id/ESP826 ... martphone/
https://cdn.instructables.com/ORIG/F9Z/ ... 8KRC7U.pdf
Who is online
Users browsing this forum: Bing [Bot] and 122 guests