What a Easy Night Light?!

by Hsia-Lei in Circuits > Arduino

91 Views, 0 Favorites, 0 Comments

What a Easy Night Light?!

螢幕快照 2021-01-03 下午10.09.31.png

A photoresistor or photocell is a light-controlled variable resistor. The resistance of a photoresistor decreases with increasing incident light intensity; in other words, it exhibits photoconductivity. A photoresistor can be applied in light-sensitive detector circuits, and light- and dark-activated switching circuits.

You Need These Things

螢幕快照 2021-01-03 下午9.34.46.png

- Arduino board * 1

- USB cable * 1

- Photoresistor * 1

- Resistor (10KΩ) * 1

- LED * 8

- Breadboard * 1

- Jumper wires

Follow the Picture to Make It

螢幕快照 2021-01-03 下午4.27.20.png

Here Is the Code