How Clojure Saved My Chickens
summary
Uses Clojure on a BeagleBone Black to run a photoresistor-based light sensor, a 9V drill motor driven through an H‑bridge, and top/bottom limit switches; a simple state machine with hysteresis and retry logic prevents rapid toggling and drained batteries. Builds a pin-control library with a simulator, deals with JVM boot time and udev permissions on GPIO, and the system reliably locks the coop at night and raises it at sunrise. BeagleBone Black, H-bridge motor control, pin-control library
AI-written summary · about
chapters (13)
- 0:00Introduction
- 0:51Project goals
- 2:02Hardware assembly
- 4:05BeagleBone setup
- 5:22Clojure code logic
- 6:58Developing a library
- 8:55Control routines
- 10:49System integration
- 11:59Demonstration
- 12:38Hardware with Clojure
- 15:38The ClojureBots project
- 21:07Future goals
- 22:34Conclusion
related talks
15mHome Automation on RaspberryPi with Your Chickens!
41mEight Years of Farming; Is EveryboArDy Happy?
26mEnabling Cyber Physical systems using Beaglebone Black and Python
41mEight Years of Farming; Is EveryboArDy Happy?
27mHow I've been using JavaScript to automate my house
49mUnbridled Home Automation, from Trash Bag to Wild Boar
28mMonsters, mailboxes and other nonsense
49mHerd Your Boards, Become a Farmer
