Fragrance
Advanced Member level 4
- Joined
- Jul 26, 2002
- Messages
- 1,190
- Helped
- 248
- Reputation
- 496
- Reaction score
- 202
- Trophy points
- 1,343
- Location
- East Of Earth
- Activity points
- 8,933
@ Fragrance :
Thanks for the docs , can you tell me why using +12 , -12 in the circuit ?!
cant we just use +5 , GND instead ?!
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.
View attachment 72868
I hope there is some one here who really made it !
Thank you !
@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 ?!
The following is the datasheet for the PCD8544/Nokia 5110 display controller:
PCD8544 48x84 pixels matrix LCD controller/driver
A few tutorials and example projects using the Nokia 5110 LCD:
5110 Quick Start Tutorial
Arduino Example Philips PCD8544 (Nokia 3310) driver
BigDog
Voltage difference: 5.5v vs 3V
Both LCDs are designed to work with 3.3V, but due to an internal voltage clamp 5V can be used for SCLK, SDATA, REST, D/C and CS as long as a current limiting resistor (around 10k) is connected in series for each line. 3.3V should still be applied to VCC and the LED supply. I have tried using voltage dividers, which did not work, perhaps due to the LCD varying internal resistance and current consumption.
With the above connections we can only write to the LCD but can't read back the LCD response because 3.3v is not high enough to register as logic '1' in the PIC. Luckily reading from the LCD is not required for basic operations; all that is needed is sufficient delay after each operation to make sure the LCD is ready for next command.
I have chosen the PIC16f88 simply because it's available in my junk box. However, as the 16f88 does not have dedicated hardware SPI required by the LCD modules, bit-banging has to be used to simulate SPI. Although this usually means complicated code and lower throughput, it does not matter as all I wanted is to get the LCD to display something useful
sorry i dont understand correctly that cicuit,
my concern is at the bigining.What do u use to pulse the leds?
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
View attachment 72962
Here's on flowcode :
View attachment 72961
my first thoughts about the modification is like this
View attachment 72960
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?