Cirkit Designer LogoCirkit DesignerYour all-in-one circuit design IDE Launch Cirkit Designer App

Arduino UNO Light Sensor with OLED Display

View and Edit Project In Cirkit DesignerImage of Arduino UNO Light Sensor with OLED Display

Circuit Documentation

Summary

This document provides a detailed overview of a circuit that includes an Arduino UNO microcontroller, a resistor, a photocell (LDR), and a 0.96" OLED display. The circuit is designed to read light intensity using the photocell and display the data on the OLED screen. The Arduino UNO serves as the central controller, interfacing with the other components.

Component List

Arduino UNO

Resistor

Photocell (LDR)

0.96" OLED

Wiring Details

Arduino UNO

Resistor

Photocell (LDR)

0.96" OLED

Code

Arduino UNO Code

void setup() {
  // put your setup code here, to run once:

}

void loop() {
  // put your main code here, to run repeatedly:

}

This code is a basic template for the Arduino UNO. The setup() function is used to initialize any settings, and the loop() function contains the main code that runs repeatedly. You can add your specific logic to read the photocell and display the data on the OLED screen within these functions.