Time Lapse of Grows

Discussion in 'DIY' started by n0j0y, Apr 16, 2019.

  1. n0j0y

    n0j0y Well-Known Member

    Joined:
    Nov 19, 2017
    Messages:
    570
    Just figured id do a quick thing here for on going stuff if anyone is interested.

    Started playing around with doing some time lapse of grows among other things. Easy setup.

    IMG_9248.JPG

    This is a Raspberry Pi Zero, a Pi camera (with infra red lights for night time recording) and an extended ribbon cable. The camera case is 3d printed with an extender arm with a mount that I bolt into the side of the tub. The ones I chose use the standard that are on goPros, I am sure you could buy a camera case and mounts pretty cheap if you dont have access to a printer.

    You can script a timelapse pretty easily but I am playing with Pi timolo (bit overkill but the config is easy to work with) https://github.com/pageauc/pi-timolo to generate the photos and ffmpeg to create the movie from the photos.

    Once everything is setup it will start running as soon as you plug in the Pi so you can fire and forget, but it also generates a pretty basic web server to monitor the photos.

    For getting the camera positioned nicely a live feed works better, i found this script to work well for a basic web based streamer.

    https://raw.githubusercontent.com/R...er/Projects/rpi_camera_surveillance_system.py

    I have put a photo or two in other threads. Was using it to monitor a current grow, but unfortunately I think everything aborted overnight (really should have never fruited in the first place given conditions). Really hoping it IR doesnt do anything silly to mess with the grows. I have some other grows that should be close to fruiting that I hope to test with for better results and will post here as I tweak.

    If anyone else has any experience in this I am all ears as I am making i up as I go. If anyone has any questions on doing this let me know, I can stumble through with you
     
    GGTBod likes this.
  2. n0j0y

    n0j0y Well-Known Member

    Joined:
    Nov 19, 2017
    Messages:
    570
    This is a very cropped mostly overnight shot so not very in focus but fun to watch a little movement in the mean time babygif.gif
     
    GGTBod likes this.
  3. n0j0y

    n0j0y Well-Known Member

    Joined:
    Nov 19, 2017
    Messages:
    570
    Still not a ton of action. Only getting growth in a small spot which this is zoomed in on. Dunno if contam or what, but eh its something. Still working on making clearer for next time.

    Day2.gif
     
    GGTBod and redcat like this.
  4. n0j0y

    n0j0y Well-Known Member

    Joined:
    Nov 19, 2017
    Messages:
    570
    full.gif
    Update on this. Bit choppy and ironically a big patch decided to go just under the camera view. Doubtful ill get a bigger pinset on the full frame (this is 1/4 screen crop). Works for a first attempt though.
     
    GGTBod and redcat like this.
  5. redcat

    redcat The Myco Machine Moderator Mushroom Doctor Supporter

    Joined:
    Aug 23, 2011
    Messages:
    1,135
    Gender:
    Male
    Location:
    Off the beaten path
    Cool:hypno:
     
    GGTBod likes this.
  6. n0j0y

    n0j0y Well-Known Member

    Joined:
    Nov 19, 2017
    Messages:
    570
    Yeah would have preferred to get a full flush but I think there's strange things going on with that tub. Will get a full thing one of these days.
     
    GGTBod likes this.
  7. GGTBod

    GGTBod One chance at life and this is it so lap it up Administrator Cannabis Doctor Cacti Doctor

    Joined:
    Oct 31, 2011
    Messages:
    6,289
    Location:
    NE UK
    it's coming along, i do some time lapse stuff and it's maddening sometimes when you think you got it all set and something goes sideways and you don't find out until morning
     
    redcat likes this.
  8. n0j0y

    n0j0y Well-Known Member

    Joined:
    Nov 19, 2017
    Messages:
    570
    That and that grow was totally contaminated
     
    GGTBod and redcat like this.
  9. GGTBod

    GGTBod One chance at life and this is it so lap it up Administrator Cannabis Doctor Cacti Doctor

    Joined:
    Oct 31, 2011
    Messages:
    6,289
    Location:
    NE UK
    Will look cool as fuck when you get it right
     
  10. n0j0y

    n0j0y Well-Known Member

    Joined:
    Nov 19, 2017
    Messages:
    570
    Yeah. May try my next grow. I wanted to get some proper success and I was paranoid the ir LEDs were the culprit for the weird grow at first. Next one I may try again.
     
    GGTBod likes this.
  11. GGTBod

    GGTBod One chance at life and this is it so lap it up Administrator Cannabis Doctor Cacti Doctor

    Joined:
    Oct 31, 2011
    Messages:
    6,289
    Location:
    NE UK
  12. n0j0y

    n0j0y Well-Known Member

    Joined:
    Nov 19, 2017
    Messages:
    570
    Yeah my little camera and pi are a little bit more low tech
     
    GGTBod likes this.
  13. GGTBod

    GGTBod One chance at life and this is it so lap it up Administrator Cannabis Doctor Cacti Doctor

    Joined:
    Oct 31, 2011
    Messages:
    6,289
    Location:
    NE UK
    I'm using a 2nd hand gopro 4 black and an old windows PC, could seriously do with upping my ram.

    I need to get one of the yougins in my family to teach me the Pi, I haven't coded since the 48kb zx spectrum of early 80s, and then it was only to make the computer swear on repeat.
     
  14. n0j0y

    n0j0y Well-Known Member

    Joined:
    Nov 19, 2017
    Messages:
    570
    Depending on how you set it up it's just a Linux computer until you start playing with the gpio pins and stuff. Dedicated camera input etc on the newer ones. So them it's up to you on programin language but python is always popular.

    Could do timelapse in straight bash commands if you wanted to.
     
    GGTBod likes this.