Cov txheej txheem:
- Khoom siv
- Kauj Ruam 1: Txuas Txhua Cheeb Tsam
- Kauj ruam 2: Xim Koj Canva
- Kauj Ruam 3: Khaws daim kab xev nyob tom qab ntawm Canva
- Kauj Ruam 4: Poke Qhov ntawm Canva
- Kauj ruam 5: Upload Code
- Kauj Ruam 6: Xeem Nws
Video: Sib tham Acrylic Hmo Ntuj: 6 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:25
Kev kos duab hmo ntuj zoo nkauj tuaj yeem txhim kho koj tus qauv tsim sab hauv, tsis hais nws yog koj chav lossis chav nyob. Txoj haujlwm no muab rau koj xaiv ntawm kev tsim koj chav nrog koj txhais tes. Sau koj cov txuj ci kos duab thiab ua raws kuv cov kauj ruam txhawm rau ua kom tiav daim duab no!
Khoom siv
1. Arduino Leonardo pawg thawj coj saib
2. Cov xov hlau (kwv yees li 20-25 ntawm lawv)
3. Kuj (4 ntawm lawv)
4. Ultrasonic sensor (HC-SR04)
5. LED qhov muag teev (4 ntawm lawv)
4. Canvas (Qhov loj koj nyiam)
5. Cov cuab yeej kos duab
-Acrylic xim
-Xim txhuam (Ntau qhov ntau ntawm lawv yuav zoo)
-Plaub
Kauj Ruam 1: Txuas Txhua Cheeb Tsam
Qhov no tuaj yeem faib ua ob ntu: Ultrasonic Sensor thiab Lub Teeb
-
Ultrasonic Sensor Tshooj:
- VCC to 5V
- Trig rau Digital Trig
- Echo rau Digital Echo
- GND rau Analog GND
-
Qhov Teeb Pom Kev Ib Sab (Muaj plaub qhov kev sib txuas zoo ib yam, nqes ib qho nkaus xwb, koj tuaj yeem rov ua nws ntau zaus raws li koj nyiam)
- Tus lej digital mus rau qhov chaw tsis raug ntawm lub khob cij
-
Txuas lub teeb ci ci ntawm lub khob cij
- Zoo rau Digital
- Tsis zoo rau Kuj
- Txuas Kev Tiv Thaiv rau Tsis Zoo
Kauj ruam 2: Xim Koj Canva
Koj tuaj yeem siv koj lub peev xwm rau daim canvas vim tias tsis muaj txoj hauv kev los kos qhov xwm txheej hmo ntuj. Kuv yuav qhia kuv cov kauj ruam thiab qhov kuv tau ua ntawm canva. Ua ntej tshaj, Kuv kos cov dej ntawm lub canva kom nws ntub thiab ntub. Qhov thib ob, Kuv tso cov xim xiav tsaus rau saum lub canva thiab thaum kawg kos duab gradient los ntawm kev siv tsawg dua xiav thiab lub teeb xiav. Nws tsim ntuj hmo ntuj nrog lub teeb nyob hauv qab. Tom qab ntawd, siv cov xim dawb los kos cov huab thiab ib feem dawb ntawm ntuj. Koj tuaj yeem kos lwm txoj hauv kev. Thaum kawg, siv cov xim dub tsaus los kos lub roob hauv qab ntawm lub canva. Cov ntoo nyob saum roob thiab tuaj yeem tsim qhov sib txawv ntawm qhov tshwm sim.
Kauj Ruam 3: Khaws daim kab xev nyob tom qab ntawm Canva
Cov kauj ruam no yog kom ntseeg tau tias thaum koj khawb lub qhov nraub qaum ntawm lub canva, lub canva yuav tsis tawg. Koj tuaj yeem lo daim kab xev ntau dua ntawm qhov chaw tseeb uas koj npaj rau khawb qhov kom paub tseeb tias lub canva muaj peev xwm ntawm lub zog los tiv thaiv kev nruj thiab rub.
Kauj Ruam 4: Poke Qhov ntawm Canva
Txhawm rau khawb qhov yog muab cov teeb pom kev zoo LED tso rau qhov chaw los ua piv txwv li cov hnub qub. Koj tuaj yeem cuam tshuam ntau lub qhov (Kuv poked plaub ntawm lawv), thiab ua kom cov qij LED hla hla lub canva.
Kauj ruam 5: Upload Code
Koj tuaj yeem siv Arudblock version (duab muab) lossis Code version
Code Version Txuas:
create.arduino.cc/editor/minmin1019/cdf1af…
Cias upload cov cai no ntawm Arduino thiab sim yog tias nws ua haujlwm.
Kauj Ruam 6: Xeem Nws
Txoj haujlwm no yog qhov tsim duab sib tham vim tias cov hnub qub (LEDs) yuav pib pom yog thiab tsuas yog tias ib tus neeg nyob ntawm nws xub ntiag, uas nyob ib puag ncig 40 cm. Koj tuaj yeem muab nws tso rau hauv koj lub tsev thiab kho kom zoo nkauj ib puag ncig koj!
Pom zoo:
Hmo Hmo Pom Kev Tsaus Ntuj & Tsaus Ntuj Pom Kev - Tsis Muaj Micro: 7 Kauj Ruam (nrog Duab)
Hmo Hmo Pom Kev Tsaus Ntuj & Pom Kev Tsaus Ntuj - Tsis Muaj Micro: Cov lus qhia no yog hais txog kev tiv thaiv koj kom tsis txhob txhuam koj cov ntiv taw thaum taug kev los ntawm chav tsaus. Koj tuaj yeem hais nws yog rau koj tus kheej kev nyab xeeb yog tias koj sawv thaum hmo ntuj thiab sim ua kom lub qhov rooj nyab xeeb. Tau kawg koj tuaj yeem siv lub teeb rau ntawm lub txaj lossis lub ntsiab lus tseem ceeb
Nightvision Laserbeak! (LOS YOG Yuav Ua Li Cas Ua Kev Pom Kev Hmo Hmo Hmo Hmo, LED Throwie, Transformer Toy Mashup Teeb nyem!): 5 Kauj Ruam
Nightvision Laserbeak! (LOSSIS Yuav Ua Li Cas Nightvision-Preserving, LED Throwie, Transformer Toy Mashup Teeb nyem!): Cov lus qhia los ntawm noob rau noob neej.Koj tau txais dab tsi thaum koj mashup hmo ntuj pom lub teeb pom kev zoo, LED pov tseg, thiab hloov pauv zoo qho khoom ua si? Kev qhia paub nrog lub npe tiag tiag! Peb yuav hu nws "Nightvision Laserbeak" rau
THIAB LUB NEEJ !! (Sib tham sib tham rooj sib tham): 4 Kauj Ruam
THIAB LUB NEEJ !! (sib tham sib tham txog Thruth Table): Nyob zoo cov phooj ywg, Kuv vam tias koj txhua tus nyob hauv koj lub tsev zoo thiab xav tsis thoob dab tsi ntawm cov ntaub ntawv uas muaj ?? Nkag siab cov rooj vag logic yog qhov tseem ceeb heev rau ob leeg
Yuav Ua Li Cas Tsim Kev Hais Lus Hmo Hmo Hmo Hmo: 15 Cov Kauj Ruam
Yuav Ua Li Cas Tsim Kev Hais Lus Hmo Hmo Hmo Hmo: Qhov no yog kev qhia yuav ua li cas thiaj tsim cov khoom siv hmo ntuj mloog cov neeg hais lus los ntawm ntu nthuav tawm
Tus Hluas Nkauj Hmo Hmo Hmo Hmo: 34 Kauj Ruam (nrog Duab)
Tus Hluas Nkauj Hmo Hmo Hmo: Kuv xub tuaj nrog lub tswv yim rau Hluas Nkauj Hmo Hmo Hmo thaum kuv lwm qhov tseem ceeb qhia tias nws ntshai tsaus ntuj thiab tsis tuaj yeem pw tsis tau lub TV nyob. Ua rau muaj kev cuam tshuam yooj yim, Kuv tsis tuaj yeem tsaug zog thaum lub TV qhib. & Nb