Logging Data from a Temperature Sensor
Archiver
Posts: 46,084
I need to log data from several sensors including a temp sensor.
Eventually I'd like to add the real time clock (RTC), but until then, how
do I get started in this pursuit. I searched in the Stamp Manual but
found nothing. I have a BS2P40 and a BSP2 Demo Board. I will be
sampling about 3 sensors once every 10 minutes for anywhere from about 6
hours to 1 month. Do I need additional hardware? How is the data
typically saved in this type of application?
Ideas?
Chris
________________________________________________________________
GET INTERNET ACCESS FROM JUNO!
Juno offers FREE or PREMIUM Internet access for less!
Join Juno today! For your FREE software, visit:
http://dl.www.juno.com/get/web/.
Eventually I'd like to add the real time clock (RTC), but until then, how
do I get started in this pursuit. I searched in the Stamp Manual but
found nothing. I have a BS2P40 and a BSP2 Demo Board. I will be
sampling about 3 sensors once every 10 minutes for anywhere from about 6
hours to 1 month. Do I need additional hardware? How is the data
typically saved in this type of application?
Ideas?
Chris
________________________________________________________________
GET INTERNET ACCESS FROM JUNO!
Juno offers FREE or PREMIUM Internet access for less!
Join Juno today! For your FREE software, visit:
http://dl.www.juno.com/get/web/.
Comments
I have a program that monitors and captures the data from forty LM34 sensors.
The data is read every 10 minutes ( adjustable) displayed in Hyperterminal
where the text (data readings) is captured and sent to Excel. Does this
interest you ?
Sid
cdundorf@j... writes:
> I need to log data from several sensors including a temp sensor.
> Eventually I'd like to add the real time clock (RTC), but until then, how
> do I get started in this pursuit. I searched in the Stamp Manual but
> found nothing. I have a BS2P40 and a BSP2 Demo Board. I will be
> sampling about 3 sensors once every 10 minutes for anywhere from about 6
> hours to 1 month. Do I need additional hardware? How is the data
>
Since you're using a BS2p40, you might want to take a look at the code for
the BS2p demo board or "Plus Pack." You will find code for dealing with
1-Wire temperature sensors and interfacing to a Philips RTC via I2C.
Try these links:
http://www.parallaxinc.com/html_files/products/BS_Boards/bs2p24_demoboard.asp
http://www.parallaxinc.com/html_files/products/BS_Accessories/plus_pack.asp
-- Jon Williams
-- Parallax
[noparse][[/noparse]Non-text portions of this message have been removed]
Yes. I'm excited. Please email to:
cdundorf@j...
BTW, I'm curious to hear more about your application. forty LM34s is no
small number.
Thank You,
Chris
<<>>
Date: Thu, 17 Jan 2002 17:40:37 EST
From: Newzed@a...
Subject: Re: Logging Data from a Temperature Sensor
For cdundorf
I have a program that monitors and captures the data from forty LM34
sensors.
The data is read every 10 minutes ( adjustable) displayed in
Hyperterminal
where the text (data readings) is captured and sent to Excel. Does this
interest you ?
Sid
________________________________________________________________
GET INTERNET ACCESS FROM JUNO!
Juno offers FREE or PREMIUM Internet access for less!
Join Juno today! For your FREE software, visit:
http://dl.www.juno.com/get/web/.
temperatures of A/C air, recycled air and air drawn in from the outside, and
then measuring the temperatue of the air when it is mixed together. Ducts
are 6x12 feet so it is a pretty large installation.
Sid
has a new addition on logging and real-time control that you may want
to check out, though I don't think chapter 7 is available yet in pdf
format.
http://www.parallaxinc.com/html_files/products/StampsIC/sic_ic.asp
The text uses StampPlot Lite to plot data, though only single channel.
StampPlot Pro has greater flexibility for logging and plotting and
allows multiple analog values to be plotted/logged. The new beta
release comes with an configuration for plotting logged data.
http://www.selmaware.com/stampplot
Next week we should be releasing a series of BS2/StampPlot programs
specifically for the IC text above.
-Martin Hebel
SelmaWare Solutions
http://www.selmaware.com
and
Southern Illinois University, Electronic System Technologies
http://www.siu.edu/~imsasa/est
--- In basicstamps@y..., Christopher C Dundorf <cdundorf@j...> wrote:
> I need to log data from several sensors including a temp sensor.
> Eventually I'd like to add the real time clock (RTC), but until
then, how
> do I get started in this pursuit. I searched in the Stamp Manual
but
> found nothing. I have a BS2P40 and a BSP2 Demo Board. I will be
> sampling about 3 sensors once every 10 minutes for anywhere from
about 6
> hours to 1 month. Do I need additional hardware? How is the data
> typically saved in this type of application?
>
> Ideas?
>
> Chris
> ________________________________________________________________
> GET INTERNET ACCESS FROM JUNO!
> Juno offers FREE or PREMIUM Internet access for less!
> Join Juno today! For your FREE software, visit:
> http://dl.www.juno.com/get/web/.
I'm interested in the HyperTerminal to Excel part.
When you say 'sent to Excel' do you mean that HyperTerminal passes the data
to Excel via VBA or something like that or do you grab the data, save it to
a file and THEN import it in Excel.
I would really like to have an app inserting data direct to an Excel
worksheet.
Thanks!
/Henrik Olsson.
henrik-olsson@t...
Original Message
From: <Newzed@a...>
> For cdundorf
> I have a program that monitors and captures the data from forty LM34
sensors.
> The data is read every 10 minutes ( adjustable) displayed in
Hyperterminal
> where the text (data readings) is captured and sent to Excel. Does this
> interest you ?
>
> Sid
The data is captured by Hyper to a text file of your own choosing, and then
imported into Excel. Once you open the Import Data command, you have a
series of screens which let you sort of arrange and format the data into a
spreadsheet.
Sid
Thats how I have been doing it also, but I was hoping for a way to pass the
data directly in to Excel, skipping the capture data to file step. I know it
can be done but not how to do it, yet.
Best regards:
Henrik Olsson.
Original Message
> Good morning, Henrik
>
> The data is captured by Hyper to a text file of your own choosing, and
then
> imported into Excel. Once you open the Import Data command, you have a
> series of screens which let you sort of arrange and format the data into a
> spreadsheet.
>
> Sid
See if this will help you.
Go to Excel. In a new worksheet, type in your name or something. Go to
"Save As" and save it as data.txt. In the Save window scroll down to "Text
(Tab delimited) and click on that, then click Save. Close Excel, go to Hyper
and set you capture to C:\office20\office\data.txt or whatever the path to
your data.txt file is. Click on Start and put some data from Stamp or
something into the Hyper window. When you have enough for a test, stop the
capture, close Hyper and go to Excel. Open the data.txt file you have saved.
It will immediately take you to the same screen you get when you import a
file. Make sure "Delimited" is checked, then get out of it -
next-next-finish. The data on the Hyper screen will appear on your Excel
screen. Does tht help ?
Sid
When you open it in Word you immediately get a Save screen. Unicode (UTF-8)
should be highlighted. Just click OK and the Hyper data will appear in your
Word file.
Sid
C:\My Documents\data.txt
Sid
trivial in delphi or VB.
How complicated is your data - if you can send me a sample, I mght knock
something up in my spare time - but no promises!!
Regards,
Tony Wells
Original Message
From: "Henrik Olsson" <henrik-olsson@t...>
To: <basicstamps@yahoogroups.com>
Sent: Friday, January 18, 2002 5:44 PM
Subject: Re: [noparse][[/noparse]basicstamps] Logging Data from a Temperature Sensor
> Thanks Sid,
> Thats how I have been doing it also, but I was hoping for a way to pass
the
> data directly in to Excel, skipping the capture data to file step. I know
it
> can be done but not how to do it, yet.
> Best regards:
> Henrik Olsson.
>
>
Original Message
>
> > Good morning, Henrik
> >
> > The data is captured by Hyper to a text file of your own choosing, and
> then
> > imported into Excel. Once you open the Import Data command, you have a
> > series of screens which let you sort of arrange and format the data into
a
> > spreadsheet.
> >
> > Sid
>
>
>
> To UNSUBSCRIBE, just send mail to:
> basicstamps-unsubscribe@yahoogroups.com
> from the same email address that you subscribed. Text in the Subject and
Body of the message will be ignored.
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>
and create a new spreadsheet or use a existing one, and put the data
directly into the spreadsheet.
You would read the data in from the COM port, and stuff the data into the
cells on the spreadsheet. You should be able to get the info from MSDN
online, or from the VB MSDN CD if you have one.
Original Message
From: tony.wells@a... [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=u4XzT9Xqmm7gLgUwWUuAwxN0OC74iOCtNwoGWN4p0PPZTIRZ0NG6Mly8nV_kAAR1QaNw62Koupqd0EaH2Io]tony.wells@a...[/url
Sent: Friday, January 18, 2002 6:24 PM
To: basicstamps@yahoogroups.com
Subject: Re: [noparse][[/noparse]basicstamps] Logging Data from a Temperature Sensor
It can be done via a activex type app, with serial input.front-end - pretty
trivial in delphi or VB.
How complicated is your data - if you can send me a sample, I mght knock
something up in my spare time - but no promises!!
Regards,
Tony Wells
Original Message
From: "Henrik Olsson" <henrik-olsson@t...>
To: <basicstamps@yahoogroups.com>
Sent: Friday, January 18, 2002 5:44 PM
Subject: Re: [noparse][[/noparse]basicstamps] Logging Data from a Temperature Sensor
> Thanks Sid,
> Thats how I have been doing it also, but I was hoping for a way to pass
the
> data directly in to Excel, skipping the capture data to file step. I know
it
> can be done but not how to do it, yet.
> Best regards:
> Henrik Olsson.
>
>
Original Message
>
> > Good morning, Henrik
> >
> > The data is captured by Hyper to a text file of your own choosing, and
> then
> > imported into Excel. Once you open the Import Data command, you have a
> > series of screens which let you sort of arrange and format the data into
a
> > spreadsheet.
> >
> > Sid
>
>
>
> To UNSUBSCRIBE, just send mail to:
> basicstamps-unsubscribe@yahoogroups.com
> from the same email address that you subscribed. Text in the Subject and
Body of the message will be ignored.
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>
To UNSUBSCRIBE, just send mail to:
basicstamps-unsubscribe@yahoogroups.com
from the same email address that you subscribed. Text in the Subject and
Body of the message will be ignored.
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/