The Forestry Forum is sponsored in part by:




TimberKing Sawmills




Toll Free 1-800-582-0470

LogRite Tools



Forest Products Industry Insurance


Norwood Industries Inc.


Sawmill & Woodlot Magazine



Your source for Portable Sawmills, Edgers, Resaws, Sharpeners, Setters, Bandsaw Blades and Sawmill Parts

EZ Boardwalk Sawmills. More Saw For Less Money!

STIHLDealers.com sponsored by Northeast STIHL


Woodland Sawmills

Peterson Swingmills

 KASCO SharpTech WoodMaxx Blades

Turbosawmill

Sawmill Exchange

BRUTE FORCE Authorized Dealer

Woodshax Outdoor Vending Solutions

FARMA


Council Tool

Baker Products

Forestry Forum Tool Box

Author Topic: Kiln temp and humidity logger using the Raspberry Pi platform  (Read 2012 times)

0 Members and 1 Guest are viewing this topic.

Offline btulloh

  • Senior Member
  • ****
  • Posts: 841
  • Age: 65
  • Location: Midlothian, VA
  • Gender: Male
  • I never met an air conditioner I didn't like
Re: Kiln temp and humidity logger using the Raspberry Pi platform
« Reply #20 on: January 03, 2018, 08:54:21 AM »
This RPi3 is indeed a little computer and quite a thing for it's price and size.  It starts up with a windows-like desktop and enough applications to do some real work.  It comes with a light version of Chrome and some MS Office style applications for docs and databases and what not.  Plus it has a lot of the development tools on the distro and is ready to rock right out of the little box.

I am also running an application call VNC Server on it that allows me to use a remote desktop on another PC to do the work remotely, or in my case from a more comfortable chair.  VNC works pretty well and is pretty fast so it feels like you're on the native machine.

It is kind of nice to do the development work right in the environment that's going to be used for the finished product.  Here's a screen shot of the RPi desktop with a browser, and IDE, a file manager, and a terminal window open:

 

 


If you know Linux it's a breeze.  If you don't know Linux, it's still a zephyr.  Linux is quite nice and I wish I had gotten familiar with it earlier.  All in all, the little 35$ Raspberry Pi is a nice little platform.  If you use the Pi 0, it's only ten bucks and has almost as much capability.
HM126

Offline Crusarius

  • Senior Member
  • ****
  • Posts: 983
  • Age: 40
  • Location: Canadice, New York
  • Gender: Male
  • Lost in....
    • RockModified.com
Re: Kiln temp and humidity logger using the Raspberry Pi platform
« Reply #21 on: January 03, 2018, 10:01:42 AM »
Friend of mine just said the 8622 I think the model was is only $2
I knew what I thought I meant.

Offline btulloh

  • Senior Member
  • ****
  • Posts: 841
  • Age: 65
  • Location: Midlothian, VA
  • Gender: Male
  • I never met an air conditioner I didn't like
Re: Kiln temp and humidity logger using the Raspberry Pi platform
« Reply #22 on: January 03, 2018, 10:42:38 AM »
That may be.  I'm not in a position to provide much help on that.  I probably have a total of about seventeen minutes studying Arduino capabilities, and not much more than that on the RPi.  You may end up with both.  The cost of that part of a setworks-type project will be trivial compared to sensors and actuators and switches and displays and stuff.

From what I've seen, the Arduino seems better suited to real-time, embedded systems type work.  Hopefully it has better ways to handle things like PWM and the PID libraries needed for controlling something like a sawmill head.

I think pineywoods has been there, done that.  He was replacing the replacing the brain I think,  with all the control and feedback in place already.  You'll be  starting from scratch, so it will be challenging.  It will be interesting to follow your progress and see how it all shakes out.  Hey - winter is a good time for this kind of thing.  You don't really need to have your mill finished to get started!!  Go for it!!!
HM126

Offline Crusarius

  • Senior Member
  • ****
  • Posts: 983
  • Age: 40
  • Location: Canadice, New York
  • Gender: Male
  • Lost in....
    • RockModified.com
Re: Kiln temp and humidity logger using the Raspberry Pi platform
« Reply #23 on: January 03, 2018, 10:51:30 AM »
I already have random stuff here at work to play with. I should start doing that.
I knew what I thought I meant.

Offline btulloh

  • Senior Member
  • ****
  • Posts: 841
  • Age: 65
  • Location: Midlothian, VA
  • Gender: Male
  • I never met an air conditioner I didn't like
