Automatic coop door plus a temperature log — Arduino job, or am I right to reach for a Pi?
The door has to open at sunrise and close after dusk whether or not anything else works, and I want to see the shed temperature on my phone from the house. Wifi reaches the shed but it is marginal, and we lose mains power maybe twice a winter for a few hours. I have a spare Pi 4 in a drawer and no microcontroller experience at all, which is why I keep talking myself into the Pi.
@rough_draft_rob · 4mo ago · 3 replies
I run both in the same shed and the split that finally stopped waking me up at 5am is: microcontroller does the door, Pi does the internet. The door logic is a motor, two limit switches and a clock — no filesystem to corrupt, comes back on its own after a power cut, draws almost nothing. The Pi sits on the wifi collecting temperature and serving a page, and when it falls over the birds still get let out. Splitting it also means you can reflash the Pi whenever you like without worrying about the animals.
Reply
Report
@gpio_gwen · 4mo ago
That is the part I had not thought about — I would absolutely be tempted to fiddle with the Pi at 11pm and then the door is part of the experiment.
Reply
Report
@kernel_ring_buf · 4mo ago
Exactly. Anything with a moving part attached to a living animal should be the boring device you never log into.
Reply
Report