Cov txheej txheem:

Mysterious Lightbox: 5 Kauj Ruam
Mysterious Lightbox: 5 Kauj Ruam

Video: Mysterious Lightbox: 5 Kauj Ruam

Video: Mysterious Lightbox: 5 Kauj Ruam
Video: Maroon 5 - Misery (Official Music Video) 2024, Kaum ib hlis
Anonim
Image
Image
Mysterious Lightbox
Mysterious Lightbox

Txoj haujlwm no hu ua Mysterious Lightbox. Nws yog lub teeb ci uas ci thaum hmo ntuj. Qhov tshwj xeeb ntawm lub thawv ntawv teeb no yog nws tuaj yeem tshawb pom qhov ci ci ntawm ib puag ncig thiab ci rau ntawm thaj tsam sib txawv ntawm lub thawv.

Kauj ruam 1: Cov ntaub ntawv

Khoom siv
Khoom siv

Koj yuav xav tau:

1. Ib pawg Arduino2. Ib daim ntawv qhia zaub mov

3. Ib USB Cable

4. 10x Jumper xov hlau

5. 4x 100-ohm resistors thiab 1x 10k-ohm resistors

6. Ib tug Photoresistor

7. 6 LED teeb (plaub lub teeb daj, ib lub teeb liab, ib lub teeb dawb)

Kauj Ruam 2: Txuas Photoresistor thiab LED Teeb

Txuas Photoresistor thiab LED Teeb
Txuas Photoresistor thiab LED Teeb
Txuas Photoresistor thiab LED Teeb
Txuas Photoresistor thiab LED Teeb

1. Txuas Arduino thiab breadboard

(5v ntawm Arduino rau + ntawm lub khob cij, GND ntawm Arduino rau - ntawm lub khob cij)

2. Txuas ib tus pin ntawm photoresistor nrog +, thiab txuas rau lwm tus pin nrog 1k-ohm resistor (uas txuas rau-thaj chaw) thiab A1 hauv Analog-hauv Cheeb Tsam.

3. Txuas tus pin ntev ntawm LED teeb nrog tus pin 4, 7, 8, 9, thiab 100-ohm resistors nrog tus pin luv feem,

Kauj Ruam 3: Sau Cov Cai

Sau Cov Cai
Sau Cov Cai

Nov yog cov cai rau txoj haujlwm no.

Koj tuaj yeem hloov tus nqi ntawm LED teeb thiab cov xwm txheej zoo sib xws rau qhib lub teeb:)

create.arduino.cc/editor/applelai0912/215a…

Kauj Ruam 4: Xim Xim Lub Thawv rau Koj Lub Teeb

Image
Image

Raws li saum toj no.

Koj tuaj yeem kho koj lub thawv thiab pleev xim rau thaj tsam sib txawv rau lub teeb pom kev sib txawv

Pom zoo: