Hello, I’m trying to make a simple project to open my garage door with an ESP8266. What I want it to do is to activate a relay, send me a message through the terminal and make the integrated LED blink. The problem is that I’m new in this of arduinos and programming, and I don’t know how to make the arduino send a message to the blynk app. Also if somebody could tell me if the code is correct I would appreciate it. Thanks!
Your code isn’t compatible Blynk, and unfortunately it seems that the the document that explains how to fix your issues of a cluttered void loop and use of delays has been removed.
However, there are dozens of Blynk Legacy garage door opener projects on this forum, so I’d suggest that you take a look at those.
Alright, you will need 2ch relay module to control the direction of the motor, 2 push buttons to open and close the door manually, 2 limit switches to get a feedback.
Well, the motor itself is already controlled by its own controller, what I wanted to do was only make the esp act as a button with a relay, as if I had a normal button, and maybe later add a limit switch to know if the door is open or not
Thanks! Well, my main issue is the code because I don’t know a lot of coding and even less about Blynk. I haven’t tried it yet but at least lets me compile it haha
Tomorrow I’ll try it because now i don’t have time