Alireza Karkon
Published © CC BY

LSS (Light Status System) Intensity and Direction Finder

Light Status System using Arduino to find the direction and intensity of the light and to receive and process the data in WPF application.

BeginnerFull instructions provided2 hours2,268

Things used in this project

Hardware components

Arduino UNO
Arduino UNO
×1
Photo resistor
Photo resistor
×1
Jumper wires (generic)
Jumper wires (generic)
×1
Resistor 47.5k ohm
Resistor 47.5k ohm
×1

Software apps and online services

Arduino IDE
Arduino IDE
Visual Studio 2015
Microsoft Visual Studio 2015

Hand tools and fabrication machines

Hot glue gun (generic)
Hot glue gun (generic)

Story

Read more

Custom parts and enclosures

LSS - WPF application

Schematics

Circuit

Code

Code

C/C++
  const int _A1 = 1;
    const int _A2 = 2;
      const int _A3 = 3;
        const int _A4 = 4;
          const int _A0 = 0;
void setup() {
  // put your setup code here, to run once:
    Serial.begin(9600);
}

void loop() {
  int R0 = analogRead(_A0);
      Serial.print(R0);Serial.print(",");
        int R1 = analogRead(_A1);
      Serial.print(R1);Serial.print(",");
        int R2 = analogRead(_A2);
      Serial.print(R2);Serial.print(",");
        int R3 = analogRead(_A3);
      Serial.print(R3);Serial.print(",");
        int R4 = analogRead(_A4);
      Serial.println(R4);delay(60);

}

Credits

Alireza Karkon

Alireza Karkon

10 projects • 67 followers
Hey guys! I'm Alireza. I'm a student (Bachelor of Technology)-Computer EngrgTech. I'm C# / C++ / Unity programmer and familiar to Front-End.

Comments