Cov txheej txheem:
- Kauj Ruam 1: Cov Khoom Siv thiab Cov Cuab Yeej
- Kauj ruam 2: Qhov (socket)
- Kauj ruam 3: Pinheaders
- Kauj ruam 4: Pinheaders txuas ntxiv…
- Kauj ruam 5: Resistor
- Kauj ruam 6: Coding
Video: The Dawm: 6 Steps
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:31
Dawm yog pawg thawj coj rau TLC5940 nti. Cov nti no muaj peev xwm ua rau pwm (mem tes dav tes taws los piav) 16 qhov chaw nres nkoj sib txawv dhau ntawm kev sib txuas lus los ntawm tus piv txwv arduino microcontroller lossis zoo sib xws. (Qhov no txhais tau tias yog yam lus yooj yim uas koj tuaj yeem piv txwv li 16 LEDs nce thiab nqis ib tus zuj zus) Qhov ntsuas siab tshaj plaws ntawm lub nti yog 17V thiab 120mA / chaw nres nkoj. Qhov no tuaj yeem kho tau los ntawm tus tiv thaiv qis txog 10 mAOne qhov zoo ntawm TLC5940 yog tias nws yog daisy chainable, uas txhais tau tias ib lub nti tuaj yeem txuas nrog ib qho ntxiv thiab ntxiv rau kom txaus (500+) ntawm pwm chaw nres nkoj. Txhua qhov ntawm cov chaw nres nkoj yog tus kheej tswj tau los ntawm tsuas yog siv 5 tus pin los ntawm microcontroller. Qhov no tsim muaj peev xwm zoo xws li tsim cov ntxaij vab tshaus qis lossis cov qauv teeb uas ua tau raws li qhov xav tau thiab ntxiv rau. Kuj tswj cov motors thiab lwm yam kev tsim tawm tau. Hauv Cov Lus Qhia no kuv yuav qhia yuav ua li cas txhawm rau txhawm rau lub rooj sib tsoo tawg thiab tseem yuav ua li cas txuas nws mus rau arduino thiab tswj kev coj. Cov khoom siv nrog lub pcb thiab txhua yam ntxiv uas xav tau tuaj yeem muas tau ntawm https://blushingboy.org/content/dawm qhov twg kuj tseem muaj ntau lwm qhov haujlwm qhib uas qhib. Cov ntaub ntawv rau TLC5940 tuaj yeem pom ntawm no nrog txhua qhov tshwj xeeb https://focus.ti.com/lit/ds/symlink/tlc5940.pdfA lub tsev qiv ntawv rau tswj nws los ntawm arduino tuaj yeem pom ntawm no https://www.arduino. cc/chaw ua si/Kawm/TLC5940 Txij li qhov no yog kuv thawj Kev Qhia Kuv yuav nyiam cov lus ntawm nws …
Kauj Ruam 1: Cov Khoom Siv thiab Cov Cuab Yeej
Yam uas xav tau kom ua tiav qhov no yog 1 Lub Dawm (pawg thawj coj tawm) muaj tam sim no los ntawm kev xa ntawv tuaj rau kuv lossis sai sai ntawm no https://blushingboy.org/1 TLC5940 muaj raws li tus qauv los ntawm Texas Kev Lag Luam dawb lossis los ntawm Digikey (Digi-Key Cov Naj Npawb 296-17732-5-ND) lossis tus muag khoom zoo sib xws 38 tus poj niam tus pin headers (tsis tsim nyog tab sis ua rau lub neej yooj yim dua) 1 resistor uas loj nyob ntawm qhov tam sim no koj yuav siv. (ntau ntxiv txog qhov ntawd txuas ntxiv) Soldering ironsolderplier
Kauj ruam 2: Qhov (socket)
Solder lub qhov (socket) uas yuav tuav lub nti nyob hauv qhov chaw. Nco ntsoov ua kab "ib nrab hnub" ntawm lub qhov (socket) thiab daim duab ntawm daim npav kom coj koj mus rau txoj kev twg uas yuav muab lub nti tso rau tom qab. Kuv pom zoo kom xub thawj ob lub kaum fab sib txawv kom paub tseeb tias koj muaj qhov haum zoo tiv thaiv lub rooj tsavxwm.
Kauj ruam 3: Pinheaders
Solder tus poj niam pinheader uas ua kom yooj yim thiab nrawm txuas rau koj cov LEDs. Ib txoj hauv kev daws tau ntawm no tuaj yeem ua kom cov LEDs lossis cov hlua txuas mus rau LEDs ncaj qha rau ntawm lub rooj tsavxwm uas yuav tsim kev teeb tsa txuas ntxiv.
Kauj ruam 4: Pinheaders txuas ntxiv…
Siv tus poj niam lossis tus txiv neej tus pin txuas rau sab ntawm cov laug cam. Kev txiav txim siab ntawm poj niam thiab txiv neej yog nyob ntawm koj teeb. Yog tias koj xav teeb tsa cov laug cam nyob rau sab saum toj ntawm txhua lwm yam sib hloov ntawm ib pawg nrog txhua tus poj niam thiab ib qho nrog txhua tus txiv neej thiab ntxiv rau. Thawj pawg thawj coj hauv koj pawg tau pom zoo kom muaj poj niam tus pin headers rau kev sib txuas yooj yim rau microcontroller. Yog koj xav kom muaj cov kab hluav taws xob nruab nrab ntawm cov laug cam koj tuaj yeem xau lawv ncaj qha rau ntawm lub rooj tsav khoom lossis cov laug txuas tus poj niam tus pin lub taub hau kom yooj yim qauv thiab kev sim.
Kauj ruam 5: Resistor
Solder tus Resistor ntawm nws qhov chaw. Nws tsis muaj teeb meem qhov kev taw qhia nws mus rau hauv. Qhov loj ntawm tus tiv thaiv nyob ntawm seb muaj pes tsawg tam sim no koj tab tom yuav tog. Piv txwv li yog tias koj yuav siv ib qho LED ntawm txhua qhov chaw nres nkoj 1.5k ohms resistor yuav tsum zoo vim tias LED tau ua rau txog 30mA tam sim no. Yog tias koj npaj yuav siv lub nti ntawm nws qhov ntsuas siab tshaj (120mA ntawm txhua qhov chaw nres nkoj) koj yuav tsum siv 320 Ohms resistor. Cov lus no tuaj yeem pab koj xam uas cov tshuaj tiv thaiv haum rau koj txoj haujlwm uas tseem pom nyob hauv cov ntawv teev tseg pom ntawm no
Kauj ruam 6: Coding
Tam sim no koj tau ua tiav nrog cov laug laug ntawm lub rooj tsavxwm thiab nws yog lub sijhawm los tswj nws nrog qee qhov cai. Ntawm Arduino chaw ua si koj tuaj yeem pom lub tsev qiv ntawv hu ua TLC5940LED uas pab koj nrog txhua qhov nyuaj ntawm kev tswj hwm lub nti. Koj tuaj yeem pom nws ntawm no. https://www.arduino.cc/playground/Learning/TLC5940Download lub tsev qiv ntawv thiab unzip tag nrho cov nplaub tshev hauv koj li arduino/hardware/libraries folder. Tom qab rov pib dua koj li program arduino koj yuav pom tias hauv qab cov ntaub ntawv/sketchbook/piv txwv/TLC5940LED koj yuav pom qee qhov piv txwv. Hauv qhov piv txwv nyob rau sab saum toj koj yuav pom cov xov hlau twg txuas rau qhov twg ntawm arduino. Muab cov ceg ntev dua ntawm LEDs hauv +5V thiab ceg luv dua hauv 0-15. Tshaj tawm cov cai thiab txaus siab rau koj txoj haujlwm rau tsib vib nas this tom qab koj yuav tsum pib hloov kho cov cai thiab kho vajtse ntxiv cov khoom thiab cov khoom me me los tsim koj li OWN cov txuj ci tshwj xeeb. Hmoov zoo!
Pom zoo:
Game Game in Flick in 5 Steps: 5 Kauj Ruam
Kev Tsim Game hauv Flick hauv 5 Kauj Ruam: Flick yog txoj hauv kev yooj yim heev ntawm kev ua si, tshwj xeeb yog qee yam xws li kev sib dhos, kev pom tshiab, lossis kev ua si lom zem
Deej Box - 5 Sliders: 8 Steps (with Pictures)
Deej Box - 5 Sliders: Nov yog kuv coj ntawm Deej qhov haujlwm uas tso cai rau koj los tswj hwm PC program txhua ntu ntawm tus kheej thiab tau teeb tsa kom haum rau tus neeg xav tau yooj yim heev. Kuv tus qauv nta 5 sliders nrog sib nqus, cov ntawv pauv tau los txheeb xyuas txhua tus swb. Nws yog con
Tap Tap Rainbow - a 2 Player Quick Reaction Game: 4 Steps (with Pictures)
Tap Tap Rainbow - a 2 Player Quick Reaction Game: 2 lub lis piam dhau los kuv tus ntxhais muaj lub tswv yim ntse los ua qhov kev ua si nrawm nrog cov xim zaj sawv (nws yog tus kws tshaj lij zaj sawv: D). Kuv tam sim nyiam lub tswv yim thiab peb pib xav txog yuav ua li cas peb tuaj yeem ua nws mus rau hauv kev ua si tiag. Koj muaj zaj sawv hauv
DIY Vanity Mirror in Easy Steps (siv LED Sawb Teeb): 4 Cov Kauj Ruam
DIY Vanity Mirror hauv Cov Kauj Ruam Yooj Yim (siv LED Sawb Teeb): Hauv kab ntawv no, Kuv tau ua DIY Vanity Mirror nrog kev pab los ntawm LED strips. Nws txias heev thiab koj yuav tsum sim lawv ib yam
UAV: 8 Steps
UAV: Nyob zoo, Feem coob ntawm cov neeg paub UAV (lub tsheb tsis siv lub dav hlau) nws tseem hu ua DRONE.background zaj dab neeg: Kuv pom drone thawj zaug thaum kuv muaj 14 xyoos. Hnub ntawd pib kuv sim bluid drone tab sis kuv poob ntau sijhawm vim kuv