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 Siv APDS9960 Gesture Sensor Nrog Arduino: 7 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:25
Hauv qhov kev qhia no peb yuav kawm Yuav Ua Li Cas Siv APDS9960 Gesture Sensor nrog Arduino los tso saib cov lus qhia ntawm OLED Display siv Visuino software.
Saib cov yees duab!
Kauj ruam 1: Yam Koj Yuav Tsum Tau
- Arduino UNO (lossis lwm yam Arduino)
- APDS9960 Sensor
- Jumper xov hlau
- Cov qhob cij
- OLED Zaub
- Visuino program: Rub tawm Visuino
Kauj ruam 2: Circuit Court
- Txuas Sensor Pin [GND] rau Arduino board pin [GND]
- Txuas Sensor Pin [Vin] rau Arduino board tus pin [3.3V]
- Txuas Sensor Pin [SDA] mus rau Arduino board pin [SDA]
- Txuas Sensor Pin [SCL] rau Arduino board pin [SCL]
- Txuas OLED Display Pin [GND] rau Arduino board pin [GND]
- Txuas OLED Display Pin [VCC] mus rau Arduino board pin [+5V]
- Txuas OLED Display Pin [SCL] rau Arduino board pin [SCL]
- Txuas OLED Display Pin [SDA] rau Arduino board pin [SDA]
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 "Gesture Color Proximity APDS9960 I2C" tivthaiv
- Ntxiv "Cov Ntawv Tus Nqi" tivthaiv ob npaug nyem rau ntawm "TextValue1" tivthaiv thiab hauv Elements window rub 4x "Teeb Tus Nqi" mus rau sab laug Xaiv "SetValue1" ntawm sab laug thiab hauv lub qhov rai khoom teeb tsa tus nqi rau UPSelect "SetValue2" ntawm sab laug sab thiab hauv cov khoom vaj khoom tsev teeb tsa tus nqi rau DOWNSelect "SetValue3" ntawm sab laug thiab hauv cov khoom qhov rai teeb tsa tus nqi rau LEFTS Xaiv "SetValue4" ntawm sab laug thiab hauv cov khoom qhov rai teeb tus nqi rau RIGHT Kaw cov ntsiab lus qhov rai
Ntxiv "SSD1306/SH1106 OLED Display (I2C)" tivthaiv ob npaug nias rau ntawm "DisplayOLED1" tivthaiv thiab hauv Elements window drag "Text Field" mus rau sab laug Ntawm sab laug xaiv TextField1 thiab hauv cov khoom qhov rai teeb tsa me me rau 3 Kaw lub ntsiab qhov rai
Kauj Ruam 5: Hauv Visuino Connect Components
- Txuas "GestureColorProximity1" tus pin "Up" rau "TextValue1"> "SetValue1" tus pin [Hauv]
- Txuas "GestureColorProximity1" tus pin "Down" rau "TextValue1"> "SetValue2" tus pin [Hauv]
- Txuas "GestureColorProximity1" tus pin "Sab laug" rau "TextValue1"> "SetValue3" tus pin [Hauv]
- Txuas "GestureColorProximity1" tus pin "Txoj Cai" rau "TextValue1"> "SetValue4" tus pin [Hauv]
- Txuas "GestureColorProximity1" I2C tus pin "Tawm" rau Arduino Board tus pin I2C [Hauv]
- Txuas "GestureColorProximity1" I2C tus pin "Tawm" rau "DisplayOLED1"> "TextField1" tus pin [Hauv]
- Txuas "DisplayOLED1" I2C tus pin "Tawm" rau Arduino Board tus pin I2C [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 txav tes hla lub ntsej muag lub ntsej muag lub ntsej muag OLED Zaub yuav tsum qhia kev taw qhia ntawm tes tes.
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 Cov Lus Qhia no, koj tuaj yeem rub nws thiab qhib nws hauv Visuino:
Pom zoo:
YUAV UA LI CAS YUAV UA LI CAS YUAV TSUM MUAJ KEV LAG LUAM CIRCUIT Siv D882 Tus Neeg Soj Ntsuam: 3 Kauj Ruam
YUAV UA LI CAS YUAV UA LI CAS YUAV TSUM TAU LWM YAM CIRCUIT Siv D882 Tus Kws Tshaj Lij: HELLO phooj ywg, Zoo siab txais tos rau kuv CHANNEL, Hnub no kuv yuav qhia koj li cas kom ua tau CIRCUIT ntawm kev siv hluav taws xob tsis siv neeg lub teeb pom kev siv D882
Yuav Ua Li Cas Siv Gesture APDS9960 Nrog SkiiiD: 9 Kauj Ruam
Yuav Ua Li Cas Siv Gesture APDS9960 Nrog SkiiiD: Kev qhia los txhim kho Kev Sib Tsoo XD206 nrog skiiiD
YUAV UA LI CAS YUAV UA LI CAS YUAV TSUM ROBOT COOB SCARECROW: 16 Cov Kauj Ruam (nrog Duab)
YUAV UA LI CAS YUAV TSUM NYOB ROBOT COW SCARECROW: Kuv nyuam qhuav tsim Moo-Bot, tus neeg hlau nyuj scarecrow dhia hla lub hli, rau kev sib tw hauv zej zog scarecrow.Kuv kev tshoov siab yog los ntawm kuv tus tub hu nkauj "hey diddle diddle, miv thiab fiddle. .. " Txoj haujlwm zoo heev los ua haujlwm nrog kuv
Yuav Siv Mac Terminal Li Cas, thiab Yuav Siv Li Cas Tseem Ceeb: 4 Kauj Ruam
Yuav Siv Mac Terminal Li Cas, thiab Yuav Siv Li Cas Cov Haujlwm Tseem Ceeb: Peb yuav qhia koj li cas qhib MAC Terminal. Peb kuj tseem yuav qhia koj ob peb yam hauv Terminal, xws li ifconfig, hloov cov npe, nkag mus rau cov ntaub ntawv, thiab arp. Ifconfig yuav tso cai rau koj los tshuaj xyuas koj tus IP chaw nyob, thiab koj li MAC ad
NonBlocking APDS9960 Gesture Sensor Siv: 5 Kauj Ruam
NonBlocking APDS9960 Gesture Sensor Implementation: PreambleThis Cov lus qhia qhia yuav ua li cas thiaj tsim tau qhov kev txwv tsis pub siv ntawm APDS9960 Gesture Sensor siv SparkFun_APDS-9960_Sensor_Arduino_Library.Introduction Yog li koj puas xav rov nug koj tus kheej tias tsis thaiv dab tsi? Los yog txawm thaiv