thisoldgeek's posterous http://thisoldgeek.posterous.com Most recent posts at thisoldgeek's posterous posterous.com Sun, 10 Feb 2013 14:34:00 -0800 Raspberry Pi SPI to Samsung VFD http://thisoldgeek.posterous.com/raspberry-pi-spi-to-samsung-vfd http://thisoldgeek.posterous.com/raspberry-pi-spi-to-samsung-vfd

P405

Did a crude translation of the adafruit SPI_VFD arduino library to python on the raspberry Pi, with the target being the Samsung 20T202DA2JA vacuum fluorescent display.

I'll do a longer write-up when I have time. You need to install spidev as a prerequisite.

The key to getting output is sending a series of integers in a call as below:

def text(string):
     L = [VFD_DATA]
     for char in string:
          L.append(ord(char))
     spi.writebytes( list(L) )

text("Hello, World!")

Permalink | Leave a comment  »

]]>
http://files.posterous.com/user_profile_pics/901724/bob_profile.JPG http://posterous.com/users/1kLnYQjaRXeV bob murphy thisoldgeek bob murphy