background preloader

Processing

Facebook Twitter

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 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.

(this instructable - Processing Controls R/C Car with Wireless XBee modules) 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. Toxiclibs. Toxiclibs. 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. Each boid steers itself based on rules of avoidance, alignment, and coherence. Click the mouse to add a new boid. 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. It was built from cheap, easily available stuff, some of it salvaged. Here's Twitr_janus in action, describing itself and how it works... Summary of what it can do... The puppet can: Processing.js. 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).

These are useful for when you want to write both Arduino and Processing programs and have them talk to each other. This works best for communicating simple information. 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) Instructions Reference Arduino(parent, name, rate): create an Arduino object. [nytlabs] Project Cascade. 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. *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 Processing is a popular java based programing environment that allows people to learn and experiment with programing in a simple and straightforward context.

Step 3: Download the Codeable Objects library Locate the Processing sketchbook. 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. The library facilitates receiving multiple sample I/O packets in API mode (ATAP1) from both the 802.15.4 and Series 2 XBee radios, and returns an object that contains the analog values, digital values, sender’s address and RSSI values. We started with I/O frames because the only way to receive this information is via API mode. The ability to send remote AT commands is now included. 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);

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. Robotique ludique. Processing.org. Processing.