Cov txheej txheem:

Lub Hnub Qub Khoom Plig!: 5 Kauj Ruam (nrog Duab)
Lub Hnub Qub Khoom Plig!: 5 Kauj Ruam (nrog Duab)

Video: Lub Hnub Qub Khoom Plig!: 5 Kauj Ruam (nrog Duab)

Video: Lub Hnub Qub Khoom Plig!: 5 Kauj Ruam (nrog Duab)
Video: Kuv Hmoov Phem Los Koj Siab Phem-LOKY(Official MV ) 2024, Hlis ntuj nqeg
Anonim
Nyiaj so koobtsheej Box!
Nyiaj so koobtsheej Box!

Yog tias koj paub ib tus neeg nyiam cov khoom siv hluav taws xob, qhov no yog lub thawv khoom plig txaus rau lawv! Hauv phau ntawv qhia no, koj yuav ua lub thawv ntim hauv tsev uas ua suab paj nruag thiab teeb thaum nws tshee. Nov yog yam koj yuav xav tau:

Adafruit GEMMA M0 - Cov khoom siv hluav taws xob me me me

Lithium Ion Polymer Battery - 3.7v 100mAh

Kev Nruab Nrab Nruab Nrab Sensor Hloov.

Dhau -Hole Resistors - 10K ohm 5% 1/4W

Dhau -Hole Resistors - 220 ohm 5% 1/4W

1 x Hlau: Txog thaj tsam lossis ob ntawm xaim

3 x Multi-Colours LEDs: Qee LEDs rau tsob ntoo ntsais muag.

1 x Cardboard: Ib daim ntawv me me uas haum rau ua lub thawv tawm ntawm.

1 x Xim: Xim rau lub thawv. Yuav yog xim twg. (Tsis teb los tau)

1 x Solder: Ib co laug rau cov khoom siv.

1 x Soldering Iron: Rau cov khoom siv sib txuas

1 x Kub Rab Phom Phom: Siv los lo rau lub thawv ua ke + nplaum cov khoom rau hauv lub thawv!

Kauj ruam 1: Tau txais tus Qauv

Tau Template!
Tau Template!

Yog tias koj twb muaj lub thawv, koj yuav tsis xav tau cov kauj ruam no, tab sis yog tias koj tsis muaj, qhov no yog yuav ua li cas. Ua ntej, taub hau mus rau https://templatemaker.nl thiab nrhiav lub npov uas haum rau koj qhov kev xav! Muaj ntau ntau yam los xaiv los ntawm, tab sis rau phau ntawv qhia no, Kuv yuav siv lub thawv-nrog-hau. Nws yuav muab peb qhov chaw tso rau hauv peb cov khoom siv hluav taws xob, thaum tseem yooj yim los ua. Xaiv qhov loj. Kuv xaiv lub thawv 6x3x6 nti nrog lub hau 6x1 nti. Kuv qhov kev tshem tawm yog 0.125. Xaiv rub tawm thiab nyem tsim.

Kauj ruam 2: Luam tawm

Luam tawm!
Luam tawm!

Kev luam tawm cov duab yog ib qho nyuaj tshaj plaws vim tias cov duab yuav raug hloov pauv thaum koj luam tawm, lossis nws yuav tsis haum rau ntawm nplooj ntawv koj tab tom siv. Txhawm rau ua qhov no, Kuv tau siv Adobe Illustrator thiab muab cov duab tso rau hauv 2 daim ntawv me me tabloid.

Nov yog li cas:

1. Qhib PDF hauv kev saib ua ntej lossis xijpeem koj qhib daim duab. Coj ob daim swb thiab rub txhua tus rau koj lub desktop

2. Qhib lub thawv hauv qab tus qauv hauv Illustrator thiab xaiv tag nrho. Tom qab ntawd mus rau kev hloov kho-luam, lossis siv daim ntawv theej khawm.

3. Qhib nplooj ntawv tshiab (Hais kom ua/Tswj-N), thiab paub tseeb tias nws qhov loj me yog tabloid.

4. Muab tshuaj txhuam (Command/Control-V), thiab xyuas kom tseeb tias daim duab yog ib nrab ntawm daim ntawv, raws li qhia saum toj no.

5. Mus rau File-Print (Command/Control-P) thiab nyem rau Page Setup. Nws yuav tsum coj koj mus rau lub qhov rai tshiab. Hloov cov ntawv me me rau ntawv thiab nyem OK. Tom qab ntawd nias sau.

6. Rov ua cov kauj ruam 5, tab sis nrog lub npov qauv ntawm lwm sab.

