HOWTO - Make a BrewPi Fermentation Controller For Cheap | Page 7 | 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
Corona Virus

HOWTO - Make a BrewPi Fermentation Controller For Cheap

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

 

  1. BrewerJack

    TechnoBrewer  

    Posted May 1, 2014
    How's it feel to have a permanent SWMBO?

    Congrats by the way.
     
  2. snccoulter

    Well-Known Member

    Posted May 1, 2014
    I just ordered my Uno, relay, thermometer, and Project box. It is really to bad Amazon Prime won't get it to me until Monday. I could have it today but the shipping is more than the actual cost of the items I wanted. I got glared at for buying it, if I would have spent more on shipping then the stuff I would be up the proverbial creek without the paddle...

    uno.jpg

    relay.jpg

    thermometer.jpg

    box.jpg
     
  3. rabeb25

    Well-Known Member

    Posted May 1, 2014
    Perhaps I missed it..
    I know the Brewpi can only use 2 sensors, but can I add more to monitor other fermenters? I.e my chamber holds more than one fermenter. I control the chamber off one, but would like to see temps on the others.



    thanks
     
  4. snccoulter

    Well-Known Member

    Posted May 1, 2014
    Two for now. They are working on multiple connections in the next generation
     
  5. wapitiscat

    Well-Known Member

    Posted May 2, 2014
    I think you can but have to have a second arduino.
     
  6. snccoulter

    Well-Known Member

    Posted May 2, 2014
    From what I have seen you can with a second Arduino, but it will be a second instance with it's own web page.
     
  7. BrewerJack

    TechnoBrewer  

    Posted May 2, 2014
    A second Arduino is usually used to control heating and cooling of a second Ferm Chamber.
     
  8. msujack

    Well-Known Member  

    Posted May 2, 2014
    Sent from my iPhone using Home Brew
     
  9. FuzzeWuzze

    I Love DIY

    Posted May 2, 2014
    The setup technically has an ambient or room sensor you can wire in with the others on the same one wire bus, I don't know that it's built into the pid algorithm, you can try and ask the Brewpi guys to make sure it's not. If so, You could use that to monitor the extra fermenter just not control it. If it does feed into the pid you don't want to use it and screw up your main fermenter.

    You can just wire in the new one and set it like the others just make it ambient, it used to exist, can't check if it still does.
     
  10. BrewerJack

    TechnoBrewer  

    Posted May 2, 2014
    With the release of 0.2 it has built in support for a room temp probe.

    Per the Brewpi website:
    About a third of the way down.
     
  11. Chupidacabra

    Well-Known Member

    Posted May 3, 2014
    I know I read hooking up the temp sensor incorrectly caused a short in here somewhere. Not seeing it now. Just as a precaution can I get verification on which goes to what? I've got red, white, and black.


    Sent from my iPhone using Home Brew
     
  12. BrewerJack

    TechnoBrewer  

    Posted May 3, 2014
    Well thing about Chinese temp probes is that you can't tell. However, chances are it's:
    Red - Vcc
    Black - Ground
    White - Data
     
  13. dougthebrewer

    New Member

    Posted May 3, 2014
    Y


    Sent from my iPhone using Home Brew
     
  14. rocket4x4

    Active Member

    Posted May 4, 2014
    Anyone having problems with brewpi not finding the arduino after reboot or disconnect / connect of the arduino?
     
  15. FuzzeWuzze

    I Love DIY

    Posted May 4, 2014
    How are you connecting the arduino? Directly to the RPI or through a hub?

    Also why would you be connecting/disconnecting it once its setup?

    I know a few people tried to run the arduino through a USB hub had issues.
     
  16. rabeb25

    Well-Known Member

    Posted May 4, 2014
    Sure just run this script to reconnect to it.
    sudo -u brewpi python /home/brewpi/brewpi.py



    Sent from my iPhone using Home Brew
     
  17. rocket4x4

    Active Member

    Posted May 4, 2014
    It's directly connected to a laptop. I have tried to restart the script. It's a Uno and I'm using the revC Uno hex file.

    I'm a little worried about loosing power and when rebooted it will not start keeping temperature.

    I will do some more test..
     
  18. snccoulter

    Well-Known Member

    Posted May 6, 2014
    Quick question. I got my Arduino and relay in and I guess I was expecting a bit more from the Arduino, like the ability to control it from USB keyboard/mouse, or at least to be able to plug in a wireless USB. If I was to get a WiFi shield would I be able to stream the data back to the Rasperian I have running in VM Ware 9. Or will I always have to be connected to a micro computer or some sort of Linux box? I really don't want to give up my PI to this project. I love playing with the PI
     
  19. BrewerJack

    TechnoBrewer  

    Posted May 6, 2014
    That's definitely a question for the BrewPi guys. I don't know a huge amount about the Arduino side of things, but I think it should be possible, but don't know if it would be possible with the way BrewPi is currently set up.
     
  20. FuzzeWuzze

    I Love DIY

    Posted May 6, 2014
    You have to keep it connected via usb, its how brewpi communicates with it. The arduino is a very dumb simple, but very reliable microcontroller. That's why it is so cheap. It's not a microprocessor like a rpi.
     
  21. snccoulter

    Well-Known Member

    Posted May 6, 2014
    Thank you.
    I guess I need to locate an old Pentium laptop to dedicate to this project I just cant tie up the PI.
     
  22. day_trippr

    We live in interesting times...

    Posted May 6, 2014
    I found myself in the same situation and decided the best way out was to clone my 'Pi. I got my second li'l dude running this weekend and it's now my development system. Today I topped it with an "AlaMode" Arduino shield and got that running in anticipation of the next version of RaspberryPints (read: flow metered keg volume tracking! yay!).

    I actually don't need Yet Another Controller, but I'm thinking about giving BrewPi thing a spin if only to mark time and get familiar with the Arduino. Though I am interested in their PID code...

    Cheers!
     
  23. FuzzeWuzze

    I Love DIY

    Posted May 6, 2014
    Look at good will or salvation army stores, a few near me have old ass laptops in their glass cases up front. I bet you may get one cheap, then again a lot of their electronics are overpriced for what they are so the 20 bucks might just be better spent towards another rpi.
     
  24. vince805

    Well-Known Member

    Posted May 6, 2014
    That's what I was thinking. If you are thinking of buying an old laptop just buy another pi instead. Ive got 4 of them doing different things in my house.
     
  25. Chupidacabra

    Well-Known Member

    Posted May 6, 2014
    So what's a good heat source? My brewpi is up and running!


    Sent from my iPhone using Home Brew
     
  26. BrewerJack

    TechnoBrewer  

    Posted May 6, 2014

    I use this as does Fuzze I think. I bought mine at a cheaper price than it is now.
     
    Last edited by a moderator: Oct 23, 2018
  27. Chupidacabra

    Well-Known Member

    Posted May 6, 2014
    Looks good to me. Don't really want to mess with a heat wrap so that's probably a good option.


    Sent from my iPhone using Home Brew
     
  28. FuzzeWuzze

    I Love DIY

    Posted May 7, 2014
    It's really the best option out there. The auto shutoff it has at like 110f means worst case if something goes wrong and it gets stuck on while you're away your beer is maybe ruined, not your house burning down.
     
  29. rabeb25

    Well-Known Member

    Posted May 7, 2014
    I use a cheap hair dryer on low heat. They all have gfi's built in as well.


    Sent from my iPhone using Home Brew
     
  30. day_trippr

    We live in interesting times...

    Posted May 7, 2014
    I use a 60w incandescent bulb with an 80mm 12vdc fan blowing on it when the controller calls for heat in my 17cf ferm fridge. Low power, gentle distributed warmth = slow ramping that minimizes overshoot...

    Cheers!
     
  31. day_trippr

    We live in interesting times...

    Posted May 7, 2014
    So after having the AlaMode running on my development 'Pi for a couple of days and getting to know Arduino, it just dawned on me¹ that running BrewPi with Raspberry Pints V2 isn't going to happen - at least, not without adding Even More Hardware. Which - if I needed Yet Another Controller - wouldn't be a BFD for me. Just add an Uno to the equation. Not a deal breaker, imo.

    ¹ Well, actually two problems - one a huge show-stopping deal, the other theoretical: Arduino runs one sketch at a time, period. No concurrency allowed. That's kinda huge. Otherwise, even if you could rapidly swap or somehow link sketches to give the appearance of a multi-tasking "system", my perspective is an Arduino will be working hard to keep up with responding to flow meters as it is.

    So there it is. At first glance I don't see any problem running a second Arduino servicing the BrewPi code while the AlaMode works flow meters, with both reporting to their respective 'Pi threads...

    Cheers!
     
  32. snccoulter

    Well-Known Member

    Posted May 7, 2014
    You could get a Pi Face it has a couple of relays and all sorts of other fun stuff. but then you would have to write the code. IF you know code GREAT if not it is a big deal.
     
  33. day_trippr

    We live in interesting times...

    Posted May 7, 2014
    If ^that was in response to my post, I think you're missing a lot here that a dozen PiFaces could never possibly solve...

    Cheers!
     
  34. MongooseMan

    Well-Known Member

    Posted May 7, 2014
    Got my fridge last weekend and just put in a big eBay order for the following:
    Arduino Uno
    2 Channel Relay
    Bunch of dupont cables
    Resistor
    Temperature probes
    Heat shrink
    USB Wifi dongle (for the old PC currently unused)
    Ceramic heat emitter

    Now to wait patiently for them to arrive... :D
     
  35. FuzzeWuzze

    I Love DIY

    Posted May 7, 2014
    I see no reason one rpi can't run two arduinos as you said. In the grand scheme of it the arduinos are the cheap bits, if I remember correctly those flow meters are like 40 or something each, so what's another 15 for an arduino :)
     
  36. snccoulter

    Well-Known Member

    Posted May 8, 2014
    OK I will bite.
    If I have my PI and snap on the PI Face and know how to code correctly (I am trying to self teach) why would it not work? Comparing the Uno and relay there does not seem to be a lot different. They both have relays, to connect to the power outlet. They both connect to a micro processor one more smoothly than the other. They both have the ability to connect other peripherals I.E a thermostat.

    Yes the PI Face is a bit more costly, but it snaps together nicely unlike the Uno/relay and PI.
     
  37. day_trippr

    We live in interesting times...

    Posted May 8, 2014
    So I was verbalizing the issues with running BrewPi and the eventual V2 release of RaspberryPints on a single 'Pi and the implications thereof. With respect to the latter, it has been determined that an ISR running on the 'Pi could not keep up with the flow meters, hence the need to off-load the counting function to a dedicated microcontroller (ie: Arduino). That pretty much ends the discussion of coding a native 'Pi solution for RaspberryPints, imo.

    Wrt to BrewPi, one would have to gauge the significance of the BrewPi solution of off-loading the control loops to an Arduino, versus a native 'Pi solution. Clearly a 'Pi could easily keep up with the task of managing a fermentation chamber (or a kegerator/keezer) so ability per se wasn't the factor the developers considered key. I understand the rationale espoused by the developers wrt reliability of an Arduino-based controller taking direction from a 'Pi. Totally makes sense to me...

    Cheers!
     
  38. day_trippr

    We live in interesting times...

    Posted May 8, 2014
    SF800 is $30 via eBay (or $89 via Kegbot :eek: )

    And I agree. If I had a need for another controller I'd be all over a dual-Arduino solution...

    Cheers!
     
  39. snccoulter

    Well-Known Member

    Posted May 8, 2014
    OK you lost me on most it would be possible, it is just the extra stuff that would cause a problem? As I said I am very new new to this stuff. I just started playing with it after my intro to Linux class. It just seemed possible. By the way how would I figure out what IP Address the MYSQL Server is using in a VM. I installed it via the command line directions.

    Thanks
     
  40. day_trippr

    We live in interesting times...

    Posted May 8, 2014
    If by "extra stuff" you mean tracking flow meters, then I'll go with "yes". But that's a large part of the point. While V1 of RaspberryPints would barely tax a TRS-80, V2 is a whole 'nuther animal.

    [...]
    Well I don't run mysql under a VM, but my first swag would be to check out the "bind" function...

    Cheers!
     
Draft saved Draft deleted

Share This Page

Group Builder