Go to Post "No wheels, no problem, we can fix it in programming." - clean399 [more]
Home
Go Back   Chief Delphi > Technical > Electrical
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rating: Thread Rating: 2 votes, 2.50 average. Display Modes
  #1   Spotlight this post!  
Unread 18-09-2012, 16:57
Mike AA's Avatar
Mike AA Mike AA is offline
Programmer and Mentor
AKA: Mike Aalderink
FRC #3458 (Code Blue)
Team Role: Programmer
 
Join Date: Jan 2003
Rookie Year: 1999
Location: Holland, Mi
Posts: 698
Mike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to behold
Send a message via MSN to Mike AA
Temperature data logging

We have recently been asked to make a device to read temperatures of soil at increments of 1ft for 20ft logged hourly in a remote location over the course of the up coming winter months in sw Michigan. We will be using temperature probes with 2 conductor wiring for the temperature readouts, thats 21 probes we will be connecting, thats the easy part. The difficulty we have is what device (c-rio is a bit expensive to leave in the elements unmonitored) could we use with this many inputs. The data would have to be stored for upwards of 30 days at a time and the device relatively low power draw, solar panels will provide power for charging batteries and powering the device. Would something like an Aruindo work for this application with a breakout board? Could it save the data to a text file for later reading and not erase with a power loss?

Thanks for any help and suggestions!
Team 3458 Code Blue
  #2   Spotlight this post!  
Unread 18-09-2012, 17:28
Jim Wilks Jim Wilks is offline
Electrical Engineer
AKA: Jim Wilks
FRC #1360 (Orbit Robotics)
Team Role: Mentor
 
Join Date: Feb 2008
Rookie Year: 2008
Location: Oakville, ON
Posts: 1,186
Jim Wilks has a reputation beyond reputeJim Wilks has a reputation beyond reputeJim Wilks has a reputation beyond reputeJim Wilks has a reputation beyond reputeJim Wilks has a reputation beyond reputeJim Wilks has a reputation beyond reputeJim Wilks has a reputation beyond reputeJim Wilks has a reputation beyond reputeJim Wilks has a reputation beyond reputeJim Wilks has a reputation beyond reputeJim Wilks has a reputation beyond repute
Re: Temperature data logging

What are you using for temperature probes?
__________________
Jim

  #3   Spotlight this post!  
Unread 18-09-2012, 18:36
billbo911's Avatar
billbo911 billbo911 is offline
I prefer you give a perfect effort.
AKA: That's "Mr. Bill"
FRC #2073 (EagleForce)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Elk Grove, Ca.
Posts: 2,384
billbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond repute
Re: Temperature data logging

If you can use a sensor like this one, an Arduino should work great.
Using the I2C libraries, you should be able to access all 21 sensors quite easily.
__________________
CalGames 2009 Autonomous Champion Award winner
Sacramento 2010 Creativity in Design winner, Sacramento 2010 Quarter finalist
2011 Sacramento Finalist, 2011 Madtown Engineering Inspiration Award.
2012 Sacramento Semi-Finals, 2012 Sacramento Innovation in Control Award, 2012 SVR Judges Award.
2012 CalGames Autonomous Challenge Award winner ($$$).
2014 2X Rockwell Automation: Innovation in Control Award (CVR and SAC). Curie Division Gracious Professionalism Award.
2014 Capital City Classic Winner AND Runner Up. Madtown Throwdown: Runner up.
2015 Innovation in Control Award, Sacramento.
2016 Chezy Champs Finalist, 2016 MTTD Finalist
  #4   Spotlight this post!  
Unread 18-09-2012, 20:01
sanddrag sanddrag is offline
On to my 16th year in FRC
FRC #0696 (Circuit Breakers)
Team Role: Teacher
 
Join Date: Jul 2002
Rookie Year: 2002
Location: Glendale, CA
Posts: 8,519
sanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond repute
Re: Temperature data logging

Have you considered transmitting over APRS? This would let you see the data in real time, and log it remotely. You'd need an amateur radio license though (which is not hard to get).
__________________
Teacher/Engineer/Machinist - Team 696 Circuit Breakers, 2011 - Present
Mentor/Engineer/Machinist, Team 968 RAWC, 2007-2010
Technical Mentor, Team 696 Circuit Breakers, 2005-2007
Student Mechanical Leader and Driver, Team 696 Circuit Breakers, 2002-2004
  #5   Spotlight this post!  
