Cov txheej txheem:

Snap Circuits: 4 Kauj Ruam
Snap Circuits: 4 Kauj Ruam

Video: Snap Circuits: 4 Kauj Ruam

Video: Snap Circuits: 4 Kauj Ruam
Video: Koj mus ua neej zoo li cas lawm 11/16/2018 2024, Hlis ntuj nqeg
Anonim
Snap Circuits
Snap Circuits

Snap circuits yog kev txhawb nqa lom zem los qhia rau cov menyuam txog kev tsim hluav taws xob thiab hluav taws xob tsim qauv. Lawv kuj tseem tuaj yeem siv los daws cov ncauj lus ntsig txog kev txuag hluav taws xob.

Hauv qhov kev qhia no, koj yuav kawm paub yuav tsim koj tus kheej li cas hauv cov kab hluav taws xob sib txuas cov khoom siv hluav taws xob ntawm ntau yam sib txawv, thiab yuav ua li cas thiaj li siv tau cov haujlwm kev kawm cuam tshuam txog qhov kev txhawb nqa no: kev ua ub no ntawm kev siv hluav taws xob, kev tsim hluav taws xob prototyping thiab cov phiaj xwm, kev txuag hluav taws xob thiab kev siv tshuab hauv tsev.

Khoom siv

Rau ib qho snap suport koj yuav xav tau:

1x 3D luam tawm snap txhawb nqa (nyem rau ntawm qhov txuas mus rub cov ntawv)

1x cov khoom siv hluav taws xob (piv txwv li coj, buzzer, lub cev muaj zog me me)

2x 12x6mm hlau nplaum

Kauj ruam 1: Teeb tsa Snap

Teeb tsa Snap
Teeb tsa Snap
Teeb tsa Snap
Teeb tsa Snap
Teeb tsa Snap
Teeb tsa Snap

3D luam tawm SNAP PART

Ua ntej tshaj, koj yuav tsum tau luam tawm 3D ntu ntu. Cov ntaub ntawv stl npaj rau 3D luam ntawv muaj nyob ntawm no.

Koj tseem tuaj yeem hloov kho qhov tsim ntawm tinkercad thiab ua kom haum rau tuav 3-legged Cheebtsam (piv txwv li qhov ntsuas kub, lub teeb pom kev zoo).

Lub sijhawm ncua sijhawm ntawm txheej txheem luam ntawv 3D muaj nyob ntawm no.

Tso nws txhua yam ua ke

Lub sijhawm ncua sijhawm ntawm cov txheej txheem sib dhos muaj nyob ntawm no.

Txhawm rau pib nrog, muab qee cov kua nplaum kub nyob ib puag ncig ntawm txhua qhov.

Tom ntej no, tso 2 lub hlau nplaum rau ntawm qhov snap, ib qho rau txhua qhov. Tus tsim kom ntseeg tau tias txhua tus hlau nplaum tau ruaj khov kho rau lub snap ntawm cov kua nplaum kub.

Thaum kawg, muab koj cov tivthaiv tso rau hauv qhov chaw thiab muab tshuaj txhuam rau ib ceg mus rau ib lub hlau nplaum.

Koj tuaj yeem yog li tsim cov khoom ntim uas muaj LEDs, lub suab nrov thiab lub zog ua kom muaj zog. Qhov ntawd tsuas yog 3 qhov piv txwv, txawm li cas los xij, hauv txoj cai ib qho khoom siv hluav taws xob tuaj yeem teeb tsa ntawm kev txhawb nqa snap.

Kauj Ruam 2: Kev Ua Haujlwm Circuitry

Kev Ua Haujlwm Circuitry
Kev Ua Haujlwm Circuitry

Hauv qhov haujlwm no, koj yuav sim qee qhov kev hloov pauv yooj yim nrog cov kab hluav taws xob. Koj yuav tsim cov hluav taws xob hluav taws xob yooj yim suav nrog lub roj teeb pob thiab LED.

LIST OF PARTS

- tsawg kawg ib qho kev txhawb nqa snap

- 1 fais fab tuag (3V ntau dua li txaus)

- khej kab

Kev ua haujlwm hauv Circuitry yog kev qhia txog hluav taws xob thiab kev siv hluav taws xob, qhib los ntawm kev txhawb nqa. Txhawm rau tsim cov kab hluav taws xob yooj yim, tso ob ntu ntu (ex. LED snap thiab mini dc motor snap) raws li cov duab hauv qab no. Tom qab ntawd fais fab tuag hauv Circuit los ntawm ntsaws lub roj teeb pob (3V txaus rau lub zog ob peb yam khoom siv hluav taws xob). ib kawg ntawm lub voj voog mus rau + ntawm lub roj teeb pob, lwm qhov kawg mus rau -. Ceev faj ntawm qhov sib txawv ntawm LED (anode thiab cathode yuav tsum txuas nrog qhov zoo thiab tsis zoo ntawm lub roj teeb pob feem), txwv tsis pub LED snap yuav tsis pom kev.

Kauj Ruam 3: Kev Ua Haujlwm Hluav Taws Xob Nrog Cov Hluav Taws Xob Snap

Kev Ua Haujlwm Hluav Taws Xob Hluav Taws Xob Nrog Snap Circuits
Kev Ua Haujlwm Hluav Taws Xob Hluav Taws Xob Nrog Snap Circuits
Kev Ua Haujlwm Hluav Taws Xob Hluav Taws Xob Nrog Snap Circuits
Kev Ua Haujlwm Hluav Taws Xob Hluav Taws Xob Nrog Snap Circuits
Kev Ua Haujlwm Hluav Taws Xob Hluav Taws Xob Nrog Snap Circuits
Kev Ua Haujlwm Hluav Taws Xob Hluav Taws Xob Nrog Snap Circuits
Kev Ua Haujlwm Hluav Taws Xob Hluav Taws Xob Nrog Snap Circuits
Kev Ua Haujlwm Hluav Taws Xob Hluav Taws Xob Nrog Snap Circuits

Hauv qhov haujlwm no koj yuav kawm paub yuav ua li cas txhawm rau teeb tsa cov kab hluav taws xob ntawm ib qho khoom siv arduino uno thiab siv software coding pom (mBlock).

LIST OF PARTS

  • 1x Arduino board (arduino Uno lossis nano lossis lwm yam ntawv yog Ok) + USB fais fab cable
  • khej kab
  • jumper xov hlau (txiv neej-txiv neej)
  • snap cov khoom

Yog tias koj tseem tsis tau muaj, rub tawm mBlock 3, tsis yog qhov tshiab tshaj plaws.

Koj tuaj yeem ntsaws cov khoom sib dhos rau ntawm pawg thawj coj saib, zoo li nws yog cov khoom siv hluav taws xob tsis tu ncua. Nco ntsoov tias qee yam khoom (piv txwv. LED) muaj qhov sib txawv, yog li nco ntsoov txuas lub anode nrog tus lej digital thiab cathode rau GND.

Sim ua piv txwv kom muaj lub ntsej muag Led ntsais. Ua ntej tshaj plaws, xaim snap tivthaiv rau lub rooj tsavxwm arduino, thiab ntsaws lub rooj tsavxwm rau koj lub pc.

Tom ntej no, tso tawm mBlock, xaiv pawg thawj coj uas koj siv nyob rau hauv "Cov laug cam", thiab txuas rau nws los ntawm txhaj rau "Txuas" thiab xaiv qhov chaw nres nkoj raug (hauv peb qhov piv txwv nws yog COM47).

Tsiv cov phiaj xwm muaj nyob ib puag ncig kom tau txais cov lej zoo ib yam hauv daim duab.

Peb tau txuas nrog Led snap rau tus pin 13, yog tias koj xaiv tus lej sib txawv tsis txhob hnov qab xaiv tus pin raug hauv tus lej ib yam.

Txhawm rau pib qhov haujlwm tsuas yog ntaus tus chij ntsuab.

Kauj ruam 4: Tsev Automation

Tsev Automation
Tsev Automation
Tsev Automation
Tsev Automation
Tsev Automation
Tsev Automation
Tsev Automation
Tsev Automation

Cov khoom siv Snap tuaj yeem siv los ua haujlwm ntawm kev txuas cov khoom. Nws yog qhov ua tau piv txwv kom npaj cov khoom siv hluav taws xob me me hauv lub tsev me me, thiab tswj lawv nyob deb. Muaj peev xwm tswj tau ib qho khoom siv hauv tsev tau muab rau tus neeg siv kom muaj txiaj ntsig zoo ntawm kev tuaj yeem xaiv thaum lawv tab tom khiav thiab thaum lawv tsis ua, yog li pab txhawb kev txuag hluav taws xob thiab ua rau lub tsev me me ua kom muaj zog siv tau.

