Things used in this project

Parts & Materials:
Ard nano
Arduino Arduino Nano R3
×1
Analog Voltmeter 0-5V DC
×1
DS18B20 Temperature Sensor
×1
Software apps and online services:
Ide web
Arduino Arduino IDE
Hand tools and fabrication machines:
Dremel Tool

Custom parts and enclosures

Thingiverse
http://www.thingiverse.com/thing:2180890

Schematics

Schematic
Schematic qozxijncip

Code

Code snippet #1Arduino
void loop() {  float temperature = getTemperature();
  int lightIntensity = getLightIntensity();
  
  if(lightIntensity < 30 && counter<60)
  {
    counter++;
    digitalWrite(12,HIGH);   
  }
  else if(lightIntensity < 30 && counter>=60)
  {
    digitalWrite(12,LOW);
  }
  else if(lightIntensity >= 30)
  {
    counter = 0;
    digitalWrite(12,LOW);
  }
  
  int voltage = temperatureToPWM(temperature);
  analogWrite(9,voltage);
  delay(1000);
}

Credits

Photo
Nick Koumaris

My name is Nick Koumaris and I am a software engineer from Sparta, Greece. I love building projects and share them with the world!

Contact

Replications

Did you replicate this project? Share it!

I made one

Love this project? Think it could be improved? Tell us what you think!

Give feedback

Comments

Add projectSign up / Login
Community Projects Magazine Maker Faire Shop Share