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: 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 tus lej lej yooj yim siv LED Zaub TM1637 thiab Visuino li cas.
Saib cov yees duab.
Kauj ruam 1: Yam Koj Yuav Tsum Tau
- Arduino UNO (lossis lwm yam Arduino)
- Jumper xov hlau
- 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]
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 "Pulse generator" 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 "PulseGenerator1" 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, 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, cov zaub LED yuav tsum pib suav tus lej, 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:
Arduino Zaub Sijhawm ntawm TM1637 LED Zaub Siv RTC DS1307: 8 Cov Kauj Ruam
Arduino Display Time on TM1637 LED Zaub Siv RTC DS1307: Hauv qhov kev qhia no peb yuav kawm paub yuav siv sijhawm li cas siv RTC DS1307 module thiab LED Zaub TM1637 thiab Visuino.Watch the video
Arduino Counter Siv TM1637 LED Zaub & Kev Tiv Thaiv Kev Tiv Thaiv: 7 Cov Kauj Ruam
Arduino Counter Siv TM1637 LED Zaub & Kev Tiv Thaiv Kev Tiv Thaiv: 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 vis dis aus
Loj hlob Zaub Zaub Ntxiv Hauv Qhov Chaw Tsawg Los Yog Loj hlob Zaub Zaub Hauv Chaw, (Ntau lossis Tsawg): 10 Kauj Ruam
Loj Hlob Ntau Cov Zaub Zaub Hauv Tsawg Chaw lossis … Loj hlob Zaub Zaub Hauv Chaw, (Ntau lossis Tsawg).: Qhov no yog kev tshaj lij tshaj lij rau Kev Loj Hlob Tshaj Ntiaj Teb, Kev Tsim Khoom Sib Tw, xa los ntawm Cov Lus Qhia. Kuv tsis tuaj yeem muaj kev zoo siab dua los tsim rau thaj chaw cog qoob loo thiab tshaj tawm kuv thawj Cov Lus Qhia. Yuav pib, kev sib tw nug peb kom
I2C / IIC LCD Zaub - Siv SPI LCD rau I2C LCD Zaub Siv SPI rau IIC Module Nrog Arduino: 5 Kauj Ruam
I2C / IIC LCD Zaub | Siv SPI LCD rau I2C LCD Zaub Siv SPI rau IIC Module Nrog Arduino: Nyob zoo cov phooj ywg txij li ib txwm muaj SPI LCD 1602 muaj xov tooj ntau dhau los txuas yog li nws nyuaj rau cuam tshuam nrog arduino tab sis muaj ib qho qauv muaj nyob hauv khw uas tuaj yeem hloov SPI zaub rau hauv IIC zaub yog li ntawd koj yuav tsum txuas tsuas yog 4 xov hlau
Zaub Kub ntawm P10 LED Zaub Module Siv Arduino: 3 Cov Kauj Ruam (nrog Duab)
Zaub Kub ntawm P10 LED Zaub Module Siv Arduino: Hauv qhov kev qhia yav dhau los tau hais qhia yuav ua li cas tso saib cov ntawv ntawm Dot Matrix LED Zaub P10 Module siv Arduino thiab DMD Txuas, uas koj tuaj yeem tshawb xyuas ntawm no. Hauv qhov kev qhia no peb yuav muab cov phiaj xwm yooj yim qhia los ntawm kev siv P10 tus qauv raws li cov khoom nruab nrab