View previous topic :: View next topic |
Author |
Message |
Mrshilov
Joined: 24 Jan 2009 Posts: 314 Location: Russia
|
Posted: Fri Feb 28, 2014 2:19 am Post subject: NOKIA-3310/5110 LCD library |
|
|
NOKIA-3310/5110 B&W LCD library written as standard BASCOM one. This LCD uses controller PCD8544.
Library has software screen rotation to 180° option.
Pins CS & RESET for library is optional. CS may be permanently connected to GND or may be used to select chip outside. RESET may be connected to +3,3V via RC-chain (10k-1mkF).
Also it is possible to regulate Contrast. See example for details.
In this photo Arduino-oriented version with backlight. To fire it simply ground LIGHT pin or solder JP. |
|
Back to top |
|
|
yahi92
Joined: 23 Feb 2014 Posts: 25
|
Posted: Sun Mar 02, 2014 12:32 pm Post subject: |
|
|
thank you for sharing.
but there is no "glcd-Nokia3310.lib" in the zip file.
please check it. |
|
Back to top |
|
|
Mrshilov
Joined: 24 Jan 2009 Posts: 314 Location: Russia
|
Posted: Sun Mar 02, 2014 9:15 pm Post subject: |
|
|
It is in LIB folder of zip-file. |
|
Back to top |
|
|
yahi92
Joined: 23 Feb 2014 Posts: 25
|
Posted: Mon Mar 03, 2014 2:13 pm Post subject: |
|
|
Mrshilov wrote: | It is in LIB folder of zip-file. |
I copied that to the main folder but there is a problem:
thank you for your answering.
(bascom 2.0.7.3) |
|
Back to top |
|
|
Mrshilov
Joined: 24 Jan 2009 Posts: 314 Location: Russia
|
Posted: Mon Mar 03, 2014 8:29 pm Post subject: |
|
|
You must copy library to LIB directory.
С:\Program Files\MCS Electronics\BASCOM-AVR\LIB |
|
Back to top |
|
|
yahi92
Joined: 23 Feb 2014 Posts: 25
|
Posted: Tue Mar 04, 2014 4:30 pm Post subject: |
|
|
Mrshilov wrote: | You must copy library to LIB directory.
С:\Program Files\MCS Electronics\BASCOM-AVR\LIB |
thank you it works so great.
there is an other question.
Do you have any similar library for Nokia 1100 ?
thank you again. |
|
Back to top |
|
|
albertsm
Joined: 09 Apr 2004 Posts: 5913 Location: Holland
|
Posted: Tue Mar 04, 2014 9:16 pm Post subject: |
|
|
Thank you for sharing Mr. Mrshilov. It is hard to keep up with you _________________ Mark |
|
Back to top |
|
|
yahi92
Joined: 23 Feb 2014 Posts: 25
|
Posted: Wed Mar 05, 2014 8:48 pm Post subject: |
|
|
Hello again
Mr. Mrshilov
Do you have any similar library for nokia 1100(1202,...) lcd?
thanks a million. |
|
Back to top |
|
|
Mrshilov
Joined: 24 Jan 2009 Posts: 314 Location: Russia
|
Posted: Thu Mar 06, 2014 4:14 am Post subject: |
|
|
Yes, I have. I will publish it soon. |
|
Back to top |
|
|
yahi92
Joined: 23 Feb 2014 Posts: 25
|
Posted: Thu Mar 06, 2014 10:44 am Post subject: |
|
|
Mrshilov wrote: | Yes, I have. I will publish it soon. |
Thank you
I am waiting...
best regards. |
|
Back to top |
|
|
tronicgr
Joined: 22 Apr 2009 Posts: 17 Location: USA, San Diego
|
|
Back to top |
|
|
Mrshilov
Joined: 24 Jan 2009 Posts: 314 Location: Russia
|
Posted: Fri Mar 07, 2014 3:59 am Post subject: |
|
|
I have no this display. |
|
Back to top |
|
|
aphawk
Joined: 23 Jan 2010 Posts: 168 Location: Brazil
|
Posted: Sat Mar 15, 2014 6:54 am Post subject: |
|
|
Mr. Mrshilov,
I see that the Ili9163c is code compatible with the original nokia 5110 code. But this chip has color support, and there are very low cost color displays with 128x128 pixels that use this chip with serial interface. In fact, they are selling it for nokia5110 replacement. And found it in Ebay for less than US$ 5 ! I think that is a very cool solution for small projects, and was thinking in buy some displays to use with Bascom.
I see in one post that someone has noted that this chip is very similar to the PCF8533, except for rgb data widht and the 128x128 resolution. See it :
http://www.mcselec.com/index2.php?option=com_forum&Itemid=59&page=viewtopic&t=8392&highlight=pcf8833
But the code that was posted had a lot of errors, and was cleared , but the user tell at the end that he make it works perfectly, and do not post the correct code...... Very bad !
You have one library ready to use it ?
Or there is one way to use the library you posted in this topic and use the color commands ?
Thanks a lot for your support.
Paulo |
|
Back to top |
|
|
Mrshilov
Joined: 24 Jan 2009 Posts: 314 Location: Russia
|
Posted: Sat Mar 15, 2014 12:44 pm Post subject: |
|
|
As I see ILI9163C is not compatible with NOKIA-5110 (PCD8544). It close to PCF8833 in some instructions, but it is NOKIA-6100/6610/7200/7250/3100. |
|
Back to top |
|
|
Dave
Joined: 05 Feb 2005 Posts: 314 Location: OR
|
Posted: Sat Mar 15, 2014 5:19 pm Post subject: |
|
|
Mr. Mrshilov,
Thanks for sharing. The more people share there code the stronger Bascom becomes and so better for all of us.
I would like to see the addition of graphics commands like pset, line, box ...
Also when using "Lcdat y , x , Text" x is in pixels per step but y about 8 pixels per step. I think it should be 1 pixel per step for x and y.
Best Regards,
Dave |
|
Back to top |
|
|
|