3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

Give Your Cat Twitter Powers

Step 4Set up Processing

Set up Processing
«
  • processing-arduino-lib-finder.png
  • processing-arduino-lib.png
To program the logic of your twittering cat, we'll use Processing.

To make our programming job easier, we'll use a number of different libraries inside Processing.

  • Download the Arduino library for Processing from http://www.arduino.cc/playground/Interfacing/Processing. Extract the zip file to your Processing libraries directory - on the Mac this is in ~/Documents/Processing/libraries/arduino (I had to create libraries subfolder by hand since there was no other library installed yet.) Restart Processing and check under Sketch->Import Library... You should see an Arduino entry.
  • To post twitter updates, download the twitter4j library from http://yusuke.homeip.net/twitter4j/en/index.html. Extract to some place you'll remember. We'll only need the file twitter4j-2.0.0.jar (your version may vary). Later on, we'll add that jar file to our Processing sketch through Sketch->Add file. This copies the jar file into a "code" subdirectory of your sketch. (It won't show up as a library).
  • To post images via FTP, download edftpj library from http://www.enterprisedt.com/products/edtftpj/. You'll later add the jar file lib/edtftpj.jar to your sketch. There's more documentation about using this jar in processing at http://processing.org/hacks/hacks:ftp
  • If you're on Windows, you'll need to download and install WinVDIG 1.01 (version matters!) so the Processing video capture library can grab frames from your webcam. Download from http://www.eden.net.nz/7/20071008/
« Previous StepDownload PDFView All StepsNext Step »

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
6
Followers
2
Author:bpunkt