Go to advanced search

by Antares
Sat Nov 30, 2013 12:46 pm
Forum: Graphics programming
Topic: Interfacing a spi lcd to pi.
Replies: 3
Views: 2276

Re: Interfacing a spi lcd to pi.

You should first check if your LCD is already supported (since you succeeded in make it work for the M3, I assume you have identified the inputs and the chip driver), if it's so, I think you download the modified raspbian and there you go. If that's not the case, look at the development section on t...
by Antares
Thu Nov 28, 2013 5:06 pm
Forum: Graphics programming
Topic: Interfacing a spi lcd to pi.
Replies: 3
Views: 2276

Re: Interfacing a spi lcd to pi.

Maybe you should look at this:
https://github.com/notro/fbtft/wiki
https://github.com/notro/fbtft

There you can find drivers for several LCD, that can be used as main displays for the Pi (even with X). There are also some clues to build your own device driver.
by Antares
Mon Nov 11, 2013 12:04 pm
Forum: General discussion
Topic: 1.5" ILI9163 lcd screen working
Replies: 17
Views: 9258

Re: 1.5" ILI9163 lcd screen working

I've corrected the pictures URL in my last post, they were not readable because they pointed to low-res thumbnails instead of the real pictures
by Antares
Thu Nov 07, 2013 8:33 pm
Forum: General discussion
Topic: 1.5" ILI9163 lcd screen working
Replies: 17
Views: 9258

Re: 1.5" ILI9163 lcd screen working

Since my last post, I've been trying to speed up the code converting it to Wiringpi2, and I think that it has reached the point where it's usable, in terms of speed. I chose Wiringpi instead of Cython because, a) I don't know C and I'm still learning Python, and b) Wiringpi offers some functions to ...
by Antares
Sun Nov 03, 2013 11:17 pm
Forum: General discussion
Topic: 1.5" ILI9163 lcd screen working
Replies: 17
Views: 9258

Re: 1.5" ILI9163 lcd screen working

Paddyg, I have just returned from a 3 day trip (extended weekend here in Spain, friday was a national holiday) and I haven't had the time to look at your solution, just a quick note: I have GPIO 28, 29, 30 and 31 because at the GPIO port at the back of my home-made case, I have connected P1 and P5 f...
by Antares
Thu Oct 31, 2013 10:06 pm
Forum: General discussion
Topic: 1.5" ILI9163 lcd screen working
Replies: 17
Views: 9258

Re: 1.5" ILI9163 lcd screen working

That looks very promising, Paddyg. I will be in a trip from tomorrow to Sunday, but I'll look at it as soon as possible. I'll have to start learning something about Cython. And I think you're right about the parallel write, if you write directly to the GPIO register and then enable it, it changes al...
by Antares
Wed Oct 30, 2013 11:26 am
Forum: General discussion
Topic: 1.5" ILI9163 lcd screen working
Replies: 17
Views: 9258

Re: 1.5" ILI9163 lcd screen working

Paddyg, I don't understand your question about the speed with the GPIO version. What I've changed between the two wersions with I2c is the frequency for the I2c clock( how fast the clock pulses in SCL go), and that doesn't apply to GPIO (As I've got just one pcf8574, the lcd data inputs are now mana...
by Antares
Tue Oct 29, 2013 1:04 am
Forum: General discussion
Topic: 1.5" ILI9163 lcd screen working
Replies: 17
Views: 9258

Re: 1.5" ILI9163 lcd screen working

I've been trying to make the code faster, following @paddyg advice.For that, I have profiled the code (thanks again, paddyg), and I've learned to use Runsnakerun, for me it's clearer than the standard text file that cProfile outputs. First, here is the result for my original code: https://lh5.google...
by Antares
Sat Oct 26, 2013 11:36 am
Forum: General discussion
Topic: 1.5" ILI9163 lcd screen working
Replies: 17
Views: 9258

Re: 1.5" ILI9163 lcd screen working

Some images from the build: https://lh5.googleusercontent.com/-WYmEE6es-E8/Umuh5LERNcI/AAAAAAAAAZ0/bKx0krtIEIc/s512/CAM00006.jpg This is a close view of the LCD running the demo https://lh5.googleusercontent.com/--XFNkVZbPig/UmuiBdjIwsI/AAAAAAAAAZ8/bicGgw-SvuE/s512/CAM00004.jpg General view of the b...
by Antares
Wed Oct 23, 2013 9:38 am
Forum: General discussion
Topic: 1.5" ILI9163 lcd screen working
Replies: 17
Views: 9258

Re: 1.5" ILI9163 lcd screen working

Hi, @paddyg, thanks for your answer. I didn't expect a reply after a week, and I was thinking of posting again, this time in the Python forum. The sleep() commands are there because they are specified in the ILI9163 datasheet, to wait for the screen to settle after reset. A couple of other sleep() a...
by Antares
Thu Oct 17, 2013 10:33 pm
Forum: Python
Topic: Getting started with a graphical LCD
Replies: 7
Views: 3659

Re: Getting started with a graphical LCD

I posted a couple of days ago in the general forum explaining how to drive another small LCD in Python, and asking advice to speed up the code (so far, nobody has answered :( ), in this thread: http://www.raspberrypi.org/phpBB3/viewtopic.php?f=63&t=58291 . If your display has similar inputs maybe yo...
by Antares
Tue Oct 15, 2013 10:02 am
Forum: General discussion
Topic: 1.5" ILI9163 lcd screen working
Replies: 17
Views: 9258

1.5" ILI9163 lcd screen working

First, I don't know if I'm posting this at the right forum, maybe it belongs to Beginners, if that's so, feel free to move it. My brother gave me about two months ago a pair of keychain photoframes (the brand is NPlay, but it can be found under other brands), that he had bought for 2€ each as a barg...
by Antares
Fri Oct 04, 2013 11:31 am
Forum: General discussion
Topic: STICKY: Introduce yourself!
Replies: 3519
Views: 104172

Re: Introduce yourself!

Hi, I'm a 52 years old electronics technician from Southern Spain, my Pi arrived six months ago but I haven't had the time to play much with it until recently, and I'm loving it. I have had some success in driving a cheap LCD graphic display salvaged from a bargain keychain picture frame and I will ...

Go to advanced search