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 Ntxiv Cheebtsam
- Kauj Ruam 5: Hauv Visuino: Txuas Cov Khoom Siv
- Kauj Ruam 6: Tsim, Ua Ke, thiab Tshaj Tawm Arduino Code
- Kauj ruam 7: Ua si
Video: Visuino - Kev Tiv Thaiv Ib puag ncig Nrog Laser Ntes Siv Arduino: 7 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:26
Hauv qhov kev qhia no peb yuav siv daim duab thev naus laus zis thev naus laus zis, teeb duab laser, LED, Buzzer, Arduino Uno thiab Visuino txhawm rau txheeb xyuas thaum lub nqaj los ntawm lub laser tau cuam tshuam. Saib daim vis dis aus.
Nco tseg: Photoresistors yog ib ntawm cov neeg nyiam tshaj plaws teeb pom kev zoo qib rau Arduino. Lawv yooj yim siv, thiab tseem, muaj qee qhov xav tsis thoob, tshwj xeeb tshaj yog thaum peb sim siv cov qauv npaj tau tsim los ntawm lwm tus.
CEEB TOOM !!!
Tsis txhob taw tes LASER rau koj lub qhov muag lossis lwm tus li nws tuaj yeem ua rau muaj kev phom sij heev!
Kauj ruam 1: Yam Koj Yuav Tsum Tau
- Laser module
- yees duab resistor module
- Arduino UAS
- Buzzer
- Jumper xov hlau
- YELLOW LED (lossis lwm yam xim)
- Visuino program: Rub tawm Visuino
Kauj ruam 2: Circuit Court
Txuas GND los ntawm Arduino mus rau tus pin breadboard (-)
Txuas 5V los ntawm Arduino mus rau tus pin breadboard (+)
Txuas Buzzer tus pin (+) rau Arduino tus lej digital (11)
Txuas Buzzer tus pin (-) rau tus pin breadboard (-)
Txuas tus pin LED (-) rau tus pin breadboard (-)
Txuas LED tus pin (+) rau Arduino tus lej digital (13)
Txuas Laser module tus pin (-) rau tus pin breadboard (-)
Txuas Laser tus lej pin (+) rau tus pin breadboard (+) NCO TSEG: hauv kuv cov ntaub ntawv nws tau cim nrog "S" (nyob ntawm hom qauv)
Txuas tus yees duab resistor module tus pin (-) rau breadboard tus pin (-)
Txuas tus yees duab resistor module tus pin (+) mus rau lub khob cij pin (+)
Txuas tus yees duab resistor module tus pin (S) rau Arduino analog pin (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 Cov Lus Qhia no teeb tsa Arduino IDE rau program ESP 8266!
Visuino: https://www.visuino.eu tseem yuav tsum tau teeb tsa.
Pib Visuino raws li qhia hauv daim duab thawj
Nyem rau ntawm "Cov cuab yeej" khawm ntawm Arduino tivthaiv (Daim Duab 1) hauv Visuino Thaum cov lus sib tham tshwm, xaiv "Arduino UNO" raws li qhia hauv daim duab 2
Kauj Ruam 4: Hauv Visuino Ntxiv Cheebtsam
Ntxiv SubtractFromValue tivthaiv teeb tsa tus nqi rau 1
Ntxiv CompareAnalogValue tivthaiv teeb tsa tus nqi rau 0.9 (koj tuaj yeem hloov tus lej no kom pom "qhov chaw qab zib")
Ntxiv Buzzer tivthaiv
Kauj Ruam 5: Hauv Visuino: Txuas Cov Khoom Siv
- Txuas Arduino Analog tus pin [0] rau SubtractFromValue1 tus pin [hauv]
- Txuas SubtractFromValue1 tus pin [tawm] rau CompareAnalogValue1 tus pin [hauv]
- Txuas SubtractFromValue1 tus pin [tawm] rau CompareAnalogValue1 tus pin [hauv]
- Txuas SubtractFromValue1 tus pin [tawm] rau Arduino tus lej txuas [hauv]
- Sib pivAnalogValue1 tus pin [tawm] rau Buzzer1 tus pin [hauv]
- Sib pivAnalogValue1 tus pin [tawm] rau Arduino tus lej digital [13]
- Buzzer1 tus pin [tawm] rau Arduino tus lej digital [11]
Kauj Ruam 6: Tsim, Ua Ke, thiab Tshaj Tawm Arduino Code
Hauv Visuino, Nias F9 lossis nyem rau ntawm lub pob uas qhia ntawm daim duab 1 los tsim Arduino code, thiab qhib Arduino IDE
Hauv Arduino IDE, nyem rau ntawm Upload khawm, txhawm rau sau thiab xa cov cai (Daim duab 2)
Kauj ruam 7: Ua si
Yog tias koj ua lub zog Arduino Uno module, lub suab nrov yuav pib nrov nrov, tsom mus rau lub teeb nqaj laser rau yees duab tiv thaiv thiab nws yuav tsum tsis txhob nrov nrov. Tam sim no nws tau npaj tiav, thaum twg lub nqaj yuav cuam tshuam lub suab nrov yuav pib nrov nrov (tus neeg nkag nkag tau pom).
Nrog koj zoo siab! Koj tau ua tiav koj txoj haujlwm nrog Visuino. Kuj txuas nrog yog Visuino qhov haujlwm, uas kuv tau tsim rau qhov Qhia Qhia no.
Koj tuaj yeem rub tawm thiab qhib nws hauv Visuino:
Pom zoo:
Roj Teeb Saver, Tiv Thaiv Tiv Thaiv Txiav Tawm Nrog ATtiny85 rau Lead Acid Tsheb lossis Lipo Roj Teeb: 6 Cov Kauj Ruam
Roj Teeb Txuag, Tiv Thaiv Kev Tiv Thaiv Txiav Tawm Nrog ATtiny85 rau Lead Acid Car lossis Lipo Battery: Raws li kuv xav tau ntau lub tiv thaiv roj teeb rau kuv lub tsheb thiab lub hnub ci tshuab kuv tau pom cov lag luam ntawm $ 49 kim heev. Lawv kuj siv lub zog ntau dhau nrog 6 mA. Kuv nrhiav tsis tau cov lus qhia ntawm qhov ncauj. Yog li kuv tau ua kuv tus kheej uas thim 2mA.How nws
Tiv Thaiv Koj Lub Tswv Yim, Tiv Thaiv Koj Txoj Haujlwm: 8 Kauj Ruam
Tiv Thaiv Koj Lub Tswv Yim, Tiv Thaiv Koj Txoj Haujlwm: Kuv poob cov ntaub ntawv qee hnub dhau los los ntawm kev sib tsoo hauv PC. Ib hnub ua haujlwm poob. :/ Kuv khaws kuv cov ntaub ntawv hauv huab kom tiv thaiv lub hard disk puas. Kuv siv cov software hloov pauv yog li kuv tuaj yeem rov kho dua kuv cov haujlwm. Kuv ua thaub qab txhua hnub, tab sis lub sijhawm no kuv
YUAV TSUM HNOV TSHUAJ TIV THAIV TSHUAJ TIV THAIV TSHUAJ TIV THAIV LAMP: 8 Kauj Ruam
YUAV UA LI CAS YUAV TSHUAJ TSEEB TSHUAB PLASTICS RAU DESKTOP LAMP: hauv cov lus qhia no kuv yuav qhia koj yuav ua li cas thiaj ua rau koj tus kheej lub teeb pom kev zoo siv cov khoob yas khoob khoob
Tus Saib Xyuas Qhov Muag: Suab Tiv Thaiv Qhov Muag Tiv Thaiv: 9 Kauj Ruam (nrog Duab)
Tus Saib Xyuas Qhov Muag: Suab Ua Rau Tiv Thaiv Qhov Muag: Tus Saib Xyuas Qhov Muag yog Arduino siv zog, High-Decibel txuas ntxiv suab ua rau tiv thaiv qhov muag. Nws kuaj pom cov cuab yeej hnyav thiab txo qis qhov muag tiv thaiv qhov muag thaum cov cuab yeej siv. Cov lus piav qhia Hauv thawj qib, kuv yuav piav qhia Inspirati
Micro: ntsis Ntes Ntes Ntes Ntes: 3 Kauj Ruam
Micro: ntsis Ntes Ntes Ntes Ntes: Qhov no tsuas yog ib qho piv txwv luv luv rau lub suab nrov ntsuas ntsuas raws qhov micro: me ntsis thiab Pimoroni enviro: ntsis.Qhov microphone ntawm enviro: ntsis pom lub suab qib, thiab los ntawm qhov txiaj ntsig txiaj ntsig txoj haujlwm ntawm 5x5 LED matrix tau suav thiab