Shop OBEX P1 Docs P2 Docs Learn Events
Digital Photoframe with Prop? — Parallax Forums

Digital Photoframe with Prop?

propwellpropwell Posts: 87
edited 2009-10-16 02:44 in Propeller 1
Hi folks,

does anyone know a program for Prop which loads several images from an SD-Card and displays it on some kind of LCD-Display?
I don't need transitions or stuff like that..
Just: Load image 1, display it for a certain time, Load image 2, display it for a certain time, etc.

Thank you!

Comments

  • RaymanRayman Posts: 14,865
    edited 2009-10-02 12:21
    Well, since you asked...

    Check out my PSM:

    http://www.rayslogic.com/Propeller/Products/PSM/PSM.htm

    There's a slideshow app already for it you can download...

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    My Prop Info&Apps: ·http://www.rayslogic.com/propeller/propeller.htm
  • RaymanRayman Posts: 14,865
    edited 2009-10-02 12:23
    Also, check out this page where I shared an SD card with a photo-frame like device:

    http://www.rayslogic.com/propeller/Programming/RaysStuff/JuiceBox/JuiceBox.htm



    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    My Prop Info&Apps: ·http://www.rayslogic.com/propeller/propeller.htm
  • propwellpropwell Posts: 87
    edited 2009-10-02 12:49
    Thank you for your help! Can i buy the PSM somewhere?

    Is it possible to add a real time clock and some LEDs to it?

    Thank you!
  • RaymanRayman Posts: 14,865
    edited 2009-10-02 12:57
    PSM is for sale here:
    http://gadgetgangster.com/

    It's relatively easy to external devices as there are 8 free pins brought out on a header.

    Also, the I2C bus is on a header.

    I have a completed design for a board that connects to the PSM (called PAB), and gives
    RTC amongst other things.· I still hope to bring that to market soon, but right now I'm
    devoting my $$ and time to developing the PSB (a new, larger board with touchscreen).

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    My Prop Info&Apps: ·http://www.rayslogic.com/propeller/propeller.htm
  • propwellpropwell Posts: 87
    edited 2009-10-03 07:07
    Hey thanks! That sounds very good!
    Is there a limitation of Photos? What's the maximum size of SD-Card i can insert?
    Ah and antoher question: is it possible to run music from the SD-Card?
    Thank you very much!
  • RaymanRayman Posts: 14,865
    edited 2009-10-03 10:37
    Photos can be a max size of 320x240. If you use the brand new FSRW driver, I don't think there's a limit to SD card size... The current code though uses the old version, limited to 2 GB. There is code provided to play WAV music files from the SD card...

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    My Prop Info&Apps: ·http://www.rayslogic.com/propeller/propeller.htm
  • propwellpropwell Posts: 87
    edited 2009-10-15 17:54
    Hi! I bought a PSM and it really looks great! Just one problem: when i start the Slideshow, it says "Insert SD Card".
    When i insert it, it says "Mounting" but stays like this without changing. Even when i remove the card, it doesn't change at all.
    I can't see a Slideshow!

    Could it be a problem because i use a MicroSD-Card in an SD-Card-Adapter?

    Thank you,

    Max
  • RaymanRayman Posts: 14,865
    edited 2009-10-15 17:57
    Yeah, I've seen that sometimes the old FSRW with fail to mount the first try... If you run the code again it should work the second time...
    I need to either switch that code to the new FSRW or try to mount a couple times in the code before giving up...

    The type of card probably doesn't have anything to do with it...

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    My Prop Info&Apps: ·http://www.rayslogic.com/propeller/propeller.htm
  • propwellpropwell Posts: 87
    edited 2009-10-15 18:00
    what does that mean? What is the FSRW? What dos "run the code again" mean? I tried i several times, but it keeps mounting!
    Could it be a problem with the file-system on the card or the files on the card?

    Thank you for your help!

    Max
  • mparkmpark Posts: 1,305
    edited 2009-10-15 18:01
    It might be the microSD card. Didn't I read somewhere that some of them don't support SPI?
  • propwellpropwell Posts: 87
    edited 2009-10-15 18:02
    Hm well, now i tried a normal SD-Card.... still keeps mounting..
  • propwellpropwell Posts: 87
    edited 2009-10-15 18:07
    Ah! Now it works! At least a little bit, as it now shows "Showing". But there still is no image to see! I've got it in 320x24 Pixels and 8Bit! Is that ok?

    [noparse]:edit:[/noparse] just realized that the image hast 24bit (windows says that). Actually i trid to save it with 8bit via Photohsop :? Not sure what it is now....
  • RaymanRayman Posts: 14,865
    edited 2009-10-15 18:13
    I think it's optimized for 24-bit bitmaps. This is usually the default format these days...

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    My Prop Info&Apps: ·http://www.rayslogic.com/propeller/propeller.htm
  • Dave HeinDave Hein Posts: 6,347
    edited 2009-10-15 18:32
    propwell said...
    Ah! Now it works! At least a little bit, as it now shows "Showing". But there still is no image to see! I've got it in 320x24 Pixels and 8Bit! Is that ok?

    [noparse]:edit:[/noparse] just realized that the image hast 24bit (windows says that). Actually i trid to save it with 8bit via Photohsop :? Not sure what it is now....
    You should be able tell whether it's 8 bits or 24 bits from the file size.· A 320x240 BMP file at 24 bits is 225 KB in size, and an 8-bit image is 76 KB.
  • RaymanRayman Posts: 14,865
    edited 2009-10-15 18:32
    If you're still having trouble, email me your picture and I'll see what's going on...

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    My Prop Info&Apps: ·http://www.rayslogic.com/propeller/propeller.htm
  • propwellpropwell Posts: 87
    edited 2009-10-15 19:32
    Now it works! I opened the pictures with Microsoft Paint, saved it as a bmp, looks like Photoshop didn't save it right!

    How can i make it work without starting the propeller twice again?
  • RaymanRayman Posts: 14,865
    edited 2009-10-15 19:36
    I think the problem with that app is that one suddenly resets the system without shutting down the SD card driver...
    (At least that's my theory).
    I'm hoping that just switching to FRSW 2.4 cures the issue...
    That should also make the photos appear much faster...

    Or, in most of my codes I try several times to "mount" before giving up...
    I need to check that this one is doing this...

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    My Prop Info&Apps: ·http://www.rayslogic.com/propeller/propeller.htm
  • propwellpropwell Posts: 87
    edited 2009-10-15 19:51
    what exactly is FRSW 2.4?

    Now i try to get the waveplayer44 working, but nothing happens at all...
    i've got an .wav-file on the card (~8MB), nothing appears on the screen or in the earphones...
  • RaymanRayman Posts: 14,865
    edited 2009-10-15 21:47
    FRSW 2.4 is the latest and greatest SD card driver...
    I want to update all my codes to this one...

    The wav player on my website for the PSM should work...
    Make sure you change the filename in the code to match yours.
    Long filenames are not supported and it must be in the root directory...

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    My Prop Info&Apps: ·http://www.rayslogic.com/propeller/propeller.htm
  • Cluso99Cluso99 Posts: 18,069
    edited 2009-10-16 02:44
    Jazzed opened up a 1.5" keychain photoframe and worked out how to use its display. I found a 2.5" that used the same basics. Search the threads for about 2 months ago.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Links to other interesting threads:

    · Home of the MultiBladeProps: TriBlade,·RamBlade, RetroBlade,·TwinBlade,·SixBlade, website
    · Single Board Computer:·3 Propeller ICs·and a·TriBladeProp board (ZiCog Z80 Emulator)
    · Prop Tools under Development or Completed (Index)
    · Emulators: Micros eg Altair, and Terminals eg VT100 (Index) ZiCog (Z80) , MoCog (6809)
    · Search the Propeller forums·(uses advanced Google search)
    My cruising website is: ·www.bluemagic.biz·· MultiBladeProp is: www.bluemagic.biz/cluso.htm
Sign In or Register to comment.