Skip to content

Instantly share code, notes, and snippets.

@snikch
Created March 30, 2012 02:38
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save snikch/2245975 to your computer and use it in GitHub Desktop.
Save snikch/2245975 to your computer and use it in GitHub Desktop.
Hacking a PL2303 LED Badge in Mac OS (Code Mania attendee badge)
1) Install the PL2303 Lion driver from http://changux.co/osx-installer-to-pl2303-serial-usb-on-osx-lio
2) Install the CrossOver trial http://www.codeweavers.com/products/cxmac/
3) Install the 'LED Mini Board' software as a CrossOver app http://www.prolific.com.tw/eng/downloads.asp?id=31
4) Plug in your device, then symlink the mounted device in /dev to the `dosdevices` folder in your CrossOver app
cd ~/Library/Application\ Support/CrossOver/Bottles/Setup.exe/dosdevices # Where Setup.exe is the CrossOver app that was created
ln -s /dev/cu.PL2303-00001004 com1 # Your /dev/ mount name may be slightly different
@nzbart
Copy link

nzbart commented Mar 31, 2012

I've started a C# / .NET API that you can code directly against to program the message on the device without using the GUI on the install disk. It should run on Mono, or someone can feel free to port it to another language.

https://bitbucket.org/bartj/led

EDIT: Someone already has written one in python: https://github.com/ghewgill/ledbadge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment