Cov txheej txheem:

OK mus sawv hmo ntuj! (Niam Txiv Pw Tsaug Zog!): 5 Kauj Ruam
OK mus sawv hmo ntuj! (Niam Txiv Pw Tsaug Zog!): 5 Kauj Ruam

Video: OK mus sawv hmo ntuj! (Niam Txiv Pw Tsaug Zog!): 5 Kauj Ruam

Video: OK mus sawv hmo ntuj! (Niam Txiv Pw Tsaug Zog!): 5 Kauj Ruam
Video: Tseem Ev Lub Kawm - Koos Loos 2024, Kaum ib hlis
Anonim
OK Kom Tau Txais Hmo Ntuj! (Niam Txiv pw tsaug zog!)
OK Kom Tau Txais Hmo Ntuj! (Niam Txiv pw tsaug zog!)
OK Kom Tau Txais Hmo Ntuj! (Niam Txiv pw tsaug zog!)
OK Kom Tau Txais Hmo Ntuj! (Niam Txiv pw tsaug zog!)

Cov niam txiv ntawm cov menyuam yaus uas tsis tuaj yeem qhia sijhawm: Koj puas xav rov ua dua ob peb teev ntawm txhua lub asthiv? Zoo, yog li kuv puas muaj kev tsim rau koj! Siv Sparkfun Redboard thiab Breadboard, ob peb yam yooj yim, thiab qee qhov chaws yooj yim, koj tuaj yeem tsim "OK kom Tau Txais Hmo Hmo Hmo!" ib yam li kuv muaj ntawm no!

Kev teeb tsa yog yooj yim heev thiab yuav hais qhia hauv qab no. Yeej, koj qhov kev tsim yuav muaj 2 LED teeb uas yuav qhib sib cais nrog kev thawb ntawm ib qho yooj yim, ib lub pob. Thaum koj tso koj tus menyuam mus pw, tsoo lub pob ib zaug thiab lub LED liab yuav ci. Koj yuav tsum qhia koj tus menyuam tias lub teeb hmo ntuj liab no txhais tau tias nws tseem yog lub sijhawm yuav tsaug zog thiab tias lawv yuav tsum tsis txhob ua suab nrov lossis nug yog tias nws txog sijhawm yuav sawv los. Qhov zoo tshaj, lawv yuav pom liab thiab sim rov qab mus pw. Thaum koj lossis koj tus txij nkawm tsaug zog rau ib hnub thiab nws yog lub sijhawm txaus rau koj tus menyuam me kom sawv, cia li ntsiag to taug kev mus rau hauv lawv chav thiab ntaus lub pob ib zaug thiab LED liab yuav kaw thiab LED ntsuab yuav ci. Nws yog qhov yooj yim pom lub pob vim tias lub teeb liab ci rau thaj chaw, tsuas yog ceev faj kom tsis txhob mus rau LEGO! Qhov no yuav tso cai rau koj tus menyuam kom tsaug zog ntxiv thiab tau txais kev so kom txaus kom txog thaum lawv sawv ntawm lawv tus kheej thiab pom ntsuab. Nws yog yeej-yeej. Txhua tus neeg tsaug zog ntau dua. Txhawm rau ua tiav, qhov khoom plig yuav tsum yog ib feem ntawm qhov kev pom zoo, xws li lub khob dej khov ntawm DQ thaum hmo ntuj yog tias lawv ua kom txog thaum lub teeb ntsuab mus rau ob hnub ntawm lub asthiv.

Kauj Ruam 1: Kauj Ruam 1: Sau Koj Cov Khoom

Kauj Ruam 1: Sau Koj Cov Khoom
Kauj Ruam 1: Sau Koj Cov Khoom
Kauj Ruam 1: Sau Koj Cov Khoom
Kauj Ruam 1: Sau Koj Cov Khoom

Kuv muaj SparkFun Inventor's Kit Version 4.0, tab sis kuv yuav kwv yees muaj kev hloov pauv los ntawm lwm cov khoom siv uas yuav ua haujlwm tau zoo xwb. Kuv siv:

  • 1 Sparkfun® Redboard
  • 1 Daim Ntawv Me Me
  • 8 jumper xov
  • 1 liab LED
  • 1 ntsuab LED
  • 1330Ω Cov neeg tiv taus
  • 1 10KΩ Resistor
  • 1 Laub Khawm
  • 1 Roj Teeb Pob Lub Hwj Chim
  • Arduino IDE Cov

