16ch relay module project with mcp23017

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
esptita
New user
Posts: 6
Joined: 24 Mar 2022, 16:36

16ch relay module project with mcp23017

#1 Post by esptita » 26 Mar 2022, 04:10

hello I hope to be in the appropriate forum.
I am an apprentice, I only have knowledge of electronics, but nothing of programming, I happened to tell you about my project for my house.
Now I have the mcu8266 module + esp easy firmware + pca9685 module + 16ch relay module + app inventor working on my local network, everything works perfectly both from the web browser and also on my cell phone, now what I want is to be able to have manual control through switch or light key buttons as in what we all have in our homes, to control the on or off of the 16 relay, I understand that I have to use the mcp23017 module as input for the 16 switch buttons, I understand that I have to send the signal GND through the switches (serial circuit) to enter or close circuit to each pin of the mcp23017 module.
1 how do I have to connect the two modules pca9685 and mcp23017, making the SCL and SDA pins parallel?
2 How do I integrate the mcp32017 module into esp easy?
I leave an image of the elements that I am going to use and if you can help me in how to connect electrically and in the programming, thank you very much in advance.
Attachments
IMG_20220325_225419746.jpg
IMG_20220325_225419746.jpg (1.57 MiB) Viewed 4471 times

User avatar
Ath
Normal user
Posts: 3519
Joined: 10 Jun 2018, 12:06
Location: NL

Re: 16ch relay module project with mcp23017

#2 Post by Ath » 26 Mar 2022, 09:00

Mostly answered in your other thread: viewtopic.php?t=9065
Let's continue the conversation there.
/Ton (PayPal.me)

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 30 guests