• Please visit and share your knowledge at our sister communities:
  • If you have not, please join our official Homebrewing Facebook Group!

    Homebrewing Facebook Group

CraftBeerPi - Raspberry Pi Software

Homebrew Talk

Help Support Homebrew Talk:

This site may earn a commission from merchant affiliate links, including eBay, Amazon, and others.
There was a recent post on the CBP Facebook page about support for wifi controlled sockets. Has anyone set one up?

I am interested in setting up wireless sockets for fermentation temp control using the fermentation dashboard of v2.2.

Will I need to dive into the python to get one configured? I don't recall seeing references to wifi connectors in the setup.

Thanks
 
I just loaded this up on pi yesterday and have it running. Considering I'm an absolute neophyte with this pi/programming stuff, I'm happy with my progress so far....

A few questions though since the documentation isn't completed yet.

  1. What does the car icon mean/do under each vessel?
  2. Is this strictly linear? In other words, can I be concurrently warming up my HLT from strike to mash out temperature while also going through mashing steps by turning on the HERMS pump as needed to raise the temps? (each function uses a different thermometer).
  3. How does one wire up 3 thermometers, one for each tank, if there is only one input GPIO for such? Are these the same kind of one-wire thermometers that I'm currently using for the Auberin PID controller?
  4. For testing purposes, I have it configured for dummy thermometers but they don't do anything. They are not selectable in the hardware drop downs per vessel. Should they be?
  5. What is the purpose of a target temperature per vessel? How is this different than the step by step target temperature?
I really like what I see so far and hope that it is simply my ignorance to the above that is stopping me from jumping in with two feet! Can someone help me? Thanks
 
OK, more playing...
  • The car icon is to turn on a particular vessel.
  • The dummy thermometers must be chosen at setup, not afterwards.

I am now working on the programmable step functions to answer my other questions (now that I have dummy thermometers working). I still would like answers on the real thermometer hardware however....thanks!


UPDATE.... more playing. The only apparent way to have concurrent events is by using the target temp per vessel along with the step by step process flow. So, this means (I think) setting the HLT to say 160*F to start by setting it as its target temperature and then using the step by step to turn the HERMS pump on/off to get the mash tun to the desired temperature at each mashing step. Then, sometime during the final step, manually increase the HLT temp target to mashout temps. I wouldn't want the HLT ALWAYS at mashout temps since any wort circulating through it would be heated too high and denatured. I suppose one could insert the HLT temp ramp up as the second to last step, but not knowing how long it would take makes the timeline for the alpha rest hard to calculate....... This thing would be AWESOME if it could have branched or parallel step logic flows. I think it would also be good to have the ability to have the final step be to turn off a kettle so as to potentially avoid a dry fire of an element.

All in all a good little piece of work. Thanks.
 
@spittybug you need ds18b20 probes which are not at all like your "auberins" probes. Yes they are one wire so you basically wire all the data leads to gpio4, your vcc to 5vdc and ground to.. ground. Don't forget to put a 4.7k resistor between data and vcc, google has plenty of images to show you how to properly wire these probes.
 
@spittybug you need ds18b20 probes which are not at all like your "auberins" probes. Yes they are one wire so you basically wire all the data leads to gpio4, your vcc to 5vdc and ground to.. ground. Don't forget to put a 4.7k resistor between data and vcc, google has plenty of images to show you how to properly wire these probes.

Thanks for that. I can't get my head around just how RPi knows which temp probe is which when they are all connected to the same input however....
 
Ah, there are some smarts within the probes to identify them uniquely to the controller..... I get it.
That's a lot of hardware you have hooked up there! I'm looking at building myself a mash rake (high torque, low RPM motor) to mount on top of my tun. That, combined with my HERMS coil and recirculating pump should make mashing much more fun. I probably should work on a MLT stirrer too..... too many projects! At least it looks like automating them all is pretty straightforward now. Thanks.
 
Boards have arrived and they look beautiful, just waiting on components now.

boards.jpg
 
If there is still an interest in boards after SHvanBommel and toadyus sell out I can do a run of the terragady 4.2 boards pictured above.


 
I will be sending some PM's and then will probably do one more run of my boards and will hit up the people who are left. Cheers!
 
Am I missing something or is it a no brainer for one of the choices to be % duty cycle instead of setting a target temp?
 
