# data[].attributes.headline
STEP 1: Aim of the project( cel projektu)

# data[].attributes.subject
STEP 1: Aim of the project( cel projektu)

# data[].attributes.body
Night Light That Turns On When It Detects Motion

# data[].attributes.headline
STEP 2: Components Required (Wymagane komponenty)

# data[].attributes.subject
STEP 2: Components Required (Wymagane komponenty)

# data[].attributes.body
-Arduino Uno R3

-Contact board 830

-USB A to USB 2.0 cable

-5-10k GL 5516 photoresistor

-Led

-Resistor 1x 330 1x 1k

-Laptop

-Connection cables 7

# data[].attributes.headline
STEP 6: Designing (Designing)- 3D desing, model craft, prototype making

# data[].attributes.subject
STEP 6: Designing (Designing)- 3D desing, model craft, prototype making

# data[].attributes.headline
STEP 9: Video Domonstration ( pokaz wideo)

# data[].attributes.subject
STEP 9: Video Domonstration ( pokaz wideo)

# data[].attributes.body
#include <Arduino.h>
#include <Wire.h>
#include <SoftwareSerial.h>

double angle_rad = PI/180.0;
double angle_deg = 180.0/PI;

void setup(){
    pinMode(A0+5,INPUT);
    pinMode(8,OUTPUT);
}

void loop(){
    if((analogRead(A0+5)) < ( 200 )){
        digitalWrite(8,1);
    }else{
        digitalWrite(8,0);
    }
    _loop();
}

void _delay(float seconds){
    long endTime = millis() + seconds * 1000;
    while(millis() < endTime)_loop();
}

void _loop(){
}

# data[].attributes.headline
STEP 7: Photos of Project Stages (Zdjęcia etapów projektu)

# data[].attributes.subject
STEP 7: Photos of Project Stages (Zdjęcia etapów projektu)

# data[].attributes.attachment_link.title
Black and White Minimalist Animated Grunge Photography Camera YouTube Intro

# data[].attributes.headline
STEP 3: Circuit Diagram & Connections (Schemat obwodu i połączenia) 

# data[].attributes.subject
STEP 3: Circuit Diagram & Connections (Schemat obwodu i połączenia) 

# data[].attributes.body
The European Commission support for the production of this publication does not constitute an endorsement of the contents which reflects the views only of the authors, and the Commission cannot be held responsible for any use which may be made of the information contained therein.

# data[].attributes.body
Authors: International team of the Erasmus+ project

📜 License:
This material is available under the Creative Commons Attribution 4.0 International (CC BY 4.0) license.
This means it can be copied, modified, distributed, and used, provided that proper credit is given.
📎 License details: https://creativecommons.org/licenses/by/4.0/deed.en
ℹ️ The content of this material is the sole responsibility of the authors and does not necessarily reflect the official position of the European Commission.