| Author |
Message |
|
|
Posted: Jul 15, 2007 - 08:28 PM |
|

Joined: Mar 06, 2001
Posts: 552
Location: Moscow
|
|
1.LCD - Nokia 3310
2.Atmega88V - super picopower nanowatt processor
3.TPS61200 as power convertor
4.Jim, This is correct? |
|
|
| |
|
|
|
|
|
Posted: Jul 15, 2007 - 08:49 PM |
|

Joined: Jun 15, 2007
Posts: 110
Location: Gdańsk, Poland
|
|
tada! guess what i've found minutes ago in my junk drawer...
an old nokia 3110, dead after my ex spilled a cup of tea on it. it's not charging, so i guess the repair is complicated enough (smd soldering? boo..) and not worth considering phone's price to slaughter it for excellent amusement.
woo!
googled information mismatch with each other. one claim philips chip is used, the other says it's epson. guess i'll just need to check myslelf.
anyway, here is the link i've found:
http://www.nxp.com/acrobat_download/dat ... 8544_1.pdf
well, i meant to have a bigger display, but reassuming it's the one i have and programming colour is just too much for me right now, let's stick with it. it's quite similar to ones used in 3310, 3330, 5110, 3210 etc. plain 48x84.
task 2 almost done. i'm troubled with determining i/o pins count. let's say i've got the philips model. please help.
Thanks
UPDATE (info from other forum):
Quote:
I had the info right in front of me, the 3110/3810 displays use the Seiko(/Epson/S-MOS Systems) SED1560 chip.
|
_________________ Not entirely familiar with AVR thingies... yet.
Last edited by mactom on Jul 15, 2007 - 08:53 PM; edited 1 time in total
|
| |
|
|
|
|
|
Posted: Jul 15, 2007 - 08:50 PM |
|


Joined: Apr 20, 2007
Posts: 6063
Location: Long Island New York
|
|
zauberer:
Who are you? I have been working with Mactom.
But WELCOME!!
To answer question #4 There is no wrong answer. The mega88 is a great chip. It all depends on what you are looking to accomplish
Jim |
_________________ Jim
I have decided that I am no longer going to plan anything in advance. In a court of law this is called Pre-Meditated, and does not look good for the defense.....
Timer function not working properly? Check CLKDIV8 Fuse first
|
| |
|
|
|
|
|
Posted: Jul 15, 2007 - 10:01 PM |
|

Joined: Jun 15, 2007
Posts: 110
Location: Gdańsk, Poland
|
|
zauberer - the boost chip you picked has pretty cool efficiency in low input voltages. but my teacher suggested not using any step-ups i'm curious how are we going to solve it, but it's not task 4 yet  |
_________________ Not entirely familiar with AVR thingies... yet.
|
| |
|
|
|
|
|
Posted: Jul 15, 2007 - 10:40 PM |
|


Joined: Apr 20, 2007
Posts: 6063
Location: Long Island New York
|
|
Mactom:
Glad to see you have your display. Can you send me any links? In Mr./Ms. Zauberer's case, maybe a step-up is ok. Since you want to power everything on a solar cell I suggested not using one. There are reasons but I won't get into it right now.
Have you looked at the micro yet? For I/O you will need to see how much I/O is required by the display, and then any other functions.
Jim |
_________________ Jim
I have decided that I am no longer going to plan anything in advance. In a court of law this is called Pre-Meditated, and does not look good for the defense.....
Timer function not working properly? Check CLKDIV8 Fuse first
|
| |
|
|
|
|
|
Posted: Jul 15, 2007 - 11:22 PM |
|

