Showing posts with label raspberry-pi. Show all posts
Showing posts with label raspberry-pi. Show all posts

Monday, September 7, 2015

Untouched TouchScreen for Raspberry PI 2 pt1


And finally I have got a time to setup TouchScreen for my Rpi2. And I shat say that it wasn't easy.

What I have had:
- Rpi2
- 3.5" TFT LCD Touch Screen Module 320*480 RGB Display Board with logo of WaveShare SpotPear
http://www.wvshare.com/product/3.5inch-RPi-LCD-A.htm


I have found one article with tutorial http://www.circuitbasics.com/setup-lcd-touchscreen-raspberry-pi/. It uses common custom driver for Touch LCDs https://github.com/notro/fbtft/. But author of this article has different module with different controller.

But my module has XPT2046 controller and it requires slightly different setup command. Lets see those differences

$ sudo nano /etc/modules



$ sudo nano /boot/cmdline.txt


$ sudo nano /boot/config.txt

we use config.txt and device tree overlays because in actually firmware of Rpi2 no longer uses ads7846_device.
https://github.com/raspberrypi/firmware/blob/master/boot/overlays/README


so with those changes LCD screen works fine. But touch interface still doesn’t work I will do more investigations later, when I will get more free time. but if you have had same problem but now fixed it, please put comment here with right solution.

Links

http://www.waveshare.com/wiki/3.5inch_RPi_LCD_(A) - FAQ on site of

Tuesday, September 1, 2015

Live streaming of International Space Station video on Raspberry PI

Few days ago I found that there live streaming from International Space Station that available 24h 7 days in a week. It shows earth from a space and looks like brilliant screen saver that you can watch all day long or at least 45 minutes next 45 minutes it is just black screen because it comes to the night side of the earth.

So I have connected my Raspberry PI to TV and setup streaming. There a lot instructions how to archive it:

And maybe because of slow connection my app was always stops playing. But luckily there easy way to fix it (just increase timeout):

Saturday, June 13, 2015

Hurray! I've got Rasberry PI2


It is really holiday! I've got 2 presents from China in once - close-up lens 10x and Rasberry PI2.
So I decide why don't put them together and implement my first Rasberry project - Rasberry PI2 Super Macro