Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

My own chicken coop automation

NotificationsYou must be signed in to change notification settings

destroyedlolo/Poulailler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mychicken coop automation.

Automatisation de mon poulailler.Ce projet est majoritairement en anglais, non pas pour faire le mec qui s'y croit, mais simplement pour pouvoir partager sur les forums internationaux.

Goals

Due to several issues with the chicken coop itself I had to manage, I missed my deadline and had to buy a commercial door automation.Consequently, despite it was close to be finished, I gave up with v1 which is now stalling and this v2's goals are simpler :

  • temperature and humidity monitoring
  • check the door is open at sunset and open at sunrise
  • ensure there is remaining water
  • still connected to my home automation : expose critical figures on my dashboards, raise alarm in case of trouble ...

ESP8266 GPIOs

The material is recycled from v1: some parts of the material could have been simplified and some GPIOs are currently unused.

  • ADC : power supply monitoring (internal)
  • GPIO0 : enable aux power (out / low)
  • GPIO2 : 1-wire
  • GPIO4 : Water warming (unused)
  • GPIO15 :unusedDoor open (high depend on GPIO13)
  • GPIO013 : door is open (In / internal pullup / low)
  • GPIO012 : door is closed (In / internal pullup / low)
  • GPIO014 : roof is closed (In / internal pullup / low)
  • GPIO5 : DHT22

DS2413 PIOs

  • PIO.A : sun light (low)
  • PIO.B : water low (low)

Topics

  • Poulailler/Perchoir/Temperature : as the name said

  • Poulailler/Perchoir/Humidite : as the name said

  • Poulailler/Eau/Niveau : Suffisant / Vide

  • Poulailler/Luminosite : Jour / Nuit

  • Poulailler/Alim : Power supply

  • Poulailler/Memoire : available memory

  • Poulailler/Reseau : Network we are connected to

  • Poulailler/Reseau/Change : when we switch to another network

  • Poulailler/Wifi : time to connect to the WiFi network

  • Poulailler/MQTT : reconnect duration

  • Poulailler/Error : Error messages

  • Poulailler/Message : various messages, output, ...

  • Poulailler/Command : MQTT commands topic ...

  • SondePiscine[-Dev]/TempPiscine : pool's temperature

Hardware

  • MX1508 H-Bridge
  • 3a77553800000091 : DS2413 - Day light & water probes
  • 28ff8fbf711703c3 : DS18B20 - Pool temperature

Test Bat

ADC = 5v * 25.1 / (100 + 25.1) = 1.0032vI = 5 / 125.1K = ~ 40uA

Connector

PowerDHT 22Water1-wireClosing DoorOpening Door
+5 GG Dt +3Dt GG Dt +3H Com EndH Com End
                                     GPIO    GPIO     012            013

Dependencies


[8]ページ先頭

©2009-2025 Movatter.jp