Esp8266 12 touch control relay

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

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

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: 1482
Joined: Wed Jun 27, 2018 5:48 pm
Location: El Saucejo - Sevilla

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

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: 1482
Joined: Wed Jun 27, 2018 5:48 pm
Location: El Saucejo - Sevilla

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: 2276
Joined: Sun Sep 03, 2017 9:13 am
Location: Koszalin

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 5730 times
ALL is here: https://easyeda.com/domjp1619/test
jak coś nie działa to włącz zasilanie.....
eradek
Posts: 81
Joined: Sun Sep 09, 2018 5:32 pm

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: 2276
Joined: Sun Sep 03, 2017 9:13 am
Location: Koszalin

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 208 times
jak coś nie działa to włącz zasilanie.....
eradek
Posts: 81
Joined: Sun Sep 09, 2018 5:32 pm

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

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 5456 times
20200128_212307.jpg
20200128_212307.jpg (186.47 KiB) Viewed 5456 times
jak coś nie działa to włącz zasilanie.....
Post Reply

Return to “Ideas and concepts”