background preloader

How to make a remote-control sentient web-puppet by hacking Twitter, Google, Skype, Arduino and Processing!

How to make a remote-control sentient web-puppet by hacking Twitter, Google, Skype, Arduino and Processing!
How to manipulate a physical object over the web just by using common web services and their accessible data feeds, with some added open source stuff to decode and manipulate that data, and ultimately use the data to move and control physical hardware. Twitr_janus - a prototype web-controlled puppet This Instructable describes Twitr_janus - a puppet I made to see if it was possible to mash up free digital web services (Twitter, Google Spreadsheets and forms, Netvibes and Skype) with open source hardware and code (Arduino language and environment, Processing and related Processing libraries) and use them to manipulate an object over the web. It turned out it was indeed possible! See how Twitr_janus works and see how you can use these ideas to build your own remotely-controlled physical objects. Here's Twitr_janus in action, describing itself and how it works... Summary of what it can do... A puppeteer can remotely communicate over the web using Twitr_janus' data-activated head. The puppet can:

Flocking \ Examples This example is for Processing 2+. If you have a previous version, use the examples included with your software. If you see any errors or have suggestions, please let us know. Flocking by Daniel Shiffman. An implementation of Craig Reynold's Boids program to simulate the flocking behavior of birds. Click the mouse to add a new boid. Processing Controls R/C Car with XBee modules The presentation was divided into two parts, first part was about my few past works: Wireless (Bluetooth) Control Pop-BotMake Wired Robotic Arm Edge to "Wireless" with DIY Arduino + XBee andWireless Finger Drum,XB-Buddy and XB-Buddy Basic Kits And introduced a new project. Second part, was an in-depth workshop on working with the XBee configuration, the Processing's Serial library, Arduino's Serial and SoftwareSerial library. In case, if you want to build the project, below are the list of Hardware, Software and Parts. Hardware Arduino or Arduino Compatibles XBee Modules FTDI cable or equivalent (i.e. Motors Driver Board or equivalent Cheap R/C car with min. 6VDC. battery power (example used was 1:16 Scale Ford Mustang Shelby GT 2010, with 7.5VDC) Driver & Softwares FTDI - Virtual Comm Port Drivers CoolTerm - Free Terminal Program Processing IDE Arduino IDE Parts list for DIY Motors Driver PCB and DIY Arduino Tools

Wireless outdoor Arduino weather station with PC logging and Graphs I wanted to have a log of outdoor weather with PC logging and graphs for quite some time now. There are such devices in the market but their cost is really high. So, decided to build one by myself and enjoy the experience too. Features Temperature, Humidity and barometric pressure measurement No external power for outdoor sensors required (solar powered) Wireless communication between outdoor sensor and PC Full logging and reporting on weather information on PC Relatively inexpensive and easy to build Code is also available at Components of the solution Arduino compatible Seedstudio Stalker board for remote sensors. Notes about the components: Battery: I built the outdoor sensor unit with 2000mAh battery, however by monitoring the device for few months now, including winter I can tell you this is really an overkill as the battery does not get drained or even close to that. Other Tools you will need: Arduino IDE.

Processing Processing is an open source language/ development tool for writing programs in other computers. Useful when you want those other computers to "talk" with an Arduino, for instance to display or save some data collected by the Arduino. Simple Examples Arduino comes with some basic examples for communicating with Processing (in Examples > Communication). Arduino Library for Processing (and Firmata) This library allows you to control an Arduino board from Processing without writing code for the Arduino. Download Library for Processing v2.0: processing2-arduino.zip (Updated 6 Nov. 2013) (properties file here: processing2-arduino.txt) Library for Processing v1.5: processing-arduino.zip (Updated 11 Nov. 2011) (properties file here: processing-arduino.txt) Note: if you run Linux, you need to change Arduino.jar into arduino.jar, because Linux is case sensitive and it does not work if you don't change this letter (Arduino.jar is in the folder "library" of this Processing Library). Instructions Example

