Page 1 of 1

ALLNET 4duino IoT WLAN ESP8266-UP-Relais - rx and tx to GPIO

Posted: 13 May 2018, 11:42
by trs123
Hello,

i am new in this forum. I use about 20 sonoff S20 and 3 sonoff basic with espeasy. Now i flashed this device wkth the newest espeasy Mega version:

https://m.future-x.de/item/313635333639 ... 2gQAvD_BwE

It works very well. I switch my outdoor lamps with it. Now i want to use the Rx and Tx pins for GPIO. One for the bell-button, and one for a relais for the bell. But it wont work. No input or output is possible. Serial is switched of under advanced configuration. Is it possible, to adjust espeay, to work with the device?

In the atachment everything i get from the distributor.

Re: ALLNET 4duino IoT WLAN ESP8266-UP-Relais - rx and tx to GPIO

Posted: 18 May 2018, 12:30
by trs123
Hello,

no chance, to get it work?
This docu i have also:

Re: ALLNET 4duino IoT WLAN ESP8266-UP-Relais - rx and tx to GPIO

Posted: 18 May 2018, 12:41
by grovkillen
How do you connect the switch? Do you short it by putting GND to the pin?

Re: ALLNET 4duino IoT WLAN ESP8266-UP-Relais - rx and tx to GPIO

Posted: 18 May 2018, 16:40
by trs123
I use GPIO 5 (SCL) for lightswitch. GPIO4 (SDA) for a led. Now i want to use GPIO 1 (Tx) for Bell-Button, and GPIO2 (Rx) for a relais for the bell.

Re: ALLNET 4duino IoT WLAN ESP8266-UP-Relais - rx and tx to GPIO

Posted: 18 May 2018, 16:55
by trs123
Some pictures of my settings

Re: ALLNET 4duino IoT WLAN ESP8266-UP-Relais - rx and tx to GPIO

Posted: 18 May 2018, 16:58
by trs123
Once more

Re: ALLNET 4duino IoT WLAN ESP8266-UP-Relais - rx and tx to GPIO

Posted: 18 May 2018, 17:22
by grovkillen
So you have the gnd connected to the switch/button?

Re: ALLNET 4duino IoT WLAN ESP8266-UP-Relais - rx and tx to GPIO

Posted: 19 May 2018, 11:29
by trs123
Hello,

I tested it on GND (settings: normal switch) . The relais once on GND (settings: push botton active high) and on 3,3V (settings: push button active low). Nothing work.

Re: ALLNET 4duino IoT WLAN ESP8266-UP-Relais - rx and tx to GPIO

Posted: 19 May 2018, 14:21
by grovkillen
Please take good pictures so I can see what you have done. If possible, use colors for the wires (black for GND etc) so I understand more. :)

Re: ALLNET 4duino IoT WLAN ESP8266-UP-Relais - rx and tx to GPIO

Posted: 19 May 2018, 17:22
by trs123
It works :x

Relais i used was bad. To much power consumention. Switch works, too. Need to use "internal pullup"

Thanks

Re: ALLNET 4duino IoT WLAN ESP8266-UP-Relais - rx and tx to GPIO

Posted: 19 May 2018, 19:07
by grovkillen
Yes I'd recommend it to be sure to have the value high when the switch is NO.