Calculating SpO2 in pulse oximetre, 16F877A PIC

Status
Not open for further replies.
@ Fragrance :

Thanks for the docs , can you tell me why using +12 , -12 in the circuit ?!
cant we just use +5 , GND instead ?!

yes you must used dual supply voltage for rail to rail operation and better signal conditioning

regards
Fragrance
 
Hello everybody and thank you Fragrance for helping us.

Now, after 2 weaks of struggle with this project, I have to tell you that I lost hope.

From my point of view, there are major flaws in this project.

How can you power up your nokia 5110 display with 5 V ? In the schematic, there is not clear how to connect the pins from the display.

The display have 9 pins: 1-VDD 2-SCLK 3-SI 4-D/C 5-/CS 6-OSC 7-GND 8-VOUT 9-RES. In the schematic, you can connect 1,2,3,4,5,7 and 9 and 6-OSC and 8-VOUT are not connected. Also, there are a couple of pins which are not connected(10 actually).

Again, nokia 5110 display needs 3.3 V to function, not 5 V. Yes there are reports on the net, that this display can take 5 V but no real evidence. Anyway, I have tryed with 5 V and nothing.

Now, about the code. I was able to compile it. But my 16f876A was only able to light the leds.



I hope there is some one here who really made it !

Thank you !
 

do not lost hope i will check and come to you again

regards
Fragrance
 
Reactions: Jongs

    Jongs

    Points: 2
    Helpful Answer Positive Rating
@Fragrance : thanks for answering my question

I'm trying to do the same circuit JONGS did , i found the same problem in the display pin configuration

@Jongs , have you test the signals in the Testing points ?! if they were right as the ones given in the schematic i think you are only having display problem then .
what do u think if we try to change the nokia LCD with normal LCD and print out the spo2 & Pulse rate on it ?!

anyone knows how to reach narccizzo ?!
 
Reactions: Jongs

    Jongs

    Points: 2
    Helpful Answer Positive Rating

as there is no part list provided with original archive further not mentioned in the schematic what type of LCD is that and from which model of Nokia phone, the best way is that concern with LCD display data sheet, i have attach an image for Nokia LCD connection for reference purpose only as the attach image belong to 3310 LCD display, further i have attach an other design which i have made and working fine.



**broken link removed** uploaded large file out side forum to save space on board

regards
Fragrance
 
Reactions: Jongs

    Jongs

    Points: 2
    Helpful Answer Positive Rating
Reactions: Jongs

    Jongs

    Points: 2
    Helpful Answer Positive Rating

BigDog Thanks for sharing data sheet, to Lebronic you can make test run under Proteus just wire up CPU and LCD with setting switch and not setup rest hardware run simulation to see result and then used same hardware setting in real, i will share some other good Nokia LCD Proteus model by Monday

regards
Fragrance
 

Thanks Fellos
i think the best way is to change the display
i'm trying to do that , using 16x2 LCD display and modifying the code to make it working

the problem i'm facing when using a simple code to view two words (SPO2=,PPM=) (and some constant values ) in proteus it doesnt really show the two words and constant number ! dont know why but i'm using this 16x2 LCD connected to the port B (as NOKIA lcd display connected to the same port ),then i'm going to pass the Sao2 variable to the LCD method to write the exact number each time it calculated spo2

here's How i connect the LCD Display
DISPLAY (D1,D2,D3,D4,RS,Enable) = (B0,B1,B2,B3,B4,B5)
using flowcode i was able to make it working , i generate the hex file to implement it in proteus , but it doesnt show up


Here's on flowcode :


my first thoughts about the modification is like this
 
Last edited:
Thank you Fragrance and BigDog for helping us !

Unfortunately I'm stuck with this project and I've to find a solution regarding the nokia display.

I'm using a nokia 5110 phone with the display, not the display alone.



On the back of the display, as you can see there are 9 connection points:

1-VDD 2-SCLK 3-SI 4-D/C 5-/CS 6-OSC 7-GND 8-VOUT 9-RES

Our schematic from the project is this:



I connect 1-VDD 2-SCLK 3-SI 4-D/C 5-/CS 7-GND 9-RES, but the problems are:

First, 1-VDD, as you can see, is at 5 V. From nokia display datasheet I can see that we need 3.3 V. How Narccizzo, the original author of this project made it ?

Second, what we do with the 6-OSC and 8-VOUT ? They are left open ?

Thank you Fragrance and BigDog for your kind help !
 
Reactions: vik424

    vik424

    Points: 2
    Helpful Answer Positive Rating
hi gud ppl,
i m sorry to take you backward.I got a problem just at the begining,wanna go from designing the probe and i have the 2 led and the photodiode.I would like to use the 555 time as the frequency generator but dont know if i must use one or two for each led and if i m using two how will i sinchronize them to do not go at the sametime as they are 2 differnt ic.
thx
leonel
 

@Jongs :


@leonel : regarding the sensor , you can use two LED (infra & RED ) with the photodiode directly without the need of 555 (if you are using narracoz design )
(look on the photo provided by JONGS how he attach them directly to desired points)
other solution , which i'm doing , is to use a nellcur Sensor you will have 9 Pin Connector , you can connect 5-9 to photodiode , and 3-4 to AD620 .
 

the pic put by jongs only showing the lcd and pic. how do you want me to generate the pulse of frequency on the leds without the 555 timer?
can you send me the narracoz design plz i dont have it
thx
 

hi
sorry i dont understand correctly that cicuit,
my concern is at the bigining.What do u use to pulse the leds?
 

wow thx very much for the help.
got some more question
can i replace the ic ad620 with opa381? as it's une as trans-impedance amplifier or is there any raison of usinf exactly that one?
and can i use LM741 instead of TL084?
What is the name of a IC that i can use as buffer?
on the circuit that you sent me : thetion C0 to C7 wer are they connected to?
I can see C1 is connected to R24, but all the other I dont knw wer to connect them
as well as the circuit having pin 8 and pin9 wat is it for and wer doi connect it? to
plz help
please help me once again
 

C0-C7 is connected from the Resistors to the port C on the pic
and then from Resistors to photo diode of the sensor
Pin 8 , 9 it's the bypass Capacitor for LCD,PIC, EPROM
 


you made wrong connection for LCD to make setup for test, make connection like this used D4,D5,D6,D7 for data input and ground the D0,D1,D2,D3 also ground the pin 5 of LCD
 
Reactions: lebronic

    lebronic

    Points: 2
    Helpful Answer Positive Rating
    V

    Points: 2
    Helpful Answer Positive Rating
@Frag
Yes Sir this was helpful i could show up the two values


Now i have the C code for showing the values , and the main c (with the Nokia LCD)
we need to combine both to get the ability to show the real values
 

    V

    Points: 2
    Helpful Answer Positive Rating
hi
sorry if i m asking too much but why are we powering the 2 leds with 3 output of the pic(for each led).
knowing that a output give 5V .why are we using 3 output for each?
and the small circuit with transistor i believe is to create a sort of constant current or what is the use of it? if i m right why is it only on the pin 3 not pin 4? those two pin are for the leds.
finally the pin 8 and 9 are just ground line right?
thx for your support
leonel
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…