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 Cheebtsam
- Kauj Ruam 5: Hauv Visuino Teeb thiab Txuas Txuas
- Kauj Ruam 6: Tsim, Ua Ke, thiab Tshaj Tawm Arduino Code
- Kauj ruam 7: Ua si
Video: Arduino Counter Siv TM1637 LED Zaub & Kev Tiv Thaiv Kev Tiv Thaiv: 7 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 yuav ua li cas tus lej lej yooj yim siv LED Zaub TM1637 thiab teeb meem zam kev ntsuas thiab Visuino.
Saib cov yees duab.
Kauj ruam 1: Yam Koj Yuav Tsum Tau
- Arduino UNO (lossis lwm yam Arduino)
- Jumper xov hlau
- Obstacle avoidance sensor
- LED Zaub TM1637
- Visuino program: Rub tawm Visuino
Kauj ruam 2: Circuit Court
- Txuas LED Display pin [CLK] rau Arduino tus pin [10]
- Txuas LED Display pin [DI0] rau Arduino tus pin [9]
- Txuas LED Zaub pin [GND] rau Arduino tus pin [GND]
- Txuas LED Display pin [VCC] rau Arduino tus pin [5V]
- Txuas kev tiv thaiv kev tiv thaiv kev tiv thaiv tus pin [VCC] rau Arduino tus pin [5V]
- Txuas qhov teeb meem zam kev ntsuas tus pin [GND] rau Arduino tus pin [GND]
- Txuas qhov teeb meem zam kev ntsuas tus pin [D0] rau Arduino tus lej digital [7]
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 Cheebtsam
- Ntxiv "TM1637 7 Segment Display 4 Digits Module + 2 Vertical Points (CATALEX)" tivthaiv
- Ntxiv "Counter" tivthaiv
- Ntxiv "Infrared (IR) Obstacle Zam Zeem Sensor" tivthaiv
Kauj Ruam 5: Hauv Visuino Teeb thiab Txuas Txuas
- Xaiv "Counter1" tivthaiv thiab hauv cov khoom qhov rai teeb tsa "Max> Tus nqi" rau 9999
- Xaiv "Counter1" tivthaiv thiab hauv cov khoom qhov rai teeb tsa "Min> Tus nqi" rau 0
- Ob npaug nyem rau ntawm "Display1" tivthaiv thiab hauv "Tus lej" qhov rai luag "Cov Zaub Zoo Tshaj 7 Ntu" mus rau sab laug
- Ntawm sab laug ntawm "Tus lej" qhov rai xaiv "Zaub Zaub 7 Segments1" thiab hauv cov khoom qhov rai teeb tsa "Suav Tus lej" rau 4
- Kaw qhov "Digits" window
- Txuas Arduino tus lej digital [7] rau "ObstacleAvoidance1" tus pin [Hauv]
Txuas "ObstacleAvoidance1" tus pin [Tawm] rau "Counter1" tus pin [Hauv]
- Txuas "Counter1" tus pin [Tawm] mus rau "Display1"> "Zaub Zauv 7 Segments1" tus pin [Hauv]
- Txuas "Display1" tus pin [Clock] rau Arduino board digital pin [10]
- Txuas "Display1" tus pin [Cov ntaub ntawv] rau Arduino board digital pin [9]
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 tus qauv, cov zaub LED yuav tsum pib suav tus lej thaum qhov kev tiv thaiv kev tiv thaiv pom pom qhov teeb meem, thaum nws mus txog 9999 nws yuav rov pib dua 0 thiab suav dua.
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:
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
8x8 Led Matrix Moos & Ceeb Toom Tiv Thaiv Kev Tiv Thaiv: 4 Cov Kauj Ruam (nrog Duab)
8x8 Led Matrix Clock & Anti-Intrusion Warning: Hauv phau ntawv qhia no peb yuav pom yuav ua li cas thiaj tsim tau 8x8 Led Matrix Clock qhib los ntawm kev tshawb nrhiav lub suab. kuaj pom tus lej xov tooj !!! Peb yuav ua ob qhov sib txawv
Kev Tiv Thaiv Kev Tiv Thaiv Tsheb: 5 Kauj Ruam
Kev Tiv Thaiv Kev Tiv Thaiv Tsheb: Lub tsheb lub kaum ntse ntse yog lub tsheb kom tsis txhob muaj lub ntsej muag ntse, lub cev ntawm lub tsheb siv cov txheej txheem txhuas, kev tswj hwm tseem ceeb siv Arduino/Nano microcontroller, pawg thawj coj saib xyuas lub cev tsim lub plug-in tsim (nws yooj yim dua txuas sab nraud sensor ntawm microcontroller
Yuav Ua Li Cas Thiaj Li Tiv Thaiv Kev Tiv Thaiv luv: 10 Kauj Ruam (nrog Duab)
Yuav Ua Li Cas Thiaj Li Tiv Thaiv Kev Tiv Thaiv luv luv: Nyob zoo phooj ywg, Hnub no kuv yuav ua ib qho kev tiv thaiv luv Circuit Court.Qhov Circuit no peb yuav siv 12V Relay.Koj yuav ua li cas Circuit no yuav ua haujlwm - thaum luv Circuit Court yuav tshwm sim ntawm sab load ces Circuit Court yuav raug txiav tawm
Lub mloog pob ntseg Plug Kink & Tiv Thaiv Kev Tiv Thaiv: 5 Kauj Ruam
Lub mloog pob ntseg Plug Kink & Kev Tiv Thaiv Kev Tiv Thaiv: Kuv tsav ntau, thiab mloog ntau phau ntawv hauv hom mp3. Kuv nkees nkees ntawm kev yuav lub mloog pob ntseg tshiab txhua lub hlis vim tias lub qaum ntawm lub ntsaws kawg yuav kink thiab tsoo cov xov hlau sab hauv. Kuv tuaj nrog cov cuab yeej no txhawm rau txwv qhov kev txav mus los ntawm