Re: Kiln temp and humidity logger using the Raspberry Pi platform
« Reply #24 on: January 04, 2018, 11:46:20 AM »
Chipping away at it.  Got all three t/h sensors hooked up and reading.  Working on setting up SQL database and time management.  Then it's just a matter of uploading data on periodic basis to one of the free db servers.  I also want to be able to check current data with cell phone.  All of these things are pretty straightforward but take a little time to get done.

I also have to get some real sensors to use inside the kiln and work on the wet-bulb thing.

At some point I'll need to figure out enclosures and wiring plan.  Right now it's just a science project.

 

 
HM126

Offline btulloh

  • Senior Member
  • ****
  • Posts: 841
  • Age: 65
  • Location: Midlothian, VA
  • Gender: Male
  • I never met an air conditioner I didn't like
Re: Kiln temp and humidity logger using the Raspberry Pi platform
« Reply #25 on: January 04, 2018, 12:11:42 PM »
Readings

 

 
HM126

Offline btulloh

  • Senior Member
  • ****
  • Posts: 841
  • Age: 65
  • Location: Midlothian, VA
  • Gender: Male
  • I never met an air conditioner I didn't like
Re: Kiln temp and humidity logger using the Raspberry Pi platform
« Reply #26 on: January 04, 2018, 12:13:26 PM »
Hard to read.  Oh well.  Just a bunch of numbers and timestamps.  Trying to adhere to the FF "post more pictures" rule.
HM126

Offline Crusarius

  • Senior Member
  • ****
  • Posts: 983
  • Age: 40
  • Location: Canadice, New York
  • Gender: Male
  • Lost in....
    • RockModified.com
Re: Kiln temp and humidity logger using the Raspberry Pi platform
« Reply #27 on: January 04, 2018, 12:21:00 PM »
Does that export to excel or csv?
I knew what I thought I meant.

Offline btulloh

  • Senior Member
  • ****
  • Posts: 841
  • Age: 65
  • Location: Midlothian, VA
  • Gender: Male
  • I never met an air conditioner I didn't like
Re: Kiln temp and humidity logger using the Raspberry Pi platform
« Reply #28 on: January 04, 2018, 12:37:00 PM »
It can be put into a csv file instead of going to the screen.  Probably better to put in a database and let SQL handle the overhead. 

Basically the data can be anything you need it to be.
HM126

Offline Crusarius

  • Senior Member
  • ****
  • Posts: 983
  • Age: 40
  • Location: Canadice, New York
  • Gender: Male
  • Lost in....
    • RockModified.com
Re: Kiln temp and humidity logger using the Raspberry Pi platform
« Reply #29 on: January 04, 2018, 01:05:08 PM »
thats great if you know SQL. I dislike it and it hates me :)

However, I am a master with excel.
I knew what I thought I meant.

Offline ChugiakTinkerer

  • Senior Member
  • ****
  • Posts: 352
  • Age: 55
  • Location: Chugiak, Alaska
  • Gender: Male
  • I'm new!
Re: Kiln temp and humidity logger using the Raspberry Pi platform
« Reply #30 on: January 04, 2018, 01:11:08 PM »
 smiley_clapping

Looking good!

Meanwhile, back at the CT ranch, I'm still waiting for my goodies to ship.

For those reading unfamiliar with the CSV format, it's simply a text file with values separated by commas, hence the file extension abbreviation: Comma Separated Values.
Woodland Mills HM130

Offline btulloh

  • Senior Member
  • ****
  • Posts: 841
  • Age: 65
  • Location: Midlothian, VA
  • Gender: Male
  • I never met an air conditioner I didn't like
Re: Kiln temp and humidity logger using the Raspberry Pi platform
« Reply #31 on: January 04, 2018, 01:22:26 PM »
It can be done any way that suits you.  That's the good thing about doing this.  I'm not adept in SQL either but I can pick my way through a simple thing like this.  I think it's the easiest way (for me) to get data stored, then put up into the cloud, and then retrieve it.  Then I'll put it into Excel too to use it.  It's just personal preference.  I think it will be the easiest and quickest way for me to get to the ultimate goal.  I may also be wrong about that.  :D
HM126

Offline Crusarius

  • Senior Member
  • ****
  • Posts: 983
  • Age: 40
  • Location: Canadice, New York
  • Gender: Male
  • Lost in....
    • RockModified.com
Re: Kiln temp and humidity logger using the Raspberry Pi platform
« Reply #32 on: January 04, 2018, 01:44:43 PM »
google drive and google sheets may be something worth looking into for that? Or maybe java? I forgot you want to view it on a website.
I knew what I thought I meant.

Offline btulloh

  • Senior Member
  • ****
  • Posts: 841
  • Age: 65
  • Location: Midlothian, VA
  • Gender: Male
  • I never met an air conditioner I didn't like
