Cov txheej txheem:
- Kauj ruam 1: Txheej txheem cej luam
- Kauj ruam 2: Cov ntaub ntawv
- Kauj Ruam 3: Khaws Koj Lub Pumpkin
- Kauj Ruam 4: Nqa Koj Tus Microcontroller
- Kauj ruam 5: Software
- Kauj Ruam 6: Muab Txhua Yam Ua Ke, thiab Muaj Xus Zoo
Video: Nkauj-hauv qab Led-flashing Hack-O-Teeb!: 6 Cov Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:24
Ua lub jack-o-lantern uas ua si, thiab ua rau pom ntau xim LED rau txhua tus nyiam zaj nkauj Xus.
Kauj ruam 1: Txheej txheem cej luam
Txoj haujlwm no yuav qhia koj yuav ua li cas thiaj ua tau zoo PIC tswj lub taub dag uas ua rau sib txawv ntawm LED rau lub suab paj nruag ntawm Adams tsev neeg nyob rau tib lub sijhawm thaum nws ua suab paj nruag Adams tsev neeg cov ntsiab lus los ntawm tus hais lus. Daim vis dis aus no yog LED teeb tawm sab nraum lub taub dag. Thov txim, Kuv tsis tuaj yeem nqa kuv lub koob yees duab tuaj tos lub teeb tawm los ntawm taub dag kom txaus kom tsim nyog suav nrog cov vis dis aus ntawm qhov no ua haujlwm tiag tiag.
Kauj ruam 2: Cov ntaub ntawv
Cov ntaub ntawv:
- Taub dag! - Super Bright LED's- Kuv tau siv LED ib txwm muaj, thiab kuv xav tias nws yuav zoo dua nrog hom ci ci zoo tshaj plaws ntawm LED's - Qee hom Micro -controller board - Kuv siv Parallax Basic Stamp ob vim tias yog qhov kuv muaj, tab sis Kuv paub tseeb tias Ua Tus Tswj lossis qee hom kev tswj hwm tuaj yeem siv tau ib yam. Ntsia Hlau- Cov no yuav siv los tuav lub Rooj Tswjhwm Saib Xyuas Micro-rau sab ntawm lub taub dag, koj yuav tsis xav tau cov no nyob ntawm seb koj li kev tswj hwm tuaj yeem teeb tsa yeem li cas: Khoos phis tawj hais lus- qhov no yuav ua lub suab nrov rau tus hais lus me me uas los nrog Micro Controller Cov Cuab Yeej: Riam
Kauj Ruam 3: Khaws Koj Lub Pumpkin
Kuv tus kheej nyiam ua rau kuv taub dag txaus ntshai, tab sis qhov no yog qhov uas koj tau txiav txim siab yam koj ua. Tib yam uas koj yuav tsum tau txhawj xeeb yog seb koj li LED yuav ci txaus los qhia los ntawm koj tus qauv. Kom paub tseeb tias koj lub LED yuav ci dhau, tsis txhob ua qhov loj loj hauv koj lub taub dag qhov twg lub teeb tuaj yeem khiav dim. Rau qee lub tswv yim tsim taub dag zoo sim ntawm lub xaib no
Kauj Ruam 4: Nqa Koj Tus Microcontroller
Cov kauj ruam no tiag tiag nyob ntawm hom Micro Controller koj siv, Kuv yuav siv Parallax Basic Stamp 2 micro maub los. Yog tias koj muaj hom sib txawv ntawm Micro Controller xws li Ua Tus Tswj, thiab koj xav tau qee yam kev pab, thov nug hauv kev tawm tswv yim.
Koj yuav tsum tau txuas tus LED thiab tus neeg hais lus nyob hauv qhov chaw zoo ib yam li kuv qhia, lossis cov haujlwm uas kuv yuav suav nrog hauv cov kauj ruam tom ntej yuav tsis ua haujlwm. Hauv kab 14th thib 12 thiab thib 11, txuas rau 470 ohm resistors ua rau cov kab sib txawv nyob hauv qab Vss cov dav hlau, cov tiv thaiv yuav tsum coj mus rau tib kab ib yam li lawv tawm los. Tam sim no coj plaub qhov sib txawv ntawm LED thiab ntsaws qhov tsis zoo (luv luv kawg) xaus ntawm LED's rau hauv Vss cov dav hlau. Siv qhov zoo kawg (ntev dua) ntawm LED's thiab ntsaws lawv rau hauv kab ib yam li koj ntsaws cov resistors rau (kab 14, 13, 12, thiab 11) Ob qhov kawg ntawm tus hais lus yuav tsum tau ntsaws rau hauv kab 9, thiab ib qho ntawm Vss lub davhlau ya nyob twg, siv cov xov hlau ntev dua yog tias tsim nyog. Yog tias koj yuav siv lub khoos phis tawj hais lus los nthuav lub suab, tsuas yog txuas tus xov tooj uas tawm los ntawm lub dav hlau 9 mus rau lub xov tooj cua ntawm koj lub khoos phis tawj hais lus. Cov duab yuav tsum ua txhua yam ntawm no kom meej dua yog tias qhov no ua rau koj tsis meej pem.
Kauj ruam 5: Software
Qhov kev zov me nyuam uas kuv tau ua, yog nyob rau hauv cov lus yooj yim programming, thiab yuav tso tawm qhov zaus xav tau, tib lub sijhawm thaum nws teeb lub LED. Yog tias koj tsis yog tus programmer lossis tsuas yog tsis nyiam coding, tsis txhob txhawj, Kuv tau suav nrog cov cai kuv tau siv, thiab kuv yuav piav qhia nws ua haujlwm li cas koj tuaj yeem hloov kho nws yog tias koj xav tau. Kuv tau suav nrog txoj haujlwm hauv hom ntawv yooj yim (.bs2) thiab hauv kab ntawv (.txt)
'{$ STAMP BS2}' {$ PBASIC 2.5} Ob lo lus txib saum toj no yog qhia rau tus neeg sib tham seb hom coding koj tab tom siv, thiab hom khoom siv twg koj yuav siv. Ua "ua" cov lus txib qhia tus tswj kom ua txhua yam nws pom txog thaum nws tsoo lub voj hais kom ua 14 HIGH 14 "qhov siab" hais kom tus tswj kom siv hluav taws xob rau tus pin uas ua raws, hauv qhov no tus lej yog tus lej 14, zoo ib yam tus lej kaum plaub raws li muaj nyob ntawm koj lub micro tswj PAUSE 100 Qhov "ncua" hais kom tus tswj kom ncua txhua yam uas nws tau ua rau lub sijhawm muab rau hauv rooj plaub no nws yuav ncua rau 100 mili seconds FREQOUT 9, 200, 1568 Tus "Freqout" hais kom Tus Tswj Xyuas kom tso tawm cov ntawv pov thawj rau lub sijhawm lees paub lub sijhawm dhau los ntawm tus lej tus lej pov thawj, qhov no tus lej tus lej yog 9, lub sijhawm yog 200 lab lub vib nas this thiab qhov zaus yog 1568Hz LOW 14 Qhov "qis" hais kom ua tswj kom tsis txhob siv qhov hluav taws xob rau qee tus pin, hauv qhov no tus pin 14. LOOP Cov lus "voj" hais qhia tus tswj kom rov qab lo lus "DO" nws pom ua ntej, qhov no yuav tsim lub voj.
Kauj Ruam 6: Muab Txhua Yam Ua Ke, thiab Muaj Xus Zoo
Tam sim no, txhua yam koj yuav tsum ua yog tso koj lub maub los rau hauv taub dag. Kuv siv ob peb tus ntsia hlau los tuav lub maub los rau ntawm lub taub dag kom lub teeb ntau dua los ntawm kuv tus qauv. Thaum koj tau ua tiav qhov no, koj yuav ua tiav koj li LED-Flashing, Nkauj-Ua Si Hack-O-Lantern. Nrog koj zoo siab, koj tam sim no muaj qhov pib ntawm Halloween zoo.
Pom zoo:
Rov Qab Rov Qab PC Cov Khoom Siv Hluav Taws Xob: 12 Cov Kauj Ruam (nrog Duab)
Rov Qab Rov Qab PC Cov Khoom Siv Hluav Taws Xob: Txij li xyoo 1990, lub ntiaj teb tau raug ntxeem los ntawm PCs. Qhov xwm txheej tseem niaj hnub no. Cov khoos phis tawj qub, txog xyoo 2014 … 2015, feem ntau tsis siv lawm. Raws li txhua lub khoos phis tawj muaj lub zog siv, muaj ntau ntawm lawv tso tseg hauv daim ntawv pov tseg.Li
Taug qab & taug qab rau Cov Khw Me Me: 9 Kauj Ruam (nrog Duab)
Taug qab & taug qab rau Cov Khw Me Me: Qhov no yog lub kaw lus uas tsim rau cov khw me me uas xav tias yuav nce mus rau e-tsheb kauj vab lossis e-scooters rau kev xa khoom luv luv, piv txwv li cov mov ci uas xav xa cov ncuav qab zib. Track thiab Trace txhais li cas? Taug qab thiab taug qab yog cov kab ke siv los ntawm
Rov Qab Siv Qub LED Christmas Kho Kom Zoo Nkauj los ntawm Kev Hloov Kho Lawv: 7 Kauj Ruam
Rov Qab Siv Qub LED Christmas Kho Kom Zoo Nkauj los ntawm Kev Hloov Kho Lawv: Kuv yuav qhov kev dai kom zoo nkauj Christmas zoo nkauj hauv khw phaus (piv txwv li khw muag daus) thaum lub caij tom qab muag peb xyoos dhau los. Nws yog qhov tsis txaus ntseeg "NOEL" kos npe uas tau teeb pom kev los ntawm cov xov tooj tsis txaus siv cov roj teeb LEDs
Ua Nkauj Nkauj Siv Stepper Motor !!: 11 Kauj Ruam (nrog Duab)
Ua Nkauj Nkauj Siv Stepper Motor !!: Txoj haujlwm no yog hais txog kev tsim cov txheej txheem yooj yim sib cuam tshuam, uas yuav tso cai rau cuam tshuam nrog lub tshuab stepper hauv ob txoj kev sib txawv. yooj yim GUI, uas h
USB PEZ (lossis Yuav Ua Li Cas Fido Koj Cov Khoom Qab Zib Khoom Qab Zib): 4 Kauj Ruam
USB PEZ (lossis Yuav Ua Li Cas Fido Koj Cov Khoom Qab Zib Khoom Qab Zib): Nyob zoo thaum sawv ntxov. Raws li kuv qhov lus qhia thib ob Kuv xav tias nws yuav txias los ua qhov tweak me ntsis kom ua rau peb tus yuam sij usb me ntsis ntxiv saib lom zem. Xws li teeb tsa nws hauv PEZ. Zoo koj tuaj yeem xav txog qhov yooj yim Phau Ntawv Qhia Yuav Ua Li Cas. Tab sis kuv twv nws yuav