Cov txheej txheem:
- Khoom siv
- Kauj Ruam 1: Kauj Ruam 1: Txuas LED Sawb rau Lub Thawv
- Kauj Ruam 2: Kauj Ruam 2: Soldering Sawb rau Arduino
- Kauj Ruam 3: Kauj Ruam 3: Ruaj Ntseg Potmeter
- Kauj Ruam 4: Kauj Ruam 4: Txuas Potmeter rau Arduino
- Kauj Ruam 5: Kauj Ruam 5: Ntsuam Xyuas Koj Sawb
- Kauj Ruam 6: Kauj Ruam 6: Ua Kom tiav
Video: Arduino Nano LED Sawb Cat Qho Khoom Ua Si: 6 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:25
Nov yog Cov Lus Qhia rau kev tsim LED strip miv qho khoom ua si. Ib qho LED yuav khiav raws qhov ntev ntawm cov hlua LED rau miv kom caum. Qhov no txhais tau tias txoj haujlwm no tuaj yeem siv tau yooj yim los ntawm Arduino 5V tus pin. Cov xim ntawm LEDs tuaj yeem hloov pauv nrog lub pob qhov rooj hauv lub hau ntawm lub thawv uas muaj Arduino. Lub pob qhov rooj hloov pauv mus thoob plaws lub ntsej muag (xiav-ntshav-liab-txiv kab ntxwv-daj-ntsuab-xiav).
Khoom siv
- LED sawb WS2812B lossis lwm hom kev txhawb los ntawm FastLED lub tsev qiv ntawv.
- Arduino code (cat_toy_v6.ino)
- 3D-luam Arduino lub thawv los ntawm Thingiverse:
- Arduino Nano Cov
- Cov ntsia hlau me me (M1.2 4mm lossis zoo sib xws)
- Potmeter WH148 yog
- 3 xaim 9 cm ntev los nqai tus pas ntsuas cua mus txog rau Arduino
Cov Cuab Yeej:
- Soldering hlau
- Hlau txiav
- Screwdriver rau cov ntsia hlau me me
Kauj Ruam 1: Kauj Ruam 1: Txuas LED Sawb rau Lub Thawv
1. Koj cov hlua LED yuav tsum tuaj nrog qee cov xov hlau uas twb tau muag lawm. Koj tsuas xav tau 5V, GND, thiab Din (saib daim duab). Koj tsis xav tau cov khoom siv hluav taws xob sib cais.
2. Xaub kab txaij rau hauv lub thawv me ntsis. Nqa tus khawm me me thiab ntsia hlau hla lub hlua kom ruaj ntseg kom zoo. Lub hom phiaj ntawm txoj hlua khi yog txhawm rau tiv thaiv cov hlua los ntawm rub los ntawm lub thawv xov hlau thiab txhua yam.
Kauj Ruam 2: Kauj Ruam 2: Soldering Sawb rau Arduino
1. Presolder qhov kawg ntawm cov xov hlau kom nws yooj yim dua rau lawv txuas rau Arduino.
2. Pib nrog 5V xaim (liab). Poke nws dhau ntawm Arduino 5V qhov los ntawm sab nraub qaum mus rau pem hauv ntej. Ua kom ntseeg tau tias muaj cov xaim me me nyob ntawm xub ntiag vim tias peb yuav xav tau txuas lub 5V xaim hluav taws xob ntawm lub lauj kaub rau tus pin no ib yam. Ua ntawv thov me ntsis ntawm cov laug thiab txheeb xyuas seb koj puas muaj qhov txuas zoo nkauj ci ci (saib daim duab 1).
3. Txuas nrog cov xaim av (dawb). Qhov no nkag mus rau hauv GND qhov. Thov me ntsis ntawm cov laug.
4. Ua kom tiav nrog Din hlau (ntsuab). Qhov no nkag mus rau D3 qhov. Thov me ntsis ntawm cov laug.
5. Ua tib zoo khoov cov xov hlau kom haum rau hauv qab Arduino kom yooj yim thiab nias Arduino nyob hauv nws qhov chaw (saib daim duab 2).
6. Ntsia Hlau hauv Arduino hauv 2 qhov chaw. Koj yuav tsum tau ntswj cov ntsia hlau no 2 tom qab. Xwb, koj tuaj yeem tso Arduino tawm xwb. Kuv nyiam kom nws ruaj ntseg rau thawj ntu ntawm qib 4.
Kauj Ruam 3: Kauj Ruam 3: Ruaj Ntseg Potmeter
Ntxig potmeter rau hauv lub hau raws li tau hais los saum no thiab tuav lub ceg (saib daim duab 2).
Kauj Ruam 4: Kauj Ruam 4: Txuas Potmeter rau Arduino
1. Txiav koj 3 lub xov hlau kom ntev (9 cm) thiab hle ob qho kawg.
2. Presolder qhov kawg.
3. Muab tus laug laug sab laug ntawm lub lauj kaub rau ib qho ntawm cov xov hlau (liab hauv daim duab). Solder lwm qhov kawg ntawm cov xaim no mus rau 5V xaim tawm ntawm sab xub ntiag ntawm Arduino.
4. Yog tias tsim nyog: unscrew Arduino.
5. Muab tus pas nrig tso rau sab xis ntawm lub lauj kaub rau lwm qhov ntawm cov xov hlau (txho hauv daim duab). Siv lwm qhov kawg ntawm cov xaim no mus rau GND qhov uas tseem tsis tau pub dawb ntawm Arduino. Khaws cov xaim rau hauv lub qhov ntawm sab xub ntiag mus rau tom qab.
6. Siv tus pas nruab nrab ntawm tus pas ntsuas mus rau qhov kawg ntawm cov xov hlau. Solder lwm qhov kawg rau A0 qhov ntawm Arduino. Khaws cov xaim rau hauv lub qhov ntawm sab xub ntiag mus rau tom qab.
7. Ntsia Arduino nyob rau hauv qhov chaw siv 2 tus ntsia hlau.
Nov yog qhov nyuaj tshaj plaws! Koj tau ua tiav ntau dua ib nrab!
Kauj Ruam 5: Kauj Ruam 5: Ntsuam Xyuas Koj Sawb
Tam sim no yog lub sijhawm zoo los ntsuas koj cov hlua LED. Mus tom ntej thiab xa cov duab kos rau koj Arduino. Yog tias koj tsis tau ua li ntawd ua ntej, teeb tsa lub tsev qiv ntawv FastLED. Nov yog cov lus qhia yooj yim:
Xyuas kom koj nkag mus rau hom LED raug thiab kho tus lej ntawm LEDs ntawm koj daim kab xev hauv daim duab.
Yog tias koj xav tau, koj tuaj yeem ua si ib puag ncig me ntsis nrog qhov sib txawv hauv daim duab kos thiab saib lawv ua dab tsi. Koj tuaj yeem siv cov lus hauv kab lus los pab koj nrog.
Kauj Ruam 6: Kauj Ruam 6: Ua Kom tiav
Yog tias koj daim duab kos ua haujlwm, mus tom ntej thiab ntsia hlau hauv 2 qhov kawg. Qhov no tseem ceeb vim tias Arduino muaj kev nyab xeeb zoo yuav muaj zog dua rau usb cable raug ntxig thiab tshem tawm.
Ua tib zoo ntswj rau hauv cov kab hluav taws xob hauv lub lauj kaub thiab ua tib zoo kaw lub hau. Nco ntsoov tias tsis muaj cov kab hluav taws xob hauv lub xov tooj!
Yog tias koj ntseeg siab tias cov xaim hluav taws xob txhua tus nyob hauv lawv txoj haujlwm tsim nyog, khov nias ntawm lub hau. Nws yuav tsum kaw kaw. Thawj ob peb zaug nws pab ua lub kaum sab xis ntev dua ntawm lub hau thiab tom qab ntawv nyem rau ntawm lwm sab ntawm lub hau.
Fais fab Arduino los ntawm kev txuas lub mini lossis micro usb cable (nyob ntawm koj hom Arduino) rau Arduino thiab lub xov tooj them nyiaj, piv txwv.
Koj ua tiav lawm! Txaus siab rau saib koj tus miv caum LED!
Pom zoo:
Hloov-Hloov Kho Cov Khoom Ua Si: Nce Qaum Qaum Taug Kev Qho Khoom Ua Si: 7 Kauj Ruam
Hloov-Hloov Cov Khoom Ua Si: Nce Qaum Taug Kev Qho Khoom Ua Si: Qho khoom ua si hloov pauv qhib txoj hauv kev tshiab thiab kev daws teeb meem kom tso cai rau menyuam yaus uas muaj peev xwm txwv lub cev muaj zog lossis kev xiam oob khab kev loj hlob los cuam tshuam nrog cov khoom ua si ntawm nws tus kheej. Hauv ntau qhov xwm txheej, cov menyuam yaus uas xav tau cov khoom ua si hloov pauv tsis tuaj yeem nkag mus
Tuchless Hloov rau Cov Khoom Siv Hauv Tsev -- Tswj Koj Cov Khoom Siv Hauv Tsev Tsis Muaj Tuch Ib qho Hloov: 4 Cov Kauj Ruam
Tuchless Hloov rau Cov Khoom Siv Hauv Tsev || Tswj Koj Cov Khoom Siv Hauv Tsev Tsis Muaj Tuch Ib qho Hloov: Nov Yog Qhov Tuchless Hloov Rau Cov Khoom Siv Hauv Tsev. Koj Siv Tau Qhov No Mus Rau Txhua Qhov Chaw Hauv Pej Xeem Kom Pab Tau Tawm Tsam Ib Yam Kab Mob. Lub Circuit Court Raws Li Tsaus Sensor Circuit Ua Los Ntawm Op-Amp Thiab LDR. Qhov Tseem Ceeb Thib Ob Ntawm Qhov Circuit Court SR Flip-Flop Nrog Sequencell
Minion Cubecraft Qho Khoom Ua Si (Lub Teeb Qho Khoom Ua Si): 4 Kauj Ruam
Minion Cubecraft Toy (Lub Teeb Qho Khoom Ua Si): Txij li ntev los kuv xav ua lub teeb kom siv nws hauv qhov tsaus ntuj, tab sis lub tswv yim ntawm tsuas yog cov khoom siv cylindrical zoo li tsuas yog qhib-tawm ua rau kuv tsis ua nws. Nws yog qhov tseem ceeb heev. Tom qab ntawd muaj ib hnub kuv tus nus coj ib qho PCB me me nrog
ESP8266 RGB LED Sawb WIFI Tswj - NODEMCU Raws li IR Chaw Taws Teeb rau Led Sawb Tswj Hauv Wifi - RGB LED Sawb Smartphone Tswj: 4 Cov Kauj Ruam
ESP8266 RGB LED Sawb WIFI Tswj | NODEMCU Raws li IR Chaw Taws Teeb rau Led Sawb Tswj Hauv Wifi | RGB LED Sawb Smartphone Tswj: Nyob zoo cov neeg hauv qhov kev qhia no peb yuav kawm paub siv nodemcu lossis esp8266 li IR chaw taws teeb los tswj RGB LED sawb thiab Nodemcu yuav raug tswj los ntawm smartphone dhau wifi. Yog li hauv paus koj tuaj yeem tswj RGB LED Sawb nrog koj lub xov tooj
Qho khoom ua si khoom plig Tshuab: 6 Kauj Ruam
Qho khoom ua si khoom plig tshuab: Taw qhia ntawm lub tshuab: Nov yog khoom ua si khoom plig khoom plig tshuab. Yog koj muab cov khoom ua si tso rau hauv lub thawv khoom ua si. Lub tshuab khoom plig yuav nkag siab tias qee yam raug muab tso rau hauv lub thawv thiab tom qab ntawd muab lub teeb pom kev thiab lub suab tawm tswv yim rau nqi zog. Cov tub ntxhais kawm yuav raug txhawb los ntawm