How to Program Data Retrieval from Sensors for Beginners?

  • Thread starter Thread starter blkexp98
  • Start date Start date
  • Tags Tags
    Data Sensors
Click For Summary

Discussion Overview

The discussion focuses on how to begin programming for data retrieval and manipulation from various sensors, particularly concerning voltage and current readings from transducers. Participants express interest in displaying this information on computers or dedicated LCD screens, while exploring different programming environments and hardware interfaces.

Discussion Character

  • Exploratory
  • Technical explanation
  • Conceptual clarification
  • Homework-related

Main Points Raised

  • One participant seeks guidance on starting to program for displaying and manipulating sensor data, specifically voltages and currents.
  • Another participant mentions existing software options like LabView and MATLAB, emphasizing the need for a device to convert analog signals to digital data.
  • A participant highlights the importance of understanding how sensors transmit data, noting that some use analog outputs while others may use digital formats like USB or RS-232.
  • Reference to introductory resources from National Instruments is provided to assist in understanding data acquisition.
  • A suggestion is made to explore the mbed platform for its user-friendly interface and capabilities, with an emphasis on its compatibility with LabVIEW.

Areas of Agreement / Disagreement

Participants express various approaches and tools for programming sensor data retrieval, but there is no consensus on a single method or solution. Multiple viewpoints on the best starting point and tools remain present.

Contextual Notes

Participants discuss different types of sensor outputs and the necessity of data acquisition devices, but there are unresolved details regarding specific programming techniques and hardware choices.

Who May Find This Useful

Individuals interested in programming for sensor data retrieval, beginners in electronics and programming, and those exploring data acquisition methods may find this discussion beneficial.

blkexp98
Messages
10
Reaction score
0
How do you get started learning how to write a program to display and manipulate information from various sensors? What I am mainly interested in are volts and mA's since that's what most transducers and sensors use. I would like to be able to see the information on a computer or eventually on a dedicated LCD screen but I think that's a little ambitious at this point. One of my pressure modules can be read via Hyperterminal but I would like to have a dedicated program to show various sensors all at once. I am just at a loss at where to start looking for help.

For example I have seen a companies program where they had its reading about 6 pressure transducers to make various calculations to give useful data. The guy who wrote the program was there but it wasnt a situation where I could take the time to ask about it.

Thanks for any help.
 
Engineering news on Phys.org
There are many programs that can collect and process data from external devices (and send data to them) - LabView, MATLAB, self-written code, ...
You always need some device to convert analog data (like voltages and currents) to digital data, of course.
 
blkexp98 said:
How do you get started learning how to write a program to display and manipulate information from various sensors? What I am mainly interested in are volts and mA's since that's what most transducers and sensors use. I would like to be able to see the information on a computer or eventually on a dedicated LCD screen but I think that's a little ambitious at this point. One of my pressure modules can be read via Hyperterminal but I would like to have a dedicated program to show various sensors all at once. I am just at a loss at where to start looking for help.

For example I have seen a companies program where they had its reading about 6 pressure transducers to make various calculations to give useful data. The guy who wrote the program was there but it wasnt a situation where I could take the time to ask about it.

Thanks for any help.

You need to first start by looking at how your various sensors transmit their data. Some only have analog outputs (putting out a voltage or current), so as mfb says, you need to digitize those analog values with some sort of data aquisition device, before the data can be read by a PC or laptop. Many sensors put out their data in some digital form, like via a USB connector or RS-232 connector (hence the HyperTerminal application can read their data). Others interface with microcontrollers via I2C or SPI or other serial data interfaces.

Here is some introductory information from National Instruments:

http://www.ni.com/data-acquisition/...arch&nicam=Measurements&nigrp=DataAcquisition

:smile:
 
Have a look at the mbed website. It has adc and dac capability as well as an easy interface (USB cable) to LabVIEW. I'm trying to use it to simulate a front panel of a CHP unit at the moment.
I've found the online compiler to be very useful and there is code online that can be manipulated to suit.

There may be better ways, but as someone starting out I found the mbed to be user friendly.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 9 ·
Replies
9
Views
10K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 7 ·
Replies
7
Views
2K
Replies
2
Views
1K
Replies
4
Views
5K