Arduino step 4

maí 12, 2010

2nd Prototype:  5 LEDs 1m-6m wiring.


Note: sensor needs tuning. Light seems to be going on and off randomly, but really is just picking up LOW-phases shorter than a given time and there for sometimes not sending signal when nothing is happening.

This is the code im using now:

*/

int ledPin = 13; // choose the pin for the LED

int inPin = 2;   // choose the input pin (for a pushbutton)

int val = 0;     // variable for reading the pin status

void setup() {

pinMode(ledPin, OUTPUT);  // declare LED as output

pinMode(inPin, INPUT);    // declare motion detector as input

}

void loop(){

val = digitalRead(inPin);  // read input value

if (val == HIGH) {         // check if the input is LOW (sense motion)

digitalWrite(ledPin, LOW);  // turn LED OFF

} else {

digitalWrite(ledPin, HIGH);  // turn LED ON

}

}

Next step: Codes

Auglýsingar

Arduino step 3.2

maí 12, 2010

Finally a working prototype.

4 LEDs turn off when the PCB board(motion sensor) detects motion and turn on when there is no motion.

Now: Step 4 – second prototype, more LEDs and longer wires

Arduino step 3.1 (Fail)

maí 12, 2010

Frá arduino:
RED – deilir 5V milli NPN og PCB
Gulur – ground
grænn – inPin
orange – output pin(13)

This is a 11.80K resistor.

Gulur fer í ‘C’ á PCB board

Grænn (hægri) fer í inPin(2)

Grænn (vinstri) fer í 5V

Arduino step 3

maí 12, 2010

I have been working on a prototype for the LED setup and it works fine, just need to hook them up to the motion sensor now…

I’ve got a week now to finish this.

Arduino step 2

maí 3, 2010

I am now figuring out how to program very bright LED’s to switch on when there is no movement in the room. I use a Micron PRI motion sensor with a ATmega328 Arduino + NPN Power Transistor and 14 LED’s. This is all completely new to me and I’ve got Physical Computing(book) to help me out and the Arduino website. I use the Arduino 0018 software to program but I’m facing some problems when uploading the code onto the Arduino. That will hopefully be sorted out soon.

Arduino

maí 3, 2010

Playing with light

október 31, 2009

Artinavan // artists hosted their second event last night. That happened to be in my house. Exhibition/housewarming party. I put up some light installations in my garden: The first one is a LED light behind a tree and a dust cloth. The second one is made from plastic cups, LED light and dust cloth. The last one consists of seven candles and seven magnifying glasses. When people walk past it, the fire flickers and disturb the circles on the wall so they move in a natural way as they were floating in water.

Pumpkin pinhole

október 31, 2009

This project was inspired by the old festival Samhein. That is when the bright half of the year(summer) comes to an end and the dark half (winter) begins. Halloween is a modern version of this festival. I was interested in the fact that in the old days, people used to entertain the evil spirits by dancing and singing. That was their way to thank them for the keeping peace and not ruining the crops. The land of the living is joint by the dead and together, thats where the halloween costumes come from.
What i did was to carve the insides out of a big pumpkin and turn it into pinhole camera. The idea was to use the iconic object of the modern version of Samhein to capture me dancing and singing; entertaining the spirits. My movements during the 30sec exposure made me almost, or completely disappear and that gives the images this ghostly feeling. That also fits perfectly into the concept of the two worlds combining. I scanned them in and turned some of them positive and croped others. I wanted to exhibit both pos. and neg. to underline the changeover from the bright half to the dark half of the year. The performance part of this process, dancing and singing in Peckham, London was also interesting to me. I want to do more performance based stuff.

Tate project

október 31, 2009

I did a 6 week project with Tate museum in London. They wanted students opinion on the space and the whole structure of the museum, website and the building. This is a part of what I produced in the process:

Paper projection

október 31, 2009

I made this projector the other day, made for 35mm film. It doesn’t have a light source in it but i use a special made lamp that fits on the rear side of the box. The projection from 3m is 70cm across. I used card board box, some sellotape and a magnifying glass.