Chicken coop controller using Artemis Redboard and ESP8266

I built a controller to open and close my chicken coop door and lights based on sunrise/sunset schedule.

I uploaded the code to github at https://github.com/vinthewrench/Coop2

It controls a light and Actuator for the door. has a WIFI interface as well as optional REST or Telnet console command line to setup schedule and events. The code is perfect for process control projects, weather stations etc.

A lot of useful examples of how to do things.

I used the following parts

  1. SparkFun RedBoard Artemis

  2. Qwiic Shield for Arduino modified to work with Artemis (removed voltage level converter)

  3. ESP8266. wifi controller

  4. SparkFun Qwiic Quad Relay.

  5. Digital Temperature Sensor - TMP102 (Qwiic)

PA-10 Mini Linear Electric Actuator 12V to open and close door.

I will add some documentation about the project shortly as well as a diagram. in the meantime you might find the code for WifiParser and ESP8266Mgr useful.

That is really cool, thanks for sharing!

Your chickens are lucky.

vinthewrench:
5) Digital Temperature Sensor - TMP102 (Qwiic)

Is the temperature sensor in use with the coop project like kick on a heater or just something you included for the fun of it?

there is code to flip a relay based on the temp. I built in some hysteresis so the relay doesn’t oscillate. All of this is programable from the command line.

I am working on a article ATM

I uploaded a copy of the story to gitgub

https://github.com/vinthewrench/Coop2/b … omation.md

and I posted on medium –

https://vinthewrench.medium.com/chicken … 572d9a940a