Cov txheej txheem:
- Khoom siv
- Kauj Ruam 1: LCD, I2C, Arduino UNO thiab Perf Board
- Kauj Ruam 2: Khawm + Thawj Circuitry
- Kauj Ruam 3: Teeb tsa Cov Khawm Tseem Ceeb
- Kauj Ruam 4: Lub Hwj Chim Ntxiv Ntxiv + LED Sawb
- Kauj Ruam 5: Khawm Me Me
- Kauj Ruam 6: Teeb Software
- Kauj Ruam 7: Txoj Cai
- Kauj ruam 8: Ua tiav
Video: LED Sawb Controller: 8 Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:25
Hauv Cov Lus Qhia no, Kuv yuav coj koj mus dhau cov kauj ruam ntawm kev siv thiab tswj hwm koj cov hlua LED li cas los ntawm kev tsim cov tswj kev sib tham. Kuv tau muaj kev lom zem heev nrog cov teeb no zoo li kuv paub tseeb tias koj yuav zoo ib yam. Yog tias koj nyiam cov lus qhia no, thov nco ntsoov pov npav rau nws hauv Lighting Challenge!
Nrog tus tswj hwm no, tus neeg siv yuav tuaj yeem xaiv cov xim sib txawv nrog rau kev ua xws li ntsais muag, ploj mus, thiab caum mus rau lawv cov hlua LED. Cov ntawv thov thiab kev hloov kho tsis muaj qhov kawg. Txaus siab rau:)
Kev Nyab Xeeb Kev Nyab Xeeb: thaum siv cov tshuaj txhuam, nco ntsoov ua haujlwm hauv thaj chaw muaj cua nkag tau zoo nrog lub lev kom zoo thiab tsom iav kev nyab xeeb. Tsis tas li, xyuas kom siv PPE kom raug thaum ua haujlwm nrog cov cuab yeej sib txawv thoob plaws hauv qhov kev qhia no.
*Lwm cov ntawv: Txoj haujlwm no tsis suav nrog tsev nyob, tab sis yog qhov Circuit Court, code, thiab kev sib tham dav. Qhov no ua rau koj muaj kev ywj pheej los tsim lub tsev raws li koj pom zoo:)
Khoom siv
- LCD 20x04 Screen
- I2C Qauv
- Pawg Thawj Coj (9 x 15 cm)
- Jumper Cables (M rau F, M rau M, F rau F)
- 6x10k wb
- Arduino USB Cable
- 4x Loj PTM Nyees khawm
- 2x Me PTM Nyees khawm
- 7x Kev Sib Txuas Me Me (Tsis teb los tau)
- 3 x M2 Screwa
- 3x M2 Hex Ceev
- 2x 12 V 1A Adapters
- Arduino Uno Pawg Thawj Coj
- 5 - 10m ntawm LED Sawb Teeb
Kauj Ruam 1: LCD, I2C, Arduino UNO thiab Perf Board
1. Solder I2C module mus rau tom qab ntawm LCD 20x04 zaub. I2C tus qauv siv los sib txuas lus nrog lub vijtsam LCD yam tsis tas yuav tsum muaj xov tsis sib txuas. Tsis txhob txhawj xeeb txog tus pin txuas rau Arduino Uno tsis tau.
2. Ruaj ntseg lub vijtsam LCD mus rau sab saum toj ntawm lub rooj tsav tsheb perf siv M2 cov ntsia hlau thiab cov txiv ntseej.
3. Ruaj Ntseg Arduino mus rau hauv qab ntawm daim txiag ntoo siv M2 cov ntsia hlau thiab cov txiv ntseej. Nws yog ib qho tseem ceeb heev uas ob lub Cheebtsam no muaj kev nyab xeeb thiab tsis txav mus los.
Kauj Ruam 2: Khawm + Thawj Circuitry
1. Siv tus txiv neej rau poj niam jumper cables, txuas tus pin rau cov chaw nres nkoj ntawm Arduino raws li tau teev tseg hauv qab no:
- GND (LCD) - GND (Arduino)
- VCC (LCD) - 5V (Arduino)
- SDA (LCD) - A4 (Arduino)
- SCL (LCD) - A5 (Arduino)
2. Muab 4 lub PTM loj (thawb-kom-ua) cov nyees khawm hauv ib lub xwmfab zoo li pom saum toj no ntawm daim txiag ntoo. Yuav tsum muaj sab saud sab laug, hauv qab sab laug, sab saum toj sab xis, thiab khawm sab xis. Tsis muaj kev sib txuas yuav tsum tau ua rau cov khawm no tseem.
Kauj Ruam 3: Teeb tsa Cov Khawm Tseem Ceeb
Tam sim no nws yog lub sijhawm los txuas cov nyees khawm no rau Arduino. Ua kom ntseeg tau tias koj xaim cov no hauv kev ua kom zoo txhawm rau ua kom UI meej rau cov neeg siv.
1. Txuas tag nrho cov nyees khawm rau ib qho kev sib tw5V uas txuas nrog rau Arduino.
2. Lwm lub davhlau ya nyob twg ntawm txhua lub pob yuav tsum txuas nrog rau hauv qab no Arduino UNO pins:
- Sab Qaum Sab Liab ………. Pin 8
- Qab Sab Hauv Qab ………. Pin 9
- Sab saum toj txoj cai khawm ………. Pin 10
- Hauv qab txoj cai khawm ………. Pin 11
3. Thaum kawg, txhua lub davhlau ya nyob twg (tsis yog 5V) tseem yuav tsum txuas nrog 10K Ohm rub-down resistor rau GND txhawm rau txhawm rau txo qhov ntab ntab thiab suab nrov.
Kauj Ruam 4: Lub Hwj Chim Ntxiv Ntxiv + LED Sawb
Hmoov tsis zoo, cov kab hluav taws xob LED yog lub zog siv zog thiab yog li ntawd xav tau cov khoom siv hluav taws xob txaus. Vim li no, Kuv tau ntxiv qhov thib ob 12V 1A adapter tsuas yog lub hom phiaj txhawm rau muab qhov hluav taws xob rau ntawm kab txaij. Txawm li cas los xij, yog tias koj tuaj yeem tau txais koj txhais tes ntawm lub khoos phis tawj nrog lub zog ntsuas loj dua, Kuv xav kom nws pom zoo (Kuv ua tsis tau vim yog COVID-19 txwv).
1. Sawb lub hwj huam txuas hluav taws xob thiab txuas cov xov hlau zoo mus rau qhov muab khoom zoo ntawm LED sawb thiab GND rau GND ntawm LED sawb.
2. Siv jumper cable, xyuas kom tus pin 6 ntawm Arduino txuas nrog cov ntaub ntawv cable ntawm LED sawb. Nov yog tus pin uas yuav qhia rau kab txaij yuav coj tus cwj pwm li cas/yuav tso tawm li cas.
Kauj Ruam 5: Khawm Me Me
Kuv ntxiv cov nyees khawm me me no los pab kom tus neeg siv hloov kho qhov nrawm ntawm kev ua haujlwm xws li ntsais muag, ploj, thiab caum. Nias lub pob saum toj no ua rau kom nrawm ntawm cov kev ua no los ntawm kev txo qis uas cais cov kab no. Ob lub khawm no yog PTM thiab yog qhov xav tau ntxiv.
1. Muab cov nyees khawm tso rau ntawm daim txiag ntoo thiab muab lawv tso rau hauv qhov chaw. Nkag siab tias cov tog twg yog cov lus sib thooj siv cov multimeter tsuas yog kom ntseeg tau.
2. Ib sab ntawm ob lub nyees khawm yuav tsum rov txuas nrog ib qho kev tsheb nqaj hlau 5V.
3. Lwm sab ntawm ob lub khawm yuav tsum txuas nrog rau hauv qab Arduino pins:
- Khawm Sab saum toj (Txo Ceev) - Pin 12 Arduino
- Hauv qab khawm (Ua kom nrawm dua) - Tus Pin 13 Arduino
Kauj Ruam 6: Teeb Software
Txhawm rau khiav cov cai, koj yuav tsum tau teeb tsa ob lub tsev qiv ntawv txuas hauv qab no.
LiquidCrystal_I2C
FastLED
Yog tias koj twb muaj cov tsev qiv ntawv no, mus rau 'Cov Cuab Yeej', tom qab ntawd 'Tus Thawj Saib Xyuas Tsev Qiv Ntawv', tom qab ntawd tshawb rau cov tsev qiv ntawv no thiab nyem 'Nruab' lossis 'Hloov Kho' raws li pom saum toj no.
Kauj Ruam 7: Txoj Cai
Rub tawm, theej, thiab muab cov lej hauv qab no hauv koj Arduino IDE thiab muab tso rau hauv lub rooj tsavxwm. Txuas lub hwj chim 12V mus rau lub rooj tsavxwm thiab yog tias txhua yam nyob hauv qhov chaw, lub vijtsam yuav tsum teeb nrog cov lus: 'LED STRIP CONTROLLER'.
Yog tias koj ntsib teeb meem nrog ib feem ntawm tus txheej txheem, thov koj xav nug cov lus nug hauv nqe lus hauv qab no thiab kuv yuav ua qhov zoo tshaj los teb.
Kauj ruam 8: Ua tiav
Koj Ua Tiav lawm! Txaus siab rau:)
Pom zoo:
Diffused LED Sawb Kos Npe Nrog Arduino/Bluetooth: 8 Cov Kauj Ruam (nrog Duab)
Diffused LED Sawb Kos Npe nrog Arduino/Bluetooth: Kuv tsim lub cim no rau DJ lub rooj muag khoom ntawm qhov kev sib tham txhua xyoo thib 8 ntawm kuv thaj chaw hackerspace, NYC Resistor. Lub ntsiab lus xyoo no yog The Running Man, chintzy 1987 sci-fi movie, uas tshwm sim nyob rau xyoo 2017. Lub cim yog tsim los ntawm foamcor
RGB Led Sawb Bluetooth Controller V3 + Music Sync + Ambient Light Control: 6 Cov Kauj Ruam (nrog Duab)
RGB Led Sawb Bluetooth Controller V3 + Music Sync + Ambient Light Control: Txoj haujlwm no siv arduino los tswj RGB coj sawb nrog koj lub xov tooj ntawm bluetooth. Koj tuaj yeem hloov xim, ua teeb sib txuas nrog suab paj nruag lossis ua rau lawv pib kho rau lub teeb pom kev ib puag ncig
DIY LED Sawb: Yuav Txiav Li Cas, Txuas, Cuam Tshuam thiab Hwjchim LED Sawb: 3 Kauj Ruam (nrog Duab)
DIY LED Sawb: Yuav Ua Li Cas Txiav, Txuas, Cuam Tshuam thiab Lub Hwj Huam LED Sawb: Pib qhia rau koj tus kheej lub teeb pom kev zoo siv LED sawb.Flexible ntseeg tau thiab siv tau yooj yim, LED strips yog qhov kev xaiv zoo tshaj plaws rau ntau yam kev thov.Kuv yuav npog cov hauv paus ntawm kev txhim kho yooj yim sab hauv tsev 60 LED's/m LED sawb, tab sis
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
Wifi Tswj 12v Led Sawb Siv Raspberry Pi Nrog Tasker, Ifttt Kev Sib Koom.: 15 Cov Kauj Ruam (nrog Duab)
Wifi Tswj 12v Led Sawb Siv Raspberry Pi Nrog Tasker, Ifttt Kev Sib Koom.: Hauv qhov haujlwm no kuv yuav qhia koj yuav tswj hwm qhov yooj yim 12v analog coj sawb hla wifi siv raspberry pi. Rau qhov haujlwm no koj yuav xav tau: 1x Raspberry Pi (Kuv Kuv tab tom siv Raspberry Pi 1 Qauv B+) 1x RGB 12v Le