กลับไปหน้ารวมไฟล์
smart-coop-door-205dff-en.md

The door can not only be opened or closed, but can also be used for entry but not exit, or exit but not entry, by using two servo motors to achieve these four functions. I think it's more convenient to clean when poultry can exit but can't enter the coop, and it's better if they can only enter but can't go outside anymore when dark. I'm sorry I can't test for poultry for now; here is the video I played with my son. Thanks for watching!

Project Perspective

Smart Coop - door is an intuitive and simple automatic coop door layout for anyone to understand basic physical and digital interaction. By utilizing two servo motors and their cloud-based feedback, you can build a more organized and easy-to-use smart farming system for your poultry.

Technical Implementation: Multi-Mode Control

The project focuses on creating a versatile and efficient door control system:

  • Cloud Control layer: The Arduino Nano ESP32 connects to the Arduino IoT Cloud over WiFi, allowing for remote monitoring and control of the door from your smartphone.
  • Actuation layer: Using two MG90 Servo Motors, the door can be set to 4 distinct modes: OPEN, CLOSE, ENTER-ONLY, and EXIT-ONLY.
  • Mode Logic layer: The door's logic ensures that it can be closed at night for safety and opened during the day for cleaning or allowing your birds to forage.

Hardware Infrastructure

  • Arduino Nano ESP32: The "brain" of the coop door, managing the cloud connection and coordinating servo movements.
  • MG90 Servo Motors: These small and versatile motors provide the necessary physical force to move the coop door into its various modes.
  • 5V Power Supply Module: Provides a stable power source for the ESP32 and both servo motors.
  • Micro-USB/USB-C Cable: Use to program the ESP32 directly from your computer.
  • Jumper Wires: Connect all the components together.

Setup and Interaction Step-by-Step

The setup is designed to be clear and efficient:

  1. Initialize Cloud: Use the Arduino IoT Cloud to set up your device and create the necessary dashboard variables.
  2. Servo Mount: Carefully mount the two MG90 servo motors to the coop door frame using a drill and cutter.
  3. Connect and Code: Connect the servos to the ESP32 correctly on a breadboard and upload the mode control code using the Arduino IDE.
  4. Cloud Integration: Sync your ESP32 with the IoT Cloud and start remotely managing your coop door modes.

Future Expansion

  • OLED Status Display: Add a small OLED display to the coop to show the current door mode and cloud connection status.
  • Solar Power Integration: Use a solar panel and battery to make the coop door completely self-sufficient and off-grid.
  • Sensor-Based Modes: Add a light sensor (LDR) to automatically close the door at dusk and open it at dawn.
  • MQTT/Voice Control Integration: Connect to an MQTT broker or use a voice assistant for even more advanced home automation over WiFi.

Smart Coop - door is a perfect project for any electronics enthusiast looking for a more interactive and engaging smart farming tool!

ข้อมูล Frontmatter ดั้งเดิม

apps:
  - "1x Arduino IDE"
  - "1x Arduino IoT Cloud"
author: "Forrest_wangind"
category: "Home & Automation"
components:
  - "1x MG90 Servo Motor"
  - "1x 5V Power Supply Module"
  - "1x 40 colored male-female jumper wires"
  - "1x Arduino® Nano ESP32 with headers"
  - "1x Drill"
  - "1x Cutter"
  - "1x Bread board"
description: "An automatic door which can open, close, only enter but can't exit, only exit but can't enter for smart coop."
difficulty: "Easy"
documentationLinks: []
downloadableFiles: []
encryptedPayload: "U2FsdGVkX1+7//6aT2I0zHpxRkUdigF4/TnMyfqaAuG3EBy8k/j/gEwOwtNGyO/iAPkE8gZqnupANjGDPd5eOLct5su8hsEd5mQMzlBzlc0w2V1qvtyGNKzOTAN4Jr+6"
heroImage: "https://cdn.jsdelivr.net/gh/bigboxthailand/arduino-assets@main/images/projects/smart-coop-door-205dff_cover.jpg"
lang: "en"
likes: 0
passwordHash: "3c3fcf7341e7bda009fd8b26747e52377fd6a90d71ffcf1e9a0ea2ed274ba8e0"
price: 699
seoDescription: "An intuitive and simple automatic coop door for beginners interested in Nano ESP32 projects with clear feedback."
tags:
  - "coop"
  - "door"
  - "esp32"
  - "iot"
  - "beginners"
title: "Smart Coop - door"
tools: []
videoLinks:
  - "https://youtu.be/8DUJEHWiWuM"
views: 5310