![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: Jun 2008
Posts: 11
Rep Power: 0
![]() |
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! |
|
|
|
|
|
#2 |
|
PFO God In Training
![]() Join Date: Jun 2005
Location: near St Louis, MO. (USA)
Posts: 532
Rep Power: 4
![]() |
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. |
|
|
|
|
|
#3 |
|
Newbie
Join Date: Jun 2008
Posts: 11
Rep Power: 0
![]() |
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(: |
|
|
|
|
|
#4 | |
|
Hobby Coder
Join Date: May 2006
Posts: 57
Rep Power: 0
![]() |
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:
If you're having a problem with a bit of code, by all means post it, and describe the problem. |
|
|
|
|
|
|
#5 |
|
Newbie
Join Date: Nov 2007
Location: Ireland
Posts: 18
Rep Power: 0
![]() |
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.
|
|
|
|
|
|
#6 |
|
Newbie
Join Date: Jun 2008
Posts: 11
Rep Power: 0
![]() |
Re: Pressure sensor
Thx anyway. I already got some help(:
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|