Unread 18-09-2012, 20:19
EricVanWyk EricVanWyk is offline
Registered User
no team
 
Join Date: Jan 2007
Rookie Year: 2000
Location: Boston
Posts: 1,597
EricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond repute
Send a message via AIM to EricVanWyk
Re: Temperature data logging

Quote:
Originally Posted by billbo911 View Post
If you can use a sensor like this one, an Arduino should work great.
Using the I2C libraries, you should be able to access all 21 sensors quite easily.
20 feet is pretty long for I2C. If you use this part, be careful with your cabling. If it doesn't work, slow down your data rate, fiddle with the pull up resistors, and possibly use a repeater.
  #6   Spotlight this post!  
Unread 18-09-2012, 20:26
Mike AA's Avatar
Mike AA Mike AA is offline
Programmer and Mentor
AKA: Mike Aalderink
FRC #3458 (Code Blue)
Team Role: Programmer
 
Join Date: Jan 2003
Rookie Year: 1999
Location: Holland, Mi
Posts: 698
Mike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to behold
Send a message via MSN to Mike AA
Re: Temperature data logging

The probes we are using will likely be the style used in outdoor remote thermometers which have long leads to tie into.

Billbo, that would work in air just fine but we will be forcing these sensors into a silt soil. The plan was to attach them to the side of a pipe/tube that we could press into the ground the conductors would run within the pipe but the sensors would be on stand-offs on the side of the pipe. The sensors need to be in direct contact with the soil, or as best as we can get.

The purpose of the logging is that we dont have to monitor 24/7 and the guy who is doing the monitoring doesnt have the time (or patience unfortunately) to frequently check the equipment. We are measuring 21 sensors 24hrs a day and approximately 150days.
  #7   Spotlight this post!  
Unread 18-09-2012, 20:45
Lisa Perez's Avatar
Lisa Perez Lisa Perez is offline
Registered User
FRC #0573 (Mech Warriors)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2003
Location: Bloomfield Hills, MI
Posts: 1,291
Lisa Perez has a reputation beyond reputeLisa Perez has a reputation beyond reputeLisa Perez has a reputation beyond reputeLisa Perez has a reputation beyond reputeLisa Perez has a reputation beyond reputeLisa Perez has a reputation beyond reputeLisa Perez has a reputation beyond reputeLisa Perez has a reputation beyond reputeLisa Perez has a reputation beyond reputeLisa Perez has a reputation beyond reputeLisa Perez has a reputation beyond repute
Re: Temperature data logging

How remote is "remote"? If you'll be using an Arduino outside, using an XBee shield for communication to an Arduino inside somewhere might be an option, but it really depends how remote the sensors are and what exactly is in between the 2 Arduinos (besides the soil).
__________________
Event Coordinator - Center Line District Event
Volunteer Coordinator - Michigan State Championship

Lead Mentor - Team 573, Mech Warriors
Former Mentor - Team 830, Rat Pack and Team 3182, Athena's Warriors
Proud Alumna - Team 573, Mech Warriors and Team 1, Juggernauts
  #8   Spotlight this post!  
Unread 18-09-2012, 21:25
Kyle R Kyle R is offline
Registered User
FRC #4246 (Resurrected Robotics)
Team Role: Programmer
 
Join Date: Aug 2011
Rookie Year: 2012
Location: Illinois
Posts: 6
Kyle R is an unknown quantity at this point
Re: Temperature data logging

