Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Jun 11th, 2008, 8:27 PM   #1
musica07
Newbie
 
Join Date: Jun 2008
Posts: 11
Rep Power: 0 musica07 is on a distinguished road
Exclamation Pressure sensor

Hello there!

I am currently doing this pic18 project on blood pressure meter. I have to come up with some c codes for the device to ork. I already did the main program but i am stuck in writing codes for the pressure sensor part. I dont know how to write codes to capture the user's blood pressure reading and display it on the lcd panel. Can i use void PSENSOR(void) function call? I am really stuck at this part. Any ideas? Thanks!
musica07 is offline   Reply With Quote
Old Jun 11th, 2008, 9:15 PM   #2
Ancient Dragon
PFO God In Training
 
Ancient Dragon's Avatar
 
Join Date: Jun 2005
Location: near St Louis, MO. (USA)
Posts: 532
Rep Power: 4 Ancient Dragon is on a distinguished road
Re: Pressure sensor

You need to read the programmer's documentation that came with the meter to find out how to get information from it.
__________________
I Like Ike. Vote for Dwight Eisenhower this November.
--This message brought to you by the the Procrastinators Club Of America.
Ancient Dragon is offline   Reply With Quote
Old Jul 7th, 2008, 2:40 AM   #3
musica07
Newbie
 
Join Date: Jun 2008
Posts: 11
Rep Power: 0 musica07 is on a distinguished road
Re: Pressure sensor

The oscillometric method was used. The motor will pump out air into the cuff until the pressure reaches to about 180mmHg. When it reaches the max pressure(180mmHg), the motor will stop pumping and the air will slowly escape from the cuff(deflate). The pressure in the cuff will start to decrease. As the cuff starts to deflate, tiny oscillations in the air pressure of the cuff will be measured. The systolic pressure is when the pulsation occurs. A while later, the pressure in the cuff will decrease further. The diastolic pressure is when the oscillations starts to disappear.

The pressure transducer used to sense the pressure from the cuff consists of an analog circuit which includes two TLV274(Op-Amp), a potentiometer and a few resistors. It drives at 3V. It is used to amplify both the DC and AC components of the output signal of the pressure transducer. The pressure transducer produces the output voltage proportional to the appied differential input pressure.

I am not so sure on how to get the blood pressure readings and also on how to write the codes to measure and calculate the bp. Any help is greatly appreciated(:
musica07 is offline   Reply With Quote
Old Jul 7th, 2008, 4:33 AM   #4
Adak
Hobby Coder
 
Join Date: May 2006
Posts: 57
Rep Power: 0 Adak is an unknown quantity at this point
Re: Pressure sensor

Your information is a start, but lacks all the details you need to program the device, in detail, for your project.

I can only echo AD's advice:
Quote:
You need to read the programmer's documentation that came with the meter to find out how to get information from it.
You should have that documentation. If you don't have it, you should contact the manufacturer or distributor, and get it.

If you're having a problem with a bit of code, by all means post it, and describe the problem.
Adak is offline   Reply With Quote
Old Jul 7th, 2008, 1:33 PM   #5
colin mac
Newbie
 
Join Date: Nov 2007
Location: Ireland
Posts: 18
Rep Power: 0 colin mac is on a distinguished road
Re: Pressure sensor

The voltage out of the sensor is analogous to the pressure you're interested in. Put the voltage through an ADC and you have a digital value your PIC can use. It's pointless asking how to program. Read a book and learn how.
colin mac is offline   Reply With Quote
Old Jul 8th, 2008, 12:59 AM   #6
musica07
Newbie
 
Join Date: Jun 2008
Posts: 11
Rep Power: 0 musica07 is on a distinguished road
Re: Pressure sensor

Thx anyway. I already got some help(:
musica07 is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 5:08 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC