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

EL Wire/Tape/Panels, LEDs, pixels and strips, LCDs and TFTs, etc products from Adafruit

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
itsmaxlim
 
Posts: 3
Joined: Mon Nov 12, 2012 1:18 am

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

Post by itsmaxlim »

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 http://forums.adafruit.com/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

User avatar
adafruit_support_bill
 
Posts: 88093
Joined: Sat Feb 07, 2009 10:11 am

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

Post by adafruit_support_bill »

This blog-post might help get you started:
http://www.adafruit.com/blog/2013/01/11 ... pberry_pi/

    User avatar
    itsmaxlim
     
    Posts: 3
    Joined: Mon Nov 12, 2012 1:18 am

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

    Post by itsmaxlim »

    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.

    User avatar
    adafruit_support_bill
     
    Posts: 88093
    Joined: Sat Feb 07, 2009 10:11 am

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

    Post by adafruit_support_bill »

    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
    itsmaxlim
     
    Posts: 3
    Joined: Mon Nov 12, 2012 1:18 am

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

    Post by itsmaxlim »

    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 ?

    User avatar
    adafruit_support_bill
     
    Posts: 88093
    Joined: Sat Feb 07, 2009 10:11 am

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

    Post by adafruit_support_bill »

    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.

    Locked
    Please be positive and constructive with your questions and comments.

    Return to “Glowy things (LCD, LED, TFT, EL) purchased at Adafruit”