Joined: Jun 15, 2007
Posts: 110
Location: Gdańsk, Poland
|
|
jim:
i haven't dissasembled the phone yet, so i'm not sure on which chip is the lcd running on, but i guess there's no big difference between philips and seiko pinouts. nokia guys should be lazy enough not to make significant changes between two board models, for krishna's sake.
that's why i'm analizing philips datasheet, which is here: http://www.nxp.com/acrobat_download/datasheets/PCD8544_1.pdf
so, it says it has serial interface, just as you advised.
page 5 provides info about pinout. please have a look, i guess it's a waste of time to rewrite the whole thing here. there are some inputs and outputs, but i guess the only ones i need are serial data line and mode select.
that makes two. plus eeprom i/os, backlight button or other trigger, eeprom content show button, two timer set buttons (i've never thought about them before, shame ) that makes 6 + eeprom i/os, but have no idea how much is it. should i choose eeprom model too, or is it somehow standardized?
now it's your turn to correct me
the other philips i/os are scary! positive and negative power supply rails? row and column driver outputs? what the hell are those for? help!
crap, i'm out of pipe tobacco. not now! |
_________________ Not entirely familiar with AVR thingies... yet.
|
| |
|
|
|
|
|
Posted: Jul 16, 2007 - 03:15 AM |
|


Joined: Apr 20, 2007
Posts: 6063
Location: Long Island New York
|
|
I looked at the chip. It will require 4 lines of I/O. One for data, one for clock, one for chip enable, and one for data/control. The other thing is that because it is a graphical lcd the data is a bit pattern, not ascii. Since you are looking at making a binary clock, this is not that big a deal. You will also not need the external eeproms either.
What you will need is to see if the lcd controller is directly attached to the display, and if the control pads are accesable. Not having a 3310 to look at i could not tell
Jim |
_________________ Jim
I have decided that I am no longer going to plan anything in advance. In a court of law this is called Pre-Meditated, and does not look good for the defense.....
Timer function not working properly? Check CLKDIV8 Fuse first
|
| |
|
|
|
|
|
Posted: Jul 16, 2007 - 10:07 AM |
|

Joined: Mar 06, 2001
Posts: 552
Location: Moscow
|
|
|
|
|
|
|
Posted: Jul 16, 2007 - 11:17 AM |
|


Joined: Dec 17, 2005
Posts: 1498
Location: Europe- Estonia- Tallinn
|
|
| maybe you didn't see that, but he is NOT using 3310, but 3110! The interface may be different. also the pinout of the display. |
|
|
| |
|
|
|
|
|
Posted: Jul 16, 2007 - 01:13 PM |
|


Joined: Apr 20, 2007
Posts: 6063
Location: Long Island New York
|
|
Mr. Zauberer,
My bad on not recognizing you. The pinouts that Mactom needs totals 4, yes with the buzzer it is then 6.
Thanks for the input!!!
Jim |
_________________ Jim
I have decided that I am no longer going to plan anything in advance. In a court of law this is called Pre-Meditated, and does not look good for the defense.....
Timer function not working properly? Check CLKDIV8 Fuse first
|
| |
|
|
|
|
|
Posted: Jul 16, 2007 - 02:23 PM |
|

Joined: Jun 15, 2007
Posts: 110
Location: Gdańsk, Poland
|
|
right, i'm using 3110. some people doubt this phone even exist, but it really does. once again lack of digital camera makes me sad.
Jim: the reason i wanted to use external eeprom is that i can have more than one of them and change them if i need. and i'll just update data on them with other device i'll build for this purpose. remember i wanted to store pngs on them which presentation will be triggered by a buttonpush.
i'm honestly sorry to introduce new feature of my project. i realized that one image for mono 48/84 display makes 504B + header (isn't it?) so what i thought is to store more of them on mentioned eeprom. to choose between them i could use a switch like this:
(stupid opera browser runs into infinite loop while using IMG button of 'post reply' screen... oh well)
(image stolen from www.piekarz.pl)
imagine there are no numbers printed on this switch. on binary '0' position (all switches off) a normal time/date stamp will be shown, on other position - respective image from eeprom. moreover, on positions 128 and greater (first switch from the left on) the setup mode will be launched in which the time and date will be set. in this case, each switch set on increases specified value twice per second until you make it off.
anyways, i'm not encouraging you to write this software for me, i'm justifying my choice.
ok, i understand this will be 4 i/os for lcd, 8 for switch and x for eeprom, still need support on this one.
when we have those i/os figured out, i need to know how much memory will i need to make my software fit the chip. then, the choce is on my way.
hm, i realized i somehow forgot about backlight switch. oh well, it's a software issue. 8 switches must be enough. |
_________________ Not entirely familiar with AVR thingies... yet.
|
| |
|
|
|
|
|
Posted: Jul 16, 2007 - 03:38 PM |
|