Kauj Ruam 2: Kauj Ruam 2: Ua Rau Koj SparkFun® Redboard thiab Breadboard Hardware Connections

Kauj Ruam 2: Ua Koj Li SparkFun® Redboard thiab Breadboard Hardware Connections
Kauj Ruam 2: Ua Koj Li SparkFun® Redboard thiab Breadboard Hardware Connections
Kauj Ruam 2: Ua Koj Li SparkFun® Redboard thiab Breadboard Hardware Connections
Kauj Ruam 2: Ua Koj Li SparkFun® Redboard thiab Breadboard Hardware Connections
Kauj Ruam 2: Ua Koj Li SparkFun® Redboard thiab Breadboard Hardware Connections
Kauj Ruam 2: Ua Koj Li SparkFun® Redboard thiab Breadboard Hardware Connections

Cias txuas txhua yam ntawm cov ntaub ntawv uas koj tau sau raws li pom hauv daim duab Tinkercad® thiab cov duab saum toj no. Nws yog qhov yooj yim zoo nkauj, tsuas yog nco ntsoov tias koj lub neej tiag tiag tsim tej zaum yuav txawv me ntsis dua li koj qhov kev tsim tiag li kuv yog. Qee yam ntawm cov khoom siv tau nthuav dav sib txawv hauv ntiaj teb virtual piv rau kev tsim tiag. Nws tsis muaj teeb meem tsuav koj paub tseeb tias koj ua raws tib tus lej kab (s) ntawm koj lub khob cij.

Koj tuaj yeem saib ze dua ntawm kuv qhov kev tsim Tinkercad® ntawm no.

Kauj Ruam 3: Kauj Ruam 3: Coding

Kauj ruam 3: Coding
Kauj ruam 3: Coding

Koj thawj zaug yuav tsum txuas lub USB cable los ntawm lub hwj chim ntawm koj lub Redboard mus rau USB chaw nres nkoj hauv koj lub computer.

Yog tias koj tsis tau siv Arduino ເທື່ອ, koj yuav tsum rub tawm cov software pom ntawm no.

Ua raws qhov txuas no txhawm rau nrhiav cov cai xav tau los ua qhov kev pw tsaug zog hmo ntuj ua haujlwm hmo ntuj! Koj yuav tsum tau theej thiab muab nws tso rau hauv Arduino IDE thiab tom qab ntawd nias lub xub kom rub nws mus rau hauv koj daim ntawv Redboard!

Kauj Ruam 4: Kauj Ruam 4: Kuaj thiab Txaus Siab Rau Koj Qhov Tsaug Ntxiv !

Ntsuam xyuas koj qhov kev tsim! Thaum koj nias lub pob thawj zaug, LED liab yuav tsum teeb thiab nyob twj ywm kom txog thaum koj nyem lub pob dua. Thaum koj nias lub pob dua, LED liab yuav tawm thiab LED ntsuab yuav ci!

Kuv siv lub roj teeb pob lub hwj chim uas tuaj nrog kuv cov khoom yog li kuv tuaj yeem siv kuv qhov kev tsim yam tsis muaj kuv lub khoos phis tawj yog lub zog siv.

Txaus siab rau koj tsaug zog ntxiv. Nws yuav siv qee qhov kev qhia kom ua tau zoo, tab sis kev pw tsaug zog ntxiv rau niam txiv thiab menyuam tsis muaj nuj nqis. Kuv vam tias qhov kev tsim no yuav ua rau koj tau txais txiaj ntsig zoo zzzzzzzzs!

Kauj Ruam 5: Cov Lus Qhia:

Ntse, Marginally. "Arduino Starter Kit 2: Siv Khawm rau LED Tswj." Instructables.com. Cuaj hlis 24, 2017. Nkag Mus Rau Lub Tsib Hlis 10, 2018.

SparkFun Inventor's Kit - v4.0. (nws.). Tau txais los ntawm Tsib Hlis 3, 2018, los ntawm

Pom zoo: