lightlevelmeter by dislis

This sketch is missing a short description

Light Meter

Part List

  • Arduino DuemilanoveArduino Duemilanove

  • ldr sensorldr sensor

  • 8 led

  • 8 resistors 380?

  • 1 resistor 10K?

Connections

  • make a voltage divider with the ldr and a 10K resistor and conect it to Analoge pin A0
  • Leds to digital pins 0 to 7 (port D of Atmega328p)

Project Ready project

Embed This Sketch

Use the following HTML code to embed the sketch code above in your blog or website.

<iframe style="height: 510px; width: 100%; margin: 10px 0 10px;" allowTransparency="true" src="https://codebender.cc/embed/sketch:34817" frameborder="0"></iframe>

Embed The Serial Monitor

You can also embed the Serial Monitor section! Just use this HTML code.

<iframe style="height: 510px; width: 100%; margin: 10px 0 10px;" allowTransparency="true" src="https://codebender.cc/embed/serialmonitor" frameborder="0"></iframe>