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

Arduino Nano Light Sensor with OLED Display and LED Indicator

View and Edit Project In Cirkit DesignerImage of Arduino Nano Light Sensor with OLED Display and LED Indicator

Circuit Documentation

Summary

This circuit involves an Arduino Nano microcontroller interfacing with an OLED display, a photocell (LDR), an LED, and resistors. The Arduino Nano reads the light intensity from the photocell and controls the LED and OLED display accordingly.

Component List

  1. Arduino Nano

    • Description: A small, complete, and breadboard-friendly board based on the ATmega328P.
    • Pins: D1/TX, D0/RX, RESET, GND, D2, D3, D4, D5, D6, D7, D8, D9, D10, D11/MOSI, D12/MISO, VIN, 5V, A7, A6, A5, A4, A3, A2, A1, A0, AREF, 3V3, D13/SCK
  2. Photocell (LDR)

    • Description: A light-dependent resistor that changes its resistance based on the light intensity.
    • Pins: pin 0, pin 1
  3. Resistor (10k Ohms)

    • Description: A resistor with a resistance of 10k Ohms.
    • Pins: pin1, pin2
  4. LED: Two Pin (white)

    • Description: A white LED with two pins.
    • Pins: cathode, anode
  5. Resistor (10 Ohms)

    • Description: A resistor with a resistance of 10 Ohms.
    • Pins: pin1, pin2
  6. OLED Display (128x32)

    • Description: A 128x32 pixel OLED display.
    • Pins: SDA, SCL, VCC, GND

Wiring Details

Arduino Nano

Photocell (LDR)

Resistor (10k Ohms)

LED: Two Pin (white)

Resistor (10 Ohms)

OLED Display (128x32)

Documented Code

Arduino Nano Code (sketch.ino)

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

}

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

}

Additional Documentation (documentation.txt)

This documentation provides a comprehensive overview of the circuit, including a summary, detailed component list, wiring details, and the code used in the microcontroller.