Actions

MicroTweeter

From HacDC Wiki

Revision as of 02:05, 15 March 2011 by Williamgibb (talk | contribs) (Created page with "== ze microTweeter == This microTweeter application was written so I could learn python and play with my microcontroller a bit. Its a combination twitter application, python scr...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

ze microTweeter

This microTweeter application was written so I could learn python and play with my microcontroller a bit. Its a combination twitter application, python script and blob of microcontroller [avr atmega88] code designed.

Instructions

  1. Install pyTwitter from http://code.google.com/p/pytwitter/
    1. pyTwitter relies on
  2. Make sure you have an account on Twitter. www.twitter.com
  3. Sign up for an application on twitter (dev.twitter.com)
    1. When you create your application, you'll get a consumer key and consumer secret value. Note these.
    2. Follow instructions at the top of this page to generate your personal access key and secret. Note these.
  4. Setup your ~/.tweetrc file. This is a selfconfig file. See the example tweet.py code from the pytwitter code.
    1. This uses file uses the four keys from the previous step
    2. Make sure you test your setup with tweet.py !
  5. Program your board with the main.c file in the microTweeter package below.
    1. This has been designed with elliots board in mind, so it uses the pushbutton and serial port to do IO.
  6. Assemble a file of quotes to use!
    1. I've provided a file of 22 Monty Python quotes. Feel free to use it or make your own file!
  7. run the python script, microTweeter, giving it file and port arguments in order to make twitter magicks happen.
    1. I take no responsibility for your friends weighing you against a duck if you overuse this application


Files

Files go here