Arduino Ultrasonic Sensor Relays

September 7th, 2009

While in my recent residence in Tabor, Czech Republic at CESTA (www.cesta.cz) I created some Arduino ultrasonic sensor relays which triggered sounds and strobe lighting. It was easier than I thought and will definitely use it again with more complex usage.

CESTA - Le Ver de Terre

Arduino Code

// © RHYS TURNER sensor (triggered) relay sketch
int LEDpin = 13;        // LED on 13 indicates running
int relayPin1 = 11;    // LED connected to digital pin 11
int relayPin2 = 12;    // LED connected to digital pin 12
int anIn1 = 0;
int anIn2 = 1;

int iAnVal1; //store sensor val 1
int iAnVal2; //store sensor val 1

int Thresh0 = 40;
int Thresh1 = 40;

void setup() {
Serial.begin(9600);          //Serial.write.
pinMode(LEDpin, OUTPUT);     // prepare the pin “LEDpin” for output
pinMode(relayPin1, OUTPUT);  // sets the digital pin as output 1
pinMode(relayPin2, OUTPUT);  // sets the digital pin as output 2
}

void loop()
{
iAnVal1 = analogRead(anIn1);   // read a value from the sensor 1
iAnVal2 = analogRead(anIn2);   // read a value from the sensor 2
delay(150);
//Serial.println(iAnVal1);
Serial.println(iAnVal2);
if (iAnVal1<Thresh0) {digitalWrite(relayPin1,HIGH);} else {digitalWrite(relayPin1,LOW);};
if (iAnVal2<Thresh1) {digitalWrite(relayPin2,HIGH);} else {digitalWrite(relayPin2,LOW);};
digitalWrite(LEDpin,HIGH);
delay(150);
digitalWrite(LEDpin,LOW);
}

Invisible Playtime Photograhy Series

August 4th, 2009

Mel and I started a series or photographs playing with presence and absence through invisibility.

Invisible Rhys 1

Invisible Rhys 1

Invisible Mel 1

Invisible Mel 1

CESTA Tabor

August 3rd, 2009

Tabor, a beautiful 12th century town (maybe even earlier) with Medevil history located 2 hours south of Prague (Praha) is the location for an Aritst Residency program CESTA www.cesta.cz (which I have found out though is an Acronym for Cultural Exchange Station Tabor Assosication) means path. The building itself is an old mill and has a number of doorm like rooms with beds and shared accomodation.  The people, artists/musicians themselves, are lovely and very accomodating. After a long trip 35 hours on airplanes and 2 hours on a train we arrived frazzled though our bags were found (and actually arrived beofre us!). We went to explore the local old town for the first day to become aquainted with the place and people.

Luznice River Tabor Czech Republic

Holga Photographs

February 21st, 2008

rome_fountain_de_somethingThis is the Fountain de  Trevoli Archeological Ruins RomeArcheological Ruins Rome  mel001_07_72dpi.jpg  mel001_09_72dpi.jpg  San Marco Veniza San Marco Square Venice mel001_04_72dpi.jpg  Kyoto temple rt005_08_72dpi.jpg rt005_07_72dpi.jpg 

Helsinki weather

February 17th, 2008

Helsinki was cold around -5 degrees during the day and the evening was -11 degrees, however there wasn’t alot of snow, the locals said this winter was mild, they usually get 4 foot of snow but this time there wasn’t. They said the weather was strange. hmmm, we wondered if it was global warming!

Helsinki

February 17th, 2008

deer

mel_shops_helsinki

mseum

snowman_mel

fortess3

fortress2

fortress1

island3

island2

dsc_0073.JPG

dsc_0169.JPG

dsc_0163.JPG

dsc_0160.JPG

dsc_0159.JPG

dsc_0158.JPG

dsc_0155.JPG

dsc_0152.JPG

dsc_0148.JPG

dsc_0134.JPG

dsc_0115.JPG

dsc_0104.JPG

dsc_0091.JPG

dsc_0087.JPG

dsc_0083.JPG

dsc_0081.JPG

dsc_0080.JPG

dsc_0079.JPG

dsc_0077.JPG

dsc_0071.JPG

dsc_0062.JPG

dsc_0057.JPG

dsc_0052.JPG

dsc_0039.JPG

dsc_0032.JPG

dsc_0027.JPG

dsc_0007.JPG

mel_helsinki1

dsc_0005.JPG

Helsinki Karaoke

February 17th, 2008

Last night we were lucky enough to experience karaoke in Helsinki. It was hilarious! Boozed up Fins flailing about singing with all the passion one can muster. It felt like being in a small country town pub, it was called ‘Karaoke Pub’, there wasn’t any stage, so people on the mic could be anywhere, to ordering a drink, dancing on the dance floor or even on the toilet! There was a midget, loud personalities, a blind man and women between 30 years old to 50 falling on the ground from so much laughter. Hearing their souls spill out onto the microphone was the best thing to see on our last night. Unfortunately we didn’t have our cameras so we missed to capture the moment visually, however we did get some shots from the rest of the visit.

Around and About

February 13th, 2008

roll6_dsc_0003.JPG

roll6_dsc_0048.JPG

roll6_dsc_0052.JPG

roll6_dsc_0064.JPG

Holy…

February 13th, 2008

roll6_dsc_0026.JPG

roll6_dsc_0027.JPG

roll6_dsc_0029.JPG

roll6_dsc_0030.JPG

roll6_dsc_0033.JPG

roll6_dsc_0035.JPG

roll6_dsc_0043.JPG

Venice

February 13th, 2008

dsc_0067.JPG

dsc_0071.JPG