Wednesday, 8 February 2012

Its not working :(

I have managed to sort out the coding. Even though, there aren't no problems in the coding, my Arduino kit doesn't work: the LED bar graph light is supposed to light up whenever near a device that generates EMF (Electromagnetic Filed Radiation) but doesn't. I have tried many things to overcome this situation like; tried different LED lights, tried different resistors, thicker wire.. but its simply not happening. I dont know whether I have done something wrong with circuit it self or if its the arduino application code :S

Tuesday, 7 February 2012

Where am I so far?

I am working on to making the EMF radiation detector but I am finding it difficult to make the LED bar graph to work :S

However, I have managed to find a link that actually shows me how to light it up so I am still working on it. 
But I managed to make the programming work on the Arduino app > 


const int ledPin =  1;      // the number of the LED pin


int ledState = LOW;             // ledState used to set the LED
long previousMillis = 0;        // will store last time LED was updated

long interval = 1000;           // interval at which to blink (milliseconds)

void setup() {
  
  pinMode(ledPin, OUTPUT);      
}

void loop()
{

  unsigned long currentMillis = millis();

  if(currentMillis - previousMillis > interval) {
    
    previousMillis = currentMillis;   

    
    if (ledState == LOW)
      ledState = HIGH;
    else
      ledState = LOW;

    digitalWrite(ledPin, ledState);
  }
}

Monday, 6 February 2012

More disadvantages of mobile phone usage..

  • Negative health effects
  • Male inferitility
  • The effect on children
  • Increased stress level
  • The effect on the environment