Example Projects
Workshops

Actuators
Circuits
Communication
Connections
Power
Sensors
Traces
Conductive Materials
Non-Conductive Materials
Tools
Techniques
Code
Code
  • Analog Input Graph
  • 2x2 Analog Input Matrix
  • ATtiny & Arduino
  • ATtiny85 Software PWM
  • Charlieplexed Matrix
  • Etch-a-Sketch Drawing
  • ISP Alligator Clip Extension
  • Large Analog Input Matrix
  • Position Visualization
  • RGB Colour Fade
  • About
  • Newsletter
  • Shopping Local

  • SEARCH
    Content by Mika Satomi and Hannah Perner-Wilson
    We support the Open Source Hardware movement. All our own designs published on this website are released under the Free Cultural Works definition
    The following institutions have funded our research and supported our work:

    Mika was a guest researcher at the Smart Textiles Design Lab, The Swedish School of Textiles

    Hannah is a former graduate student of the MIT Media Lab's High-Low Tech research group


    Hannah and Mika were both research fellows at the Distance Lab
    Code

    Analog Input Graph

    In many of our textile sensor videos and examples we use an arduino programmed to read analog sensor values and send them over serial to a computer running a visualization written in processing. We have taken our code from the following examples:

    “Arduino meets Processing” Potentiometer example

    >> http://webzone.k3.mah.se/projects/arduino-workshop/projects/arduino_meets_processing/instructions/poti.html

    Our variation

    We have modified it to visualize multiple inputs and also to threshold the data. The thresholds can be set in the code.

    Tom Igoe’s “Serial Graphing Sketch”

    In the following post you’ll find Arduino and Processing code from Tom Igoe for visualizing analog sensor input over time:
    >> http://processing.org/exhibition/features/igoe/

    Our variation

    1 Comment so far

    1. chih fan chan on May 26th, 2012

      why p_Graph6AnalogIN_k3.pde in my processing demonstrat cannot find class or typed named ”ThresholdGraph” ?

    Leave a comment