Cov txheej txheem:

Chaw Nres Tsheb Huab Cua Online (NodeMCU): 7 Kauj Ruam (nrog Duab)
Chaw Nres Tsheb Huab Cua Online (NodeMCU): 7 Kauj Ruam (nrog Duab)

Video: Chaw Nres Tsheb Huab Cua Online (NodeMCU): 7 Kauj Ruam (nrog Duab)

Video: Chaw Nres Tsheb Huab Cua Online (NodeMCU): 7 Kauj Ruam (nrog Duab)
Video: Zoo Siab Nrog Koj - Paj Tsua Thoj [ Official MV ] Nkauj Tawm Tshiab 2022 2024, Kaum ib hlis
Anonim
Image
Image
Qhov Chaw Ua Haujlwm Huab Cua Ua Haujlwm Li Cas!
Qhov Chaw Ua Haujlwm Huab Cua Ua Haujlwm Li Cas!

Hav guys! Kuv vam tias koj twb nyiam kuv cov lus qhia yav dhau los "Arduino Robot 4WR" thiab koj tau npaj rau qhov tshiab, ib txwm kuv tau ua cov lus qhia no los qhia koj ib qib zuj zus thaum koj ua koj tus kheej cov phiaj xwm hluav taws xob.

Thaum ua qhov haujlwm no, peb tau sim ua kom ntseeg tau tias cov ntawv qhia no yuav yog cov lus qhia zoo tshaj plaws los pab koj thaum koj xaiv los ua koj li haujlwm raws li hluav taws xob, yog li peb cia siab tias cov ntawv qhia no muaj cov ntaub ntawv xav tau.

Txoj haujlwm no ua tau yooj yim los ua tshwj xeeb tom qab tau txais PCB tshwj xeeb uas peb tau xaj los ntawm JLCPCB txhawm rau txhim kho qhov pom ntawm peb cov cuab yeej siv hluav taws xob thiab tseem muaj cov ntaub ntawv txaus thiab cov lej hauv phau ntawv qhia no tso cai rau koj tsim koj lub chaw nres tsheb huab cua zoo nkauj.

Peb tau ua txoj haujlwm no tsuas yog 2 hnub nkaus xwb, tsuas yog ib hnub kom tau txais txhua qhov uas xav tau thiab ua kom tiav cov cuab yeej tsim khoom thiab sib sau ua ke, tom qab ntawd ib hnub los npaj cov cai kom haum rau peb tes num thiab tus qaib peb tau pib sim thiab kev hloov kho

Koj yuav kawm dab tsi los ntawm cov lus qhia no:

  1. Ua qhov kev xaiv kho vajtse raug rau koj txoj haujlwm nyob ntawm nws txoj haujlwm.
  2. Nkag siab txog lub chaw nres tsheb huab cua ua haujlwm.
  3. Npaj daim duab kab hluav taws xob txuas rau txhua qhov khoom siv uas tau xaiv.
  4. Ua koj tus kheej tsim PCB.
  5. Muab cov khoom siv hluav taws xob tso rau PCB.
  6. Sib sau ua ke txhua qhov haujlwm.
  7. Pib qhov kev sim thawj zaug thiab lees paub qhov haujlwm.

Kauj Ruam 1: Lub Chaw Ua Haujlwm Huab Cua Ua Haujlwm Li Cas

Raws li ib txwm kuv pib kuv txoj haujlwm nrog cov lus piav qhia luv luv no, peb txoj haujlwm yog ua raws NodeMCU dev pawg thawj coj uas twb muaj WiFi modul los txuas rau hauv Is Taws Nem txhawm rau kom tau txais huab cua huab cua hloov tshiab thiab tso tawm ntawm OLED screen, uas txuas nrog mus rau NodeMCU los ntawm I²C qhov chaw sib txuas lus.

Txhawm rau ua txhua qhov no tshwm sim yam tsis muaj teeb meem, qee lub tsev qiv ntawv yuav tsum suav nrog hauv qhov chaws. Cov tsev qiv ntawv no muaj nyob hauv qhib qhov chaw thiab koj tuaj yeem ntxiv lawv ncaj qha los ntawm koj li Arduino IDE

Qhov chaw nres tsheb huab cua tseem yuav tau txais Cov Sijhawm thiab Hnub tim cov ntaub ntawv los ntawm internet thiab txhawm rau ua qhov zoo li no peb xav tau los muab NodeMCU cov vev xaib los ntawm qhov uas nws yuav tshaj tawm Huab cua huab cua thiab cov ntaub ntawv hnub tim. Txhua yam no yuav piav qhia hauv ntu Software ntawm qhov kev nthuav qhia no.

Kauj Ruam 2: Daim duab Circuit Court

Daim duab Circuit Court
Daim duab Circuit Court

Txoj haujlwm no yog ib qho yooj yim heev, tsis muaj qhov nyuaj nyob hauv nws, Kuv tau siv easyEDA online platform los npaj daim duab kab lus no uas muaj txhua yam khoom tsim nyog rau txoj haujlwm no thiab qee qhov ntxiv xws li lub suab nrov rau qee lub tswb thiab qee qhov LED tso tawm koj tuaj yeem muaj PDF hom ntawv schematic lossis-p.webp

Kauj Ruam 3: Ua PCB

Kev Tsim PCB
Kev Tsim PCB
Kev Tsim PCB
Kev Tsim PCB
Kev Tsim PCB
Kev Tsim PCB

Tom qab npaj qhov Circuit Court, Kuv hloov daim duab hluav taws xob no mus rau hauv PCB tsim tshwj xeeb nrog cov duab huab kom haum rau peb cov phiaj xwm phiaj xwm, txhua yam peb xav tau tam sim no yog tsim cov qauv tsim hluav taws xob no yog li kuv tau tsiv mus rau JLCPCB qhov zoo tshaj plaws thiab pheej yig tshaj plaws PCB cov tsim kom tau txais qhov zoo tshaj plaws PCB kev pabcuam tsim khoom, JLC yog cov kws tshaj lij PCB tsim khoom tshwj xeeb ntawm cov nplai loj, cov cuab yeej zoo, kev tswj nruj thiab ua tau zoo dua. raws li ib txwm txhua yam koj xav tau tsuas yog qee qhov nyem rau upload GERBER cov ntaub ntawv ntawm PCB tsim thiab teeb tsa qee qhov kev tsim khoom, dua li kuv tos tsuas yog peb hnub kom tau txais kuv daim ntawv xaj.

Raws li koj pom los ntawm cov duab, PCBs tau tsim tau zoo heev thiab cov huab huab no yuav ntxiv qhov zoo rau peb tes num

Lwm yam ntaub ntawv rub tawm

Koj tseem tuaj yeem rub tawm Gerberfile rau lub voj voog no.

Kauj Ruam 4: Kev Tsim Cov Ntaub Ntawv

Cov Ntawv Tsim
Cov Ntawv Tsim
Cov Ntawv Tsim
Cov Ntawv Tsim
Cov Ntawv Tsim
Cov Ntawv Tsim
Cov Ntawv Tsim
Cov Ntawv Tsim

Kuv siv tshaj li Solidworks software los tsim lub thawv ntawv no uas peb yuav tso cov khoom siv hluav taws xob, thiab tom qab ntawd kuv tau tsim cov khoom tsim los ntawm CNC tshuab txiav laser.

koj tuaj yeem rub tawm DXF cov ntaub ntawv rau ntu ntu

Kauj ruam 5: Cov khoom xyaw

Cov khoom xyaw
Cov khoom xyaw

Cia peb tshuaj xyuas tam sim no cov npe teev tag nrho ntawm txoj haujlwm no yog li peb yuav xav tau:

Components components Cov khoom tsim nyog (Amazon txuas) ★ ☆ ★

PCB uas peb tau xaj los ntawm JLCPCB

  • NodeMCU dev board:
  • Ib qho OLED zaub screen:
  • Qee qhov SIL txuas:
  • Mini USB txuas:
  • Ob lub LEDs dawb (5mm):
  • 100 Ohms resistor:
  • 5V DC lub zog hloov pauv:
  • Thiab qhov thaiv qhov

Kauj Ruam 6: Software Tshooj

Software Tshooj
Software Tshooj
Software Tshooj
Software Tshooj
Software Tshooj
Software Tshooj
Software Tshooj
Software Tshooj

Arduino IDE tsev qiv ntawv teeb tsa

