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 & 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 Siv Li Cas & Siv GY -30 BH1750 Lub Teeb Pom Kev Zoo (GY30 / GY302) - Yooj Yim - Arduino Project !: 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 kawm paub sai thiab yooj yim siv GY-30 BH1750 lub teeb pom kev zoo nrog Arduino.
Saib daim vis dis aus.
Kauj ruam 1: Yam Koj Yuav Tsum Tau
- Arduino UNO (lossis lwm yam Arduino)
- GY-30 BH1750 lub teeb pom kev zoo
- OLED Zaub
- Cov qhob cij
- Jumper xov hlau
- Visuino program: Rub tawm Visuino
Kauj ruam 2: Circuit Court
- Txuas Arduino tus pin zoo [5V] rau breadboard tus pin zoo [Kab liab]
- Txuas Arduino tus lej tsis zoo [GND] mus rau lub khob cij tsis zoo tus pin [BlueLine]
- Txuas Arduino tus pin [SCL] mus rau daim phiaj
- Txuas Arduino tus pin [SDA] mus rau daim phiaj
- Txuas OLED Display pin [SCL] mus rau lub khob cij <tib txoj kab uas Arduino tus pin [SCL] txuas nrog
- Txuas OLED Display pin [SDA] rau breadboard <tib txoj kab uas Arduino tus pin [SDA] txuas nrog
- Txuas OLED Display pin [VCC] rau breadboard tus pin zoo [Kab liab]
- Txuas OLED Display pin [GND] rau breadboard tsis zoo tus pin [BlueLine]
- Txuas Lub Teeb Sensor tus pin [SCL] rau lub khob cij <tib txoj kab uas Arduino tus pin [SCL] txuas nrog
- Txuas Lub Teeb Sensor tus pin [SDA] rau lub khob cij <tib txoj kab uas Arduino tus pin [SDA] txuas nrog
- Txuas Lub Teeb Sensor tus pin [VCC] mus rau lub rooj noj mov zoo tus pin [Kab Kab Liab]
- Txuas Lub Teeb Sensor tus pin [GND] mus rau lub khob cij tsis zoo tus pin [BlueLine]
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 Ntxiv & Teeb Khoom
- Ntxiv "ROHM BH1750 Ambient Light Sensor (I2C)" tivthaiv
- Ntxiv "SSD1306/SH1106 OLED Display (I2C)" tivthaiv
- Ob npaug nias rau "DisplayOLED1" tivthaiv thiab hauv "Elements" qhov rai luag "Text Field" mus rau sab laug
- Ntawm sab laug ces xaiv "TextField1" thiab hauv cov khoom qhov rai teeb tsa qhov loj: 3
Kauj Ruam 5: Hauv Visuino Connect Components
- Txuas "LightSensor1" tiv thaiv tus pin [Tswj] rau Arduino I2C tus pin [Hauv]
- Txuas "LightSensor1" tiv thaiv tus pin [Tawm] rau "DisplayOLED1> TextField1" tiv thaiv tus pin [Hauv]
- Txuas "DisplayOLED1" tiv thaiv tus pin [Tawm] rau Arduino I2C tus pin [Hauv]
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, Cov Zaub yuav pib qhia pom lub teeb pom kev zoo uas nws tau txais los ntawm Lub Teeb Pom Kev.
Nco tseg: Yog tias koj tsis muaj OLED Zaub koj tsuas tuaj yeem xaim "ListSensor1" tus pin [Tawm] rau Arduino Serial [0] tus pin [Hauv] thiab saib xyuas lub teeb pom kev hauv Visuino Serial Tab (Duab 1)
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 nws ntawm no thiab qhib nws hauv Visuino:
Pom zoo:
LoRa-Raws Li Pom Kev Pom Kev Pom Zoo rau Kev Ua Liaj Ua Teb Iot - Tsim Tsim Daim Ntawv Thov Ua Ntej Siv Firebase & Angular: 10 Kauj Ruam
LoRa-Raws Li Pom Kev Pom Kev Pom Zoo rau Kev Ua Liaj Ua Teb Iot | Tsim Tsim Daim Ntawv Thov Ua Ntej Siv Firebase & Angular: Hauv tshooj yav dhau los peb tham txog yuav ua li cas cov ntsuas hluav taws xob ua haujlwm nrog loRa module txhawm rau nthuav tawm firebase Lub Sijhawm Teem Sijhawm, thiab peb tau pom daim duab siab heev tias peb txoj haujlwm tag nrho ua haujlwm li cas. Hauv tshooj lus no peb yuav tham txog yuav ua li cas peb tuaj yeem
Lub Teeb Pom Kev Pom Kev Pom Zoo/ Handheld Photograpy Teeb: 7 Cov Kauj Ruam (nrog Duab)
Intimate Video Light/ Handheld Photograpy Light: Kuv paub koj xav li cas. Los ntawm "intimate," Kuv txhais tau tias teeb pom kev nyob ze rau qhov xwm txheej teeb pom kev nyuaj-tsis tas yuav rau "xwm txheej zoo." (Txawm li cas los xij, nws tuaj yeem siv rau qhov ntawd ib yam nkaus …) Raws li New York City tus kws yees duab-lossis
Yuav ua li cas kom pom lub teeb pom kev zoo los yog USB nrog USB !!: 5 Kauj Ruam
Yuav Ua Li Cas Teeb LED lossis Teeb Pom Kev Nrog USB !!: Cov lus qhia no yuav qhia koj li cas kom pom lub teeb pom kev zoo los ntawm USB !! SORRY: Tam sim no kuv tsis muaj lub koob yees duab yog li kuv tsis tuaj yeem thauj cov duab! muaj lub tshuab luam ntawv yog li kuv yuav ua qhov zoo tshaj plaws Kuv tuaj yeem kwv yees koj tuaj yeem siv qhov no thaum nws tsaus ntuj thiab
Motion Controlled Outlet - Los ntawm Lub Teeb Pom Kev Pom Kev Pom Teeb: 6 Cov Kauj Ruam
Motion Controlled Outlet - Los ntawm Lub Teeb Pom Kev Pom Kev: Xav txog tias koj yog ib tus neeg dag-lossis-coj mus rau lub tsev txaus ntshai tshaj plaws ntawm qhov thaiv. Tom qab dhau mus tag nrho cov dab, dab thiab lub qhov ntxa koj thaum kawg tau mus rau txoj kev kawg. Koj tuaj yeem pom cov khoom qab zib hauv lub tais ua ntej ntawm koj! Tab sis tam sim ntawd gho
Teeb pom kev pom lub teeb pom kev zoo (LED) Nrog C Stamp Microcontroller: 5 Kauj Ruam
Teeb pom kev rau lub teeb pom kev zoo (LED) Nrog C Stamp Microcontroller: Nov yog Thawj Qhov Kev Tsim Qauv thiab Kev Ua Haujlwm los ntawm CS310XXX (μ C 101) Cov Ntawv Qhia Qhia Los ntawm A-WIT Technologies, Inc. Hauv qhov kev qhia no, peb yuav pom Lub Teeb Emitting Diode (LED) nrog C Stamp Microcontroller. Cov C & n