Power & Source of Big Ideas

spi display or any other?

Moderators: chensy, FATechsupport

Hello Guys,

Is it possible to (has anyone tried) to connect a display (SPI, I2C,etc) to the NanoPi NEO?
Any HOW TOs available on this?

Regards,
Vivek.
Hi,

all displays sold by FriendlyArm require a NanoPi 2 (perhaps because of it running on Debian).
So not even Neos bigger brother M1 (Neo+GPU+HDMI) is mentioned as supported.

On the other hand simple Arduinos are able to drive LCDs, it is just a question of having the needed libraries.
Once I did play with Arduino and the very small (84x48 monochrome) Nokia 5110 display based on this youtube video, that provides complete code to drive the display:
https://www.youtube.com/watch?v=RAlZ1DHw03g

So you may take eg. a popular 320x240 LCD and port the Arduino library to Neo. Or you try RasPiArduino or PiDuino library projects to compile the Arduino code for directly running on (Raspberry) Pi and see whether they work with NanoPi Neo as well.

Hermann.
Hey Hermann,

Thanx for the reply and sorry for replying so late.
I kinda got frustated and gave up on connecting the display. But thank you for the new information. I will give it a try today and will be let you know how it worked out.

Regards,
Vivek.

PS: On a completely different issue, have you been successful in manually changing the script.bin file using linux-sunxi tools, specifically bin2fex tool? Let me know if you know anything about this.
I just found a graphic library for Nanopi Neo/M1 today.

wertyzp did post WiringPi library ported to Neo/M1:
http://www.friendlyarm.com/Forum/viewtopic.php?f=47&t=260

And "examples/clock.c" mentions a graphic library that should run with wertyzp's WiringPi port on Neo/M1:
/*
* clock.c:
* Demo of the 128x64 graphics based LCD driver.
* This is designed to drive the parallel interface LCD drivers
* based on the popular 12864H controller chip.
*
* This test program assumes the following:
* (Which is currently hard-wired into the driver)
*
* GPIO 0-7 is connected to display data pins 0-7.
* GPIO 10 is CS1
* GPIO 11 is CS2
* GPIO 12 is STROBE
* GPIO 10 is RS
...



I don't have a 128x64 display based on 12864 controller to try it.
And there are different versions, needed is the one with 8 parallel data lines DB0-DB7.
I found it on aliexpress
http://www.aliexpress.com/item-img/Free-shipping-1pcs-lot-LCD-Board-12864-128X64-5V-blue-screen-display-ST7920-LCD-module-100/32322144504.html

but bought it a little bit more expensive on amazon.de because delivery time is shorter:
https://www.amazon.de/gp/product/B008EOH76E/ref=oh_aui_detailpage_o00_s00?ie=UTF8&psc=1

Will test that display when I will have received it,

Hermann.

P.S:
I recently ordered (two) 5$ 480x320 displays (3.95") for Raspberry Pi:
https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=158042

Perhaps that display will work with Neo/M1 as well, it has 26pin connector, and Neo has 24 pins with same layout. Pin 25 is GND and available at several other places. Only pin 26 CE1 may be a problem ...

It is not clear whether driver side may be a problem or not. ILI9488 driver is needed, but Neo kernel only contains ILI9486 driver (linux-3.4/drivers/staging/fbtft/fb_ili9486.c). Both are for 480x320 displays, differ only wrt colors (262K vs. 16.7M).
Hello guys,
About NanoPi M1 how to use spi display, you can read this link and it provides us the source code and sinstruction:http://wiki.friendlyarm.com/wiki/index.php/Matrix_-_2%278_SPI_Key_TFT

Who is online

In total there are 32 users online :: 0 registered, 0 hidden and 32 guests (based on users active over the past 5 minutes)
Most users ever online was 5185 on Wed Jan 22, 2020 1:44 pm

Users browsing this forum: No registered users and 32 guests