USB/Serial Data Input Device ??

What am I looking for? I don't even know what to call it. But it would sense temperature (or light or sound level or electrical current or ... ) and input data (through serial or USB ports?) for capture into a database. Presumably I would graph the results with Excel. Input data would be captured once per second, or minute or hour or whatever. And I'm talking hobby level stuff, not precision grade. Radio Shack parts would be great. (Cheap is good.) Is there a name for this? Where can I look for solutions? Could I build/program it myself?

Any help would be greatly appreciated.

Bob

Reply to
InOverMyHead
Loading thread data ...

"InOverMyHead" schreef in bericht news:fOktb.1124$ snipped-for-privacy@newsread2.news.pas.earthlink.net...

sense

Bob,

What you want to do is known as data logging. A cheap (in components) solution is using the parallel port. You get whatever sensorvoltage you have, take an AD-converter to make it 8 bits binary and present it to the parallel port. The burden of timing is on the side of the PC-program. That's to say on the programmer. If you use DOS it is not that difficult but it's hardly possible to use the PC for somthing else at the same time. If you're using windows, the programming of the parallel port is a pain. Furthermore, the timing (especially for short intervals) is not very accurate as windows has a lot of other things to do.

A much better solution is taking a microcontroller. Use one that has a uart and a AD-converter on board. The micro can gathering the data and send it to the PC which can take all the time it needs to receive and store it. Windows can be programmed to perform this task in the background, so you can use the PC for normal tasks as well.

I'm sure you can find a lot of info googling for data logging.

petrus

--
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.532 / Virus Database: 326 - Release Date: 27-10-2003
Reply to
petrus bitbyter

In article , snipped-for-privacy@hccnet.nl mentioned...

People overlook using the game port to do simple analog input. You can put a 30k ohm thermistor across the pins that normally have the joystick pots, and read the thermistor value, and translate that into temperature. Or use a CdS photocell instead of the thermistor to sense light (radio snack has them). You can put a switch across the joystick button pins to get an on/off input. This is probably the least expensive way.

You can buy a DMM from radio shark that connects to the PC thru a serial port. It comes with software that allows you to read the voltage or current or resistaince, etc. For more info see URL

formatting link

--
@@F@r@o@m@@O@r@a@n@g@e@@C@o@u@n@t@y@,@@C@a@l@,@@w@h@e@r@e@@
###Got a Question about ELECTRONICS?   Check HERE First:###
http://users.pandora.be/educypedia/electronics/databank.htm
My email address is whitelisted.  *All* email sent to it 
goes directly to the trash unless you add NOSPAM in the 
Subject: line with other stuff.  alondra101  hotmail.com
Don't be ripped off by the big book dealers.  Go to the URL
that will give you a choice and save you money(up to half).
http://www.everybookstore.com  You'll be glad you did!
Just when you thought you had all this figured out, the gov't
changed it: http://physics.nist.gov/cuu/Units/binary.html@@t@h@e@@a@f@f@l@u@e@n@t@@m@e@e@t@@t@h@e@@E@f@f@l@u@e@n@t@@
Reply to
Watson A.Name - "Watt Sun, Dar

sense

What you need is a 'Labjack'.

formatting link
USB powered and you can daisy-chain them too. HTH, JB

Reply to
JB

formatting link

or

formatting link

Tom Woodrow

Reply to
Tom Woodrow

Try

formatting link
for the DI-194R3 DA at $24.95, then select your input type.

GL Tom

sense

and

talking

great.

solutions?

Reply to
w3frg

Bob,

B&B Electronics has an analog to serial module for about $70 US Kind of experience

formatting link

DLPDesign has a USB example design with a DS18S20 Temperature sensor for $50. With the driver from FTDIchip.com, you can access this using a virtual comm port. (serial).

formatting link

If you need to import serial to Excel, I can provide an example spreadsheet that uses Excel macros (VBA) and the MSComm Control, which is available on the Net. Drop me a line if you are interested.

formatting link

If you want to build something, KitsRUS has a datalogger kit:

formatting link
Hobby Engineer sells this kit for $29.
formatting link
formatting link

snipped-for-privacy@yahoo.com

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - >What am I looking for? I don't even know what to call it. But it would sense

Reply to
g9u5dd43_nospam

At least on the old ISA bus gameport adaptors, and those integrated on older I/O cards (the 558 based ones), there is less than 8 bits, when you reslove out the play in the A/D convertor used.

Reply to
Gary Tait

Try the intro level serial ADC from DATAQ Instruments

formatting link
It has four 10 bit, +/-10 volt ADC channels and two digital channels for control. It comes with Windows software so you can use it as a chart recorder. I spent a number of hours exploring ways to measure light and temperature with it. If you do any programming, an ActiveX control is included so you can access the unit from Visual Basic or VBA (in Excel, Access, etc).

You can read about the unit here:

formatting link
It's US$25 and I think it's worth the money just for the data acquisition education you'll get while exploring it.

More about me:

formatting link
VB3/VB6/NSBasic Palm/C/PowerBasic source code:
formatting link
Drivers for Pablo graphics tablet and JamCam cameras:
formatting link
johnecarter at@at mindspring dot.dot com. Fix the obvious to reply by email.

Reply to
the Wiz

Try these links...

formatting link
formatting link

sense

Reply to
Gung Ho

sense

How about the Maxim DS1615, a one chip temperature recorder. You can dump the values to the serial port later.

Wim

Reply to
Wim Ton

Wow - you guys are great. I'm going with the Hobby Electronics' K145 Temp Data Logger kit. Thanks again for all the leads. I've spent HOURS getting happily sidetracked. Oh the possibilities . . .

Bob

sense

Reply to
InOverMyHead

Yes, this is generally called "data logging", and there are getting to be thousands of ways of doing it. If you don't want to dedicate a desktop or laptop computer to the job, you can buy dedicated loggers that do their thing for minutes to years, after which you download the data to a computer. Onset

formatting link
makes self-contained loggers for a wide variety of variables (temp, light, humidity, events, voltage, etc.) for both dry and wet conditions. They're rugged, relatively cheap, last forever, and are a breeze to use. If you are serious, with serious money, you can go to companies such as Campbell Scientific
formatting link
but that's outside the realm of "hobby". One thing I want to explore is using a cheap Palm organizer (Palm IIxe's are getting cheap on eBay) and something like the "MELD" data acquisition board
formatting link
) to log, say, four channels of temperature over a period of months. National Semiconductor makes the LM34 and LM35 temperature-to-voltage converters, available through DigiKey for cheap, and you could instrument your house (or compost pile or whatever) for less than $100.

Reply to
Ted Swift

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.