Using the Codeable Objects Processing Library Codeable Objects is a library for Processing that allows anyone to design and construct an artifact using geometric computation and digital fabrication. This tutorial will show you how to use the library to make a laser cut lamp. The library allows you to customize the size, shape and decorative patterns of the lamp. Requirements: A computer running windows, Mac OSX or Linux. Internet Access A vector editing program ( Inkscape or Adobe Illustrator) Access to a laser cutter* *If you don’t have access to a laser cutter, you can use an online fabrication service to cut your parts. Section 1: Setup Step 1: Assemble your physical materials 1-3 square feet of ¼” plywood 1-3 sheets of 17” x 14” Bristol board, or some other similar weight paper. 1-3 sheets of semi-transparent vellum or high-grade tissue paper. Step 2: Download and install Processing For tips on how to install processing after you’ve downloaded it, check out this page: .

XBee API Library for Processing NOTE: In my new book I’ve focused on using the more complete XBee-API libraries for Java created by Andrew Rapp. They cover both the Series 1 and Series 2 radios, providing a full suite of API interactions. Code examples that use these libraries are available on the Building Wireless Sensor Networks page. Dan Shiffman and I developed a Processing library for Digi’s XBee radios. Tom Igoe also contributed code. XBeeReader class XBeeReader constructor takes the parent PApplet “this” and a reference to a made serial port port = new Serial(this, Serial.list()[0], 9600); xbee = new XBeeReader(this,port); start() – takes in the string of your setup commands and returns a string of responses. println("Setting up Xbee"); String response = xbee.start("ATRE,ID3333,MY89,DH0,DL0"); println("Setup response: " + response); getXbeeReading() – returns the XBeeDataFrame object XBeeDataFrame data = xbee.getXBeeReading(); XBeeDataFrame class Contains the information delivered in an XBee data frame.

Oscilloscope du pauvre (avec Arduino + Processing) | Accrochages Ce logiciel donne une représentation visuelle d'un signal analogique en utilisant Arduino et Processing. La résolution est de 10 bits, ce n'est pas comme un véritable oscilloscope, mais c'est néanmoins très utile. Il fonctionne en envoyant à Processing (via le port sériel) les valeurs lues à partir du Arduino (pin 0). Oscilloscopes Arduino Alternatifs Arduinoscope (inspiré de notre projet)Lxardoscope (alternative sans Java) Note: Cette idée a inspiré une application avancée que nous recommendons, en particulier si vous souhaitez lire plusieurs entrées: Arduinoscope. Ingrédients Instructions Charger le code du Arduino sur l'interface (le code est inclus à la fin du .pde attaché à cet article)Fermer le logiciel Arduino (car je crois qu'il peut causer des interférences pour la lecture du port sériel)Démarrer le code ProcessingLa version "avec zoom" permet de "zoomer" en appuyant sur "+" et "-" Afficher n'importe quelle valeur/signal

Utiliser Processing et ses librairies "hardware" Nous utilisons Processing pour réaliser de petits logiciels de communication avec nos robots et nos applications électroniques. Il s’agit d’un environnement de développement open source basé sur un langage simplifié qui permet en quelques minutes de réaliser des interfaces : en "mode console" (pas d’affichage autre que du texte défilant en bas du logiciel) ou graphiques, allant du tracé de courbe à la 3D OpenGL ! Site officiel de Processing Dans cet article, on présentera surtout les bibliothèques de code permettant de communiquer avec des interfaces matérielles (hardware) électroniques : XBee ou Arduino, et qui permettent ainsi de ne pas écrire de code embarqué. Quelques exemples de nos réalisations avec Processing : Visualisation radar d’une détection de distance Accéléromètre Analog ADXL311 Pilotage du Pobot Easy Installation La dernière version qu’on utilise dans nos ateliers est la 1.0.3. Librairie XBee C’est Dan Shiffman et Rob Faludi qui proposent une librairie spécique sur leur site.

Related: