Happy HolidaySs Giveaway - Winners Re-Re-Re-Drawn - 24 hours to Claim!

Get your HBT Growlers, Shirts and Membership before the Rush!


Home Brew Forums > Home Brewing Beer > DIY Projects > Fermenters > TeensyPi Networked Temperature Controller
Reply
 
LinkBack Thread Tools
Old 03-08-2013, 03:38 PM   #211
fc36
Feedback Score: 0 reviews
Recipes 
 
Join Date: May 2010
Location: Chicago, Illinois
Posts: 344
Liked 20 Times on 15 Posts
Likes Given: 27

Default

Just got my RasPi in the mail from Allied Electronics. Can't wait to set this bad boy up.

__________________
fc36 is offline
 
Reply With Quote Quick reply to this message
Old 03-08-2013, 09:25 PM   #212
jimmayhugh
Turgid Member
HBT_LIFETIMESUPPORTER.png
Feedback Score: 0 reviews
 
jimmayhugh's Avatar
Recipes 
 
Join Date: Feb 2011
Location: Las Vegas, NV
Posts: 606
Liked 49 Times on 43 Posts
Likes Given: 2

Default Subtle bug in PID code

I've been investigating the reported problems in the new PID-based .ino file, and I think I've got it narrowed down.

It looks like a combination of EEPROM miscalculation and PID value recovery during power-up.

The way things look right now, I'm going to have to reduce the number of PID controls from 12 to around 8, and modify the PID setup on the Teensy 3.0.

I'll post a new .ino file for the Arduino IDE, hopefully in time for weekend testing.

UPDATE: Posted a new PidStatus.php and TeensyPiPidDebug.ino at my github account.

__________________
TeensyNet Networked Controller
ButtCrack Brewery
And This Is Why We Drink...
Cogito, ergo bibere cervisia sum

Reason: Posted new code
jimmayhugh is offline
 
Reply With Quote Quick reply to this message
Old 03-08-2013, 10:33 PM   #213
helibrewer
HBT_SUPPORTER.png
Feedback Score: 1 reviews
 
helibrewer's Avatar
Recipes 
 
Join Date: Nov 2011
Location: Santa Rosa, CA
Posts: 3,561
Liked 259 Times on 225 Posts
Likes Given: 70

Default

Quote:
Originally Posted by jimmayhugh
I've been investigating the reported problems in the new PID-based .ino file, and I think I've got it narrowed down.

It looks like a combination of EEPROM miscalculation and PID value recovery during power-up.

The way things look right now, I'm going to have to reduce the number of PID controls from 12 to around 8, and modify the PID setup on the Teensy 3.0.

I'll post a new .ino file for the Arduino IDE, hopefully in time for weekend testing.

UPDATE: Posted a new PidStatus.php and TeensyPiPidDebug.ino at my github account.
Thanks Jim, awesome.
__________________
Something is always fermenting....
"It's Bahl Hornin'"

Primary:
Brite Tank/Lagering:
Kegged: Sour Saison, Pale Ale, Aggie Ale
Bottled: Belgian Quad (Grand Reserve), Derangement (Belgian Dark Strong)
On Deck: Firestone DBA, De Koninck Blonde
My Site: www.restlesscellars.com
helibrewer is offline
 
Reply With Quote Quick reply to this message
Old 03-09-2013, 04:25 PM   #214
jimmayhugh
Turgid Member
HBT_LIFETIMESUPPORTER.png
Feedback Score: 0 reviews
 
jimmayhugh's Avatar
Recipes 
 
Join Date: Feb 2011
Location: Las Vegas, NV
Posts: 606
Liked 49 Times on 43 Posts
Likes Given: 2

Default New TeensyPi RPi Image

I've uploaded a new TeensyPi RPi image at my website. this should have all of the latest files and updates for the PID software.

It's a fairly large (1.3GB) file, and I host my own site, so it may take a while to download.

