Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

NOKIA-3310/5110 LCD library
Goto page 1, 2, 3, 4, 5, 6, 7, 8  Next
 
Post new topic   Reply to topic    www.mcselec.com Forum Index -> Share your working BASCOM-AVR code here
View previous topic :: View next topic  
Author Message
Mrshilov

Bascom LCD Guru



Joined: 24 Jan 2009
Posts: 314
Location: Russia

russia.gif
PostPosted: Fri Feb 28, 2014 2:19 am    Post subject: NOKIA-3310/5110 LCD library Reply with quote

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
View user's profile
yahi92

Bascom Member



Joined: 23 Feb 2014
Posts: 25

PostPosted: Sun Mar 02, 2014 12:32 pm    Post subject: Reply with quote

thank you for sharing.
but there is no "glcd-Nokia3310.lib" in the zip file.
please check it.
Back to top
View user's profile
Mrshilov

Bascom LCD Guru



Joined: 24 Jan 2009
Posts: 314
Location: Russia

russia.gif
PostPosted: Sun Mar 02, 2014 9:15 pm    Post subject: Reply with quote

It is in LIB folder of zip-file.
Back to top
View user's profile
yahi92

Bascom Member



Joined: 23 Feb 2014
Posts: 25

PostPosted: Mon Mar 03, 2014 2:13 pm    Post subject: Reply with quote

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
View user's profile
Mrshilov

Bascom LCD Guru



Joined: 24 Jan 2009
Posts: 314
Location: Russia

russia.gif
PostPosted: Mon Mar 03, 2014 8:29 pm    Post subject: Reply with quote

You must copy library to LIB directory.
С:\Program Files\MCS Electronics\BASCOM-AVR\LIB
Back to top
View user's profile
yahi92

Bascom Member



Joined: 23 Feb 2014
Posts: 25

PostPosted: Tue Mar 04, 2014 4:30 pm    Post subject: Reply with quote

Mrshilov wrote:
You must copy library to LIB directory.
С:\Program Files\MCS Electronics\BASCOM-AVR\LIB


thank you it works so great.
Very Happy

there is an other question.

Do you have any similar library for Nokia 1100 ?

thank you again.
Back to top
View user's profile
albertsm

Administrator



Joined: 09 Apr 2004
Posts: 5920
Location: Holland

blank.gif
PostPosted: Tue Mar 04, 2014 9:16 pm    Post subject: Reply with quote

Thank you for sharing Mr. Mrshilov. It is hard to keep up with you Very Happy
_________________
Mark
Back to top
View user's profile Visit poster's website
yahi92

Bascom Member



Joined: 23 Feb 2014
Posts: 25

PostPosted: Wed Mar 05, 2014 8:48 pm    Post subject: Reply with quote

Hello again

Mr. Mrshilov

Do you have any similar library for nokia 1100(1202,...) lcd?

thanks a million.
Back to top
View user's profile
Mrshilov

Bascom LCD Guru



Joined: 24 Jan 2009
Posts: 314
Location: Russia

russia.gif
PostPosted: Thu Mar 06, 2014 4:14 am    Post subject: Reply with quote

Yes, I have. I will publish it soon.
Back to top
View user's profile
yahi92

Bascom Member



Joined: 23 Feb 2014
Posts: 25

PostPosted: Thu Mar 06, 2014 10:44 am    Post subject: Reply with quote

Mrshilov wrote:
Yes, I have. I will publish it soon.



Very Happy
Thank you
I am waiting...
best regards.
Back to top
View user's profile
tronicgr

Bascom Member



Joined: 22 Apr 2009
Posts: 17
Location: USA, San Diego

usa.gif
PostPosted: Fri Mar 07, 2014 12:34 am    Post subject: Reply with quote

Mr. Mrshilov,

Do you happen to have a lib for SSD1306 OLED 0.96 inch 128X64 ?? SPI or I2C mode... Smile


Thanks
Thanos

_________________
Visit my blog about 6DOF controller electronics
http://motionsim.blogspot.com/
Back to top
View user's profile Visit poster's website
Mrshilov

Bascom LCD Guru



Joined: 24 Jan 2009
Posts: 314
Location: Russia

russia.gif
PostPosted: Fri Mar 07, 2014 3:59 am    Post subject: Reply with quote

I have no this display.
Back to top
View user's profile
aphawk

Bascom Member



Joined: 23 Jan 2010
Posts: 168
Location: Brazil

brazil.gif
PostPosted: Sat Mar 15, 2014 6:54 am    Post subject: Reply with quote

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
View user's profile
Mrshilov

Bascom LCD Guru



Joined: 24 Jan 2009
Posts: 314
Location: Russia

russia.gif
PostPosted: Sat Mar 15, 2014 12:44 pm    Post subject: Reply with quote

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
View user's profile
Dave

Bascom Member



Joined: 05 Feb 2005
Posts: 314
Location: OR

usa.gif
PostPosted: Sat Mar 15, 2014 5:19 pm    Post subject: Reply with quote

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
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    www.mcselec.com Forum Index -> Share your working BASCOM-AVR code here All times are GMT + 1 Hour
Goto page 1, 2, 3, 4, 5, 6, 7, 8  Next
Page 1 of 8

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum