It has been a doing week, we had some very successful workshops that we ran for the artefact cafe project. This used a collection of students to look at new ideation techniques, there were quite a few bugs but this is why you test these things. I have been writing up a paper and an abstract. we as a team are also preparing for Made In Brunel and Future Everything in May. There have been some great emails bouncing to and forth for meetings and things. I have put up a talk on Digital Shoreditch please click here and follow steps if you want to vote for the talk, thanks if you do.
There has also been quite a discussion on what is "open" in the studio... let us know your thoughts, always welcome.
Seeing
good book for designing workshops
stunning project citizen sensor, well worth a look.
I have moved back to Arduino for the moment, for no other reason than the community is big enough to bounce things off. Gadgeteer is great but it also can be quite inaccessible due to cost and the tutorials that I have found, please do not be put off this great piece of hardware it is fantastic and I have seen some amazing things on it. I am also starting to become a great believer in shared code, I know that it takes quite awhile to write but there will always, always be someone that can use it for something better and involve someone else... surely this is just as if not more important?
quick little project below, getting things working. The feedback and HCI values are always under estimated, people always want to think that something is working... or doing something. This is just a simple temperature sensor, see note on Fritzing (image) as the resistor is wrong, the note is right.
Arduino Code
//TMP36 Pin Variables
int temperaturePin = 0; //the analog pin the TMP36's Vout (sense) pin is connected to
const int ledPin7 = 7; // led pin number 7
void setup()
{
Serial.begin(9600); //Start the serial connection with the copmuter
}
void loop() // run over and over again
{
float temperature = getVoltage(temperaturePin); //getting the voltage reading from the temperature sensor
temperature = (temperature - .5) * 100; //converting from 10 mv per degree wit 500 mV offset
//to degrees ((volatge - 500mV) times 100)
Serial.println(temperature); //printing the result
if (temperature >= 28) // above 28 then the LED is on it gets to here and doesnt like it.
{
digitalWrite(ledPin7, HIGH);
}
else
{ // under 28 then the LED is off
digitalWrite(ledPin7, LOW);
delay (1000);
}
delay(1000);
}
float getVoltage(int pin){
return (analogRead(pin) * .004882814); //converting from a 0 to 1023 digital range
}
0 comments:
Post a Comment