Cov txheej txheem:
- Kauj ruam 1: Yam Koj Yuav Tsum Tau
- Kauj ruam 2: Circuit Court
- Kauj Ruam 3: Pib Visuino, thiab Xaiv Arduino UNO Board Type
- Kauj Ruam 4: Hauv Visuino ADD thiab Teeb Khoom
- Kauj Ruam 5: Hauv Visuino Connect Components
- Kauj Ruam 6: Tsim, Ua Ke, thiab Tshaj Tawm Arduino Code
- Kauj ruam 7: Ua si
Video: Yuav Ua Li Cas Saib Xyuas Cov Tsob Ntoo Nrog Arduino: 7 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:24
Hauv qhov kev qhia no peb yuav kawm paub yuav txheeb xyuas cov av noo li cas siv lub ntsuas dej noo thiab nyem lub teeb ntsuab yog tias txhua yam ua tau zoo thiab OLED Zaub thiab Visuino.
Saib cov yees duab.
Kauj ruam 1: Yam Koj Yuav Tsum Tau
Arduino UNO (lossis lwm yam Arduino) Tau nws ntawm no
Av noo noo sensor module, Tau nws ntawm no
Jumper xov hlau
Breadboard Tau nws ntawm no
OLED Zaub Tau nws ntawm no
1X Liab LED, 1X Ntsuab LED Tau lawv ntawm no
Visuino program: Rub tawm Visuino
Kauj ruam 2: Circuit Court
- Txuas OLED Display pin [VCC] rau Arduino tus pin [5V]
- Txuas OLED Display pin [GND] rau Arduino tus pin [GND]
- Txuas OLED Display pin [SDA] rau Arduino tus pin [SDA]
- Txuas OLED Display pin [SCL] rau Arduino tus pin [SCL]
- Txuas Arduino 5V rau piezo buzzer module tus pin VCC
- Txuas Arduino GND rau Ntsuab LED tsis zoo Pin
- Txuas Arduino GND rau Liab LED tsis zoo Pin
- Txuas Arduino Digital Pin 3 rau Ntsuab LED tsis zoo Pin
- Txuas Arduino Digital Pin 2 rau Liab LED tsis zoo Pin
- Txuas Arduino 5V mus rau qhov ntsuas qhov ntsuas qhov ntsuas tus pin VCC
- Txuas Arduino GND mus rau qhov ntsuas qhov ntsuas qhov ntsuas tus pin GND
- Txuas Arduino analog pin 0 mus rau qhov ntsuas qhov ntsuas qhov ntsuas tus lej A0
Kauj Ruam 3: Pib Visuino, thiab Xaiv Arduino UNO Board Type
Txhawm rau pib ua haujlwm rau Arduino, koj yuav tsum muaj Arduino IDE teeb tsa los ntawm no:
Thov nco ntsoov tias muaj qee qhov teeb meem tseem ceeb hauv Arduino IDE 1.6.6. Nco ntsoov tias koj nruab 1.6.7 lossis siab dua, txwv tsis pub Cov Lus Qhia no yuav tsis ua haujlwm! Yog tias koj tsis tau ua raws cov kauj ruam hauv Phau Ntawv Qhia no teeb tsa Arduino IDE rau program Arduino UNO! Visuino: https://www.visuino.eu tseem yuav tsum tau teeb tsa. Pib Visuino raws li pom hauv thawj daim duab Nyem rau ntawm "Cov cuab yeej" khawm ntawm Arduino tivthaiv (Daim Duab 1) hauv Visuino Thaum qhov kev sib tham tshwm, xaiv "Arduino UNO" raws li qhia hauv daim duab 2
Kauj Ruam 4: Hauv Visuino ADD thiab Teeb Khoom
Ntxiv "OLED Display" tivthaiv
Ntxiv 2X "Sib piv Tus Nqi Analog" tivthaiv
- Ob npaug nias rau ntawm DisplayOLED1 thiab hauv cov ntsiab lus qhov rai rub Cov Lus Teb mus rau sab laug, tom qab ntawd hauv cov khoom vaj khoom tsev teeb tsa qhov loj me rau 3 Kaw lub ntsiab qhov rai
- Xaiv CompareValue1 thiab hauv cov khoom vaj huam sib luag teeb tsa "Sib piv Hom" rau ctBiggerOrEqual thiab Tus Nqi rau 0.7 << qhov no yog tus nqi rhiab heev, koj tuaj yeem hloov nws yog tias koj xav tau
- Xaiv CompareValue2 thiab hauv cov khoom vaj huam sib luag teeb tsa "Sib piv Hom" rau ctSmaller thiab Tus Nqi rau 0.7 << qhov no yog tus nqi rhiab heev, koj tuaj yeem hloov nws yog tias koj xav tau
Kauj Ruam 5: Hauv Visuino Connect Components
- Txuas Arduino analog pin 0 rau CompareValue1 tus pin Hauv, Sib PivValue2 tus pin Hauv, DisplayOLED1> Cov Ntawv Teb 1 Tus Pin
- Txuas Sib PivValue1 Pin Tawm rau Arduino tus lej digital 2
- Txuas Txuas Sib Piv 2 Tus Nqi Tawm rau Arduino tus lej digital 3
- DisplayOLED1 tus pin I2C Tawm rau Arduino board I2C tus pin Hauv
Kauj Ruam 6: Tsim, Ua Ke, thiab Tshaj Tawm Arduino Code
Hauv Visuino, hauv qab nyem rau ntawm "Tsim" Tab, xyuas kom tseeb tias qhov chaw nres nkoj raug xaiv, tom qab ntawd nyem rau ntawm "Compile/Build and Upload" khawm.
Kauj ruam 7: Ua si
Yog tias koj ua lub zog Arduino UNO module, thiab LED yuav tsum nyem (liab tsis txaus dej, dej ntsuab txaus) thiab OLED Zaub yuav qhia txog qib dej noo Zoo siab! Koj tau ua tiav koj txoj haujlwm nrog Visuino. Kuj txuas nrog yog Visuino project, uas kuv tau tsim rau Cov Lus Qhia no, koj tuaj yeem rub tawm nws ntawm no thiab qhib nws hauv Visuino:
Pom zoo:
Teeb Tsob Ntoo Bonsai Tsob Ntoo: 3 Kauj Ruam
Teeb Tsob Ntoo Bonsai Tsob Ntoo: Lwm tsob ntoo xaim! Zoo, Kuv yuav tsis nkim koj lub sijhawm yuav ua li cas kom tsob ntoo, raws li muaj ntau qhov qhia tau zoo heev nyob rau ntawd. Kuv tau txais kev tshoov siab los ntawm Txiaj Ntsig Zoo Tshaj rau kev tsim tsob ntoo, thiab suziechuzie rau kuv lub tswv yim txuas xov. Hauv qhov no
Lub Vev Xaib-Tsob Ntoo Christmas Tsob Ntoo (Ib Tus Neeg Tuaj Yeem Tau Nws): 19 Cov Kauj Ruam (nrog Duab)
Lub Vev Xaib-Tsob Ntoo Christmas Tsob Ntoo (Ib Tus Neeg Tuaj Yeem Tau Nws): Koj xav paub lub vev xaib tswj hwm tsob ntoo Christmas zoo li cas? Nov yog daim vis dis aus qhia tawm kuv qhov project ntawm kuv tsob ntoo Christmas. Tam sim no cov kwj tawm tau xaus los txog tam sim no, tab sis kuv tau ua yeeb yaj kiab, ntes dab tsi tau tshwm sim: Xyoo no, nyob nruab nrab ntawm Lub Ob Hlis
Ntse Sab Hauv Tsev Saib Xyuas - Paub Thaum Koj Tsob Ntoo Xav Tau Dej: 8 Kauj Ruam (nrog Duab)
Ntse Sab Hauv Tsev Saib Xyuas - Paub Thaum Koj Cov Tsob Ntoo Xav Tau Dej: Ob peb lub hlis dhau los, Kuv tau ua cov av noo tshuaj xyuas uas yog lub roj teeb uas siv tau thiab tuaj yeem daig rau hauv cov av hauv koj lub lauj kaub cog hauv tsev kom muab qee cov ntaub ntawv muaj txiaj ntsig zoo rau cov av qib dej noo thiab nyem LEDs los qhia koj thaum yuav tsaws
WiFi Tsis Siv Neeg Tsob Nroj Tsiaj Pub Nrog Cov Chaw Tso Dej - Sab Hauv Tsev/Sab Nraud Kev Cog Qoob Loo - Cov Nroj Tsuag Dej Tuaj Nrog Kev Saib Xyuas Chaw Nyob: 21 Kauj Ruam
WiFi Tsis Siv Neeg Cog Tsob Nroj Tsiaj Nrog Cov Chaw Tso Dej - Sab Hauv Tsev/Sab Nraud Kev Cog Qoob Loo - Cov Nroj Tsuag Dej Tuaj Nrog Kev Saib Xyuas Tej Zaum: Hauv qhov kev qhia no peb yuav nthuav qhia yuav ua li cas teeb tsa kev cai nyob sab hauv tsev/sab nraum zoov cog cog cog uas tuaj yeem tso dej nroj tsuag thiab tuaj yeem saib xyuas nyob deb ntawm kev siv Adosia platform
Yuav Ua Li Cas Siv Qhov Tsob Ntoo Tsob Ntoo Los Ua Ke Los Ua Ib Tug Ntoo Zoo Nkauj thiab Muaj Zog Ntoo: 10 Kauj Ruam
Yuav Siv Li Cas Ib Ntus Ntoo Los Ua Ke Los Ua Ib Tug Ntoo Zoo Nkauj thiab Muaj Zog: Lub npe ntawm caj npab neeg hlau yog WoodenArm. Nws zoo nkaus li ntxim hlub heev! Yog tias koj xav paub ntau ntxiv txog WoodenArm, thov xa mus rau www.lewansoul.com Tam sim no peb tuaj yeem qhia txog WoodenArm, cia peb txav mus