7. Qhib koj lub npov saum tus qauv rau hauv tus kho duab (Tsis yog Adobe Illustrator, qee yam zoo li Saib Ua Ntej).

8. Luam nws rau ntawm ib daim ntawv me me ntawm cov ntawv Whew! nyuab.

Kauj ruam 3: Ua Lub Box

Ua lub Box!
Ua lub Box!

Kauj Ruam 1: Nqa cov ntawv ntawv uas koj txiav tawm thiab kaw lawv ua ke kom nws zoo li ib daim duab (pom ntawm sab xis). Ces txiav nws tawm.

Duab
Duab

Kauj Ruam 2: Muab koj tus qauv tso rau ntawm qee daim duab los qhia thiab txiav tawm cov duab. Ua ntej, ntsuas cov ntawv txiav, tom qab ntawd tshem daim ntawv, thiab ua kom cov qhab nia tob dua.

Duab
Duab

Kauj Ruam 3: Tig daim duab los dua thiab qhab nia, uas yog txiav ib nrab ntawm daim duab los qhia, cov quav (cim nrog - - - - ntawm tus qauv).

Duab
Duab

Kauj Ruam 4: Coj koj rab phom Kub Kub thiab lo ob sab ntawm koj lub npov ua ke, raws li pom hauv-g.webp

Duab
Duab

Kauj ruam 5: Txiav tawm tus qauv rau lub npov saum toj. Ib zaug ntxiv, tsis quav ntsej cov flaps.

Duab
Duab

Kauj Ruam 6: Txiav raws tus qauv koj tau ua ntawm daim duab los qhia.

Duab
Duab

Kauj Ruam 7: Qhib cov quav zoo li koj tau ua ob peb kauj ruam dhau los. Nco ntsoov tias sab koj tau qhab nia yuav nyob sab nraum lub thawv.

Duab
Duab

Kauj Ruam 8: Kaw cov npoo ntawm lub npov ua ke. Qhov no tuaj yeem nyuaj, yog li koj yuav xav kaw cov ntu ua ke thaum nws qhuav.

Duab
Duab

Kauj Ruam 9: Xim koj lub npov xim kom khov. Kuv xaiv qhov tsaus ntuj nti vim nws yuav ua rau lub teeb ntawm tsob ntoo pom zoo.

Duab
Duab

Kauj ruam 4:

"src ="/cov khoom/img/pixel-p.webp

Tam sim no nws yog lub sijhawm los ua lub thawv ua haujlwm! Ua raws cov theem no kom zoo, thiab nws yuav tsum ua haujlwm. Koj yuav xav tau:

• 1x Gemma M01x Lithium Ion Polymer Battery

• 1x Piezo3x LEDs3x 220 Ω Resistor (Liab, Liab, Xim av, Kub)

• 1x 10k Ω Resistor (Xim av, Dub, Txiv Kab ntxwv, Kub)

• 1x Nruab Nrab Kev co Sensor

• 2 yards ntawm cov xaim hluav taws xob Ib yam los ua qhov nrog!

Coj mus rau sab saum toj ntawm koj lub npov thiab khawb qhov uas koj xav kom cov LEDs los hla. Nco ntsoov tias koj siv tsob ntoo los ntsuas qhov koj xav tau ntawm LEDs.

Duab
Duab

Muab tsob ntoo tso rau hauv lub thawv, thiab khawb qhov hla nws kom cov LED tuaj yeem hla mus. Hauv lwm lo lus, khawb qhov hauv tsob ntoo txawm tias yog lub qhov uas koj poked rau hauv lub thawv.

Duab
Duab

Muab cov LEDs hla lub qhov rau ntawm lub npov saum toj. nco ntsoov kos rau sab twg yog qhov zoo thiab qhov twg tsis zoo. Vim tias peb teeb tsa, thov tso qhov zoo ntawm LEDs ntawm sab xis.

Duab
Duab

Ua kom sov koj cov kua nplaum kub thiab muab kua nplaum tso rau tom qab ntawm tsob ntoo. Muab nws ua tib zoo rau ntawm lub npov, ua kom ntseeg tau tias cov LEDs mus los ntawm lub qhov.

Duab
Duab

Txuas cov xov hlau zoo ntawm LED mus rau 220 Ω resistor. Tom qab ntawd, muab ob qho ua ke.

Duab
Duab

Txuas cov resistors ua ke. Yog tias xav tau, muab cov xaim txuas rau ib ntawm lawv kom nws tuaj yeem txuas ntxiv.

Duab
Duab

