element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Microchip
  • Products
  • Manufacturers
  • Microchip
  • More
  • Cancel
Microchip
Forum How to store a JPEG type file in a MCU and display via VGA
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Microchip to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 3 replies
  • Subscribers 20 subscribers
  • Views 577 views
  • Users 0 members are here
Related

How to store a JPEG type file in a MCU and display via VGA

Former Member
Former Member over 15 years ago

How to store a JPEG type file in a MCU and display via VGA? I wish to build a photo display system which store a jpeg type file in a MCU and display it via VGA to a 17' computer monitor. Any MCU recommended? Thanks for reply image

  • Sign in to reply
  • Cancel
  • ISL_Dave
    ISL_Dave over 15 years ago

    I am currently developing an application using the Microchip PIC18F8520. This chip would easily do what you require and is quite powerful with 32k or Flash rom and 1K of EEPROM.  If you wished to store multiple images, you can attached up to 2Mb of external memory. To output to a VGA monitor you would only require six connections, for the R, G, B, horizontal and vertical sync.  I am using Mikroelectronica kit (BIGPIC5 and MikroC PRO) at the moment as it has SD card reader, Touchscreen GLCD and LCD, inbuilt ICD etc....  This is the first time I have used C on a PIC as all my previous code was in Assembly language.

     

    I cannot make any recommendations on the JPEG side of things as it looks kinda complicated. Have a read about it on http://en.wikipedia.org/wiki/JPEG

     

    Remember that JPEG is compressed so you will have to read up on how to uncompress the file to display on a VGA monitor.  I would be worried about the potential of law suits if you planned to implement any algorithm into a commercial product.  It would be easier to work with BMP files (royalty and patent free) although they will be larger.

     

    If you use a development kit like the one above, you could store your image on a SD card and just write a program to access the image and output it to the screen, alternatively start by working out how to interface a SD card to the uP and start with a small bitmap of something like 12x12.

     

    You could have a look at the graphics controller systems from 4D SYSTEMS, Farnell sell them and they look to easily connect to any type of MCU.

     

    Plenty of people have had a play at outputting to VGA, just Google it. One that I found interesting was http://webpages.charter.net/greener/electronics/video1/

     

    Dave

    ------------------------------------------------------------------------------------

    There are 10 types of people - Those that understand Binary and those that don't.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 15 years ago in reply to ISL_Dave

    Thanks friend, you ur information help me a lot, hope to see your project done soon, and hope both of our project went well..

    Thanks and best regards

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • MicrochipRTCfr
    MicrochipRTCfr over 15 years ago in reply to Former Member

    Hi,

     

    One way to do that is to use Microchip FREE graphics libraries (source format in C) which you can download here : http://www.microchip.com/MAL.

    These libraries can be used with any 16 (PIC24 / dsPIC) or 32 bits PIC which has a PMP interface.

     

    Depending upon the external LCD controller, JPEG decoding can be done by the PIC or by the LCD controller.

    e.g our latest graphics development kit ( AC164127-3AC164127-3 ) includes an SSD1926 LCD controller from Solomon Systech which has an on-chip JPEG decoder. If you use a controller without JPEG decoding, Microchip libraries can do JPEG decoding by SW but it takes some performance (PIC32 is recommended resolution above QVGA, especially if SW decoding is done by SW )

     

    The libraries can store images into SD card, external SPI FLASH using FAT filesystem

     

     

    regards

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube