Building the circuit

We prototyped a GSR using an arduino and a breadboard. We then tested our code by making an LED light up in response to the sweat in our fingers. Our next step is soldering the aroma usb to the arduino and having scent be the output.

-Betty and Stephanie



Screen Shot 2014-03-13 at 7.52.14 PM Screen Shot 2014-03-13 at 7.51.54 PM


This example code is in the public domain. We modified it to fit our needs

int led = 3;
void setup() {
// initialize the serial communication:
pinMode(led, OUTPUT);

void loop() {
// send the value of analog input 0:

if(analogRead(A0) > 30) {
digitalWrite(led, HIGH);}
digitalWrite(led, LOW);
// wait a bit for the analog-to-digital converter
// to stabilize after the last reading:



Leave a Reply

Your email address will not be published. Required fields are marked *