Tam sim no, solder tag nrho cov resistors ua ke. Tej zaum koj yuav xav tau ntau cov laug los ua li ntawd.

Duab
Duab

Txiav 1 ½ nti xaim, thiab hle ob lub qhov kawg. Tom qab ntawd, txuas ib sab rau cov resistors uas koj nyuam qhuav tau siv. Kov koj cov hlau txuas mus rau qhov sib koom ua ke uas koj nyuam qhuav ua, thiab ntxiv koj cov xaim tshiab rau nws.

Duab
Duab

Nqa cov xaim koj nyuam qhuav tau siv thiab ua tus nuv ntawm lwm sab. Txuas qhov ntawd rau tus pin D0 ntawm lub gemma, thiab muab nws tso rau.

Duab
Duab

Tom ntej no, peb tab tom yuav cuam tshuam qhov tsis zoo ntawm LEDs rau lub gemma. Txiav 31 daim ntawm cov xaim thiab hle nws. Tom qab ntawd, muab lawv tso rau qhov tsis zoo ntawm LEDs.

Duab
Duab

Muab 3 kab xaim ua ke, raws li qhia hauv daim duab.

Duab
Duab

Txiav lwm 1 nti xaim thiab muab nws txuas rau ntawm cov kab hlau tsis zoo ntawm LED. Tom qab ntawd xaim cov xaim rau Gemma's Gnd tus pin.

Duab
Duab

Tau txais koj lub suab ntsuas qhov ntsuas tawm thiab txuas cov tooj liab xaim rau 1 ½ nti hlau raws li qhia hauv daim duab.

Duab
Duab

Nqa koj li 10k Ω tus tiv thaiv thiab txiav ib nti hlau ntev thiab txuas lawv ob qho tib si mus rau cov xov hlau nruab nrab. Tom qab ntawd, kho lawv ua ke.

Duab
Duab

Coj thawj tus xaim koj soldered rau lub sensor thiab txuas nws rau 3vo tus pin ntawm koj lub Gemma. Tom qab ntawd, solder nws rau.

Duab
Duab

Solder tus tiv thaiv rau Gnd ntawm lub Rooj Tswjhwm Saib Gemma.

Duab
Duab

Siv lub xaim kawg rau D1 ntawm lub Rooj Tswjhwm Saib Gemma.

Duab
Duab

Tam sim no nws yog lub sijhawm los teeb cov nkauj! Txiav 1 ½ nti ntev ntawm cov xaim thiab muab nws txuas rau koj twb tau siv Gnd tus pin. Txhawm rau ua qhov no, tso lub taub hau hlau rau ntawm Gnd tus pin, thiab tso cov xaim tshiab tso rau ntawm qhov sib koom ua ke. Tshem tawm cov hlau txuas, thiab kev sib koom ua ke yuav tiav!

Duab
Duab

Txuas lwm sab ntawm cov hlau mus rau tus pin ntawm piezo thiab muab nws tso rau.

Duab
Duab

Siv lwm cov xaim, hais txog qhov loj me, thiab muab nws txuas rau lwm tus pin ntawm piezo.

Duab
Duab

Coj cov xaim ntawd thiab txuas nws rau tus pin D2 ntawm Gemma M0. Tom qab ntawd, solder nws rau.

Duab
Duab

Koj ua tiav nrog kho vajtse! Tam sim no cia qhib Arduino thiab pib coding!

Kauj ruam 5: Txoj Cai

Image
Image

Tam sim no cia kom pawg thawj coj ua haujlwm! Cia teeb Arduino. Yog tias koj tseem tsis tau muaj tus tsav tsheb Gemma M0 teeb tsa, txheeb xyuas qhov txuas no: Ntawm no

Tom qab koj tau teeb tsa qhov ntawd, peb yuav tsum tso Gemma M0 rau hauv Bootloader Hom. Txhawm rau ua li ntawd, nias lub pob pib dua ob zaug, thiab lub teeb liab liab yuav tsum pib ntsais muag. Nco ntsoov tias koj li kev xaiv pawg thawj coj yog raug (cov cuab yeej-board-Gemma M0) thiab yog li koj qhov chaw nres nkoj (cov cuab yeej-chaw nres nkoj), thiab tom qab ntawd xa cov cai no:

Nias tus xub upload thiab lub teeb ntawm lub rooj tsavxwm yuav tsum tig liab doog! Ntaus nws ntawm sab, thiab nws yuav tsum teeb thiab ua suab paj nruag! Tam sim no koj muaj lub thawv khoom plig txaus!

Pom zoo: