HOWTO - Make a BrewPi Fermentation Controller For Cheap | Page 36 | HomeBrewTalk.com - Beer, Wine, Mead, & Cider Brewing Discussion Community.

Homebrew Talk

Help Support Homebrew Talk by donating:

  1. Dismiss Notice
  2. We have a new forum and it needs your help! Homebrewing Deals is a forum to post whatever deals and specials you find that other homebrewers might value! Includes coupon layering, Craigslist finds, eBay finds, Amazon specials, etc.
    Dismiss Notice

HOWTO - Make a BrewPi Fermentation Controller For Cheap

Discussion in 'Fermenters' started by FuzzeWuzze, Mar 19, 2014.

 

  1. dunz

    Active Member

    Posted Aug 17, 2014
  2. day_trippr

    We live in interesting times...

    Posted Aug 17, 2014
    That dual relay module should work fine with an Arduino, they're both 5V devices...

    Cheers!
     
  3. wbarber69

    Well-Known Member

    Posted Aug 17, 2014


    I'll have to open her back up and take a look. I believe it's a config.h thing. I didn't use it like that and just changed the appropriate lines in defaultConfig.h or whatever it's called. But If I remember correctly u can choose which shield revision to build for towards the top of that file. I didn't look into that much. I just kept it as is. And I believe it's set to build for revc but don't quote me on that.

    As for the multi instance problems I think it was a combination of some cron problems and the fact that I forgot that I needed pi user to join the other groups. After reading your walk through it jumped out at me as I had to do it when I built my vm with 1 arduino last time. Before I found that all I had to do to install on a non-pi was edit the install script to not run the raspberry pi update, which always killed the script on non-pi setups. After I get all this up and running I might look into building an install script that will build out up to 4 instances without the user having to go through all this.
     
  4. wbarber69

    Well-Known Member

    Posted Aug 17, 2014
    config.h line 57:

    //////////////////////////////////////////////////////////////////////////
    //
    // Define which brewpi shield is used.
    // BREWPI_SHIELD_REV_A The RevA shield (ca. Feb 2013), two OneWire buses, door, heat, cool.
    // BREWPI_SHIELD_REV_C The RevC shield (ca. May 2013). One common ONeWire bus, 4 actuators. Dynaconfig.
    //
    // #ifndef BREWPI_STATIC_CONFIG
    // #define BREWPI_STATIC_CONFIG BREWPI_SHIELD_REV_A
    // #define BREWPI_STATIC_CONFIG BREWPI_SHIELD_REV_C
    // #endif
    //
    //////////////////////////////////////////////////////////////////////////
     
  5. wbarber69

    Well-Known Member

    Posted Aug 17, 2014
    duplicate
     
  6. RyanSweeney

    Well-Known Member

    Posted Aug 19, 2014
    Got my BrewPi setup done, using a Raspberry Pi, Arduino Uno and a PowerSwitch Tail II.

    Why are my images sideways??

    brewpi.jpg
     
  7. day_trippr

    We live in interesting times...

    Posted Aug 19, 2014
    Cool beans!

    If you hadn't said anything, nobody would have ever known ;)

    fwiw, I've yet to figure out how to post pics from my phone and have them oriented correctly...

    Cheers!
     
  8. Dolomieu

    Well-Known Member  

    Posted Aug 19, 2014
    Is that panel mount usb connector from adafruit? I have bee trying to find a short one but seems like their 13" one is the shortest i can fine.
     
  9. RyanSweeney

    Well-Known Member

    Posted Aug 19, 2014

    It is from Adafruit.
     
  10. RyanSweeney

    Well-Known Member

    Posted Aug 19, 2014
    One more of the setup.

    ImageUploadedByHome Brew1408451630.537208.jpg
     
  11. gezzanet

    Well-Known Member

    Posted Aug 19, 2014
  12. gezzanet

    Well-Known Member

    Posted Aug 19, 2014
    Thanks mongooseman! Used your how to and set a webcam up to spy on my brew in the shed Bought one of these. Ebay Mini Stylish USB 2.0 5M Meter Retractable Clip WebCam Web Camera Laptop SL item 301253251844. thanks!

    Camera was low quality but good enough for this job. $3. Lead is only about 0.5m not 5 m
     
  13. MongooseMan

    Well-Known Member

    Posted Aug 19, 2014
    Nice! Glad it worked for someone else.
     
  14. FuzzeWuzze

    I Love DIY

    Posted Aug 19, 2014
  15. wbarber69

    Well-Known Member

    Posted Aug 19, 2014

    thanks for all the help. i changed some code in the multilcd.html to remove scroll bars and make it work with dynamic ip should that ever be an issue. Couldnit have done the php work though so thanks again

    I put the file in my root www folder
    here is my multilcd code

    Code:
    <html>
    <body>
    <iframe src="../top1/lcd.php" scrolling="no" seamless="seamless"></iframe>
    <iframe src="../top2/lcd.php" scrolling="no" seamless="seamless"></iframe><br/>
    <iframe src="../bottom1/lcd.php" scrolling="no" seamless="seamless"></iframe>
    <iframe src="../bottom2/lcd.php" scrolling="no" seamless="seamless"></iframe>
    </body>
    </html>
    raspberry pi brewpi2.png
     
  16. wbarber69

    Well-Known Member

    Posted Aug 20, 2014
    a little more tweaking

    raspberry pi brewpi3.png
     
    MongooseMan likes this.
  17. FuzzeWuzze

    I Love DIY

    Posted Aug 20, 2014
    Fancy!
     
  18. MongooseMan

    Well-Known Member

    Posted Aug 20, 2014
    Very cool!
     
  19. WhamFish

    Well-Known Member

    Posted Aug 20, 2014
    Wow thats nice, and makes me want to Amazon in another arduino
     
  20. WhamFish

    Well-Known Member

    Posted Aug 20, 2014
    So in this setup all of the chambers are connected via a USB hub? or they just all go back to the computer running them?
     
  21. whiskeyjax

    New Member

    Posted Aug 20, 2014
    Hey guys, I am having trouble getting brewpi to install.

    When i try to run the install.sh file, it says there is nothing there, and it won't run from the graphic interface either,

    Do I need to reclone the thing from GitHub?
     
  22. TripleHopped

    Well-Known Member  

    Posted Aug 20, 2014
    Not a computer guy, but if you're talking about the following command.

    sudo ~/brewpi-tools/install.sh

    I would double check the spacing and spelling.
    When I had problems it was one of those two things.

    Good luck
     
  23. whiskeyjax

    New Member

    Posted Aug 20, 2014
    Thats the one...

    I must've tried it 10 or 15 times, i wish I was sitting there with it right now. I'll try again tonight and post then. Thanks
     
  24. wbarber69

    Well-Known Member

    Posted Aug 20, 2014

    Waiting on the hub to come in from amazon and a couple more temp probes. It'll be on a hub then. So I can have a mini keyboard hub and 5th uno for rpints. Till then I just have 2 hooked up for testing and a third setup running my fridge already. Once they get the multi ferment figured out it looks like I'll be able to dial this back to 2 arduinos and then I won't need the hub.
     
  25. FuzzeWuzze

    I Love DIY

    Posted Aug 20, 2014
    My guess is you cloned the directory in the wrong directory and not from the users home directory :)
     
  26. day_trippr

    We live in interesting times...

    Posted Aug 20, 2014
    WinSCP could fix that in seconds...

    Cheers!
     
  27. CB_in_Tokyo

    Well-Known Member  

    Posted Aug 21, 2014

    you can also try

    locate install.sh

    that should return all of the instances of install.sh on the machine and their full path. Then using the full path you can sun the script.

    For example

    locate install.sh
    /usr/share/git/brew-pi/install.sh

    then you can do

    sudo /usr/share/git/brew-pi/install.sh
     
  28. scoobyd63

    Well-Known Member

    Posted Aug 21, 2014
    Hi all, I have my brewPi software running on my Rpi. However, I am unable to see my devices. I have 2 DS18D20 temperature sensors and they are wired exactly as the diagram shows. Listed are Device 0-4 none of which have the Arduino pin as A4. So there is not ones listed as device type temperature sensor. Is there a better way to test and see what is going on with my devices?
     
  29. RyanSweeney

    Well-Known Member

    Posted Aug 21, 2014
    Do you have a 4.7k resistor inline between positive and the data (yellow) wire?
     
  30. wbarber69

    Well-Known Member

    Posted Aug 21, 2014
    Yellow is ground on mine.are u sure you have them wired correctly
     
  31. RyanSweeney

    Well-Known Member

    Posted Aug 21, 2014
    Mine are Red = hot, Black = ground, Yellow = Data
     
  32. wbarber69

    Well-Known Member

    Posted Aug 21, 2014
    Mine are yellow= gnd red= 5v green= data
     
  33. RyanSweeney

    Well-Known Member

    Posted Aug 21, 2014
    Ok, well the color of the wires aside, do you have a 4.7k resistor inline from the 3.3V (or 5V) to the data wire?

    [​IMG]
     
  34. scoobyd63

    Well-Known Member

    Posted Aug 21, 2014
    Mine are the same Red = vcc, black = ground, yellow = data.

    I DO have the pull-up resistor in line.
     
  35. RyanSweeney

    Well-Known Member

    Posted Aug 21, 2014
    Scooby, can you post a picture of your wiring?
     
  36. scoobyd63

    Well-Known Member

    Posted Aug 21, 2014
    I think the problem is that I don't have the data input going into the digital 4, but rather the analog 4 like the diagram in the initial post of this thread. So then where do the leads connect to the Sain Smart 2 channel relay?

    Thanks a ton, I was mislead by the original connection.
     
  37. RyanSweeney

    Well-Known Member

    Posted Aug 21, 2014
    I'm using the analog pin on my setup...works perfectly. I'm using Digital Pin 6 to send the signal to my PowerSwitch Tail (relay).
     
  38. scoobyd63

    Well-Known Member

    Posted Aug 21, 2014
    @ Ryan your wiring diagram shows it into the digital pin 4 though. I do have mine exactly the way they are laid out in the original diagram.
     
  39. RyanSweeney

    Well-Known Member

    Posted Aug 21, 2014
    That's just a diagram I grabbed off google...my sensors data wires go to Analog Pin 4. I just used that diagram for reference for the pull up resistor.
     
  40. scoobyd63

    Well-Known Member

    Posted Aug 21, 2014
    Ah I see, I will grab a picture of wiring when I run home for lunch.
     
Draft saved Draft deleted

Share This Page

Group Builder