Search results for query: *

  1. jthornton

    Coop Automation

    If your using Python3 the print statement is now a function so the syntax for print now is print('something or other') If your using Python 3.6 or newer then f strings can be used in the print function. someVariable = 35 print(f'the value of someVariable is {someVariable}') In the {} you can...
  2. jthornton

    Coop Automation

    I just open a terminal and type ssh name@address but you may be on a Windoze PC I don't know. I also mount the pi drive from my linux pc with this command. sudo sshfs -o allow_other,default_permissions name@address:/home/username/bin /home/username/rpibin After that I can just use my linux file...
  3. jthornton

    Coop Automation

    https://www.amazon.com/gp/product/B0009SUF08/ http://gnipsel.com/chickens/auto_door_parts.html JT
  4. jthornton

    Coop Automation

    Door and lights are working fine, I had to adjust the magnet sensor on the up sensor it was a tad too far away sometimes. Your code looks ok to me, I think I need to get Pi Zero to play with... I made a copy of your code to learn even more. So you have a wunderground weather station at your...
  5. jthornton

    Coop Automation

    I just added the code for a Raspberry Pi 3 for a simple door to open at sunrise and close at dusk. The code is for devices like linear motors with built in limit switches. http://gnipsel.com/chickens/index.html JT
  6. jthornton

    Coop Automation

    Yes I have and have a copy of his code and studied it some. My plan was to swap the Nano for the RPi3 this weekend but well we know how plans go ended up finishing up the repairs on the west fence line and helping the neighbor lady fix her fence. I've been running mine on the bench for a week...
  7. jthornton

    Coop Automation

    Internet Relay Chat, been around for a long time. I use HexChat. https://hexchat.github.io Freenode is a host and #linuxcnc is a channel that talks about the LinuxCNC software, but you can open a Dialog Window and have a private chat about chickens lol. JT
  8. jthornton

    Coop Automation

    You can also use C to write programs but I prefer Python when possible. The RPi is pretty cool to mess with. I'm an inventor and a whole list of other things lol. Have you ever been on the IRC? Pretty slick simulator. JT
  9. jthornton

    Coop Automation

    Python is the easiest IMHO language to program in. If you have a spare PC of any type laying around download Linux and put it on that PC. I hang out on the IRC Freenode #linuxcnc if you want to chat. I added some more content to my Raspberry Pi section this morning...
  10. jthornton

    Coop Automation

    Right now the RPi is sitting on my table while I mess with the programming. I have a section below the next boxes for my electronics. I have an extension cord run over to the coop. JT
  11. jthornton

    Coop Automation

    I finally got the OLED working with the RPi and I'm a happy guy. I can now verify that the RPi has the correct time and other things . Sorry for the crappy photo.
  12. jthornton

    Coop Automation

    You can rip the relevant parts out of the above code and add a 3.3v relay to turn on the lights based on how many minutes of daylight you want them to have and they will go off at sunrise. Sunset is natural lights out. The astral part along with the lat/long for your location and you get all the...
  13. jthornton

    Coop Automation

    The two huge advantages the RPi has over the Arduino is you can log into the RPi with SSH and monitor things and change things. Another advantage is you can write and execute programs from another PC. Another advantage is you can plug in a HDMI monitor, USB mouse and USB keyboard and use the RPi...
  14. jthornton

    Coop Automation

    For the tinkerers here I've decided to move away from the Ardunio Nano and ESP8266 to Single Board Computer (SBC) to control the chicken coop automation. Please spare me your tales of whipping out your CC and ordering a door. I went with the Raspberry pi 3 and I'm quite happy with the device and...
Back
Top Bottom