Close

Images and touchscreen

A project log for Star Trek X-Ray device

Give fun to your friends with this easily built gadget.

oscar-toledoOscar Toledo 03/02/2017 at 15:010 Comments

I needed some medical images, so I went to Pixabay for some public domain images, I choosed Human Skeleton (1813086), X Ray (1704855) and Fetus (1788082).

I cut manually the images to the 320x240 size of the screen using Paint .Net, put them into black&white and improved contrast.

Then I designed up a cover screen looking like something from Star Trek and using a picture from my own wood figurine.

Next step was to use the touch screen, I discovered that I couldn't test any of the samples from MCUFRIEND_kbv because keep complaining about missing TouchScreen.h, after 2 hours of seeking for it, I finally found a place to download at https://github.com/adafruit/Touch-Screen-Library

This made Touch_shield_kbv to compile at last, but nothing happened, even if the controller was detected. I checked the other samples and found a webpage with a very similar LCD PCB appearance but everything look right, another checking of examples made me to find "diagnose_Touchpins" and it found the right pins for my LCD!!! Thanks god!

Recompiled with the right pins and only the X coordinate was reversed, just a matter of calibrating touchscreen for my LCD.

Discussions