Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

CBM 231 drivers for Aruino+WiShield to turn a receipt printer into a remote social microprinter

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 Microprinter_SimpleClientWiShield13.pde
Octocat-spinner-32 README
Octocat-spinner-32 microprinter.py
Octocat-spinner-32 twitterprinter.py
README
The Social Microrinter is an Arudio+WiShield+CBM 231 combination, it reads tweets and other info from a website and prints them to the CBM 231 when a button is pressed. Full write-up:
http://ianozsvald.com/2010/11/06/building-a-social-microprinter/

FOR THE ARDUINO:
This sketch assumes you have a WiShield 1.0 with 1.3 drivers, when the button is pressed it'll talk to microprinter.ianozsvald.com to get the latest printable info.
Microprinter_SimpleClientWiShield13.pde	

FOR THE SERVER:

twitterprinter.py gets tweets and prepares an output file called index.html. This is read by the Arduino sketch, it includes the control characters for bold and underline.

microprinter.py is taken from BenOSteen's excellent: https://github.com/benosteen/microprinter

I use the following line to run a cron job every 2 minutes, it runs twitterprinter.py and outputs index.html
crontab:
*/2 * * * * /usr/local/bin/python2.5 /home/ianozsvald/webapps/app_microprinter/twitterprinter.py
runs the script every two mins
Something went wrong with that request. Please try again.