Re: Kiln temp and humidity logger using the Raspberry Pi platform
« Reply #33 on: January 04, 2018, 01:52:49 PM »
Those too. 

These days there are many ways to skin this particular cat.  I guess that's the  good news.  At some point it comes down to grabbing a weapon and joining the battle.  But when it's time for the battle, you need have picked out your weapon.
HM126

Offline GeneWengert-WoodDoc

  • Senior Member x2
  • *****
  • Posts: 2113
  • Location: Bishop, GA
  • Gender: Male
  • Author of "Sawing Hardwood Lumber"
    • Book on Sawing hardwood Lumber
Re: Kiln temp and humidity logger using the Raspberry Pi platform
« Reply #34 on: January 04, 2018, 05:18:38 PM »
If you want a formula for calculation of RH from DB and WB, see
http://maxwellsci.com/print/rjaset/v6-2984-2987.pdf

If you want formula EMC values, see the Wood Handbook (2010 edition), equation 4.5.

For a complete table, see DRYING HARDWOOD LUMBER, about page 15.
Gene - Author of articles in Sawmill & Woodlot and books: Drying Hardwood Lumber; VA Tech Solar Kiln; Sawing Edging & Trimming Hardwood Lumber. And more

Offline btulloh

  • Senior Member
  • ****
  • Posts: 841
  • Age: 65
  • Location: Midlothian, VA
  • Gender: Male
  • I never met an air conditioner I didn't like
Re: Kiln temp and humidity logger using the Raspberry Pi platform
« Reply #35 on: January 04, 2018, 05:56:06 PM »
Thanks Doctor Gene, that's very helpful.  The document you reference is directly relevant to this task.  Now we have the info needed.  That makes this a productive day!!
HM126

Offline btulloh

  • Senior Member
  • ****
  • Posts: 841
  • Age: 65
  • Location: Midlothian, VA
  • Gender: Male
  • I never met an air conditioner I didn't like
Re: Kiln temp and humidity logger using the Raspberry Pi platform
« Reply #36 on: January 05, 2018, 08:01:05 AM »
Starting to work on the data file and cloud storage today.  The more I look at alternatives and work on the implementation I'm starting to think that a simple CSV format will be the better solution.  It will become more clear as the work progresses.

Interesting Arduino boards with built-in wifi:

https://smile.amazon.com/gp/product/B01IK9GEQG/ref=pe_2518910_267133250_em_1p_6_ti

https://smile.amazon.com/HiLetgo-Internet-Development-Wireless-Micropython/dp/B010O1G1ES/ref=pd_bxgy_328_2?_encoding=UTF8&pd_rd_i=B010O1G1ES&pd_rd_r=6A4555HBFEQNFHBFZAEK&pd_rd_w=ykKCK&pd_rd_wg=evdaz&psc=1&refRID=6A4555HBFEQNFHBFZAEK

HM126

Offline Crusarius

  • Senior Member
  • ****
  • Posts: 983
  • Age: 40
  • Location: Canadice, New York
  • Gender: Male
  • Lost in....
    • RockModified.com
Re: Kiln temp and humidity logger using the Raspberry Pi platform
« Reply #37 on: January 05, 2018, 08:11:16 AM »
I talked to an electronics guy here at work and he felt that for kiln monitoring the raspberri pi was the best option but for the simpleset I want to do definitely need to do arduino.
I knew what I thought I meant.

Offline btulloh

  • Senior Member
  • ****
  • Posts: 841
  • Age: 65
  • Location: Midlothian, VA
  • Gender: Male
  • I never met an air conditioner I didn't like
Re: Kiln temp and humidity logger using the Raspberry Pi platform
« Reply #38 on: January 05, 2018, 09:27:36 AM »
You're fortunate to have easy access to someone like that.  I don't think there is a wrong choice.  I wish I had time to get an Arduino and do it BOTH ways.  I've only got another week that I can focus on this before I have to move on to another commitment.  It's gonna take me that long long just to get these particular worms back in the can.  Maybe longer.  Yesterday I should have had 8 hours of undivided attention to this and it turned out to be about 30 minutes.  Today I'm hoping to put more time on it. We'll see.  I have it reading the sensors on a schedule now and I'm working on the data collection and cloud storage.
HM126

Offline Crusarius

  • Senior Member
  • ****
  • Posts: 983
  • Age: 40
  • Location: Canadice, New York
  • Gender: Male
  • Lost in....
    • RockModified.com
Re: Kiln temp and humidity logger using the Raspberry Pi platform
« Reply #39 on: January 05, 2018, 09:33:25 AM »
Sweet. at least you are making progress.
I knew what I thought I meant.

 


Powered by EzPortal