Nco ntsoov tias koj lub khoos phis tawj tau txuas nrog internet txhawm rau nkag mus rau cov tsev qiv ntawv online. Thaum koj khiav Arduino IDE, txav mus rau kos duab >> suav nrog tsev qiv ntawv >> tswj lub tsev qiv ntawv, lub qhov rai tshiab yuav tshwm los qhia qhov teeb tsa cov tsev qiv ntawv uas koj muaj thiab lwm lub tsev qiv ntawv uas koj tuaj yeem rub tawm, xyuas kom tseeb tias koj tau rub tawm tag nrho peb lub tsev qiv ntawv no. qhia los ntawm cov duab saum toj no thiab koj tuaj yeem tshawb lawv los ntawm lawv cov npe (rub tawm tib yam li kuv li)

  • Thawj lub tsev qiv ntawv yog OLED zaub uas yuav pab txhawb kev tswj hwm lub vijtsam siv NodeMCU pawg thawj coj.
  • Lub tsev qiv ntawv thib ob yuav pab koj kom muaj NodeMCU qhov chaws.
  • Lub tsev qiv ntawv thib peb yog lub tsev qiv ntawv tshaj tawm online, txij li cov ntaub ntawv siv internet yog cov ntaub ntawv loj me me rau MCU los txhais lawv yog li lub tsev qiv ntawv no yuav pab faib cov ntaub ntawv loj hauv internet rau hauv qee qhov me me.

Tom qab muaj cov tsev qiv ntawv tsim nyog, koj txav mus rau IDE piv txwv thiab khiav cov chaw qhia huab cua. Raws li koj pom hauv daim duab saum toj no txhua lub tsev qiv ntawv rub tawm suav nrog hauv qhov haujlwm no, cov kauj ruam tom ntej uas peb yuav tsum tau ua yog ntxig WiFi ID thiab tus lej zais, tom ntej no peb txav mus rau openweathermap lub vev xaib los ntawm qhov twg NodeMCU yuav tau txais qhov kev kwv yees tshiab.

Tom qab tsim ib tus as khauj hauv lub vev xaib no koj yuav muaj koj tus lej API tshwj xeeb yog li tsuas yog luam thiab muab tso rau hauv qhov chaws ua piv txwv.

Dab tsi koj xav tau tom ntej yog qhov chaw nyob id, yog li rov qab qhib openweathermap lub vev xaib thiab xaiv koj lub tebchaws thiab hauv lub vev xaib chaw nyob toolbar koj yuav pom qhov chaw nyob xav tau tus lej yog li tsuas yog luam thiab dhau nws hauv koj tus lej, cov kauj ruam kawg tam sim no yog rub tawm code rau koj NodeMCU thiab yog tias koj tseem tsis paub siv NodeMCU cov laug cam nrog Arduino IDE tsuas yog txheeb xyuas daim vis dis aus no kom coj koj mus.

Kauj Ruam 7: Khoos phis tawj khoos phis tawj & Qhia tawm

Khoos phis tawj sib dhos & Qhia tawm
Khoos phis tawj sib dhos & Qhia tawm
Khoos phis tawj sib dhos & Qhia tawm
Khoos phis tawj sib dhos & Qhia tawm
Khoos phis tawj sib dhos & Qhia tawm
Khoos phis tawj sib dhos & Qhia tawm

Tam sim no txhua yam tau npaj lawm yog li cia peb pib siv peb cov khoom siv hluav taws xob rau PCB thiab ua li ntawd peb xav tau cov hlau txuas thiab cov hlau txuas hlau.

Raws li koj tuaj yeem pom, siv PCB no yooj yim heev vim nws ua tau zoo heev thiab tsis hnov qab cov ntawv uas yuav coj koj cov txiv neej thaum siv tshuaj txhuam ib feem vim tias koj yuav pom nyob rau sab saum toj txheej txheej lo lo lo ntxhuav ntawm txhua qhov qhia tias nws tso rau lub rooj tsavxwm thiab txoj hauv kev no koj yuav 100% paub tseeb tias koj yuav tsis ua ib qho yuam kev hlo li.

Kuv tau muab txhua qhov khoom sib dhos tso rau nws qhov kev tso kawm, hais txog PCB no nws yog ob txheej PCB qhov no txhais tau tias koj tuaj yeem siv ob sab ntawm nws los txhawm rau txhuam koj cov khoom siv hluav taws xob.

Tam sim no peb tau ua tiav Cov Khoos Phis Tawj sib dhos thiab ib zaug peb txuas lub zog hloov khoom siv, lub cuab yeej pib nthuav qhia huab cua huab cua.

Txoj haujlwm no yooj yim heev ua thiab yog ib qho zoo kawg thiab peb pom zoo rau txhua tus tsim khoom yuav ua li cas sim tsim nws tus kheej cov cuab yeej tab sis tseem muaj qee qhov kev txhim kho kom ua tau zoo hauv peb txoj haujlwm txhawm rau ua kom ntau ntau butter, yog vim li cas kuv yuav tos rau koj cov lus los txhim kho nws.

Pom zoo: