Page 2 of 5

Re: Esp8266 12 touch control relay

Posted: Wed Dec 18, 2019 3:32 pm
by selo
Ok, i buy an other mpr121 and test again. Thanks for your helping.

Re: Esp8266 12 touch control relay

Posted: Wed Dec 18, 2019 3:36 pm
by elmaya
selo wrote: Wed Dec 18, 2019 3:32 pm Ok, i buy an other mpr121 and test again. Thanks for your helping.
Check your connections. Maybe you have exchanged SDA and SCL.

Re: Esp8266 12 touch control relay

Posted: Wed Dec 18, 2019 3:43 pm
by elmaya
if you change this in the code, it will be possible to start without MPR121

from

Code: Select all

if (!cap.begin(0x5A)) {
    Serial.println("MPR121 not found, check wiring?");
    while (1);
to

Code: Select all

cap.begin(0x5A)
   

Re: Esp8266 12 touch control relay

Posted: Wed Dec 18, 2019 4:22 pm
by selo
elmaya wrote: Wed Dec 18, 2019 3:43 pm if you change this in the code, it will be possible to start without MPR121

from

Code: Select all

if (!cap.begin(0x5A)) {
    Serial.println("MPR121 not found, check wiring?");
    while (1);
to

Code: Select all

cap.begin(0x5A)
   
After code change it worked, also MPR121 worked too. Thank you very much.

Can you give the arduino sketch code for 4 shutters Esp8266 Mcp23017 24C32. All my relais worked with low signal, if i can i want change relais trigger to low signal.

Re: Esp8266 12 touch control relay

Posted: Wed Dec 18, 2019 5:07 pm
by elmaya
Can you give the arduino sketch code for 4 shutters Esp8266 Mcp23017 24C32 . All my relais worked with low signal, if i can i want change relais trigger to low signal.
in its corresponding thread
active low relay + blinds = danger :lol:

Re: Esp8266 12 touch control relay

Posted: Thu Jan 09, 2020 3:19 pm
by QLQ
At the weekend I came up with this plate. The power supply will be 5 V 2 Amp external power supply to also support the power supply of the relays. supports 12 buttons and 12 relay plus ds18b20 on gpio2. This is my first work at easyeda. When I come back from work, I will put the whole tile design together with diagrams and gerberas.
IMG_20200109_155514.jpg
ALL is here: https://easyeda.com/domjp1619/test

Re: Esp8266 12 touch control relay

Posted: Sun Jan 12, 2020 9:09 am
by eradek
Great idea with the plate, I am waiting for more to come. I was thinking about using this to control central heating at home, steering valves at floor heating distributor, does it makes sense? I assume this plate is to use as a base, how do you take it from there, I am not very proficient with electronics.

Re: Esp8266 12 touch control relay

Posted: Sun Jan 19, 2020 3:53 pm
by QLQ
eradek wrote: Sun Jan 12, 2020 9:09 am Great idea with the plate, I am waiting for more to come. I was thinking about using this to control central heating at home, steering valves at floor heating distributor, does it makes sense? I assume this plate is to use as a base, how do you take it from there, I am not very proficient with electronics.
Here you are. Files in the archive - BOM, PickUP. ON EasyEDA you can order from these files together with the assembly of the elements. I am waiting for the delivery of other tiles, because for the first time I ordered assembly and I want to see how it will look
12Button_Gerber_Pick_BOM.rar

Re: Esp8266 12 touch control relay

Posted: Sat Jan 25, 2020 8:04 am
by eradek
Thanks a lot!

Re: Esp8266 12 touch control relay

Posted: Tue Jan 28, 2020 11:35 pm
by QLQ
Does not register on the server. Everything works, it responds to buttons, but there is no registration. Server data, etc correct, checked 5 times.
I changed to cap.begin (0x5A); because I don't have the MCP from relays yet. Tested on WeMos D1 mini (4M SPIFFS 1K) and ESP07 (1M SPIFFS 512K)


Clip_4.jpg
20200128_212307.jpg