Hey guys, I have a couple more questions!
I just finished wiring my setup for single vessle eBiaB with 1 pump. I'm not getting voltage through my SSR to the kettle. I'm getting it through the contactor (I'm reading 120 on one of the prongs of the receptacle, but nothing from the prong from the SSR).
As I'm using a PiFace 2, I wanted to make sure my setup in CBP and/or my wiring is correct. I wired Outputs (orange terminals) 5V to the + side of the SSR and "0" to the - side of the SSR. When running initial setup in CBP I chose PiFace interface, then added a heater to with option of "PiFace 0".

2nd question: https://www.homebrewtalk.com/showpost.php?p=7775006&postcount=399 I followed Alt's wiring suggestion to wiring my pump receptacle to the relays on the PiFace, but I'm also getting no voltage to those. When I try to create a pump under hardware the drop down selector only has PiFace 0-7, so does that mean I won't be able to use the relay and will need another SSR to control the pump?

PiFaceDigital2.jpg
 
So decided to swap my Strangebrew box over to CraftBeerPi, i like it so far. Any advice on PID calibration, or what type of Heater setup i should use i saw you support quite a few types.

They are 20G BK and HLT HERMS setup, although i usually only do 5-10 gallon batches.

Do the automated steps not work right now? I set one up using my BK, set to 150 for 1 minute. Hit start and my BK turns green in the UI but it never actually turns on.

It would be nice if it was easier switch hysteresis settings without having to modify my kettle settings.

I mean its fairly common i believe to set your BK to 100% Duty cycle until boil, then you lower it to say 75% duty cycle on a 3-4 second period.
 
Hey guys, I have a couple more questions!
I just finished wiring my setup for single vessle eBiaB with 1 pump. I'm not getting voltage through my SSR to the kettle. I'm getting it through the contactor (I'm reading 120 on one of the prongs of the receptacle, but nothing from the prong from the SSR).
As I'm using a PiFace 2, I wanted to make sure my setup in CBP and/or my wiring is correct. I wired Outputs (orange terminals) 5V to the + side of the SSR and "0" to the - side of the SSR. When running initial setup in CBP I chose PiFace interface, then added a heater to with option of "PiFace 0".

Im not familiar with PiFace, but it looks like there are LED's for each of the outputs? If you show your heater in the UI and click it, does the LED turn on? Does your SSR have a LED on it(mine do)?
 
I just updated to CBP 2.2 and I remember seeing that somewhere, but I was honestly hoping that there was something wrong on my end that I could fix real quick and than on the programming end that I know nothing about!
 
Doing another run of my boards, 24v/12v in. 8 outputs, buzzer, header for unused gpio. Smaller, sexier, mobetta. 35.00 built and tested, 20.00 kit only, 6 board only. Boards are 2.2 compatible.
 
I should mention that this new list does not supersede the old list. There are still people out there waiting on a board that are pretty far up the line.
 
Hello all,

Been following this closely. Currently in the process of putting together all the pieces to build my controller.

I will be using Terragady's 4.2 board for controlling everything. My question is with this board, what is the best method for turning the pumps off and on. The heaters use an SSR but that seems overkill for a pump.

That is the last piece of the puzzle for me.

Thanks in advanced.

Bill
 
You'll have to use an SSR or breakout pins from the gpio to control a relay board such as the sainsmart 2 relay board. Fwiw, my next board has the breakout for such an instance for driving a 4 channel relay board (2 pumps, mash motor, spare or whatever your configuration)
 
Thanks SHvanBommel kind of figured just wanted to ensure. I am very interested in your next board with the breakouts.

Thanks again.
 
I'm planning to use these UL listed relays inside my controller box for switching the line power to my pumps.

http://www.newark.com/webapp/wcs/stores/servlet/ProductDisplay?catalogId=15003&langId=-1&urlRequestType=Base&partNumber=92F3729&storeId=10194#productGroups

I bought the 12v panel mount version for use with SHvB's board; however, you could use the 5v through-pin version if you build your own main or breakout board. Just be aware that the 5v coil draws ~200mA and its minimum operating voltage is 3.75v, so you can't drive it directly from GPIO pins.
 
I finally did my first run on my CPB rig last night. I hit one little snag that i don't know a way around. I am using 220V 5500W heaters (like this: http://www.ebrewsupply.com/304-stainless-steel-element-4500w-ulwd-ripple/) to heat the water for the HERMS system and for directly heating the wort for the boil.

The problem is that since the relays for the heaters can only be fully on or fully off, I seem to have the choice between a really hard boil or no boil at all (element on of off). I got the boil temp tuned in so that the element was staying on without boiling over, but I was getting a really hard boil and boiling off a lot more liquid than I wanted.

How is anyone else handling this? My co-brewer and I were thinking we would need come kind of rheostat so that we could turn down the heating element so it was not on full power. But, we weren't having much luck finding one that we were sure would be suitable for this application.

Any advice would be greatly appreciated. Thanks!

Edit: after some more research, it looks like I should use a PWM rather than a rheostat. Does anyone have any suggestions? Is anyone else doing this?

Edit 2: This is the hightest rated one I can find. It has the voltage rating and a more than high enough amp rating, but not the wattage rating: http://www.dhgate.com/product/3800w...ZPTMxMtW0JBG9TeR3n3WXBdJF1NGgQD8CrBoCMOPw_wcB
 
Last edited:
Yeah, pwm/duty cycle is one of the items on the list. You basically have to play with it for now or if you wanted to go analog you could look into an ssvr which works essentially as you describe your need
 
I finally did my first run on my CPB rig last night. I hit one little snag that i don't know a way around. I am using 220V 1500W heaters (like this: https://www.brewhardware.com/product_p/elementkit_tcrip_weld.htm) to heat the water for the HERMS system and for directly heating the wort for the boil.

The problem is that since the relays for the heaters can only be fully on or fully off, I seem to have the choice between a really hard boil or no boil at all (element on of off). I got the boil temp tuned in so that the element was staying on without boiling over, but I was getting a really hard boil and boiling off a lot more liquid than I wanted.

How is anyone else handling this? My co-brewer and I were thinking we would need come kind of rheostat so that we could turn down the heating element so it was not on full power. But, we weren't having much luck finding one that we were sure would be suitable for this application.

Any advice would be greatly appreciated. Thanks!

You don't need a rheostat. The technique most commonly used is PWM (pulse-width modulation). It involves turning the element on and off in varying proportions, usually with a period of a few seconds. So, a 10% power requirement might translate to 5 seconds on and 45 seconds off every 50 seconds. 50% power might be 25 seconds on and 25 seconds off every 50 seconds (or 10 seconds on, 10 seconds off every 20 seconds), and 80% might be 40 seconds on and 10 seconds off every 50 seconds (or 8 seconds on and 2 seconds off every 10 seconds). Clearly 0% is totally off, and 100% is totally on for any given time period.

As you can see, the percentage of power transferred to the heater is the proportion of on time to off time. The software will calculate this and turn the heater off and on accordingly.

Usually an SSR is needed for PWM, because if you use a relay it would click on and off a lot, for very short times, and would wear out quickly.
 
Right but there is no pwm built into cbpi yet. As a behavior for output to a heater I mean.
 
Right but there is no pwm built into cbpi yet. As a behavior for output to a heater I mean.

Ah, yes. I was trying to explain what PWM is, and why a rheostat is not necessary, and why an SSR is.

I think BrewPi Spark does PWM for heater loads.
 
I found this post where the guy is using an SCR. Would this be an option?

[ame]https://www.youtube.com/watch?v=A-jDnFt402A[/ame]

One like this maybe?

http://www.ebay.com/itm/110v-220V-1...6c359&pid=100338&rk=11&rkt=30&sd=251251998263

I'm having a tough time finding a PWM that is rated for 5500W, 220V, and 25A.

Or maybe this for an SSVR:

http://www.auberins.com/index.php?main_page=product_info&cPath=53&products_id=353

My plan (a bit convoluted though it is) is to put this in line behind my SSR that runs my boil heater. That way I can still do on/off with the software, but have a way to turn the element down once I reach boil to achieve a softer boil.
 
I was planning on using this as sous vide controller. But from the last few posts it appears that you can't maintain a constant mash temp?
 
It is, but I think the more exposure it gets the higher it will climb on the priority list. I know Manuel is super busy but I wouldn't be surprised if it made an appearence. Fwiw on my system I use an auber dspr1. *not* the ezboil
 

Latest posts

Back
Top