Slashdot Mirror


Remote Telemetry With Your PC?

hyacinthus asks: "For some projects I'm working on, I'd like a system for acquiring data (as from the output of an instrumentation amplifier) from a module that would be separate from a PC, a maximum distance of perhaps several hundred feet at most, and the use of cable or wire is not an option. My bandwidth requirements are very small--perhaps a hundred 12-bit samples per second would do it. I would like the data acquisition module to be as small as possible. And I'd like the possibility of acquiring data from more than one module, rather like a multiple-channel data acquisition system." Are there any radio-based PC products that can be adapted to suit this sort of task?

"Commercial data acquisition products for personal computers all tend to be rather spendy, and none that I've seen make any provision for wireless telemetry. I've been considering designing and building something, probably using one of the commercial available USB development kits (see, for example, ActiveWire's USB board). But I'm no electrical engineer (a few digital design classes and some self-teaching from Horowitz and Hill, and that's it), so I'd like to ask if there's anything out there which does what I want."

28 of 86 comments (clear)

  1. Couple options from someone who's been there.. by xtal · · Score: 4

    There's a bunch of solutions out there if you want to be a little crafty, and most of it is just limited by how much you want to spend and how reliable you need the data transfer to be (as you can guess.. the two are linked :).

    A couple people have suggested a laser link. I built a small one for experimenting using a UART and some of the schematics from the book Lasers, -Ray Guns & Light Cannons ISBN: 0-07-045035-8. (Someone better buy it because I had to dig through two years of crap to find it! :) I got the lasers from some surplus place cheap. It worked well at 2400 baud or something like that, I was trying to build a circuit to act as a wireless point-to-point link to get high speed internet just slightly off campus (e.g. through my lab window to a buddy across the street :). It worked well, although I ran out of time to finish it. Think I was planning on selling them to build cheap point-to-point links at the time, or something. Hard to aim, though. Anyhow.

    Another way is through wireless modules like the folks at Lynx Technologies or Parallax Inc. The parallax ones are of better quality right out of the box, and they'll sell to individuals, the former was nasty to me when I wanted to order some samples.

    YET another way is through using Ham Radio and packet. You can get an all - in - one unit from Kenwood called the TH-D7A that is a small handheld with a 9600 baud TNC built into it. It's truely plug-and-play. Extremely expensive at $550cdn a pop, I know, I have one. You also need to be liscened to operate at these frequencies, and most/all places won't sell you one without your callsign or liscence. These work VERY well.

    That said, one of those options will be the best for you. IR is out as it doesn't work worth a damn in direct sunlight, even laser detectors have a bit of a problem with sun. Sun is a great source of optical noise :). If I was needing something mission critical and a long distance, your best choice is the kenwood/packet option, or maybe the parallax modules. They hook right up to a serial port.

    Alternately, you could just get a cheap 486 notebook and get a 802.11 card, and wire the whole thing to a big-ass car battery (find one that takes 12V, and make sure to put a fuse on it!). That might be cheaper in the long run, and will provide a lot of bandwidth.

    Hope that helps.

    --
    ..don't panic
  2. Only hobbyists... by jfunk · · Score: 4

    This is all well and good for a hobbyist. In fact, there's quite a bit of Linux software for doing instrumentation this way.

    If your application is professional or you want dead accuracy, please do not do this. How calibrated is that input amp? How about noise? What if you have to manually calibrate?

    If you must use a laptop, NI sells some cool PCMCIA cards for this sort of use. Expect to pay for it, though.

    That said, I'll have to mention that any x86 is probably overkill. I'd likely use a PIC and some choice Analog Devices chips. They are dirt cheap, and would be much easier to make immune to noise. You can control the whole design, which is a good thing. The less bloat, the less chance of interference.

    For extremely critical apps, you'd probably end up doing some expensive testing, but you'd end up doing that for anything off-the-shelf anyway.

    As for the data transport, if the speed isn't critical, you could do this. Just pick a frequency that you can use freely and make sure that nothing else around will interfere with the signal.

    There are also a lot of other ways to do it. Radio is cheap to do, and more fault-tolerant than IR.

    Look around, you might find something else.

  3. Check out Circuit Cellar by uradu · · Score: 2

    If you're into electronics at all you would be crazy not to be a regular Circuit Cellar magazine reader. They have the kinds of articles perfect for the hardware/software hacker. In issue #113 from December 1999 they had a feature article on a Poisson network.

    Basically it's a one-way RF network where each sensor (doesn't really matter what kind) has a cheap RF transmitter and a uC. They're using a Poisson distribution to create pseudo-random transmission intervals for each sensor, so that the likehood of collisions is minimized, since there's no network master, only a receiver that aggregates all valid transmissions it receives. The nice thing is that the per-node cost can be extremely low, depending on what kind of sensor you have.

    Email me if you want some more details or some help on getting your hands on the article.

  4. guitar wireless... by romco · · Score: 2

    "My bandwidth requirements are very small--perhaps a hundred 12-bit samples per second would do it. I would like the data acquisition module to be as small as possible. And I'd like the possibility of acquiring data from more than one module, rather like a multiple-channel data acquisition system."

    Sounds like a few modifications to a cheap guitar wireless unit would do it. They even got some close-outs at Nady.

    --
    AdFuel
  5. KISS by Detritus · · Score: 2

    Instead of designing and building a complex digital telemetry system, why not use some old analog technology? Many early telemetry systems were analog. The sensors were connected to VCOs (voltage controlled oscillators), and the VCOs were mixed together and used to modulate a FM transmitter. This was a simple, cheap and reliable package. The data acquisition station had a FM receiver, its audio was fed to a bank of FM discriminators, one discriminator for each VCO. The outputs of the disciminators were connected to a stripchart and/or a set of ADCs for computer processing. This works great for systems with a small number of parameters that need to be collected. The output of the FM receiver can be recorded on an ordinary analog magnetic tape recorder for archival storage and analysis. For some sample frequency plans, this page has tables listing the standard frequencies used in IRIG (Inter-Range Instrumentation Group) FDM (frequency division multiplex) systems.

    --
    Mea navis aericumbens anguillis abundat
  6. Re:gatewayelex.com by small_dick · · Score: 2

    the only link i found of interest was a packet radio modem kit for ibm pc's.

    see packet radio modem kit it's $59 for one end.

    I know they have "ming kits" too, but they do not appear to be on the web page. geez, i wish someone in st. louis would learn php or something.

    --


    Treatment, not tyranny. End the drug war and free our American POWs.
    See my user info for links.
  7. oh yeah... by small_dick · · Score: 2

    you need to be a ham and have tx and rx to use packet i think...

    --


    Treatment, not tyranny. End the drug war and free our American POWs.
    See my user info for links.
  8. Ramsey has just what you want by markana · · Score: 3

    http://www.ramseyelectronics.com

    They have micro telemetry/control transmitters and receivers good for a few hundred feet (maybe a bit more). They're probably not the only source for these particular units, but since I just saw them in the new catalog, I thought I'd mention it.
    Part numbers RXD-433, TXE-433.

  9. if you can live with 4 wires go NIODE by wireb · · Score: 2

    niode stands for Network Input Output Device for Ethernet. Basily you have a 10baseT, 10base2, or 10base5 port on one side and a DIDO port on the other. You communicate to it via a standard ethernet network and UDP packets. In fact If you need wireless just add a wireless ethernet converter ($$$) and its wireless. Multiples no problem just have to give each unit its own IP address... Currently I have most of the basic functions done (ethernet config, ARP, PING, and basic UDP packet handling) just need to finish up the code that takes the data from the packets and does some thing usefull. About 3 more good days of work and it could be done but need to actual work on it... URL is http://members.home.net/wireb/niode/niode/index.ht ml best of all they will be cheap. I am expecing the part cost to be under $50 for everything when done. Yes I know the page is not up to date (will get to it some day too busy working on the project right now.)

  10. Re:Is is line of sight? by SEWilco · · Score: 2

    If you want to go several hundred feet, transmit RS-232 with a laser pointer.

  11. Audio ~ Data by SEWilco · · Score: 2

    Notice that X10.Com, and other sources, have "wireless audio" devices. You can feed the output from a modem to an audio transmitter. You need a modem which will transmit even though it does not receive a carrier from the other end. If the modem also has a two-wire or four-wire "leased line" mode then it also is easier to interface -- if you have to emulate a phone circuit then you'll need a half-dozen more components. And you'll need a data rate fast enough for your data...

  12. Light Beam Communicator by SEWilco · · Score: 2
    Look a little further down on that page and you'll see a light beam communicator. Seems to be a two-way audio infrared link. (Increase range with lenses)

    Connect a four-wire leased line modem to it and you have a two-way data link. (Many modems have "leased line" mode, but a four-wire has separate audio wires for send and receive -- you can convert a phone modem to four-wire by building a phone-to-audio converter, which might be as simple as plugging in a telephone and battery)

  13. All we need... by pb · · Score: 3

    ...is a large, spinning mirror, and a tracking device...

    ...and we could vaporize a human target from space!

    Yeah, *sure*, that's why you want it. We believe you...
    ---
    pb Reply or e-mail; don't vaguely moderate.

    --
    pb Reply or e-mail; don't vaguely moderate.
  14. WinDAQ springs to mind... by AFCArchvile · · Score: 4
    ...though it uses a COM port for the sensor. It worked pretty well for our junkyard seismometer. I remember stomping on the ground and starting a sine wave with a 13-second period.

    I just have to ask: why does the PC have to be so far away? Are these experiments dealing with strong electromagnetic phenomenon? If so, then I'd understand, but otherwise, several hundred feet would seem paranoid.

    --
    "Ancillary does not mean you get to rule the world." --U.S. Circuit Judge Harry Edwards, speaking to the FCC's lawyer
  15. Freewave by kfstark · · Score: 5
    We have been using freewave radios (www.freewave.com) that are basically radio serial links. The nice thing about them is that they can be used as repeaters that allow multiple hops up to 100+km (a little overkill for your need). They can be used in a point to point mode and in a TDMA mode where the signals are timesliced (up to 16 connections) into the data stream and can be pulled out on the other end. Throughput is up to 115200 without repeaters and 57600 with 1 or two repeaters. We use them extensively in the SCIGN (Southern California GPS Network) to transmit GPS data back to our hub (www-socal.wr.usgs.gov/scign).

    Unfortunately they are a little expensive at about $1200 per radio.

  16. serial cable by kwj8fty1 · · Score: 3

    I've used a Cat-5 cable as a serial cable for distances over 800 feet. This was for 9600BPS, connecting to a router. It worked great, and I never had any problems. I think you really only need 3 wires for serial (that's all I had connected), so you could get a few serial lines in one CAT5 cable. That's the cheapest/easiest route I can think of; but I'm sure that there are wireless solutions. HAM guys will tell you about the 2400BAUD wireless packet radio stuff; this would work I'm sure, but it's cost is a little higher than just a cat5 cable!


    Cheers!
    -Eric

    1. Re:serial cable by Stephen+Samuel · · Score: 2

      2M radios are probably only legal for HAMs (and it doesn't sound like this guy is a ham). there are, however, all sorts of audio repeaters, FM transmitters, etc. that could be legally used instead.
      `ø,,ø`ø,,ø!

      --
      Free Software: Like love, it grows best when given away.
  17. Simple laser line of site by dan_linder · · Score: 4

    If InfraRed does not have the range, and line of site is possible, you could look into making a simple laser diode/receiver that hooks into the serial port for data transmission.
    Anyone have any schematics? An old Popular Electronics hacked up two laser pointers to make a simple wireless transmitter/receiver for voice (the microphone modulated the amplifier feeding the laser I think). Anyone up to modifying it for 9600 baud data?

    Dan
    dan_linder.at.yahoo.com@somewhere.else
    (Remove the "@somewhere.else" and replace ".at." with "@" to e-mail me.)

    1. Re:Simple laser line of site by Bryan+Andersen · · Score: 3

      Why bother with a laser. They are a pain to drive. Use a high intensity LED and lenses. You don't need precision lenses either. Cheap plastic ones will do. Just point the high intensity LED in the direction of the receiver. Use the lense to focus the light from the LED onto the photo transistor. A black disk behind your LED can help improve the signal to noise ratio. Especially if it is large enough to cover the hole area focused on to the phototransistor. The longer the focal lenght of the lense, the smaller the area see at the LED end.

  18. I personaly by Beowulf_Boy · · Score: 2

    would use a UHF sender and reciever.
    It doesn't require line of sight, so its not like Infra-red, and you could probably get disant bandwidth (9600 baud)
    you could most likely get the parts from a disected UHF remote-control.

  19. What I would use... by NovoPericulum · · Score: 4

    I'm not too sure that I understand exactly what you want, but I'll give this a shot. From what I gather, you have X number of instrumentation installations spread around a local site. You want to collect the data from all of them with one central unit, and then dump the data to a PC. I would do one of the following...

    1) Set up an RTU data recording device and attach it to each sensor collection point. Depending on the type of sensors you use (0-2.5V. 4-20 mA, RS-232 "smart sensors", etc...), you should be able to find a relatively inexpensive Datalogger/RTU that fits the bill. If it is to be located in a harsh environment (outdoors, cold, etc.), make sure you have a board and enclosure suitably rated for such conditions (you can find severe environment units from www.lakewood.com).

    Next, get an RS-232 -> Ethernet device. ZWorld had a spiffy programmable one that can be found at http://www.zworld.com/emseries.html.

    Finally, get an 802.11 wireless device and connect it to the ethernet output of the RS-232 -> Ethernet "modem".

    The nice thing about this setup is that you don't need any crazy serial input boards or wireless RS-232 devices. Everything comes in through a nice packet switched TCP/IP network. This is a blessing for keeping the end user software simple and stable.

    2) One other possible solution is to do all of the above, but with one change. Instead of the RS-232 -> Ethernet device and the 802.11 connections, simply attach a Mobitex, CDMA, or CDPD wireless device to the RTU's. Granted this has some more cost associated with the mothly fees, but most carriers have lower cost "data only" packages without all of the crappy consumer features that you have no need for. And again, this has the benefit of a packet switched connection. As well, if your sensors are REALLY far apart, this might be the most economical solution in the long run due to the extra cost of "repeaters" and such. Plus, most of these types of devices already have the capability to connect to RS-232 components without extra hardware. And, if you're lucky, you can get the whole package in a 99 dollar heavily subsidized digital phone from your favorite carrier :)

    Just my humble opinion, from a humble man who has done these things before :)

    Feel free to contact me on ICQ 34034928 if necessary. My listed e-mail is a fake :)

    "You should read my new book: Humility, and how I attained it with 343 Illustrated Pictures of the Author."

  20. Smoking dope by Graymalkin · · Score: 2

    You can make pretty cool robots/remote sensors/positronic brains with BASIC stamps gotten from radio shack. You can write a little diddy that takes the sensor data and streams it to an I/O port. Modulating the data collected for tansmission can be done in lots of ways. You can modulate the data and then just transmit it. The PC on the other end demods the signals and captures the datastream. Plug the stamp's I/O pins into a little AM or FM transmitter. Don't bother about duplex communication unless you ABSOLUTELY need it. BASIC stamps have pretty limited memory which means interactive programs aren't going to be very easy to make if at all. I've never heard of any major protocol ported to a microcontroller. I suppose the best method would be to build a mini-RF modem and modulate the data on the controller then stream it to the transmitter.

    --
    I'm a loner Dottie, a Rebel.
  21. Re:Cheap and dirty by cr0sh · · Score: 2

    I like this, but I would skip the phone/modem part (number one, the phone is going to cost a bit more than $20 - probably closer to $40). Instead, use a couple of walkie-talkies. Cheap kids toy kind - or more expensive (less interference) family radio kind.

    You only need one transmitting, and the other receiving. Set up a tone generator on the trans part, supplying high/low/mark tones (three tones, to indicate start, data, stop bits). The receiver's speaker output could go into the computer's sound card. Record and analyse the waveform data to get your data stream.

    Now you may be wondering "How the heck do you do multiple channels with this idea?"

    The answer to that? Round-robin.

    Say you have three sensors, each with a walkie-talkie attached (a fourth walkie-talkie is at the "base station" PC). Two walkie-talkies are in "listen" mode, one is transmitting. The "base station" walkie-talkie listens all the time, and records all the sound (via the sound card in the PC). When one sensor walkie-talkie finishes, the mark tone for the next sensor walkie-talkie in the round-robin is sounded, causing that walkie-talkie to switch into transmit mode, and the first to receive. These mark tones are unique frequencies for each walkie-talkie in the round-robin (so, you would need a tone generator and decoder for each walkie-talkie sensor system - use a 555 for the tone generator, and a 567 for the decoder).

    A kludge? Yep.

    One other possibility is to just have them all transmitting at once - the signals will overlap - and then doing some hard-core waveform analysis on everything (maybe you could put a carrier tone on each). Or, you might be able to retune a bunch of walkie-talkie pairs, then select each pair at the base station PC via the parallel port (and an analog switch IC), feeding each walkie-talkie output in fashion to the PC sound card input...

    You would probably get the same kind of line-of-sight distance as the AC's solution, more with the family radios. Shouldn't cost more than $40 per sensor on the low end (plus some blood, sweat, and tears to wire everything up and code the software interface).

    I support the EFF - do you?

    --
    Reason is the Path to God - Anon
  22. Product plug :-) by TheEnglishman · · Score: 2

    Try National Instruments FieldPoint system. It's a rugged distributed I/O system with wireless, serial, ethernet and Fieldbus options.
    Look at the Fieldpoint section on NI's site

    Yeap, you guessed it, I work for National Instruments :-)

    Seriously though, there are some very interesting options with the NI gear.

  23. Ming Microsystems RF by zilym · · Score: 2

    You might try these cheap 300MHz Transmitters and Recievers (also available from Digikey.com for a higher price). You can read about EE476 students using them in a customized RC truck here.

  24. Fluke wireless loggers by Thagg · · Score: 2
    I really like these products from Fluke. They are not particularly inexpensive, but can be rented for a reasonable fee, and are extremely rugged. If you only need it for a limited time, why not rent something that you are sure will work?

    thad

    --
    I love Mondays. On a Monday, anything is possible.
  25. gatewayelex.com by small_dick · · Score: 2

    you could try these guys. i think they have something called "ming kits" that let you write parallel data in and rcv parallel data on the far side.

    they have stores in denver, san diego, st. louis.

    if you need details via phone or email i'd try to hit up the san diego store first, i think they have an old navy fart working there who knows the most about their radio kits.

    a one-way link will probably set you back like $100 just for parts, but i'm guessing.

    --


    Treatment, not tyranny. End the drug war and free our American POWs.
    See my user info for links.
  26. a semi perfect solution by fjordboy · · Score: 2

    Actually, and interesting thing....my friend MattH does a radio show online (an on the radio) and last year we did spots that included On-the-scene reporting (for instance...outside for the weather and such) we actually used FRS radios. We used a small, 2 channel mixer, and it worked really well. I would be outside with one radio, and he would be inside with the other. I would talk through the radio, from whatever location I was at (up to 2 miles away) and he would recieve it all on the computer and stream it using shoutcast and winamp. It was sorta interesting and could certainly work. It would also be fairly cheap...50 bucks for a coupla FRS radios (which almost everyone has nowadays) and 75 for a cheap mixer (or run it straight into your line-in jack).