Skip to content

Python script to control led display boards or 'led ticker' via serial or usb connection.

Notifications You must be signed in to change notification settings

shackenberg/text2led.py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

text2led.py

This is a python script to control led display boards also known as led bars or led ticker via serial or usb connection.

The script works at least with following displays:

  • Skytronic MSB-67 / 153.141
  • Velleman MML16CN
  • AM004-03127 (the Conrad Laufschrift)

Please inform me, if it also works with other models.

The core class is taken from: http://gathering.tweakers.net/forum/list_message/30160421#30160421

How to use

The script offers three modi operandi:

  • Manual: The script waits for input via the cmd line.

  • iTunes: The script uses AppleScript to poll ITunes every second for current song's name and artist. Only on OSX

  • VirtualDJ: The script checks every second the history of the DJ program VirtualDJ for new entries and outputs the last entrie's song name and artist. Tested on Windows7 and OSX.

Each one of the three modi is activate by commenting out the other two. Please look at the function for further details.

Preparations:

  1. find out the right serialport
  2. for Windows it is "\.\COM3" in my experince
  3. for Mac OSX it is "/dev/cu.SLAB_USBtoUART"
  4. For OSX you first have to install the USB2Serial driver. I used: http://www.silabs.com/products/mcu/Pages/USBtoUARTBridgeVCPDrivers.aspx
  5. edit the serial port, see main

How to change display options:

The display options can be changed via the settings variable. All the different supported options can be found in the documentation of the led display boards. Copies can be found here:

About

Python script to control led display boards or 'led ticker' via serial or usb connection.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages