Automated chicken coop door using an ESP32 chip and a cheap battery powered door.

Well you defined 3 pins in your YAML file.

You need to connect those 3 pins to the motor driver.

And you need to connect the motor driver to the motor, and to power.
24525.jpg
 
I'm going to eventually try to add a switch or something for manual control of the door. That way I don't have to deal with the phone if I don't have it on me.
 
I'm going to eventually try to add a switch or something for manual control of the door. That way I don't have to deal with the phone if I don't have it on me.

Would be pretty simple to add 2 buttons that go to two of the GPIO pins and when it receives 5v on the pin it opens or closes the door.

DM me and we can work on the code together, because I was going to work on the same this coming week.
 
I am thankful to have searched "automated chicken doors" just now because this post is all of what i have been thinking about interms of being able to control it on demand as you have accomplished. This is golden. I am putting blink camera in and out of my coop for chicken cam needs but it would be great to have the management ability such as you have presented and came up with remotely! Looking forward to following the progress.
 
Home Assistant to have it open 15 minutes before today's sunrise and close 15 minutes after today's sunset.
I just use an MHCOZY OR SONOFF 4ch smart switch and be done with it. No need to write or learn to write code. Both work with Google, alexa, and home Assistant and many others.

But if you want this to work even when home Assistant and the others are having issues, use pi with a motor hat or arduino motor shield. Program them with the timelord library and you can the same at sunrise and sunset. Poi t is you are not disadvantaged when you loss internet connection or any of the Assistants are upgrading updating or they just malfunction. You can still use their voice Assistance.
 
Would be pretty simple to add 2 buttons that go to two of the GPIO pins and when it receives 5v on the pin it opens or closes the door.

DM me and we can work on the code together, because I was going to work on the same this coming week.
You don't need to do any coding to add a mechanical bypass. Besides a mechanical bypass (just 2 DPDT switches) ensures that the door is in working order and it is not a programming/wiring problem.

If you use coding and something goes wrong with the board you are still stuck with it not being able to open and close. Best to just use a manual override (mechanical bypass).
 

New posts New threads Active threads

Back
Top Bottom