Electronics development

Moderators: None (Apply to moderate this forum)
Number of threads: 512
Number of posts: 1020

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Re: Receiving data from a sensor Posted by kor on 21 Apr 2003 at 12:29 PM
: : : ok.. i have a pressure sensor connected to a hydraulic system. What i want to do is to receive the pressure sensed by the sensor to a computer and get that data and plot a graph of pressure vs time.
: : :
: : : Now what is the device i need which will convert the pressure sensor signals to a format which can be read by a computer? I would like to know all the hardware details i will be requiring and how to configure it.Which port do i need to use.
: : :
: : : Once i can get the value in my computer then the rest can be done in VB.
: : : I am sound in Visual Basic but have no idea in this feild. So please help.
: : :
: : : Any help would be highly appreciated.
: : :
: : More specs on the sensor would help. Is it calibrated already, or do you have to do that? is it a voltage or current output, or digital? Is it actually an output, or does it just vary the resistance, requiring you to put a voltage source in series, and an opamp to convert the current to voltage?
: :
: *****************************************************************
:
: Well the sensor is not callibrated. I'd also like to know that how can I callibrate it. It simply generates a current proportional to the pressure sensed by it in the system. i.e the input is analog not digital.Yes it does give an output of some mA of current.
:
: Any further help will be appreciated.
:
Do you have to put some voltage on one end, and a current comes out the other? if so, set up an opamp with a feedback resistor, probably a potentiometer so you can calibrate it, from the output to the inverting input, and tie the other input to ground. Put the output from the sensor to the inverting input, and, at maximum pressure, set the potentiometer to some value, probably the max of your adc (which I will talk about later). then, at minimum pressure, (I'm assuming here that this works, if not, set voltage for minimum pressure and this step for maximum pressure), make note of the output voltage. If it's significant, apply some voltage to the noninverting terminal of the opamp, probably from the wiper of a potentiometer, and see if you can get it to be about 0. Take this output to an analog to digital converter, with no more bits than the number of input data pins you have. You'll probably need one output pin to tell the adc when to sample, and one extra input to tell you when it's done. They usually aren't that slow, so it may not be a problem. as for calibrating it, there are two methods. I'd recommend you shift and scale the output in your program, so you get as much precision as you can get from the sensor.
Thread Tree
simranjeet123 Receiving data from a sensor on 20 Apr 2003 at 7:21 AM
kor Re: Receiving data from a sensor on 20 Apr 2003 at 9:02 PM
simranjeet123 Re: Receiving data from a sensor on 21 Apr 2003 at 8:54 AM
kor Re: Receiving data from a sensor on 21 Apr 2003 at 12:29 PM
dmswx Re: Receiving data from a sensor on 13 May 2003 at 11:25 PM
quicksights Re: Receiving data from a sensor on 17 Jan 2004 at 5:18 PM



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.