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 & Txuas Cheeb Tsam
- Kauj Ruam 5: Tsim, Ua Ke, thiab Tshaj Tawm Arduino Code
- Kauj ruam 6: Ua si
Video: Tswj LED Blinking Pulses Nrog Potentiometer: 6 Cov 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 tswj hwm LED Blinking pulses nrog lub zog ntsuas.
Saib daim vis dis aus.
Kauj ruam 1: Yam Koj Yuav Tsum Tau
- Arduino UNO (lossis lwm yam Arduino)
- LEDPotentiometer
- Jumper xov hlau
- Visuino program: Rub tawm Visuino
Kauj ruam 2: Circuit Court
- Txuas tus pin potentiometer [DTB] rau arduino analog pin [A0]
- Txuas tus pin potentiometer [VCC] mus rau tus pin arduino [5V]
- Txuas tus pin potentiometer [GND] mus rau tus pin arduino [GND]
- Txuas LED tus pin zoo rau Arduino tus pin [7]
- Txuas LED tus pin zoo rau Arduino tus pin [GND]
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 & Txuas Cheeb Tsam
- Ntxiv "Pulse Generator" tivthaiv Hauv lub qhov rai khoom xaiv "Zaus" thiab nyem rau ntawm tus lej pin thiab xaiv "Float SinkPin"
- Ntxiv "Multiply Analog By Value" tivthaiv thiab hauv cov khoom qhov rai teeb tsa "Tus nqi" rau 10
- Txuas Arduino AnalogIn [0] rau "MultiplyByValue1" tus pin [Hauv]
- Txuas "MultiplyByValue1" tus pin [Tawm] mus rau "PulseGenerator1" tus pin [Zaus]
- Txuas "PulseGenerator1" tus pin [Tawm] rau Arduino tus lej digital [7]
Kauj Ruam 5: 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 6: Ua si
Yog tias koj ua lub zog Arduino UNO module, thiab hloov pauv lub zog potentiometer txoj haujlwm LED yuav hloov nws qhov kev ntsais muag.
Nrog koj 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:
Tswj LED Blinking Nrog Potentiometer thiab OLED Zaub: 6 Cov Kauj Ruam
Tswj LED Blinking Nrog Potentiometer thiab OLED Zaub: Hauv qhov kev qhia no peb yuav kawm paub yuav ua li cas thiaj tswj tau LED Blinking nrog lub hwj chim thiab tso saib tus nqi mem tes zaus ntawm OLED zaub
Tswj LED Brightness Nrog Potentiometer thiab OLED Zaub: 6 Cov Kauj Ruam
Tswj LED Brightness Nrog Potentiometer thiab OLED Zaub: Hauv qhov kev qhia no peb yuav kawm paub yuav ua li cas thiaj tswj tau qhov ci LED nrog lub hwj chim thiab qhia tus nqi ntawm OLED Zaub
ESP8266 RGB LED Sawb WIFI Tswj - NODEMCU Raws li IR Chaw Taws Teeb rau Led Sawb Tswj Hauv Wifi - RGB LED Sawb Smartphone Tswj: 4 Cov Kauj Ruam
ESP8266 RGB LED Sawb WIFI Tswj | NODEMCU Raws li IR Chaw Taws Teeb rau Led Sawb Tswj Hauv Wifi | RGB LED Sawb Smartphone Tswj: Nyob zoo cov neeg hauv qhov kev qhia no peb yuav kawm paub siv nodemcu lossis esp8266 li IR chaw taws teeb los tswj RGB LED sawb thiab Nodemcu yuav raug tswj los ntawm smartphone dhau wifi. Yog li hauv paus koj tuaj yeem tswj RGB LED Sawb nrog koj lub xov tooj
Tswj LED los ntawm Potentiometer Nrog Arduino Uno R3: 6 Cov Kauj Ruam
Tswj LED los ntawm Potentiometer Nrog Arduino Uno R3: Yav dhau los, peb tau siv Serial Monitor los xa cov ntaub ntawv mus rau pawg tswj hwm, uas yuav ua rau pom kev paub txog software tshiab. Hauv zaj lus qhia no, cia saib yuav ua li cas hloov lub teeb ci ntawm LED los ntawm lub zog ntsuas, thiab tau txais cov ntaub ntawv ntawm lub zog
Tswj Cov Khoom Siv Los Ntawm Arduino Nrog Cov Neeg Siv Khoom Hloov: 8 Cov Kauj Ruam (nrog Duab)
Kev Tswj Cov Khoom Siv Los Ntawm Arduino Nrog Kev Siv Hluav Taws Xob: Lub Arduino tuaj yeem siv los tswj cov cuab yeej los ntawm kev siv cov khoom siv yooj yim hloov pauv hloov chaw