Hi,
I'm currently trying to use an LCD (ili9341 from Adafruit) with the red pitaya and to print some characters on it.
I didn' t find any examples on Google about how to do this.
I don't know how to configure the blocks because i have neither RS pin nor Enable (E) pin on my LCD.
So i don't know which value i have to put on RS and E pin in Visual Programming.
The other problem is that my LCD screen is 2.8" so i have much more than 16 columns and 2 rows.
You'll find attached a screen of what I did in Visual Programming.
I made the following connections between LCD and Red Pitaya :
D7 ... D4 <===> DIO7_N ... DIO4_N
SDA <===> I2C_SDA
SCL <===> I2C_SCL
WR <===> GND (i set WR to GND to enable write mode)
3-5V <===> 3.3V
GND <===> GND
Can someone help me please ?
Thanks.
Write on LCD screen
-
- Posts: 15
- Joined: Tue May 17, 2016 12:18 pm
Write on LCD screen
You do not have the required permissions to view the files attached to this post.
-
- Posts: 1441
- Joined: Sat Jun 07, 2014 12:49 pm
- Location: Königswinter
Re: Write on LCD screen
Hi,
the ILI9341 can probably not be addressed from the "LCD character display on I2C" block that you tried to use. The preferred method of communicating with the ILI9341 seems to be the SPI bus, and Adafruit provides a python-based driver library to access its display functions.
Now, I am not familiar with the Visual Programming stuff at all, but it may be possible to create a block that encapsulates that driver. Can't tell you how to go about that, though.
the ILI9341 can probably not be addressed from the "LCD character display on I2C" block that you tried to use. The preferred method of communicating with the ILI9341 seems to be the SPI bus, and Adafruit provides a python-based driver library to access its display functions.
Now, I am not familiar with the Visual Programming stuff at all, but it may be possible to create a block that encapsulates that driver. Can't tell you how to go about that, though.
-
- Posts: 54
- Joined: Tue Feb 02, 2016 8:42 pm
Re: Write on LCD screen
I am also working with an AdaFruit screen. Yes these are SPI based (the one I have is), so you will need the SPI pin numbers and then modify the the Device Tree and recompile the kernel if you want to get it in automatically.
Request: A good device tree example would be good and helpful for us.
<<
Request: A good device tree example would be good and helpful for us.
<<
-
- Posts: 15
- Joined: Tue May 17, 2016 12:18 pm
Re: Write on LCD screen
Thanks for your help !
In the Red Pitaya shell when I have
root@redpitaya:~#
What is the command line to open the library's directory ?
The following line :
doesn't work because my library's folder is on my windows desktop.
So do you know how to import the library into visual programming so I can use "cd" to open the library's folder ?
Thanks
In the Red Pitaya shell when I have
root@redpitaya:~#
What is the command line to open the library's directory ?
The following line :
Code: Select all
cd /librarysdirectory
So do you know how to import the library into visual programming so I can use "cd" to open the library's folder ?
Thanks
jadalnie klasyczne ekskluzywne meble wypoczynkowe do salonu ekskluzywne meble tapicerowane ekskluzywne meble do sypialni ekskluzywne meble włoskie
Who is online
Users browsing this forum: No registered users and 94 guests