Image Viewer V1

Ok this uses my LPC2103 Header board from Olimex. I didnt use the IC alone because i didnt want to go through a hassle if it wouldnt work. Now that i know what to do and how exactly everything works in place i can make a version 2.

I can view BMP files using a Navigation switch from sparkfun. The trick here since i didnt have enough pins was to make the switch work using ADC of the mcu.

I used some resistors to make a voltage divider and sample every now and then to tell if the user press anything. Works nicely.

The LCD is 16 bit interface and so its RGB565 which is GREAT! so vivid.

The quality is better than in video and pictures. I also included a boost converter on board since the LCD backlight needed 8v to turn on nice and bright. I might use a Mosfet and PWM that backlight.

Power is from a 5v usb micro plug. The images come from a SD Micro. I am using a 64MB card i found around in case i made a mistake. But this can ready SDHC cards so >4GB can be used. I used ELM Chan Petit FS for file system control.

The image loads slow because i have not had time to fix code more.
Here are some images and a video.


About atomsoft

Starting a small company. Trying to build it from ground up. Only 2 employees so far. Nothing serious yet but soon!

4 responses to “Image Viewer V1”

  1. Visn says :

    You are an inspiration! I check your blog daily, even though I don’t leave feedback. But it is great when someone puts their mind and effort into something. Wish you the best of success.

    • atomsoft says :

      Visn, Thanks! Im glad you visit the site. Feel free to comment more. Even if you hate something 🙂 comments are great to get and fun to read.

      When im done with this Image Viewer, I will post all the code so people can also learn from this.

  2. kunilkuda says :

    I’ve been working on car audio system reference for Japanese manufacturer..We use voltage divider ladder, along with single channel ADC to tap few buttons (prev, next, play, pause, stop buttons) — So, for example, ‘prev’ button will be 0.7V-1.2V, ‘next’ button will be 1.3V-1.8V, etc.

    The ADC sampling algorithm was not easy, but it will reduce the MCU pins requirements.

    Just to let you know that your ADC button sampling method is robust enough for mass production devices =)


    • atomsoft says :

      Yeah i learned about using ADC a while ago for multiple buttons on 1 pin when i was learning PIC micros. Here is a video:

      Now i can use this method so quickly. Instead of calculating by hand or in code i simply debug to see the values.

      Since the ADC VREF is the same or will be in relation to the divider voltage regardless if loosing power on board or battery is dieng.

Leave a Reply

Please log in using one of these methods to post your comment: Logo

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

Google+ photo

You are commenting using your Google+ 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 )


Connecting to %s

%d bloggers like this: