HOWTO - Make a BrewPi Fermentation Controller For Cheap | Page 108 | 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. gromitdj

    Well-Known Member

    Posted Nov 21, 2015
    That 2nd Temperature line alternates between Fridge temp and Room temp if you have all three probes assigned. The screen shot was probably taken during the time it was displaying the room temp.

    I agree, it looks to me like you have the frige and beer probes reversed.
     
  2. GrogNerd

    mean old man

    Posted Nov 23, 2015
    much better, from +.1 to -.06.

    I'd call that "tight enough"

    thanks, guys

    much better.JPG
     
  3. gromitdj

    Well-Known Member

    Posted Nov 23, 2015
    So... What did you do to fix it?
     
  4. GrogNerd

    mean old man

    Posted Nov 23, 2015
    the beer and fridge probes were reversed, so I switched them

    yeah, I'm that kind of idiot. ;)
     
  5. thekraken

    Well-Known Member

    Posted Nov 23, 2015
    @wbarber69 and anyone else using telephone jacks, what are you using for female connectors at the panel? Can you list a source?
     
  6. balrog

    Supporting Member  

    Posted Nov 23, 2015
    I just used a telephone extension cord, cut and solder probes to male-ended piece, run female-ended wire through hole in box. Nothing fancy.
     
  7. gromitdj

    Well-Known Member

    Posted Nov 23, 2015
    And I'm using the 4 port outlet with removable keystone jacks that I wired into my enclosure.
     
  8. thekraken

    Well-Known Member

    Posted Nov 23, 2015
    Do you have a link to a specific product? Or something similar
     
  9. gromitdj

    Well-Known Member

    Posted Nov 23, 2015
    I used something similar to these in black. They accept a standard RJ11 plug and they had them in stock at my local Home Depot.

    Keystone Jacks

    Wall Plate

    Pictures:

    Wall Plate
    [​IMG]
    Inside Enclosure
    [​IMG]

    I trimmed the wall plate so that it would fit on my cigar box enclosure.

    I am still a little nervous about the wood enclosure, and want to change it out soon, but have had zero issues in 6 brews with it.

    Edit: Mine were actually Leviton Quickport products. This and This.
     
    thekraken likes this.
  10. GrogNerd

    mean old man

    Posted Nov 24, 2015
    lol... guess what time I brought the dog in and what time I fired up the baseboard heater in the brew lab?

    guess.JPG
     
  11. father_jack_hackett

    Member

    Posted Nov 24, 2015
    I've been playing around with this for a few months now. I've got brewpi to run on uno's and 5v minipro's vi bluetooth and esp8266wifi. But I am having serious problems getting it to run on the 3.3v mini pro's. I purchased 2 from different sources to reduce the chance of hardware problems. I got a 8MHz version and another 16Mhz version, both Chinese clones. The both program fine via the brewpi web page programmer. read/write/read on AVRdude 100% successful. This works via a ch340 or FTDI usb/serial converter. This is where the problems begin. when the mini pro's then boot up the brewpi script says please reprogram old/unknown version.
    Did some digging and looked at the output on putty. On the uno's you type L into the serial port and it returns the LCD display data. On the non functioning min pro's it responds with gibberish that just happens to be the same length of character string, so it does respond to the serial command from brewpi. I assumed that the baud rate was set incorrectly so I tried every baud rate setting. Some baud rates return nothing others just gibberish. Has anyone got any idea's? I should mention that both of these 3.3V mini pro's work with blink and serial stuff through Arduino IDE no problem.
    Could it be that the bootloaders are too big on these boards??? help!
     
  12. thekraken

    Well-Known Member

    Posted Nov 24, 2015
    Are you positive that the brewpi script successfully loaded the hex? I ask because the pro mini and the uno upload sketches at different baud rates, 57600 for the pro mini and 115200 for the uno. The brewpi script is only set up to upload to unos at 115200 baud. I used avr dude commands to manually upload the hex file to my (5v) pro mini.
     
    father_jack_hackett likes this.
  13. father_jack_hackett

    Member

    Posted Nov 24, 2015
    Just used Xloader the windows front end for avrdude to upload the hex at 57600, no difference but thanks for the info. I should mention that I had no problem uploading the hex on the 5v mini pro via the brewpi script, its just the 3.3v one that don't seem to work.
     
    Last edited: Nov 24, 2015
  14. wbarber69

    Well-Known Member

    Posted Nov 24, 2015
    I don't think you're going to have much luck running at 3.3v. while it's great for the bt modules, the probes need 5v although they say they can run at 3-6v I've never been able to get reliable results from the probes without 5v. if get nanos if I were u. I've messed with minis and while they do work just fine, it's a lot more work to get em programmed and all that. the ones I used even needed to be reset in order to program them, making it even more of a hassle. the nano is basically the same size and its bit for bit the same as an uno. you can get them pretty cheap on eBay by the 5 pack.
     
    father_jack_hackett likes this.
  15. Bigdaddyale

    Well-Known Member

  16. thekraken

    Well-Known Member

    Posted Nov 27, 2015
    In my experience I haven't had those problems with the mini. You just need an ftdi cable and it works just like the rest.
     
  17. FuzzeWuzze

    I Love DIY

    Posted Nov 27, 2015
    I may get one, but im waiting to see what it costs to get a 3rd party WIFI dongle before I bother. Even getting a USB micro to USB and Wifi Dongle will only be like $20 probably, which will make it a good replacement for the standard Pi we use now...even more so because you could much more easily fit this Zero into a box with an Arduino than you can the standard RPI.
     
  18. BoulderBayBrewing

    Active Member

    Posted Nov 27, 2015
    I have most of the parts for this already, and am planning to buy the rest shortly. I have a bunch of temp probes left over from building the STC 1000+. Can I use one of those instead of the one recommended here?

    Cheers!
     
  19. day_trippr

    We live in interesting times...

    Posted Nov 27, 2015
    No. Your probes are NTC 10K analog probes while BrewPi uses digital "one wire" probes...

    Cheers!
     
  20. BoulderBayBrewing

    Active Member

    Posted Nov 27, 2015
    Thats kind of what I thought but hoping for a different answer. Thanks!

    Cheers!
     
  21. SHbrewing

    Well-Known Member

    Posted Nov 28, 2015
    Building this bad boy today.

    question.. What is the recommended SD size?
     
  22. day_trippr

    We live in interesting times...

    Posted Nov 28, 2015
    8GB is a sane size.
    Don't forget to run raspi-config and expand the file system to actually use the full capacity...

    Cheers!
     
  23. SHbrewing

    Well-Known Member

    Posted Nov 29, 2015
  24. Mikmonken

    Well-Known Member

    Posted Dec 3, 2015
    thekraken likes this.
  25. flamingBurrito

    Member

    Posted Dec 3, 2015
    I was just thinking the other day that maybe someone should fork brewpi since the arduino is really not being supported anymore. Seems like it'll become more and more necessary as time goes on.
     
  26. day_trippr

    We live in interesting times...

    Posted Dec 3, 2015
    I think the "legacy" branch is essentially that fork.

    I have to say I'm not wild about the new "low HZ PID" wrt compressor cycling anyway.
    I wager you could measure a domestic appliance compressor life span in start-up cycles...

    Cheers!
     
  27. gromitdj

    Well-Known Member

    Posted Dec 4, 2015
    How is this development going to affect my plans to build a mulit-instance brewpi with an old laptop? The old software has me pulling my hair out as it is!
     
  28. FuzzeWuzze

    I Love DIY

    Posted Dec 4, 2015
    The good thing is beyond forking there are plenty of tags in the Git Repo. You can pull any of the previous versions, i still use one from over a year ago.
     
  29. Elkoe

    Well-Known Member

    Posted Dec 4, 2015
    Hi Guys,

    A reason for creating the legacy branch in the main repo, is that I can merge commits that will also work on the Arduino into the legacy branch.
    For example, a button to reset the EEPROM could be handy.

    I just have not had the time yet to go through the commits to see which ones are backwards compatible. Last few weeks have been very, very busy.

    Of course, I'll happily take pull requests against the legacy branch too.

    @daytripper:
    The low Hz PWM will have much tighter control, see the screenshot below. I switched to fridge constant at point F. The PWM period is 20 minutes here. If you think that is a bit much, which I do based on the chart, you can just increase the period to 40 min. My point is, with this release, you can control exactly how often your fridge will cycle. And the temperature will cycle around your setpoint, not above it like the old code.

    You can also set a minimum ON and OFF time for the fridge.

    I have put a lot of work in the new controller code and I have ran a lot of simulations. I know PWM of a fridge sounds weird, but this works very well.

    [​IMG]

    Cheers!
     
  30. wbarber69

    Well-Known Member

    Posted Dec 4, 2015
    Also, forking leads to spooning…
     
  31. Brewski_59

    https://www.facebook.com/narcosisbrew/

    Posted Dec 4, 2015
    Elkoe

    I entered the --ask command and received a no such file or directory error.

    [email protected] ~ $ sudo python updater.py --ask
    python: can't open file 'updater.py': [Errno 2] No such file or directory

    Never mind. I needed to change to the brewpi-tools directory.

    But I don't see a legacy option.



    Available branches on the remote 'origin' for /home/brewpi:
    [0] develop
    [1] master
    [2] Skip updating this repository
    Enter the number of the branch you wish to update [master]:
     
  32. Elkoe

    Well-Known Member

    Posted Dec 4, 2015
    Sorry about that, should work now.
     
  33. FuzzeWuzze

    I Love DIY

    Posted Dec 5, 2015
  34. Elkoe

    Well-Known Member

    Posted Dec 5, 2015
    It's entirely up to you how often you want the fridge to run, see the difference between a period of 20 and 40 minutes:

    [​IMG]
     
  35. wbarber69

    Well-Known Member

    Posted Dec 6, 2015
  36. gromitdj

    Well-Known Member

    Posted Dec 6, 2015
    Well... after re-installing Debian Wheezy on my old laptop for the 5th time, I finally got a working multi-instance set-up. For those that do not know (like me) you install the legacy version of the BrewPi software with the following command:

    Code:
    sudo -u brewpi git clone -b legacy [url]https://github.com/BrewPi/brewpi-script[/url] /home/brewpi
    or for a multiple instance

    Code:
    sudo -u brewpi git clone -b legacy [url]https://github.com/BrewPi/brewpi-script[/url] /home/brewpi/brewpi1
    the "-b legacy" is the important part that designates the legacy branch.

    I could not have done it without Day_Tripper's guide and the DIY BrewPi Wiki that @FuzzeWuzze started, so many thanks to those guys.

    Also, I recommend using the arduino serial SYMLINK rather than the kernels SYMLINK that @day_trippr suggests in this post. Thanks again! Now I desperately need to brew something.
     
  37. hopzicle

    Active Member

    Posted Dec 6, 2015
    I am in the middle of a fermentation chamber build and am trying to decide on which direction I should go for temperature control. I really love the idea of brewpi I just haven't decided if its the direction I should go. Is brewpi something I can setup once....and use consistently while updating it as versions are released, or does it require constant maintenance and "fiddling" with in order to work properly?
     
  38. day_trippr

    We live in interesting times...

    Posted Dec 6, 2015
    On balance, once you have a working BrewPi setup, you're pretty much done - at least if using the "legacy" Arduino-based system, which itself is reasonably mature. There's no real "care and feeding" at this point.

    I ran BrewPi for almost a year before doing any updates - and the only reason I finally did was to further the attempt to use a Wifi connection to the Arduino in place of the Bluetooth connection I came up with - that itself replaced the "oem" USB connection.

    otoh, if you go with the new Spark-based system, there may be more frequent updates - certainly more likely on that side than the Arduino side.

    Still, even then it's nothing like Windows Update ;)

    Cheers!
     
  39. redman67

    Well-Known Member

    Posted Dec 6, 2015
     
  40. day_trippr

    We live in interesting times...

    Posted Dec 6, 2015
    If you have one instance running, it seems unlikely that versions are an issue.

    All you need to do at that point is create the new port, clone the working instance, change the port definition in the config file, change the folder pointers that need changing and you should be in business...

    Cheers!
     
Draft saved Draft deleted

Share This Page

Group Builder