Joined: Mar 06, 2001
Posts: 552
Location: Moscow
|
|
| You can use megas internal flash memory to store predefined pictures or any FRAM from Ramtron. |
|
|
| |
|
|
|
|
|
Posted: Jul 16, 2007 - 03:56 PM |
|


Joined: Apr 20, 2007
Posts: 6063
Location: Long Island New York
|
|
I think you will need to abandon the supercaps and go for the nicad rechargables. So much for this as a wristwatch in the end as well!!
Jim |
_________________ Jim
I have decided that I am no longer going to plan anything in advance. In a court of law this is called Pre-Meditated, and does not look good for the defense.....
Timer function not working properly? Check CLKDIV8 Fuse first
|
| |
|
|
|
|
|
Posted: Jul 16, 2007 - 04:53 PM |
|

Joined: Jun 15, 2007
Posts: 110
Location: Gdańsk, Poland
|
|
fram needs 10mA. isn't it a temporary memory anyway?
i'm thinking of using, as you strongly advise, avr internal memory AND putting port onboard to update data inside. one i/o for that is all we need?
EDIT:
jim, are you sure you've answered my previous post? we've already agreed that supercaps will wait for other purposes... |
_________________ Not entirely familiar with AVR thingies... yet.
|
| |
|
|
|
|
|
Posted: Jul 16, 2007 - 06:17 PM |
|

Joined: Mar 06, 2001
Posts: 552
Location: Moscow
|
|
| I use 4 button for menu: Up, Down, Enter,Escape. |
|
|
| |
|
|
|
|
|
Posted: Jul 16, 2007 - 06:52 PM |
|

Joined: Jun 15, 2007
Posts: 110
Location: Gdańsk, Poland
|
|
interesting idea. i'll think of it and maybe steal it from you. nah nah
or i'll come with an idea of my own: left, right, enter, escape
so, how about accessing atmel's eeprom from the outside? how much i/os will be needed for that? by the way, they are hopelessly small, so maybe using external one is not that bad idea? |
_________________ Not entirely familiar with AVR thingies... yet.
|
| |
|
|
|
|
|
Posted: Jul 16, 2007 - 08:03 PM |
|


Joined: Apr 20, 2007
Posts: 6063
Location: Long Island New York
|
|
Mactom:
I said tou save the RTC for some other project
Yes, shelf the super caps too. Use the ni-cads.
You can access the internal eeprom from the outside, but which processor are you going to use? That was step 2 or 3 remember.
Jim |
_________________ Jim
I have decided that I am no longer going to plan anything in advance. In a court of law this is called Pre-Meditated, and does not look good for the defense.....
Timer function not working properly? Check CLKDIV8 Fuse first
|
| |
|
|
|
|
|
Posted: Jul 16, 2007 - 08:17 PM |
|


Joined: Dec 17, 2005
Posts: 1498
Location: Europe- Estonia- Tallinn
|
|
Atmels external EEPROMs are very easy to talk to (24C series if I remember correctly).
And why Ni-CD? you mean AA or AAA cells? naah... Use 3V Lithium instead  |
|
|
| |
|
|
|
|
|
Posted: Jul 16, 2007 - 08:44 PM |
|


Joined: Apr 20, 2007
Posts: 6063
Location: Long Island New York
|
|
Bloody-orc:
Mactom is looking to use rechargable nicads that are recharged with a solar cell
The 24 series is very easy to access. But at the same time the goal is to keep chip count low and current consumption as well.
Depending on what is desired to be displayed, the eeprom inside the micro should suffice
Jim |
_________________ Jim
I have decided that I am no longer going to plan anything in advance. In a court of law this is called Pre-Meditated, and does not look good for the defense.....
Timer function not working properly? Check CLKDIV8 Fuse first
|
| |
|
|
|
|
|
Posted: Jul 16, 2007 - 08:54 PM |
|

Joined: Mar 06, 2001
Posts: 552
Location: Moscow
|
|
For graphical LCD you also need RAM, than processor must have RAM greater than LCD RAM + RAM to software.
Nokia LCD RAM = 504 Bytes, than processor must have at least 1024 Bytes.
Atmega 88 has 1024 bytes as shown on Atmel selection table
http://www.atmel.com/dyn/products/param ... ection=ASC
Atmega88 has many pins to any project.
I use 3V litium computer cell. |
|
|
| |
|
|
|
|
|