PIC based picture frame

Take a PIC 24HJ256GP206 processor and add a dash of knock-off touchscreen and a pinch of SD card compatibility for a DIY digital picture frame. [Daniel] wrote his own driver for the HX8347 controlled LCD that can achieve 15 FPS at 320×240 resolution with 16-bit color. As this was a gift for his wife, [Daniel] included a heart-shaped ring of LEDs that fade in and out like an electronic pulse. He notes that the JPEG decoder runs rather slow but that’s mostly because of the bottleneck caused when accessing data from the SD card. We’ve got more pictures and a link to the source code after the break.

Source Code

29 thoughts on “PIC based picture frame

  1. Would anyone happen to know what model LCD that is?

    I’m working on my Senior project and I’d really like to be able to implement a nice color screen, but I can’t find one that interfaces with a PIC even remotely well.

  2. Crystalfontz has a 320×240 3.5″ with a relativly easy interface CFAF320240F-T for a bit over $50 – there’s even one with a touch screen interface for $54 that I’m doing a future project with – just get a sample of the AD7843 touch screen controller from Analog Devices.

  3. That’s pretty neat, particularly that it has a JPEG decoder. Now does anybody know if it’s possible to code a JPEG encoder on an AVR microcontroller?

  4. I hate LCDs :( Why? Because I can never get the bloody things to work. I have one lying right here on my desk just laughing at me. I must be retarded or something :(

  5. Some cheap graphic LCDs these days don’t come with the LCD drive voltage chips on them as a lot of them have gone obsolete. You end up having to create your own negative voltage or they just won’t work. If you see empty pads on the LCD’s pcb for a chip and some caps then chances are that’s the problem.

  6. Hm, might have to break out the PICkit and find a nice LCD.

    Does this thing use the touch input for anything or just for display?

  7. Cool
    I wonder how he soldere that 0.5 mm pitch SMD lcd connector?
    Is it possible to achieve that kind of results with a normal solder iron?

  8. It looks, that Mike doesn’t want to publish schematic…

    Daniel, do you plan to publish the frame on JVRDesign pages, too ?

  9. Hey Daniel

    What method do you use to make your PCBs? Heat transfer/photolithography/etc ? Very well done with the SMD stuff.

    And a very lekker project overall ;) Good to see some ZA representation on HaD.

    d.

  10. I don’t know if any are still listening. I’m not even sure if Mike was the original developer. But, Mike, if you are… Regarding the limitations of the SDCard. Note, you can probably run your PIC 24F SPI bus at 8MHz. After that you should as least use Class 4 SDCards. Higher class cards didn’t buy me anything except they cost more. I was probably able to get something like 140KBytes/Second that way (don’t know the real speed because of other things going on in the loop). Test different SDCards if you don’t get at least that through put. It stinks, but I am suspicious some manufactures rank their cards by the 4 bit bus performance and let the SPI interface go to pot come development time. I have some Kingstons which test fast (probably over the 4 bit bus) but are suspiciously slow talking to my 24F over the SPI bus.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s