Does anyone have any ideas for a stand alone data logger or stand alone
temperature logger.
I was thinking of using the DS1621 from Dallas and maybe a 24c65 for
collection of data.
Does anyone have any code or schematics for doing this. Its just a personal
Project. I have a classic car and want to monitor the temp in the garage,
and occasionally download the info. hence the 24c65.
The F84 has 64 bytes EEPROM/68 RAM, F628 has 128/224. Not
much compared to the 8k of a 24C65 though. How often do you
want to take readings ? The alternative would be to use one of the
other more recent PICs in the F8xx that can write to program memory.
I haven't done this but think that you can use this method for data
storage. If that's wrong (haven't got an F8xx manual handy) I'm sure
we'll be put straight
It looks a project of one or two day in Jal.
ds1621 library exist, i2c library also, usart library of course
all you need is to use them and to built a simple hardware
( 16f628 recommended ) http://come.to/jal http://groups.yahoo.com/group/jallist
> Dear all.
>
> Does anyone have any ideas for a stand alone data logger or stand alone
> temperature logger.
> I was thinking of using the DS1621 from Dallas and maybe a 24c65 for
> collection of data.
> Does anyone have any code or schematics for doing this. Its just a personal
> Project. I have a classic car and want to monitor the temp in the garage,
> and occasionally download the info. hence the 24c65.
>
> Any ideas would be appreciated.
>
> P Tyrer
>
> --
> http://www.piclist.com hint: To leave the PICList
> piclist-unsubscribe-requestKILLspammitvma.mit.edu
>
>
On Thu, Nov 22, 2001 at 09:26:28PM +1300, Jinx wrote:
> If you really want low-cost you can do the whole thing with just
> the PIC
>
> http://home.clear.net.nz/pages/joecolquitt/0wdttemp.html
>
> The F84 has 64 bytes EEPROM/68 RAM, F628 has 128/224. Not
> much compared to the 8k of a 24C65 though. How often do you
> want to take readings ? The alternative would be to use one of the
> other more recent PICs in the F8xx that can write to program memory.
> I haven't done this but think that you can use this method for data
> storage. If that's wrong (haven't got an F8xx manual handy) I'm sure
> we'll be put straight
You're right on point Jinx. The F8xx parts can programmatically write their
program memory.
I happend to be a fan on the DS1620 as I'm using it in my current thermostat.
The only caution I'd like to add is that they are sensitive little buggers.
When I was doing my initial testing they'd always read with a higher temp
than ambient. It turns out that the miniscule heat given off the other IC's
on the board was raising the temp on the 1620 high enough to change its
reading. I ended up moving it to the edge of the board where it reads more
accurately.
Another relatively inexpensive option is to use a LM34 or LM35 temp sensor
and the A/D and programmable program memory of an 8XX part. Something like
a 16F876 may be appropriate.
But it should be an easily doable project no matter which path you choose.
If you choose the DS162X parts then I have a complete application that
reads, converts, and displays temp in Fahrenheit. Only the logging and
serial routines are missing.
> If you choose the DS162X parts then I have a complete application that
> reads, converts, and displays temp in Fahrenheit. Only the logging and
> serial routines are missing.
>
If I remember well, DS1620 is a three wire device isn't it ?
I'm interested in the reading routine too. If you could post it, then ok.
Thanks in advance,
Vasile
On Thu, Nov 22, 2001 at 03:38:20PM +0200, Vasile Surducan wrote:
> On Thu, 22 Nov 2001, Byron A Jeff wrote:
>
> > If you choose the DS162X parts then I have a complete application that
> > reads, converts, and displays temp in Fahrenheit. Only the logging and
> > serial routines are missing.
> >
> If I remember well, DS1620 is a three wire device isn't it ?
Yup.
> I'm interested in the reading routine too. If you could post it, then ok.
No problem. Just posted the source to my PIC page:
Yes, check out the Dallas DS1616. Its a complete datalogging system
with programmable sample time, 4 channels (IFRC), date and time stamping,
and histograms built in. It's a neat chip. I got a couple of them sampled
to me, and was going to expand on the collection functions, but haven't
found
the time to do so yet. I'll publish my results on my website when I get it
finished.
> So, to use that feature to store/retrieve data, do you add 34h (retlw)
> to the data byte ?
You could do that, but it is easier just to read the data back using roughly
the same interface (read 16F877 datasheet). And you can store 14 bits in
each address. But beware, this is code flash, not data eeprom, so the number
of write cycles is more like 1e3 than 1e6 (as for proper data eeprom, of
which the 16F877 has 256 bytes).
If you just want to use a low cost PIC based temperature logger
have a look at the HOBO line at:
www.onsetcomp.com/Products/Product_Pages/HOBO_H08/3075_4Channel_External.html
and to see what's inside see: http://www.pacificsites.com/~brooke/Hobo.html
> Date: Tue, 20 Nov 2001 21:26:47 -0000
> From: Paul Tyrer <RemoveMEpaul.tyrerspam_OUTKILLspamBTINTERNET.COM>
> Subject: [PIC]: Pic Temperature logger
>
> Dear all.
>
> Does anyone have any ideas for a stand alone data logger or stand alone
> temperature logger.
> I was thinking of using the DS1621 from Dallas and maybe a 24c65 for
> collection of data.
> Does anyone have any code or schematics for doing this. Its just a personal
> Project. I have a classic car and want to monitor the temp in the garage,
> and occasionally download the info. hence the 24c65.
>
> Any ideas would be appreciated.
>
> P Tyrer
>
> ------------------------------
-- http://www.piclist.com hint: PICList Posts must start with ONE topic:
[PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads
Very nice site Byron ! I like much your trivial LVP, unfortunately
sometime you need also a HVP isn't ?
Thanks for posting thermostat.asm either.
Check my site, I think soon will be a jal translation routine for
DS1621.
regards, Vasile
On 22 Nov 01, at 10:14, Byron A Jeff wrote:
> > I'm interested in the reading routine too. If you could post it, then ok.
>
> No problem. Just posted the source to my PIC page:
>
> http://www.finitesite.com/d3jsys
>
On Wed, Nov 28, 2001 at 11:52:47AM -0800, Surducan Vasile wrote:
> Very nice site Byron ! I like much your trivial LVP, unfortunately
> sometime you need also a HVP isn't ?
Thanks,
Personally I don't because I do my level best to use a 16F87X part in
a project.
However if I did it isn't real difficult to add. Simply pull MCLR up to 12V
with a pullup resistor and connect a transistor (collector to MCLR, Emitter
to GND, Base to the MCLR ctrl on the HCT part through a 1K resistor) and
invert the sense of the MCLR signal in the software. Oh and make sure to
ground the LVP input on the programmer because some versions has issues with
a floating LVP input even when in HVP mode.
> Thanks for posting thermostat.asm either.
No problem.
> Check my site, I think soon will be a jal translation routine for
> DS1621.
>
> regards, Vasile
>
>
> On 22 Nov 01, at 10:14, Byron A Jeff wrote:
>
>
> > > I'm interested in the reading routine too. If you could post it, then ok.
> >
> > No problem. Just posted the source to my PIC page:
> >
> > http://www.finitesite.com/d3jsys
> >
>
> --
> http://www.piclist.com#nomail Going offline? Don't AutoReply us!
> email EraseMElistservspamspamBeGonemitvma.mit.edu with SET PICList DIGEST in the body
>