How to Program Data Retrieval from Sensors for Beginners?

  • Thread starter Thread starter blkexp98
  • Start date Start date
  • Tags Tags
    Data Sensors
AI Thread Summary
To program data retrieval from sensors, begin by understanding how your sensors transmit data, as some use analog outputs that require digitization through a data acquisition device. Many sensors provide digital outputs via USB or RS-232, which can be accessed using applications like HyperTerminal. Consider using platforms like LabVIEW or MATLAB for data collection and processing, or explore self-written code for more customization. The mbed platform is recommended for beginners due to its user-friendly interface and compatibility with various programming tools. Starting with these resources will help in developing a dedicated program to display and manipulate sensor data effectively.
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.
 
Very basic question. Consider a 3-terminal device with terminals say A,B,C. Kirchhoff Current Law (KCL) and Kirchhoff Voltage Law (KVL) establish two relationships between the 3 currents entering the terminals and the 3 terminal's voltage pairs respectively. So we have 2 equations in 6 unknowns. To proceed further we need two more (independent) equations in order to solve the circuit the 3-terminal device is connected to (basically one treats such a device as an unbalanced two-port...
Thread 'Weird near-field phenomenon I get in my EM simulation'
I recently made a basic simulation of wire antennas and I am not sure if the near field in my simulation is modeled correctly. One of the things that worry me is the fact that sometimes I see in my simulation "movements" in the near field that seems to be faster than the speed of wave propagation I defined (the speed of light in the simulation). Specifically I see "nodes" of low amplitude in the E field that are quickly "emitted" from the antenna and then slow down as they approach the far...
Back
Top