I have a REV A BrewPi shield system up and running which has performed really well and upgrading to the latest dynaconfig Build went like a breeze. After getting another fridge/freezer I took the plunge and ordered a REV C shield to upgrade the DIY /Dev system ( and at the same time saw a cheap Mega 2650 on ebay so I could still mess around with the planned I2C displays as the 2nd Leonardo would be permanently installed in the new REV C system)
 |
Nice Rev C Board |
Once built, I pressed the Rev C system known as GreenPi to Bastogne Beer conditioning tasks and Initially set it to Beer contant mode, Beer probe duly placed on the Corny Keg under a bit of foam and off it went, until on the 2nd of July I came home to find the display blank. After restarting I also put the second corny with the newly brewed out wheat beer in the fridge.
 |
|
 |
Wheat beer and Bastogne side by side |
It wasn’t until a few days or later that I twigged the fridge temperature was now higher than the beer temperature. after a quick twitter conversation with Elco I switched to fridge contant mode but things didn’t settle down and I again came home to the display acting strangely.
[videojs mp4=”http://purpleogre.com/wp-content/uploads/2013/07/IMG_4147.mov” width=”480″]
After more advice and suggestions from Elco, I stripped the the GreenPi system down checked connections and reflashed the Leonardo with a freshly downloaded precompiled Hex. This has Improved things but there are still oddities. Temperature probes disconnecting etc…. So after lots of probe swapping and resetting device slots, to try and keep things simple… The probes are still acting up ……
here’s a sample of the log…
Jul 08 2013 10:27:20 Arduino debug message: WARNING 2: Temperature sensor disconnected pin 22, address 28703057040000C2
Jul 08 2013 10:27:20 Arduino debug message: WARNING 2: Temperature sensor disconnected pin 22, address 28AF305704000022
Jul 08 2013 10:27:23 Arduino debug message: INFO MESSAGE 0: Temp sensor connected on pin 22, address 28703057040000C2
Jul 08 2013 10:27:25 Arduino debug message: INFO MESSAGE 0: Temp sensor connected on pin 22, address 28AF305704000022
Jul 08 2013 10:35:16 Arduino debug message: INFO MESSAGE 18: Negative peak detected: 11.6, estimated: 10.6. Previous cool estimator: 0.000, New cool estimator: 0.000.
Jul 08 2013 10:40:41 JSON decode error: Expecting object: line 1 column 102 (char 102)
Jul 08 2013 10:40:41 Line received was: T:{“BeerTemp”: 7.12,”BeerSet”:null,”BeerAnn”:null,”FridgeTemp”: 11.87,”FridgeSet”: 10.60,”FridgeAnn”:null
Jul 08 2013 10:40:42 Cannot process line from Arduino: ,”RoomTemp”: 26.81,”State”:5}
Jul 08 2013 10:44:44 JSON decode error: Expecting object: line 1 column 102 (char 102)
Jul 08 2013 10:44:44 Line received was: T:{“BeerTemp”: 7.15,”BeerSet”:null,”BeerAnn”:null,”FridgeTemp”: 12.02,”FridgeSet”: 10.60,”FridgeAnn”:null
Jul 08 2013 10:44:44 Cannot process line from Arduino: ,”RoomTemp”: 26.69,”State”:4}
Jul 08 2013 10:48:19 Arduino debug message: WARNING 2: Temperature sensor disconnected pin 22, address 28703057040000C2
Jul 08 2013 10:48:19 Arduino debug message: WARNING 2: Temperature sensor disconnected pin 22, address 28AF305704000022
Jul 08 2013 10:48:21 Arduino debug message: INFO MESSAGE 0: Temp sensor connected on pin 22, address 28703057040000C2
Jul 08 2013 10:48:23 Arduino debug message: INFO MESSAGE 0: Temp sensor connected on pin 22, address 28AF305704000022
The latest lead could be interference from the fridge switching on but after looking at the latest logs this doesn’t quite match up ! Although it could be from the fridge next to it, but the Rev A shield system controlling this does’t seem to be effected, I’m confused the Rev A system ( BlackPi) has less mains filtering on the mains input but is essentially the same build …
 |
Fridges next to each other |
 |
The BrewPi systems |
It will get sorted thats for sure, but it’s put my small attempts at getting my I2C displays going on the Mega2560 on the back burner, so far I’ve re hacked the hacked DIY shield, took a slight detour into testing a DHT22 humidity sensor against the DS18B20 and started to change some of the latest Stable code in line with MDMA’s post on his findings but I’m keeping it local as I’m not sure I have the coding skills to fork a branch of the code for the Mega2560 version..
 |
Rough pin definitions |
 |
Testing the Probes against each other |
PS ..It’s been a warm day in the shed today just look at the temp chart !
it’s also just occurred to me that with both cornies in there in effect blocking and absorbing the cold it’ll probably need a fan to move the air past the refrigeration panel .
 |
ouch it’s a scorcher even with roof insulation |
Hey! Nice job!
I just started some work on a new class for I2C displays for BrewPi and I found your page. Did you already do it? I saw you mentioned that you were playing with some I2C LCDs.
Thanks!
I originally asked mdma for a bit help, and he said he’d have a look but said space was tight and suggested the mega so
I started to work on them and at the same time trying to mod the whole code for use on the mega which has more available mem but realised my c++ skills were not upto scratch. and so I’ve started to work my way through Alex Allain’s Jumping into C++ book…
I’ve put where I got to in http://purpleogre.com/BrewPi/i2c_code%20_latest/
Any update on humidity control on the brewpi?
Hello I also have an Arduino Mega 2560 and an I2C LCD 2004
Humidity and temperature sensors as in your photo.
I have files for graphic 1:1 stamanre laro copper shield that uses pictures in firmware and Arduino 2560 so I can also try your solution?
Hello I have at home Arduino Mega 2560 and many components to do the tests.
Can I have the copper side of the PCB design that I see in quesata photo
http://purpleogre.com/wp-content/uploads/2013/07/IMG_4144.jpg
So I also try to build me a shield and try BrewPi with the mega
thanks
Hello I write from Italy use google translator sorry if it’s misspelled
Yesterday I got the raspberry and as you can see from photos I have everything ready
Raspberry Arduino Mega 2560 three probes have also DHT22 2004 LCD module I2C
https://lh3.googleusercontent.com/-OSntHkbL8do/U6FT1sN5PjI/AAAAAAAAbHI/DtYio_zlAc4/w742-h747-no/IMG_20140617_193716.jpg
I do not know how to use Eagle I see you’ve put the files to build the shield
http://purpleogre.com/BrewPi/arduino/
Can I have the graphic files clean only the copper side. Bmp 300 dipi
the copper side so you can indicere I also shield
and try
thanks
In Italiano
Ciao scrivo da Italia uso google traduttore scusa se è scritto male
Ieri mi è arrivato il lampone e come vedi da foto ho tutto pronto
Lampone Arduino Mega 2560 tre sonde ho anche DHT22 LCD 2004 e modulo I2C
https://lh3.googleusercontent.com/-OSntHkbL8do/U6FT1sN5PjI/AAAAAAAAbHI/DtYio_zlAc4/w742-h747-no/IMG_20140617_193716.jpg
Io non so usare Eagle vedo che hai messo i files per costruire lo scudo
http://purpleogre.com/BrewPi/arduino/
Posso avere il files grafico pulito solo lato rame .bmp 300 dipi
del lato rame cosi da poter indicere anche io lo scudo
e provare
Grazie
Hi Grazie
The image is of a DIY shield that I hacked around to play with the i2c display and look at the humidity sensor , I haven’t integrated it into the brewpi ! I’m still learning c++ very slowly, MDMA and Elco are much better at it and by the time I’d modified my AVR code they were 3 steps ahead and had modified json strings and www code etc.. , programming doesn’t come naturally to me, I can seem to read C++, but writing it and fitting programming into my day after 2 hours of commuting , I prefer to brew !
I am trying to get a mega 2560 working with BrewPi. I am having considerable difficulty with this process. I was forwarded over here with the thought that you could help me and my situation. I hate to make the request of your time but do appreciate any time you can spare to help me and my current situation.
Hi Adam
I abandoned my work on trying to get the mega going as i didn’t have enough experience in programming c++ i now leave that to others and concentrate on brewing the Beer 🙂