__________________
TeensyNet Networked Controller
ButtCrack Brewery
And This Is Why We Drink...
Cogito, ergo bibere cervisia sum
jimmayhugh is offline
 
Reply With Quote Quick reply to this message
Old 03-10-2013, 08:38 PM   #215
doughaas
HBT_LIFETIMESUPPORTER.png
Feedback Score: 0 reviews
Recipes 
 
Join Date: Mar 2009
Location: , Ohio
Posts: 40
Liked 1 Times on 1 Posts

Default

Quote:
Originally Posted by doughaas

I checked all my solder points and checked voltages across the buses with my multimeter.

3v3 to ground is 3.3v
5v to ground is 5v
Data to ground is around 1.1v
3v3 to data is 2.2v

My buses are consistent.

When I scan for new devices with a sensor connected the teensy led stops blinking, becomes solid and 3v3 to data voltage becomes 3.3v.

It stays 3.3v as long as the teensy led is solid even once I disconnect the sensor.

Is this a problem with my pull up resistor?
I checked all my solder points and cleaned up a few but it didn't fix the problem.

What did fix the problem was switching to the pid ino.
__________________
doughaas is offline
 
Reply With Quote Quick reply to this message
Old 03-10-2013, 09:01 PM   #216
jimmayhugh
Turgid Member
HBT_LIFETIMESUPPORTER.png
Feedback Score: 0 reviews
 
jimmayhugh's Avatar
Recipes 
 
Join Date: Feb 2011
Location: Las Vegas, NV
Posts: 606
Liked 49 Times on 43 Posts
Likes Given: 2

Default TeensyPi PC Board

I finally got my TeensyPi PC boards back from the fab shop, loaded one up and tried it.

IT WORKS



This replaces the Adafruit Prototyping Pi Plate.

I've uploaded the Eagle Light and Gerber files to my https://github.com/jimmayhugh/TeensyPi for anyone that would like to make their own.

I used Seeed Studio's Fusion PCB Service, got 10 bare boards for about $35, including shipping.

This is also posted at my web site.

__________________
TeensyNet Networked Controller
ButtCrack Brewery
And This Is Why We Drink...
Cogito, ergo bibere cervisia sum
jimmayhugh is offline
 
Reply With Quote Quick reply to this message
Old 03-12-2013, 01:17 AM   #217
helibrewer
HBT_SUPPORTER.png
Feedback Score: 1 reviews
 
helibrewer's Avatar
Recipes 
 
Join Date: Nov 2011
Location: Santa Rosa, CA
Posts: 3,561
Liked 259 Times on 225 Posts
Likes Given: 70

Default

Excellent!!

A couple issues with the new build:

After clicking PID Status, the PidStatus.php page loads and displays 4 lines of "Address Query Failed".

If I click the "modify" button I get a hex number populated in the Set Point text box. If I change it to an integer and attempt to SAVE, The page fails to update and I can no longer access the web server. Even after restarting apache and mysql I still need to reboot to access the web server again. The PID status fails.

__________________
Something is always fermenting....
"It's Bahl Hornin'"

Primary:
Brite Tank/Lagering:
Kegged: Sour Saison, Pale Ale, Aggie Ale
Bottled: Belgian Quad (Grand Reserve), Derangement (Belgian Dark Strong)
On Deck: Firestone DBA, De Koninck Blonde
My Site: www.restlesscellars.com
helibrewer is offline
 
Reply With Quote Quick reply to this message
Old 03-12-2013, 02:53 AM   #218
jimmayhugh
Turgid Member
HBT_LIFETIMESUPPORTER.png
Feedback Score: 0 reviews
 
jimmayhugh's Avatar
Recipes 
 
Join Date: Feb 2011
Location: Las Vegas, NV
Posts: 606
Liked 49 Times on 43 Posts
Likes Given: 2

Default

Quote:
Originally Posted by helibrewer View Post
Excellent!!

A couple issues with the new build:

