Vive la Resistance aka NanoSmano Sajica

From SGMK-SSAM-WIKI
Jump to navigation Jump to search

Simple Version "Vive la Restistance!"

v.0 using 4093 - empty & editable

here is the mask File:Sajica electronics v 4093 empty.pdf

editable file http://wiki.sgmk-ssam.ch/index.php/File:sajica_electronics_v_4093_empty.svg

v.04 using 4093 - special edition for poolloop

here is the mask File:Sajica electronics v4 4093 poolloop.pdf

updated the correctly mirrored version.

v.05 using 4093 - special edition for Juraussic Labor

here is the mask File:Sajica electronics v5 4093 jurassic.pdf

v.06 using 4093 - special edition for ars electronica

here is the mask File:Sajica electronics v6 4093 cuw.pdf

Step by Step Soldering Instruction

NanoSmano Sajica

In this expanded workshop we can build a simple circuit on a self-made pcb. It has an oscillator and a resistive gas sensor self-made out of soot aka saje (carbon particles). The output be both a blinking LED and also a speaker that produces sounds when you breath at it, put alcohol next to it or other changes in the gas around it. And it will sound cool when you attach it to a proper big amp :-)

Developed with the help of Borut Savski (SI) and Marc Dusseiller (CH), inspired by Prof. Gorazd Planinšič

Connect it to your Arduino

code coming soon... its just a simple integrator that counts, whenever the value changes from 0 to 1.

plug it in with ground next to pin 13. turn it on on pin 11 and measure on 12.

some lousy method, that kinda works...


uint8_t pinOn = 11;
uint8_t pinInt = 12;
uint8_t input = 0;
uint8_t inputNext = 0;
uint16_t count = 0;

void setup() {  
              
  // initialize the digital pins as output and input accordingly.
  // Pin 13 has an LED connected on most Arduino boards: but in this case its not connected to anything
  pinMode(pinOn, OUTPUT);  
  pinMode(pinInt, INPUT);
  Serial.begin(9600);   
}

void loop() {
  
  digitalWrite(pinOn, HIGH);   // turns the whole circuit of the Sajica on, far enough power from the pin directly
  
  count = 0;
  
  for (int i = 0; i< 10000; i++){
  
    input = digitalRead(pinInt);
    inputNext = digitalRead(pinInt);
  
    if(input > inputNext){
      count = count + 1;
    }
  }

  Serial.print("count = ");      
  Serial.println(count);   

  delay(1);              // wait for a bit
}