Cov txheej txheem:

Ruaj Ntseg Christmas Ntoo: 6 Kauj Ruam
Ruaj Ntseg Christmas Ntoo: 6 Kauj Ruam

Video: Ruaj Ntseg Christmas Ntoo: 6 Kauj Ruam

Video: Ruaj Ntseg Christmas Ntoo: 6 Kauj Ruam
Video: tuav wb lub neej kom ruaj khov - Mang Vang ft. Christina Xyooj [Official Audio] 2021-22 2024, Kaum ib hlis
Anonim
Ruaj Ntseg Christmas Ntoo
Ruaj Ntseg Christmas Ntoo

Nov yog Cov Khoom Siv Ua tiav los ntawm Elegoo nrog Arduino Mega.

Ob peb hnub dhau los, Elegoo tau xa kuv cov khoom siv thiab tawm tsam kuv los tsim qhov phiaj xwm Christmas nrog nws. Cov khoom siv no suav nrog ntau yam. Arduino Mega, servos, ultrasound sensors, deb, RFID nyeem ntawv, thiab lwm yam. Cia peb pib txoj haujlwm.

Qhov haujlwm no suav nrog tsob ntoo Christmas los ntawm cov coj. Tsuas yog ua haujlwm thaum nyeem RFID raug. Thaum koj qhib lub LEDs pib thiab lub LCD qhia pom pes tsawg hnub nyob rau kom txog thaum Christmas.

Khoom siv:

ELEGOO Mega 2560 Cov Khoom Siv Ua Ntej Ua Tau Zoo Tshaj Nrog Arduino IDE

Kauj ruam 1: Tsab Ntawv

Tsab ntawv
Tsab ntawv
Tsab ntawv
Tsab ntawv
Tsab ntawv
Tsab ntawv

Thawj kauj ruam yog tsim cov qauv. Rau qhov no peb yuav siv Arduino, tus nyeem ntawv RFID, qee tus coj, jumper cables, LCD, lub hwj chim ntsuas thiab RTC Clock. Hauv cov khoom siv, Elegoo xa daim CD uas muaj cov lus piav qhia ntawm txhua feem nrog rau daim duab txuas.

Kauj ruam 2: Code

Code
Code

Tom qab ntawd nws yog lub sijhawm los tsim cov cai. Rau qhov no peb tig mus rau CD dua. Ntxiv rau daim duab, cov qauv ntsuas rau tso cov khoom siv rau hauv kev ua haujlwm kuj tseem raug xa mus rau ntawm cd. Txhua tus lej tuaj yeem pom ntawm kuv tus GitHub tus account.

Tom qab ua tiav txoj cai peb yuav tsum xa nws mus rau Arduino. Peb ua cov txheej txheem no siv USB cable.

Kauj Ruam 3: Xeem

Xeem
Xeem

Tom qab ntawd peb tau ua thawj qhov kev sim. Hauv peb qhov haujlwm, lub txaj RFID nyeem daim npav. Yog tias nws yog daim npav raug, lub kaw lus pib. Txwv tsis pub, nws tseem nyob.

Kauj Ruam 4: Luam Ntawv 3D

3D Luam Ntawv
3D Luam Ntawv

Tom qab ntawd peb xav tau lub hauv paus los ua lub tsev cov khoom. Qhov no ua tiav siv lub tshuab luam ntawv 3D.

Kauj ruam 5: Sib dhos

Los ua ke
Los ua ke
Los ua ke
Los ua ke

Tom qab npaj lub hauv paus npaj peb yuav tsum tso tag nrho cov khoom nyob hauv qhov chaw. Peb pib txheej txheem nrog tus coj ua raws lwm cov khoom siv. Txhawm rau kho lawv nyob rau hauv qhov chaw, peb siv cov kua nplaum kub. Qhov no tso cai rau peb txhim kho cov khoom siv hauv qhov chaw, tab sis yog tias nws tsim nyog los hloov lawv peb tuaj yeem ua nws yooj yim.

Tom qab ntawd peb yuav tsum txuas tag nrho cov khoom ua ke. Cov pins tsis zoo ntawm cov leds tau txuas nrog ua ke. Cov pins zoo tau muab ua pawg los ntawm lawv cov xim.

Cov khoom siv ntxiv yog sib txuas nrog kev siv jumper cables thiab protoboards. Kuv siv ob lub protoboards me me rau qhov laj thawj qhov chaw, tab sis cov khoom siv suav nrog tag nrho protoboard thiab me me.

Kauj Ruam 6: Qhov Kawg

Zaum Kawg
Zaum Kawg
Zaum Kawg
Zaum Kawg

Thaum kawg peb yuav pom txoj haujlwm ua haujlwm. Kuv tab tom txhawb nqa Arduino nrog cov hloov pauv suav nrog hauv cov khoom siv.

Arduino yog lub platform muaj ntau yam. Nws tuaj yeem siv tau los ntawm USB lossis los ntawm kev hloov pauv ntawm 7v thiab 12v.

Nov yog qhov project lom zem los tsim. Nws tuaj yeem loj dua lossis me dua, nrog ntau lossis tsawg dua leds, lossis nrog lwm hom kev qhib lub kaw lus

Pom zoo: