Cov txheej txheem:
- Kauj Ruam 1: Txuas Lub Hwj Chim
- Kauj Ruam 2: Txuas cov LEDs
- Kauj Ruam 3: Txuas Potentiometer
- Kauj ruam 4: CODE
Video: LED Kab Fade Arduino: 4 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:29
Txog qhov haujlwm no kuv tau tsim kab LED ploj ntawm sab laug mus rau sab xis, raws li txoj haujlwm ntawm lub hwj chim.
Cov ntaub ntawv xav tau yog:
1) Arduino Uno
2) Daim ntawv qhia zaub mov
3) 5 LEDs xiav
4) txiv neej rau txiv neej jumper xov hlau
5) potentiometer
6) 5 220ohm resistors
Kauj Ruam 1: Txuas Lub Hwj Chim
Txuas koj cov xov hlau raws li qhia hauv daim duab no. Nws yog ib qho tseem ceeb heev uas koj siv lub zog 5v kom lub ci ci ntawm LEDs yuav ua haujlwm kom raug. Hauv av tau siv rau txhua lub LEDs thiab lub zog ntsuas hluav taws xob, thaum lub zog tsuas yog siv rau lub zog ntsuas. Cov LEDs yuav txuas nrog lub khob cij.
Kauj Ruam 2: Txuas cov LEDs
Txuas cov LEDs raws li qhia hauv daim duab saum toj no. Nco ntsoov tias anode txuas nrog tus tiv thaiv thiab arduino. Cov anode yog lub zog kawg (qhov ntev kawg), thiab cathode yog hauv av (qhov luv dua). Nco ntsoov tias LEDs txuas nrog Arduino raws li qhia. Lawv txhua tus txuas nrog PWM tus pin kom qhov ci ci tuaj yeem hloov pauv.
LED1 => PWM pin 11
LED2 => PWM pin 10
LED3 => PWM pin 9
LED4 => PWM pin 6
LED5 => PWM pin 5
Kauj Ruam 3: Txuas Potentiometer
Lub potentiometer yuav tsum txuas nrog ib yam li daim duab qhia. Tus pin siv rau nws yuav tsum yog analog 2, vim tias lub hwj chim muab cov tswv yim sib piv.
Kauj ruam 4: CODE
Nov yog cov cai rau teeb tsa. Yog tias koj hloov dab tsi hauv txoj cai, nco ntsoov tias cov pins tseem kab.
Pom zoo:
Parallel Circuit Siv Kab Kab: 13 Kauj Ruam (nrog Duab)
Parallel Circuit Siv Circuit Bug: Cov kab hauv kab yog ib txoj hauv kev yooj yim thiab lom zem los qhia rau cov menyuam paub txog kev siv hluav taws xob thiab hluav taws xob thiab txuas lawv nrog cov ntawv kawm STEM. Kab laum ntxim hlub no suav nrog lub zog zoo thiab muaj tswv yim tsim txuj ci, ua haujlwm nrog hluav taws xob thiab hluav taws xob
Kab Kab Kev co: 5 Kauj Ruam
Kab Tsuag: Kab lus no qhia pom kab mob kev co. Lub suab hais lus tau qhib thaum lub kab raug tso rau hauv dej.Kuv kawm los ntawm cov ntawv: https: //www.instructables.com/Transistor-Vibrator-Kit/https: //www.instructables.com/MOSFET-Touch-Lamp /https://www.in… ua
Qib Digital Nrog Hla Kab Kab Laser: 15 Kauj Ruam (nrog Duab)
Qib Digital Nrog Hla Kab Kab Laser: Nyob zoo txhua tus, hnub no kuv yuav qhia koj yuav ua li cas thiaj ua tau qib digital nrog xaiv yeem ua ke hla kab. Kwv yees li ib xyoos dhau los Kuv tau tsim cov cuab yeej siv digital ntau. Thaum lub cuab yeej ntawd muaj ntau hom sib txawv, rau kuv, feem ntau thiab siv
Ntxiv Kab Kab rau hauv Boombox Nrog Cov Kab Xev: 5 Kauj Ruam
Ntxiv Kab Kab rau hauv Boombox Nrog Daim Kab Xev: ** Raws li nrog txhua qhov kev qhia, koj coj koj cov khoom / kev noj qab haus huv / yam twg los rau hauv koj txhais tes thaum sim! Ua tib zoo saib xyuas qhov muaj hluav taws xob ntau ntawm lub rooj tsav xwm tseem ceeb, cov hlau kub, thiab lwm yam. Ua tib zoo thiab ua siab ntev yuav coj koj mus rau qhov ua tiav. ** Tsi
Xib Fwb Kab Kab Kab Zoo Tshaj Plaws Txhua Lub Sijhawm: 7 Kauj Ruam (nrog Duab)
Xib Fwb Kab Kab Zoo Tshaj Plaws Txhua Lub Sijhawm: Hauv cov lus qhia no kuv yuav qhia koj yuav ua li cas txhawm rau txhawm rau txhawm rau ua kom zoo tshaj plaws hauv kab xaim sib txuas, txhua lub sijhawm Dab tsi yog kab inline txuas? xaim koj muaj 2 txoj kev xaiv, pigtail lossis inlinePigtail s