1. Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
    Dismiss Notice

Nokia 6100 Library

Discussion in 'Microcontrollers' started by AtomSoft, Oct 27, 2009.

  1. AtomSoft

    AtomSoft Well-Known Member

    Joined:
    Feb 7, 2008
    Messages:
    5,670
    Likes:
    41
    Location:
    Brooklyn, NY US
    I have no clue
     
  2. DirtyLude

    DirtyLude Well-Known Member

    Joined:
    Aug 5, 2003
    Messages:
    1,904
    Likes:
    56
    Location:
    Toronto, Canada
    Good work Jason. I always enjoy reading your threads.
     
  3. AtomSoft

    AtomSoft Well-Known Member

    Joined:
    Feb 7, 2008
    Messages:
    5,670
    Likes:
    41
    Location:
    Brooklyn, NY US
    Thanks I always like good comments :D

    I'm finishing up the code on the pic side when done I'll post it.

    Also when done I will be working on a fat16 code I have in mind and mix this all together to list files and open images stored in text files as hex or decimal
     
  4. dave

    Dave New Member

    Joined:
    Jan 12, 1997
    Messages:
    -
    Likes:
    0


     
  5. AtomSoft

    AtomSoft Well-Known Member

    Joined:
    Feb 7, 2008
    Messages:
    5,670
    Likes:
    41
    Location:
    Brooklyn, NY US

    hey guys i found a issue when trying to load a large image of 132 x 132 but am fixing it now
     
  6. AtomSoft

    AtomSoft Well-Known Member

    Joined:
    Feb 7, 2008
    Messages:
    5,670
    Likes:
    41
    Location:
    Brooklyn, NY US
    YES! done now i can do images upto 132x132 and odd sizes and all in 8 and 12 bit modes.

    Im working on clearing buffers and stuff now. for some reason when ever you do one picture and try another right after its almost all white
     
  7. bryan

    bryan Member

    Joined:
    Jun 21, 2003
    Messages:
    416
    Likes:
    3
    Location:
    Vancouver, Canada
    Jason:

    Excellent work, what is the approx size of the viewable screen for the 6100
     
  8. AtomSoft

    AtomSoft Well-Known Member

    Joined:
    Feb 7, 2008
    Messages:
    5,670
    Likes:
    41
    Location:
    Brooklyn, NY US
    Not sure of what your asking do you mean screen size in inches/mm or pixels?

    Pixels i think it is: 130x130 but not sure... i read:

    "The Nokia 6100 display has 132 x 132 pixels; Practically speaking, you cannot see the first and last row and columns."


    And from sparkfun website:

    Frame Dimensions: 1.35x1.58"
    Active Display Dimensions: 1.2"x1.2"
     
  9. AtomSoft

    AtomSoft Well-Known Member

    Joined:
    Feb 7, 2008
    Messages:
    5,670
    Likes:
    41
    Location:
    Brooklyn, NY US
  10. AtomSoft

    AtomSoft Well-Known Member

    Joined:
    Feb 7, 2008
    Messages:
    5,670
    Likes:
    41
    Location:
    Brooklyn, NY US
    hey thanks for that question. I fixed a nice bug thanks to you. There was a overflow of pixels i didnt notice. But now you save a few hundred bytes on a full 132x132 image. Also you have to start on 1x1 not 0x0 for full images
     
  11. DirtyLude

    DirtyLude Well-Known Member

    Joined:
    Aug 5, 2003
    Messages:
    1,904
    Likes:
    56
    Location:
    Toronto, Canada
    You might want to try to implement a very simple compression, like Run Length Encoding or LZW. It won't work with complex images, but the basic images could be compressed quite a bit, so you would need to be able to turn it off and on.
     
  12. AtomSoft

    AtomSoft Well-Known Member

    Joined:
    Feb 7, 2008
    Messages:
    5,670
    Likes:
    41
    Location:
    Brooklyn, NY US
    heh i dont think im smart enough to do any compression but i think it would infact save a lot of space. For the full sized images especially is mostly 1 color.
     
  13. AtomSoft

    AtomSoft Well-Known Member

    Joined:
    Feb 7, 2008
    Messages:
    5,670
    Likes:
    41
    Location:
    Brooklyn, NY US
    RLE seems quiet simple. I might use it.. Thanks for that. I'll check the other one now too
     
  14. DirtyLude

    DirtyLude Well-Known Member

    Joined:
    Aug 5, 2003
    Messages:
    1,904
    Likes:
    56
    Location:
    Toronto, Canada
    Yes, RLE is really simple and it's easier to decode than encode, which is helpful. It's just that if your image gets too random the file can end up getting larger than the original rather than smaller. It would be easy enough to figure that out and just have the option not to use it in those instances, though.
     
  15. bryan

    bryan Member

    Joined:
    Jun 21, 2003
    Messages:
    416
    Likes:
    3
    Location:
    Vancouver, Canada
    Screen size Jason. thanks.
     
  16. AtomSoft

    AtomSoft Well-Known Member

    Joined:
    Feb 7, 2008
    Messages:
    5,670
    Likes:
    41
    Location:
    Brooklyn, NY US
    No problem Bryan.

    Mark I this it would be simple to use the the 3rd byte of image data to test if RLE is on. I already use byte 1 and 2 for width and height. RLE should be simple in VB. Decompressing in a pic should also be simple I'll try it after work.

    If I get get sd stuff working it would help even more.

    I made some menu icons yesterday I'll take some pictures today and show everyone.
     
  17. AtomSoft

    AtomSoft Well-Known Member

    Joined:
    Feb 7, 2008
    Messages:
    5,670
    Likes:
    41
    Location:
    Brooklyn, NY US
    i might skip the compression stuff for now as it seems like ill never get the SD stuff up and running :D

    Ill get back to it right after...
     
  18. AtomSoft

    AtomSoft Well-Known Member

    Joined:
    Feb 7, 2008
    Messages:
    5,670
    Likes:
    41
    Location:
    Brooklyn, NY US
  19. AtomSoft

    AtomSoft Well-Known Member

    Joined:
    Feb 7, 2008
    Messages:
    5,670
    Likes:
    41
    Location:
    Brooklyn, NY US

    Attached Files:

  20. AtomSoft

    AtomSoft Well-Known Member

    Joined:
    Feb 7, 2008
    Messages:
    5,670
    Likes:
    41
    Location:
    Brooklyn, NY US
    Last edited: Nov 4, 2009
  21. birdman0_o

    birdman0_o Active Member

    Joined:
    Feb 23, 2009
    Messages:
    1,370
    Likes:
    18
    Location:
    Montreal, Quebec
    Making yourself an awesome cheap universal remote??

    I might need to have a shot at this :D
     
    Last edited: Nov 4, 2009

Share This Page