| Author |
Message |
|
|
Posted: Jul 16, 2007 - 09:02 PM |
|

Joined: Jun 15, 2007
Posts: 110
Location: Gdańsk, Poland
|
|
ok guys, so you decide which battery is better then
in order to pick a chip i need to know amount of i/os. to know how much will i need, i have to know how much of them is essential to communicate with external eeprom first. or to let the devices talk to avr's internal eeprom.
so how about us sticking to external one. internal eeproms size makes me rather sad, because atmel's eeprom can store not more than fonts i'm going to define on it, and atmel's 24C (thanks, bloody-orc) are economic. my research results in 5 i/os: 3 address inputs, serial data and serial clock. correct? |
_________________ Not entirely familiar with AVR thingies... yet.
|
| |
|
|
|
|
|
Posted: Jul 16, 2007 - 09:14 PM |
|


Joined: Apr 20, 2007
Posts: 6068
Location: Long Island New York
|
|
The address lines can be used static so that cuts your i/o.
Two things:
I checked and the nokia 3310 is a european cell phone that is not used in the states much. I had to order an LCD thru canada so I can play with one. Are you going to stick with the 3310 display or did I waste my money?
Remember Mactom, you want this to run for days between charges. The eeprom is going to consume current. I am not sure what the lcd takes as of yet eiter.
Mactom: remember what I said about spending time with the ladyfriend, and the gay cat? I think it is time.
Incidentally since this project has gone astray again, I went and wrote most of the code for an led based clock. I did some current tests and the micro I chose with the speed I picked came in at 500 microamps current draw. I used three buttons for setting the time.
The power supply was my cell from hell, and two aa nicads
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 - 09:17 PM |
|

Joined: Mar 06, 2001
Posts: 552
Location: Moscow
|
|
| If you have in system only one EEPROM you do not need pins for adress selection. |
|
|
| |
|
|
|
|
|
Posted: Jul 16, 2007 - 11:34 PM |
|

Joined: Jun 15, 2007
Posts: 110
Location: Gdańsk, Poland
|
|
yes, nokia 3310 is working on 900/1800 modes only, so in north america it's a crap.
i'm terribly sorry to disappoint you. i am going to stick with my lcd, but you made a mistake. the phone i have broken is, once and for all:
3110.
i know 3310 is way more popular (my grandpa uses one) so it makes a lot of confusion.
anyways, it might turn out that your lcd is the same as mine. as far as i know, almost all of mono graphic nokias used the same dimensions, and it's almost impossible we'll get displays based on the same chip anyway. there was too much of them used.
by the way, you could've told me before. in poland such an lcd would cost you max $3.5 + shipping.
basing on this example datasheet:
http://www.tranzistoare.ro/datasheets/208/160469_DS.pdf
i understand the stand-by current of described atmel eeprom is typically 8 uA. reading uses 1 mA max. as long as i understood the datasheet correctly, it isn't that much. the font patterns will be stored in avr's eeprom (i beg them to fit in 128B or so), and the menus, pictures, not often used, on external eeprom. i'm not self-confident enought to make this decision yet, but prove me wrong. because i feel like i am right now
did i just write 'menus'? seems like i've already adopted zauberer's 4-button interface. i like it. so forget about the switch above. smd buttons.
if the address used to communicate with eeprom can be static, what's the point of using it in eeproms at all? i don't get it.
i'm also glad you picked up my idea. it's pleasant seeing that someone got that much interested in armwatch
i've been thinking about 'reminding' function (without buzzer) and easy notes update, not complicated as rewriting an eeprom picked up from the board. no, i'm not going to attach the keyboard to my arm. so what i'm thinking of is to introduce an onboard port so the whole watch may be connected to pc. rs232 programming is what i could do. how about irda? post your thoughts.
thanks for your middle advice pal. it's almost midnight and i'm going to pick up my girl from work. i'll take her to kfc instead of romancing with semiconductors and playing smart with avr freaks tonight both gays were scratched enough for today. |
_________________ Not entirely familiar with AVR thingies... yet.
|
| |
|
|
|
|
|
Posted: Jul 16, 2007 - 11:43 PM |
|

Joined: Jun 15, 2007
Posts: 110
Location: Gdańsk, Poland
|
|
remember 'futurama'? the simpsons guy has invented an armwatch before have fun |
_________________ Not entirely familiar with AVR thingies... yet.
|
| |
|
|
|
|
|
Posted: Jul 20, 2007 - 12:31 AM |
|

Joined: Jun 15, 2007
Posts: 110
Location: Gdańsk, Poland
|
|
| come on! no one has anything to say about communication with computer? |
_________________ Not entirely familiar with AVR thingies... yet.
|
| |
|
|
|
|
|
Posted: Jul 20, 2007 - 02:35 AM |
|


Joined: Apr 20, 2007
Posts: 6068
Location: Long Island New York
|
|
Mactom:
You have added so many extras, but you have not even picked a first micro, or drawn a schematic. How are you planning to write the code and program a chip?
Build a go cart first before you try building a truck!!
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 20, 2007 - 03:10 AM |
|

Joined: Jun 15, 2007
Posts: 110
Location: Gdańsk, Poland
|
|
| the only reason i'm developing those ideas right now is exactly because i try to pick a chip. even a basic thing which an i/o count is makes me troubled when choosing one. better safe than sorry. |
_________________ Not entirely familiar with AVR thingies... yet.
|
| |
|
|
|
|
|
Posted: Jul 20, 2007 - 01:28 PM |
|


Joined: Apr 20, 2007
Posts: 6068
Location: Long Island New York
|
|
not really
Since you close your replies with "remember I'm just a beginner" you really should look at getting something simple done....like pick a basic micro, the Tiny 2313 or Tiny2335 is a good choice to learn with. Since you have the lcd your first project could be to have the Tiny display something on the lcd. Since the Tiny2313 has 2k flash, 128 sram and 128 eeprom, along with a uart, and other slick toys to play with, you now have a very stable starting point. As far as programming goes, the STK500 is the standard we all use. There are cheaper things out there, but they do not stack up. The STK500 costs $79.00us so it is not that much.
I even see the stk500 in the traders forum so they are not tough to get anywhere.
Question: When your mom popped you out, did you start walking right away?(if you say yes I will turn you into one of your gay cats!! )
Get a 2313, and an STK500. Draw a schematic of the 2313 connected to the LCD and go from there. That is a good start.
Look at it this way, this forum post is going on 10 pages long, and what do you have to show for it, other than two gay cats and that we now know you like KFC?
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 20, 2007 - 03:59 PM |
|

Joined: Jun 15, 2007
Posts: 110
Location: Gdańsk, Poland
|
|
it's too bad that i tried to count i/os when tiny2313 is battery friendly, and has 18 of them. thanks for speeding up my struggle.
i think you're starting to get mad at me. relax, i'm doing my best.
in polish realms $79 is a week wage, so either i pick something else or be patient enough to save that money. how about bascom? i heard some people saying it's a good way to program avrs in basic.
i didn't walk just after i was born, but i did write before i spoke anything. it might explain my strange ways to do things. |
_________________ Not entirely familiar with AVR thingies... yet.
|
| |
|
|
|
|
|
Posted: Jul 20, 2007 - 05:28 PM |
|


Joined: Apr 20, 2007
Posts: 6068
Location: Long Island New York
|
|
Not mad, just trying to smack you back to earth thats all
go back a few pages and find my thread with the steps and follow them. this time stop thinking about a watch and start thinking about connecting the 2313 to the lcd you have. then work on the source code. i will look at bascom as i have never played with it
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 20, 2007 - 06:29 PM |
|


Joined: Dec 17, 2005
Posts: 1498
Location: Europe- Estonia- Tallinn
|
|
Exactly I agree with Jim.
I too am making modules to test everything before I put them all together into one project. I have a board for IrDa, RF, USART, Nokia LCD, "normal" LCD 4bit, RTC, EEPROM, etc, etc, etc. I know it costs, but remember, the cost is smaller than to find, that your product won't work when it's 100% built. It's easier to replace a module than a complete board!
Get yourself a white no-solder breadboard and wires. Then a MEGA88 (or something with JTAG, if you can afford it. Makes debugging so much easier). And then start testing all kinds of systems. First your LCD, then your Clocking system, then buttons, then the charger part, sensors.
And what ever you do STAY AWAY FROM BASIC! You can't get most of the stuff working on that (like probably your LCD). Use GCC. It isn't so bad and it has examples in the datasheets of your AVR (very nice touch from Atmel).
Good luck
Rain |
|
|
| |
|
|
|
|
|
Posted: Jul 20, 2007 - 09:33 PM |
|

Joined: Jun 15, 2007
Posts: 110
Location: Gdańsk, Poland
|
|
ok, so i got an lcd, picked the micro, what i need now is a breadboard and patience to run lcd itself. got it.
i think i'll check the environments both of you suggested, and stick with the one i like. |
_________________ Not entirely familiar with AVR thingies... yet.
|
| |
|
|
|
|
|
Posted: Jul 21, 2007 - 04:10 AM |
|


Joined: Apr 20, 2007
Posts: 6068
Location: Long Island New York
|
|
You also need to get a low cost programmer. ORC is correct that JTAG makes life easier. the Atmel AVR Dragon is $49.00 and basically does it all
I know you said money is tight, but keep in mind that you will have to program the micro eventually
Do us all a favor and drop the reminder that you are a beginner too!!!!
On with the show!!
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 21, 2007 - 01:14 PM |
|

Joined: Jun 15, 2007
Posts: 110
Location: Gdańsk, Poland
|
|
programmers are popular enough here to get them cheaper. a bit.
anyhoo, i guess i have to sell my drums anyway, so i'll be able to buy some things. programmer, breadboard, chips etc.
here you have my new signature, i hope you like it: |
_________________ Not entirely familiar with AVR thingies... yet.
|
| |
|
|
|
|
|
Posted: Jul 21, 2007 - 02:08 PM |
|


Joined: Apr 20, 2007
Posts: 6068
Location: Long Island New York
|
|
Wise ass
 |
_________________ 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 25, 2007 - 01:05 PM |
|


Joined: Apr 20, 2007
Posts: 6068
Location: Long Island New York
|
|
Mactom:
The display I ordered arrived yesterday from England!! It is the same LCD for the 3310, 3320, 3330 or something like that. Do you have the pinouts for it?
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 25, 2007 - 01:28 PM |
|


Joined: Dec 17, 2005
Posts: 1498
Location: Europe- Estonia- Tallinn
|
|
|
|
|
|
|
Posted: Jul 25, 2007 - 03:33 PM |
|

Joined: Jun 15, 2007
Posts: 110
Location: Gdańsk, Poland
|
|
|
|
|
|
|
Posted: Jul 25, 2007 - 04:19 PM |
|

Joined: Jun 15, 2007
Posts: 110
Location: Gdańsk, Poland
|
|
| the binarykarma.org guy has also posted an article about his struggle with 3310 LCD, third post from the top on the main page. mostly about how he managed to get one, but he also described briefly some bugs he solved. |
_________________ Not entirely familiar with AVR thingies... yet.
|
| |
|
|
|
|
|