@BrewPi rev c build oddities

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)

IMG_4125
 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.

Brewpi Logs
IMG_4149
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 …
IMG_4129
Fridges next to each other
IMG_4130
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..

IMG_4138
Rough pin definitions
IMG_4144
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 .

Screen Shot 2013-07-09 at 17.34.11
 ouch it’s a scorcher even with roof insulation