You are currently browsing the tag archive for the ‘scripts’ tag.

Markus Gritsch writes:

python-on-a-chip (p14p for short) recently got a branch to support PIC24 and dsPIC crontrollers. I got it to compile and the simulator in MPLAB shows it functioning. I mentioned the Web Platform in their mailing list and maybe both projects can share some synergy effects.

It would be nice to use Python on the Web Platform to talk to the peripherals. Bus-Pirate-feeling for the Web Platform.

Thanks for the tip, this sounds like a fun project.


Andrew wrote a Python script to display Winamp playlist info on an ethernet-connected #twatch LCD:

It’s pretty basic at the moment, but I thought people might like to see. I’ve got some speakers in my lounge room driven by my computer (long wires), this lets me know what’s playing.

It shows artist on row 1, title on row 2, and a test string on row 3. Long stuff scrolls at a rate proportional to its length. The winamp code has hooks to add a play/pause indication, times, and a bunch more.

There’s also a copy in the #twatch script folder of the SVN repository.

You can buy an assembled #twatch with LCD for $45, including worldwide shipping. Seeed isn’t currently shipping due to the Chinese spring holiday, but your order will ship ASAP after they return on February 22.

will_j posted a Bus Pirate script that controls a Sure Electronics 8×32 LED marquee:

Here’s a quick and dirty perl script to display ‘BPv3’ on a Sure Electronics 8×32 LEd Matrix display.

You can also use a 16×24 display if you change the second command code to 44 from 40.

Any improvements gratefully received – i.e. a nice character lookup table process would be good!

View a copy in the Bus Pirate scripts folder. We demonstrated a slightly different Sure LED matrix a in a demo: post a few weeks ago.

Thanks for the tip!

Xymon, previously “Hobbit”,  monitors server and network up-time, provides real-time monitoring, availability reports, downtime alerts, etc.

noxin submitted a Perl script that displays Xymon data and alerts on the #twatch networked LCD screen. You can browse all the #twatch scripts in the project SVN.

The #twatch is currently in stock at Seeed Studio: $30 for the bare board, and $45 with an LCD attached, prices include worldwide shipping.

Joost De Cock created a PHP control library for the #twatch. This video gives an overview of the features.

Thanks Joost!

Edit: Philippe Alexandre has an updated #twatch Perl control library as well.

The #twatch Twitter scrolling, ethernet LCD backpack is currently in stock at Seeed Studio for $30, or $45 with an LCD attached. Prices include worldwide shipping. An acrylic frame is $2.50.

philalex wrote a Perl library to control the #twatch. You can leave suggestions and comments in the forum.


We’ve added a folder to the SVN with a few user-contributed scripts for the #twatch in Python, Perl, etc. If you come up with a script for the #twatch, please share it in the #twatch forum.


Since v2 the Bus Pirate firmware has included a self-test that verifies the function of pins and peripherals. The latest v2.6-nightly build adds a self-test to the binary bitbang mode. This is a useful way for applications to test the Bus Pirate, and for manufacturing quality control.

Self-test details after the break. Don’t forget that we’re giving Bus Pirate probe cables to script authors.

Read the rest of this entry »


We want your scripts!

The Bus Pirate has three new binary access modes that can be scripted from a PC: I2C, SPI, and bitbang. There’s already some basic Perl demos in the example scrips folder. If you script something for any of the new modes, in any language, we’d like to host it with the other examples.

We’ll send Bus Pirate probe cable kits to two authors of binmode scripts posted by the end of next week (October 24th, 2009). Any language is fine, but something widely available and cross-platform is best.