20x2 Character VFD SPI interface - 20T202DA2JA with R-PI

by itsmaxlim on Tue Mar 19, 2013 10:54 pm

Hi

I bought this display https://www.adafruit.com/products/347 and

I found a library for Arduino https://github.com/adafruit/SPI_VFD
and instruction http://learn.adafruit.com/arduino-tips- ... -libraries
and discussion viewtopic.php?f=47&t=24278

I still couldn't understand how I can use the display with Raspberry PI .
I know how to use GPIO with php and python, but i couldn't figure out.

Do you have any tips ?
Thank you
itsmaxlim
 
Posts: 3
Joined: Mon Nov 12, 2012 12:18 am

Re: 20x2 Character VFD SPI interface - 20T202DA2JA with R-PI

by adafruit_support_bill on Wed Mar 20, 2013 4:40 am

This blog-post might help get you started:
http://www.adafruit.com/blog/2013/01/11 ... pberry_pi/[list=][/list]
User avatar
adafruit_support_bill
 
Posts: 25597
Joined: Sat Feb 07, 2009 9:11 am

Re: 20x2 Character VFD SPI interface - 20T202DA2JA with R-PI

by itsmaxlim on Tue Mar 26, 2013 7:59 pm

Hi
I know how to switch off and switch on LED over GPIO.
I do not know how i can send a text to the display for displaying it.
Could you help with this point.
itsmaxlim
 
Posts: 3
Joined: Mon Nov 12, 2012 12:18 am

Re: 20x2 Character VFD SPI interface - 20T202DA2JA with R-PI

by adafruit_support_bill on Wed Mar 27, 2013 5:11 am

You would need to translate the SPI_VFD library from C++ to Python. The SPI-Python library should handle the low-level SPI communication for you. It should have functionality equivalent to the Arduino SPI library.
User avatar
adafruit_support_bill
 
Posts: 25597
Joined: Sat Feb 07, 2009 9:11 am

Re: 20x2 Character VFD SPI interface - 20T202DA2JA with R-PI

by itsmaxlim on Mon Apr 01, 2013 7:08 pm

Hi

Sorry, but I am not able to translate the library from C++ to python .
Is it possible to compile and connect to python ?
So I'll be able to use it from Python.

Do we have any other options ?
itsmaxlim
 
Posts: 3
Joined: Mon Nov 12, 2012 12:18 am

Re: 20x2 Character VFD SPI interface - 20T202DA2JA with R-PI

by adafruit_support_bill on Mon Apr 01, 2013 7:42 pm

I doubt that it would compile without changes for the R-Pi. You would need some level of familiarity with C++ to convert the code to use the native SPI libraries.
User avatar
adafruit_support_bill
 
Posts: 25597
Joined: Sat Feb 07, 2009 9:11 am