After clicking PID Status, the PidStatus.php page loads and displays 4 lines of "Address Query Failed".

If I click the "modify" button I get a hex number populated in the Set Point text box. If I change it to an integer and attempt to SAVE, The page fails to update and I can no longer access the web server. Even after restarting apache and mysql I still need to reboot to access the web server again. The PID status fails.
Make sure that there are two new tables in MySQL, pid and pidGraph. If not, get the pid.sql and pidGraph.sql files from my github site and imports them using phpmyadmin.

I built a new TeensyPi over the weekend with the new files and everything was copacetic.
__________________
TeensyNet Networked Controller
ButtCrack Brewery
And This Is Why We Drink...
Cogito, ergo bibere cervisia sum
jimmayhugh is offline
 
Reply With Quote Quick reply to this message
Old 03-12-2013, 03:03 AM   #219
helibrewer
HBT_SUPPORTER.png
Feedback Score: 1 reviews
 
helibrewer's Avatar
Recipes 
 
Join Date: Nov 2011
Location: Santa Rosa, CA
Posts: 3,561
Liked 259 Times on 225 Posts
Likes Given: 70

Default

Quote:
Originally Posted by jimmayhugh View Post
Make sure that there are two new tables in MySQL, pid and pidGraph. If not, get the pid.sql and pidGraph.sql files from my github site and imports them using phpmyadmin.

I built a new TeensyPi over the weekend with the new files and everything was copacetic.
Thanks, yes I downloaded everything today and did the sql import using both files. I'll keep looking around.
__________________
Something is always fermenting....
"It's Bahl Hornin'"

Primary:
Brite Tank/Lagering:
Kegged: Sour Saison, Pale Ale, Aggie Ale
Bottled: Belgian Quad (Grand Reserve), Derangement (Belgian Dark Strong)
On Deck: Firestone DBA, De Koninck Blonde
My Site: www.restlesscellars.com
helibrewer is offline
 
Reply With Quote Quick reply to this message
Old 03-12-2013, 06:08 AM   #220
jsbird
HBT_SUPPORTER.png
Feedback Score: 0 reviews
Recipes 
 
Join Date: Oct 2012
Posts: 40
Likes Given: 2

Default

I'm also having trouble with the new PID build. I've downloaded and loaded it twice, including the RPI image and have the same issue. After loading the teensy I can update the chip names, read the temp sensors and manually turn the switches on/off. I can set an action and it seems to work fine. When I try to setup the PID, it will allow me to enter the variables but when I hit try to enable the LED on the Teensy goes from steady to off and my web interface freezes (tries to refresh but never gets a response). Rebooting the Teensypi doesn't unfreeze the interface. If I reload the Teensy with the PID Debug .ino, the LED immediately goes back on steady and remains on until I try to enable the PID.

Since updating the Teensy with the PIDdebug.ino, the LED no longer flashes rapidly/dims. It is either on steady and bright (even if the temps are updating just fine in the web interface) or it's fully off which coincides with the web interface hanging. I can still SSH/login to the TeensyPi so the RPi still seems to be operating at that point, wlan1 is operating, etc.

I again reloaded the MySQL files as suggested above but no change.

Any suggestions?

__________________
jsbird is offline
 
Reply With Quote Quick reply to this message
Reply



Quick Reply
Message:
Options
Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Arduino - Networked Temperature Monitor jimmayhugh Kegerators and Keezers 81 01-27-2013 01:22 AM
Temperature Controller sy2088 Equipment/Sanitation 3 10-25-2012 07:28 PM
Lux Temperature Controller scoots Fermenters 9 07-06-2012 02:38 PM
temperature controller from deas fridge - use as external controller on live fridge? BrewingChemist Fermenters 1 05-22-2012 11:21 PM
Johnson Analog Temperature Controller Temperature Profile Coastarine Equipment/Sanitation 4 10-11-2010 04:58 PM



Newest Threads

LATEST SPONSOR DEALS