Esp8266 12 touch control relay

selo
Posts: 9
Joined: Mon Mar 04, 2019 1:31 am

Wed Dec 18, 2019 3:32 pm

Ok, i buy an other mpr121 and test again. Thanks for your helping.
elmaya
Posts: 813
Joined: Wed Jun 27, 2018 5:48 pm
Location: Sevilla

Wed Dec 18, 2019 3:36 pm

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.
elmaya
Posts: 813
Joined: Wed Jun 27, 2018 5:48 pm
Location: Sevilla

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)
   
selo
Posts: 9
Joined: Mon Mar 04, 2019 1:31 am

Wed Dec 18, 2019 4:22 pm

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.
elmaya
Posts: 813
Joined: Wed Jun 27, 2018 5:48 pm
Location: Sevilla

Wed Dec 18, 2019 5:07 pm

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:
User avatar
QLQ
Posts: 1217
Joined: Sun Sep 03, 2017 9:13 am
Location: Koszalin

Thu Jan 09, 2020 3:19 pm

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
IMG_20200109_155514.jpg (216.06 KiB) Viewed 863 times
ALL is here: https://easyeda.com/domjp1619/test
eradek
Posts: 44
Joined: Sun Sep 09, 2018 5:32 pm

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.
User avatar
QLQ
Posts: 1217
Joined: Sun Sep 03, 2017 9:13 am
Location: Koszalin

Sun Jan 19, 2020 3:53 pm

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
(111.75 KiB) Downloaded 23 times
eradek
Posts: 44
Joined: Sun Sep 09, 2018 5:32 pm

Sat Jan 25, 2020 8:04 am

Thanks a lot!
User avatar
QLQ
Posts: 1217
Joined: Sun Sep 03, 2017 9:13 am
Location: Koszalin

Tue Jan 28, 2020 11:35 pm

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
Clip_4.jpg (111.61 KiB) Viewed 580 times
20200128_212307.jpg
20200128_212307.jpg (186.47 KiB) Viewed 580 times
Post Reply