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

    Well-Known Member

    Posted Jun 22, 2016
    I have tried this and get invalid option - - 'a' as a response. I feel like this should be an easy thing that I should know but I just can't see what I am doing wrong.
     
  2. wbarber69

    Well-Known Member

    Posted Jun 22, 2016
    You removed all but one uno? if so try it without the -a
     
  3. day_trippr

    We live in interesting times...

    Posted Jun 22, 2016
    I just executed

    Code:
    $ udevadm info -a -n /dev/ttyACM0 | less > info.log
    $ nano info.log
    
    on a Pi2 running Wheezy with a boatload of peripherals and another Pi2 running Jessie with and without a single USB-connected Uno and they both respond as documented.

    Don't know what to offer...

    Cheers!
     
  4. wbarber69

    Well-Known Member

    Posted Jun 22, 2016
    Maybe he typed it wrong or put a space behind the dash
     
  5. bufford

    Well-Known Member

    Posted Jun 23, 2016
    Does it matter what directory (folder) I am in? Does it make a difference between the Root Terminal or just Terminal?
     
  6. wbarber69

    Well-Known Member

    Posted Jun 23, 2016
    Just open terminal and begin typing
     
  7. cbier60

    Supporting Member  

    Posted Jun 23, 2016
    Is there a way to copy the file via the web interface, perhaps just by using Putty? I don't want to pull the card from the Pi to read while I have an active fermentation.

    Also, my display shows the last week or so of temperatures. I'm assuming that a new log is created when I hit 'Apply' with the new profile. Is this correct? I just started my 2nd fermentation with this a few days ago.
     
  8. gromitdj

    Well-Known Member

    Posted Jun 23, 2016
    If you export the CSV file from the web interface, you will have a file that can be imported into any spreadsheet program. I believe you can use Putty to copy the files from the Pi. (I've only used Filezilla for that purpose)

    The same log is used regardless of what setting your are in. Fridge Constant, Beer Constant, or Profile. If you switch between any of them or make changes to the profile, it comments the graph/log. A new log is only created if you stop the current session and begin a new one.
     
  9. canofworms

    Active Member

    Posted Jun 24, 2016
    Thanks again FuzzeWuzze and Mikmonken for the help on the install. Got everything boxed up this evening and tested. Working great, although just holding final temp on a Belgian Blonde that's just about finished, so haven't run it though its full paces yet. Really looking forward to the next fermentation. Even though I had an externally mounted heat/cool switch on my Johnson 419 I still had to physically change the mode and plug in the heat or cool.... not to mention compensate for the overshoot and outside temp... really a drag. Hopefully all of that is behind me... and I can control the BrewPi from anywhere.... amazing! Thanks again!!

    Brewpi.jpg
     
  10. bscuderi

    Well-Known Member

    Posted Jun 24, 2016
    Not sure if this has been touched on before but I thought I would share. I was attempting to follow the making brewpi public and password protected pages for access out of my network and got lost in all the steps of code and router permissions etc. I never could get it working even if I had figured out the code of it all I figure updates would be more difficult to have to rechange stuff etc. let alone my isp seemed to block any port forwarding attempts I made. I'm sure it's cause I was a total noob. Anyways I stumbled upon an app called weaved that took me literally one minute to setup and might be easier for anyone else computer illiterate that wished they could access brewpi away from home. For anyone that's interested it might not be as clean or fast as the other set up im not totally sure. The only downfall I've noticed is it seems a little slow to load but it allows me to access my brewpi from an app on my iPhone or iPad when out of network and it doesn't get any easier than that. You could also access password protected from the web site. Here's a screenshot of the app

    View attachment ImageUploadedByHome Brew1466749698.711958.jpg

    As you can see two devices listed one that goes to the web server of the pi and the other that even allows remote connection of ssh to the pi

    For anyone interested in how to install open a command prompt and type

    sudo apt-get install weavedconnectd

    Then go to this website

    https://developer.weaved.com/portal/index.php

    Create an account

    Then in the command prompt type

    sudo weavedinstaller

    Follow the onscreen instructions to install access to webpage ssh or both and that's it done!! No long code! You can now log in from web or go to the App Store and download the weaved app for your iPhone or iPad for even easier access. Makes it so brewpi is a mobile app. I still connect via browser and IP address when I'm in network just cause it's way faster.

    Here a screenshot of my first brewpi beer happily fermenting in my 100 degree plus shed in Phoenix while I get peace of mind checking on it from Salt Lake City :) thanks to everyone that helped with my build and made this possible :) it's perfect for a work taveler like me :)

    View attachment ImageUploadedByHome Brew1466750890.623675.jpg
     
    LBussy and srmid like this.
  11. LBussy

    A Cunning Linguist  

    Posted Jun 25, 2016
    Just had a free moment to try this ... it's great! Thanks for sharing.
     
  12. LBussy

    A Cunning Linguist  

    Posted Jun 25, 2016
    What's the component on top of the box?

    I assume the one middle-left is the power supply?
     
  13. day_trippr

    We live in interesting times...

    Posted Jun 25, 2016
    If you mean the black object with the red/black wires at the top of the picture, I'm betting it's a DC fan (maybe 40mm).

    I don't see any matching ventilation holes in the case, however.
    Maybe they're under one of the modules...

    Cheers!
     
  14. canofworms

    Active Member

    Posted Jun 26, 2016
    Yep, top is a 40mm fan, there are four vent holes at the bottom of the box behind the AC power cables. Lives in a So Cal garage so wanted to make sure there was some ventilation. Middle left is a step down converter that takes the 12V DC needed for the fan and steps down to 7V for the arduino.
     
  15. Bigdaddyale

    Well-Known Member

    Posted Jun 26, 2016
    So Ca. you say? Brewlu?
     
  16. Bigdaddyale

    Well-Known Member

    Posted Jun 26, 2016
    could that 12v dc power wires running through the coiled usb cable cause some kind of interference?
     
  17. canofworms

    Active Member

    Posted Jun 26, 2016
    12V is fed to the box separately from an external power supply, not through the USB cable.
     
  18. Bigdaddyale

    Well-Known Member

    Posted Jun 26, 2016
    I was wondering if the 12 volt wires could cause some kind of electrical interference with the data that pass through the looped usb cable.
     
  19. wbarber69

    Well-Known Member

    Posted Jun 26, 2016
    The USB cable "should" be shielded. and the coil should make it magically impervious to interference.
     
  20. canofworms

    Active Member

    Posted Jun 26, 2016

    Sorry mis understood the question. Ya have had no issues as of now. Haven't cut the cable open to see but I've never seen an unshielded USB before. You literally meant the wound up up 1 foot USB cable at the top. Totally my bad, my brain didn't follow the looped part initially.
     
  21. canofworms

    Active Member

    Posted Jun 26, 2016
    And as I say that I just cut apart 2 stray USB cables that came with the Arduino and sure enough no shield. Data wires were not even twisted. So I guess there are plenty of cheap unshielded USB cables in the world. If I ever have an connectivity issues between the Pi and Arduino I'll make this my first suspect but 1 week into use and all is well so far.
     
  22. bloombrews

    Well-Known Member

    Posted Jun 27, 2016
    I also tried to port forward my router so I could access it away from home. There were some good feedback here on this, but I never could get anything to work. I will try your "weave" app and see if this works for me.
    Thanks!
     
  23. FuzzeWuzze

    I Love DIY

    Posted Jun 27, 2016
    A lot of people have had issues with **** USB cables corrupting the serial data going over the line in this thread. If it does happen, or if you want to just be proactive keep the cables away from eachother and or buy a few cheap snap on ferrite core/beads on Amazon and put one on either side of your USB cable and at the end of your radiating power lines.
     
    canofworms likes this.
  24. canofworms

    Active Member

    Posted Jun 27, 2016
    Not a member of Brewlu. But everything I see on the Facebook page make it look like a fine group of folks. Know how to have a good time :)
     
    Bigdaddyale likes this.
  25. captinsmash

    New Member

    Posted Jun 27, 2016
    I've followed the steps for a multiple chamber setup but I'm stuck. When I type in the brewpi address (10.1.1.7) I just get the default Apache2 it works page. Any help is greatly appreciated.
     
  26. UltraHighABV

    Well-Known Member

    Posted Jun 27, 2016
    Hey guys, I'm starting my build and have what will probably sound like a trivial question:

    So the power cable we cut gets plugged into a standard wall outlet, and the other end gets wired up to the other outlet we purchased. Both our freezer and heater get plugged into this outlet, and the power for the raspberry pi also gets plugged into a main outlet

    is this correct? So on your wall you have the pi power supply and our cut power cord, and on the wired outlet we have the heater and our freezer?

    Thanks!
     
  27. wbarber69

    Well-Known Member

    Posted Jun 28, 2016

    Did you remember to add the folder name on the end of that. I don't know what you called your setup but it would go
    10.1.1.7/instance1
     
  28. wbarber69

    Well-Known Member

    Posted Jun 28, 2016

    Kinda. if I were you I'd consult a certified electrician before you go plugging expensive things into mains power if you aren't confident with your understanding of the wiring. I assume that since you didn't mention it, you probably glanced over the part where you need to isolate the two outlets by removing the tab.
     
  29. UltraHighABV

    Well-Known Member

    Posted Jun 28, 2016
    nah i got it, im aware you have to break the jumper i just wanted to make sure i had the general gist of what goes where. here goes nothing!
     
  30. captinsmash

    New Member

    Posted Jun 28, 2016
    Awesome, I ran sudo apt-get update then sudo apt-get upgrade. Then a reboot and it works!!!

    One other thing that I struggled with was not having a powered USB hub to begin with. First USB hub wouldn't recognize the 3 Unos.

    :tank:
     
  31. bscuderi

    Well-Known Member

    Posted Jun 28, 2016

    How did weaved work out for you?
     
  32. Elkaybay

    Active Member

    Posted Jun 29, 2016
    I just set Weaved up and it's great! Super easy to set-up and works flawlessly from my Android phone over 4G network as well as from a friend's house WIFI.

    Enter your login and password, and you're brought to the var/www/(html) folder of your Raspberry Pi.
     
  33. flanken

    Well-Known Member

    Posted Jun 30, 2016
    I feel like a total newb... I'm on step one, trying to hook my Arduino up to the relay module and failing with my wiring...

    I have 18 gauge stranded hookup wire, and can't seem to get it into the female slots on the Arduino. Should I be using a different gauge, or solid instead of stranded?

    I'm totally out of my league on this project, but feel like this is a good chance to learn something totally new... thanks for any help!
     
  34. day_trippr

    We live in interesting times...

    Posted Jun 30, 2016
    You're trying to stuff 18 ga stranded wire ends into the Uno header sockets?
    Even assuming that would work reliably (I doubt it) what were you going to do at the other ends - that have to slip over pins?

    If you order right now, you can get a better solution delivered by Friday...
    https://www.amazon.com/dp/B00UKQF8BU/?tag=skimlinks_replacement-20

    Cheers!
     
    Last edited by a moderator: Oct 24, 2018
    flanken likes this.
  35. GrogNerd

    mean old man

    Posted Jun 30, 2016
    definitely different gauge... those jumper wires are perfect

    the Arduino is low voltage DC and you're hooking it to the 5VDC side of the relay. the only thing the Arduino is doing here is supplying a HI or LO signal to that side to OPEN or CLOSE the circuit on the other side of the relay

    which is the AC side and requires the 18 gauge hookup to the power outlet. this is what turns on/off the heating/cooling elements
     
  36. flanken

    Well-Known Member

    Posted Jun 30, 2016
    Last edited by a moderator: Oct 24, 2018
  37. flanken

    Well-Known Member

    Posted Jun 30, 2016
    So I have the correct wire, just trying to use it in the wrong spot...? Jumpers for hooking up the Arduino to the relay and stranded 18 gauge for the power side?

    I told you I'm a newb at this... The closest thing I get to hooking up wires and electronics is plugging the 1/4" cable into my bass guitar and my amplifier... that I can do... this... this is something completely different...
     
  38. day_trippr

    We live in interesting times...

    Posted Jun 30, 2016
    Signal wires can be as fine as you want to go, only moderated by breakage potential.
    26 awg stranded is a good survivable size for signals.

    Power wiring through the relay is a different matter, and suitable wire gauge depends on load and length.
    You can use 18 awg stranded for short jumpers between the relay and a simplex or duplex outlet.
    But you don't want to buy an 18 gauge line cord to run your fridge/freezer/heater as it'd be undersized at any reasonable length...

    Cheers!
     
  39. flanken

    Well-Known Member

    Posted Jun 30, 2016

    Thanks @day_trippr ... Assuming this goes well my next goal will be to integrate the LCD screen using the instructions in the thread you started.

    I've never soldered before, should be interesting...
     
  40. MBasile

    Well-Known Member

    Posted Jun 30, 2016
    It's pretty cool being able to tell when the majority of the fermentation has finished!

    Screen Shot 2016-06-30 at 7.51.25 AM.jpg
     
Draft saved Draft deleted

Share This Page

Group Builder