PIR SENSOR, NEOPIXEL STRIP AND LIGHT BULB (GROUP 3)

by mahen8303 in Circuits > Arduino

1356 Views, 1 Favorites, 0 Comments

PIR SENSOR, NEOPIXEL STRIP AND LIGHT BULB (GROUP 3)

components for the circuit.jpg

Important components are prepared and used for the construction of this circuit.

Components used are PIR sensor, Neopixel(strip 4), LED, Breadboard, Arduino Uno board and Resistor.

Connecting PIR Sensor

PIR sensor.jpg

Connect the Signal terminal to pin 2. Connect Power terminal to 5V. Connect Ground terminal to GND.

Connecting LED (light Bulb)

LED.jpg

An LED is connected with a resistor of 1kilo ohm to pin 13.

Connecting NeoPixel

NEOPIXEL.jpg

The Terminal IN of the Neopixel is connected to pin 6 with a resistor of 1kilo ohm. Connect Power Terminal to 5V. Connect Ground terminal to GND.

The Complete Circuit

hasil kerja.jpg

The circuit is completed and sensor is working as our expected result.

The Coding

coding (1).jpg
coding(2).jpg