Just an update, my door stopped working the other day then started back up then stopped again. I know the code is bullet proof as I've been using the door since May of 2017. Well this morning I found a Roundtuit in my pocket and cleaned out the PDZ and crawled in the horrible designed roost box...
Yes the Kreg Jig makes this type of construction a breeze. Even the cheapest one works.
Does your Wndows 10 monitor have HDMI? I only have one monitor and use that when I have to set something up in the RPi that I can't do via SSH or my preferred method is to use SSHFS to mount the Rpi and just...
I use Linux Mint on most of my PC's and on my work/shipping laptop I have a dual boot with Linux Mint and Windows 7. I always use Hexchat from linux so I didn't know they did the windows thing of charging lol.
One of the guys on the #linuxcnc channel suggested quassel and I tried it out and it...
Well I got the new door almost done and started testing it a bit. Looking good so far... I still need to install the open and closed magnetic switches then on to testing the new code! I used common wood products from the store so duplicating the frame should be easy. The sides are 2x4's the top...
Hi Mike,
I'll be posting my code as it develops in my github repository. One important feature that I have is manual overrides for both the door and light. The io-test.py is my test code for the inputs and outputs. I used the light override this morning to clean out the coop as I was lazy and...
I've not seen that video but have seen various versions of that locking mechanism in the past but don't care for that kind of lock. The lock itself seems kinda flaky to me and not reliable as most of them you see stick so you can just imagine what happens in real life with chicken poop and dust...
I see the CAT question has been expertly answered and glad to know there are other Python programmers in the crowd.
Let me know when you get your Raspberry Pi 3 B and I'll get you going quick.
Python is an easy language to learn and there is no need to pay to learn Python as there are just too...
Trying to get back on topic... I refined the code this morning to be more inline with what will really happen when the Raspberry Pi 3 B boots up after a power cycle. I have reduced the logic to three tests to determine the current natural daylight, if daylight is increasing (from winter solstice...
Aye, I have a CNC machine shop and a fabrication shop and make my living with them.
Are you going to use the Arduino R3 to dim the lights at night simulating sundown? I've found the Raspberry Pi 3 to be a much more stable platform to do automation tasks. I have a box full of Arduino's and...
Glad to see someone on here to share code with and I have a lot more code to share, this is just the daylight portion. I know a tiny bit of C and C++ never seemed to have the motivation to go past that. I have written a DXF to G code conversion tool in Go Language that was interesting for sure...
I've been working on some code to do the following algorithm:
Summer Test
If natural daylight is greater than 14h
Open door and turn on light at dawn
Fall Test
If natural daylight is less than 14h and more than 10h and decreasing
Open door and turn on light at dawn
Winter Test
If...
Yea I've found the Raspberry Pi 3 B to be a rock solid single board computer. Add the screw terminal block breakout board for the RPi for the I/O (Inputs and Out puts) and it's so much easier to connect things up. While I'm linking stuff this it the relay board I use it has 4 relays so you can...
I've been brainstorming a bit about my code algorithm and if anyone here wants to join in here is what I'm thinking today.
The basic idea:
If natural daylight is greater than 14h open door and turn on light at dawn
If natural daylight is decreasing when 10h is reached start adding 5 minutes per...
I've been tweaking the code a lot and this is the most simple version to just say it's time to open the door or not. It was quite a pain to deal with dates and times with Python but I finally got it whipped.
#!/usr/bin/env python3
#import datetime
from datetime import date
from datetime import...
For those of you that like to tinker I'm writing my Automagic Chicken Door over with some improvements in the code and making a step by step web page to outline what I did. For those of you that just buy a door this thread is not for you. I use a Raspberry Pi 3 to control my coop. The following...