If you are going to use analog temperature sensors you can just use a multiplexer (https://www.sparkfun.com/products/299) and run them all into an Arduino. Then you can add on whatever method of communication suits your needs.
  #9   Spotlight this post!  
Unread 18-09-2012, 23:05
Gdeaver Gdeaver is offline
Registered User
FRC #1640
Team Role: Mentor
 
Join Date: Mar 2004
Rookie Year: 2001
Location: West Chester, Pa.
Posts: 1,370
Gdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond repute
Re: Temperature data logging

You may want to consider a Maxim one wire temperature sensor like the DS18B20. In the multi-drop configuration only 3 wires are needed. 3.0 -5 volt, ground, and signal. Only one processor pin is needed. The one wire protocol is complicated but libraries are available for many processors. 750 ms for a sample but you do not need speed. Accuracy can be improved by calibration. The to-92 package lends it's self to directly soldering wires to the leads and insulating and then pot the unit in a metal tube. Use high quality wire. Be sure to insulate and water proof well. The micro controller is not going to keep time well in an out door temperature environment. May want to add a real time clock with a real good TCO. If it had a timer interrupt, it could wake the processor from sleep and do the sampling then go back to sleep. Maxim does have one wire real time clocks that with the proper TCXO could work. Some where on their web site there is an app note on real time clocks and oscillators for wide temperature extremes. Check the operating temperature of all electronics used. Many do not work well at low temps. Atmel serial data flash works well for data logging in harsh conditions. Digi does make xbee modules That have very long ranges with high gain antennas. Once again the are allot of libraries for the xbee stuff. Don't for get to turn the power off to the sensors to save power. What battery works well at -20F? With this data you could answer the question of 'how deep do I have to bury the horizontal geothermal heat exchange pipes in this area. Mine are at 14'.

Last edited by Gdeaver : 18-09-2012 at 23:32.
  #10   Spotlight this post!  
Unread 20-09-2012, 09:12
Hugh Meyer's Avatar
Hugh Meyer Hugh Meyer is offline
Registered User
FRC #1741 (Red Alert Robotics)
Team Role: Mentor
 
Join Date: Feb 2009
Rookie Year: 2008
Location: Greenwood Indiana
Posts: 158
Hugh Meyer has much to be proud ofHugh Meyer has much to be proud ofHugh Meyer has much to be proud ofHugh Meyer has much to be proud ofHugh Meyer has much to be proud ofHugh Meyer has much to be proud ofHugh Meyer has much to be proud ofHugh Meyer has much to be proud of
Re: Temperature data logging

Mike,

What is your sample rate going to be?

This device is a good way to log to a SD card. It has several types of inputs. I have used it successfully for several years now to monitor water levels in a sump pump pit.

https://www.sparkfun.com/products/10216

This is a nice processor board that I use in the same system.

https://www.olimex.com/Products/PIC/.../PIC-MAXI-WEB/

Sounds like a fun project.

-Hugh
  #11   Spotlight this post!  
Unread 20-09-2012, 15:06
Mike AA's Avatar
Mike AA Mike AA is offline
Programmer and Mentor
AKA: Mike Aalderink
FRC #3458 (Code Blue)
Team Role: Programmer
 
Join Date: Jan 2003
Rookie Year: 1999
Location: Holland, Mi
Posts: 698
Mike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to behold
Send a message via MSN to Mike AA
Re: Temperature data logging

Lisa, remote is no power for a good half mile or more and no communications other than cellular service for further than that. The guy who will be checking lives about 5 miles away. The Control device will be sitting above ground in a protected case similar to a plastic toolbox.

Kyle, I like the idea of the multiplexer, it only has 16 channels but with only 4 ports to use I can easily use 2 of them to read all 21 sensors and sparkfun already has them on breakout boards. You item link got me thinking and I found an item from digikey that has 32 channels so I don't need to try to read from 2 different multiplexers. Thanks!

Gdeaver, I found a tutorial about using the maxim DS18B20 connected to an aruindo and a program to read the value so if I use it I am already partway there in programming too! Thanks!

Last edited by Mike AA : 20-09-2012 at 15:24. Reason: Apparently my computer didn't let the post post.
  #12   Spotlight this post!  
Unread 20-09-2012, 15:42
Mike AA's Avatar
Mike AA Mike AA is offline
Programmer and Mentor
AKA: Mike Aalderink
FRC #3458 (Code Blue)
Team Role: Programmer
 
Join Date: Jan 2003
Rookie Year: 1999
Location: Holland, Mi
Posts: 698
Mike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to behold
Send a message via MSN to Mike AA
Re: Temperature data logging

Hugh,

My samples rate I guess would only need to be once per hour per sensor so VERY slow rate.

What kind of device are you using for the actual measurement? Do you use the processor for taking the info and sending to a webpage/email to notify you of issues?

I am a little inexperienced in programming new items other than the c-Rio, old IFI controller and the old basic stamp/basic controllers. And just getting into using new types of sensors and serial interfaces. I would really like to use the sensor Gdeaver mentioned the Maxim DS18B20 which if I am reading right uses a serial bus so I can connect more than 1 to one port of a micro controller. Similar to how the Jaguar can connect with CAN. The Logomatic seems to be able to do all the logging exactly what I need but I am somewhat unsure if I will still need another micro controller like the aruindo or your processor to read the ports or if I can just use the multiplexer tied right to the Logomatic.


Quote:
Originally Posted by Hugh Meyer View Post
Mike,

What is your sample rate going to be?

This device is a good way to log to a SD card. It has several types of inputs. I have used it successfully for several years now to monitor water levels in a sump pump pit.

https://www.sparkfun.com/products/10216

This is a nice processor board that I use in the same system.

https://www.olimex.com/Products/PIC/.../PIC-MAXI-WEB/

Sounds like a fun project.

-Hugh
  #13   Spotlight this post!  
Unread 21-09-2012, 09:02
dbarr4011 dbarr4011 is offline
Registered User
AKA: Mr. Barr
FRC #0141 (Wobot)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2004
Location: Holland, MI
Posts: 7
dbarr4011 is an unknown quantity at this point
Re: Temperature data logging

Mike

I am one of the mentors for Team 141 helping with programming and controls. If you have a chance give me a call and we can review your project. I have a small contract engineering company and we may have some parts that would help with this application. For this application we need to look at the temperature range, power for the monitoring system, data storage requirements, sensor requirements.
David Barr
Suntec Services
616-335-3755
616-566-1150 Cell
  #14   Spotlight this post!  
Unread 21-09-2012, 23:21
Hugh Meyer's Avatar
Hugh Meyer Hugh Meyer is offline
Registered User
FRC #1741 (Red Alert Robotics)
Team Role: Mentor
 
Join Date: Feb 2009
Rookie Year: 2008
Location: Greenwood Indiana
Posts: 158
Hugh Meyer has much to be proud ofHugh Meyer has much to be proud ofHugh Meyer has much to be proud ofHugh Meyer has much to be proud ofHugh Meyer has much to be proud ofHugh Meyer has much to be proud ofHugh Meyer has much to be proud ofHugh Meyer has much to be proud of
Re: Temperature data logging

Mike,

You could do any of the options you listed. I think the simplest would be to use the multiplexer into the logomatic card. It depends on how you want to log and keep the time. If you want real time of day information logged, then you need a clock. That is why I see you needing another processor. You will need to set the clock...or you could set up a cheap GPS receiver to get the time of day. That is a simple serial data stream that would have TOD information and be very precise. Sparkfun has several modules that could do that.

Yes, my application has a website that shows the real time data and the data is also logged to the MicroSD card. The maxiweb board is a PIC, which is just like programming the old IFI controller...it even uses MPLAB. If you want the URL PM me and I will forward it to you. I don't really want to post it here on a public site. It might be overkill for your project since it supports a http server and network connections. I use several conductive rods set to different depth to indicate water level.

You should be OK programming. If you can do the IFI and the cRIO then you can do any of the kits mentioned in this thread.

-Hugh
  #15   Spotlight this post!  
Unread 01-10-2012, 16:41
Mike AA's Avatar
Mike AA Mike AA is offline
Programmer and Mentor
AKA: Mike Aalderink
FRC #3458 (Code Blue)
Team Role: Programmer
 
Join Date: Jan 2003
Rookie Year: 1999
Location: Holland, Mi
Posts: 698
Mike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to behold
Send a message via MSN to Mike AA
Re: Temperature data logging

I ended up buying a logomatic v2 from sparkfun from Hugh's link above. I also ordered the ds18b20 thermometers. I understand how to interface now but i have no idea what program i should use to program a program into the data logger if i even need to. I am almost thinking i need to use a program like winARM since this is an arm processor but i dont know if i even need to program the logger or just put the probes on and power it up.

Help, please?
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 19:59.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi