Sunday, October 23, 2016

Arduino Light Meter with photo resistor and OLED display

Arduino Light Meter with photo resistor and OLED display

This video show how to make an Arduino Light Meter using an Photoresistor or Light depended resistor(LDR). A 128X64 i2c Oled ssd1306 display is used to display the light intensity in percentage numeral and bar. I used an Arduino UNO 3.3V clone which uses Atmega328P.
Photo resistors are cheap and easily available on Ebay, Bangood, Sparkfun etc. Library used U8Glib: Installed directly from the Library Manager in Arduino IDE. Connect the photoresistor or LDR between 3.3V and A0 analog input pin of Arduino. Also connect an 12K or 10K resistor between A0 and ground pin of Arduino. The OLED display VCC is connected to 3.3V of Arduino. Gnd to Gnd of Arduino. SDA of OLED to SDA or Arduino, SCL of OLED to SCL of Arduino.

Light Meter code: Arduino Code download/copy the code in the box below to a file and save with .ino extension.

Follow me on Twitter :
Previous Videos: 
How to connect 128X64 i2c Oled display to Arduino:
Nokia 5110 graphical lcd Demo using Arduino
Controlling RGB LEDS with Arduino and TLC5940

Subscribe to my channel


  1. Harrah's Cherokee Casino & Hotel - MapyRO
    Harrah's Cherokee 의왕 출장마사지 Casino & Hotel · 오산 출장마사지 All 상주 출장샵 rooms 속초 출장안마 are fitted with a king or two queen bed. · All standard rooms have flat-screen TVs. · Harrah's Cherokee Casino 청주 출장샵

  2. Beating the slot requires you to journey again in time 점보카지노 to the '80s, wear some garments you'd not be pleased with at present, and use your capacity to unravel a police case. This hame is based on the cult TV collection Miami Vice and beating the slot means you will have to help the 2 detectives to catch a jewelry thief. The symbols featured on this recreation embody seashells, gold rings, gem-encrusted crowns, mermaids, dolphins, and the almighty god of the sea – Poseidon. Casino websites do not make the variance of the games as accessible because the RTP numbers — and that's partly end result of|as a result of} they don't need to allow you to enhance your odds.