Peb tau tsim tus lej 3D luam tawm cov khoom siv hluav taws xob me me uas tuaj yeem tso rau sab saum toj ntawm cov khoom siv snap. Koj tuaj yeem piv txwv xav txog qhov tso lub qhov cub me me rau saum lub Led lossis lub tshuab luam ntawv 3D me me nyob rau sab saum toj ntawm lub tshuab hluav taws xob me me vibrating, yog li ua raws li kev ua haujlwm tiag tiag ntawm cov khoom siv ntawd.

Pom txhua yam khoom siv muaj rau 3D luam ntawv los ntawm txhaj rau kab ntawv txuas hauv qab no:

  • tvv snap tv
  • snap Circuit qhov cub
  • snap Circuit 3D tshuab luam ntawv
  • snap Circuit Court tov khoom
  • snap tshuab ntxhua khaub ncaws

Cov haujlwm no yuav xav tau daim ntawv thov Blynk. Yog li, xub rub tawm Blynk ntawm koj lub smartphone.

ZOO TSHAJ PLAWS TSHIAB hauv BLYNK

Tom qab koj tau ua tiav kev nkag mus rau hauv koj tus as khauj, pib los ntawm kev tsim txoj haujlwm tshiab.

Xaiv koj lub HARDWARE

Xaiv tus qauv kho vajtse uas koj yuav siv. Yog tias koj ua raws cov lus qhia no koj yuav zaum siv ESP32 pawg thawj coj.

AUTH TOKEN

Auth Token yog tus cim tshwj xeeb uas xav tau los txuas koj lub cuab yeej rau koj lub xov tooj. Txhua qhov haujlwm tshiab koj tsim yuav muaj nws tus kheej Auth Token. Koj yuav tau txais Auth Token txiav ntawm koj tus email tom qab tsim qhov project. Koj tseem tuaj yeem luam nws ntawm tus kheej. Nyem rau ntu khoom siv thiab xaiv cov cuab yeej xav tau, thiab koj yuav pom lub cim.

PROGRAM LUB ESP32 BOARD

Lub taub hau rau lub vev xaib no, xaiv koj lub khoos phis tawj, hom kev txuas (piv txwv li wi-fi) thiab xaiv Blynk Blink piv txwv.

Luam cov cai thiab muab tso rau ntawm Arduino IDE (ua ntej ntawd, xyuas kom tseeb tias koj xaiv lub rooj tsav xwm raug thiab qhov chaw nres nkoj raug - hauv "Cov Cuab Yeej" -).

Hloov "YourAuthtoken" nrog lub cim muaj nyob hauv app, hloov "YourNetworkName" thiab "YourPassword" nrog koj li ntawv pov thawj wi-fi. Thaum kawg, upload cov cai rau ntawm lub rooj tsavxwm.

Teem lub BLYNK APP

Hauv koj txoj haujlwm Blynk, xaiv khawm widgets, muaj ntau lub khawm zoo li koj muaj snaps los tswj kev nyob deb. Hauv peb qhov piv txwv peb yuav ntxiv ob lub khawm widgets txij li peb muaj ob ntu snap los tswj (ob qho tib si yog LEDs).

Tom ntej xaiv thawj lub pob thiab, hauv qab qhov tsim tawm, xaiv qhov chaw nres nkoj uas ib qho ntawm koj lub snap txuas nrog ESP32 pawg thawj coj (ex. GP4). Nco ntsoov kom muaj 0 thiab 1 nyob ze rau GP4, ib yam li hauv daim duab hauv qab no. Koj kuj tseem tuaj yeem xaiv seb lub pob puas yuav ua haujlwm hauv nqaij lossis hloov hom.

Ua tib yam rau khawm thib ob, tsuas yog lub sijhawm no txuas rau tus lej ESP32 tus lej (piv txwv. GP2).

Thaum kawg, tso lub app los txhaj rau Play cim. Yog tias txhua yam mus tau zoo, koj yuav raug ceeb toom tias koj txoj haujlwm online, thiab koj yuav muaj peev xwm tswj tau koj cov snaps.

Pom zoo: