Cov txheej txheem:
- Kauj ruam 1: Tau txais cov khoom no
- Kauj ruam 2: Teem HARDWARE
- Kauj ruam 3: CODING
- Kauj ruam 4: Koj puas tau ua tiav
Video: Ntau 7 Segment Display Counter Nrog CloudX Microcontroller: 4 Cov Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:29
Txoj Haujlwm no piav qhia yuav ua li cas tso saib cov ntaub ntawv ntawm Ob 7-Segment siv CloudX microcontroller
Kauj ruam 1: Tau txais cov khoom no
CLOUDX MICROCONTROLLER
CLOUDX SOFTCARD
V3 kab
JUMPER WIRE
2 SEVEN SEGMENT
330ohm resistor
Yuav koj cov khoom siv online ntawm no
Kauj ruam 2: Teem HARDWARE
Hauv qhov no peb yuav tsum ua multiplexing
txuas A, B, DP, C, D, E, F, G tus pin ntawm ob ntu ua ke, Pin A ntawm ntu rau pin1 ntawm CloudXPin B ntawm ntu rau pin2 ntawm CloudX
Pin DP ntawm ntu rau pin3 ntawm CloudX
Pin C ntawm ntu rau pin4 ntawm CloudX
Pin D ntawm ntu rau pin5 ntawm CloudX
Pin E ntawm ntu rau pin6 ntawm CloudX
Pin F ntawm ntu rau pin7 ntawm CloudX
Pin G ntawm ntu rau pin9 ntawm CloudX
txuas ntau cathode ntawm thawj ntu rau pin10 thiab
txuas ntau cathode ntawm ntu thib ob rau tus pin11
download CloudX IDE ntawm no
Kauj ruam 3: CODING
Luam cov cai no rau CloudX IDE
#include #include #include
char txee [2] = {'0', '0'};
teeb () {// teeb tsa no char NumberOfDigit = 2; // teeb tsa tus lej 7 ntu qhia kom siv // txuas cov CloudX pins rau Cov Ntaub Ntawv Pins A, B, C, D, E, F, G thiab H pins ntawm Display char segmentDataPins = {1, 2, 3, 4, 5, 6, 7, 8}; // txuas cov CloudX pins mus rau Common Anode lossis Cathode ntawm txhua 7-ntu tso saib char segmentScanPins = {9, 10}; // pib ua 7 ntu Zaub nrog cov ntaub ntawv Segment_setting (CCathode, NumberOfDigit, segmentScanPins, segmentDataPins); loop () {// Qhov program no rau (int i = 0; i <100; i ++) {// xam i /10 thiab ntxiv 48 (los hloov nws mus rau tus yam ntxwv) tom qab ntawd thauj khoom hauv txee [0] txee [0] = (kuv/10) + 48; txee [1] = (i%10) + 48; // thauj qhov kev suav no rau hauv txee [0]
Segment_writeText (txee, 1000); // Zaub cov ntsiab lus hauv txee array ntawm
7 ntu} rau (int i = 99; i> 0; i-) {// hloov tus nqi hauv i qhov sib txawv (input) rau txoj hlua (tso tawm) hauv paus 10 intTostr (txee, i, DEC); yog (i <10) // ua raws seem no ntawm cov cai yog tias tus nqi hauv i qhov txawv txav tsawg dua 10 {counter [1] = counter [0]; // hloov lub txee [1] nrog cov ntsiab lus ntawm lub txee [0] txee [0] = '0'; // hloov lub txee [0] sib txawv nrog cov cim '0'} Segment_writeText (txee, 1000); // Zaub cov ntsiab lus hauv cov txee sib npaug rau 1 sec}}}
Kauj ruam 4: Koj puas tau ua tiav
Qhia tawm nrog peb ntawm no
Pom zoo:
Ntau yam I/O Extender PCB los Tswj Ntau Nixie Tubes nrog I2C: 9 Cov Kauj Ruam (nrog Duab)
Ntau yam I/O Extender PCB los Tswj Ntau Nixie Tubes Nrog I2C: Tam sim no muaj kev txaus siab heev los nqa cov raj nixie qub rau lub neej. Ntau tus nixie raj cov khoom siv hauv lub moos muaj nyob ntawm khw. Muaj tshwm sim txawm tias muaj kev lag luam nyob ntawm cov khoom qub ntawm Lavxias nixie hlab. Kuj ntawm no ntawm Cov Ntawv Qhia muaj
0-9 Segment Counter With CloudX Microcontroller: 3 Kauj Ruam
0-9 Segment Counter With CloudX Microcontroller: Hauv qhov haujlwm no peb siv xya-ntu ntu LED suav los ntawm 0 txog 9.A xya-ntu ntu LED suav nrog yim LEDs thiab nws zoo tshaj rau tso saib tus lej. pins siv los ntawm cov zaub, txhua qhov anodes lossis cathodes ntawm th
Kev cuam tshuam 8051 Microcontroller Nrog 7 Segment Display: 5 Cov Kauj Ruam (nrog Duab)
Kev cuam tshuam 8051 Microcontroller Nrog 7 Segment Display: Hauv qhov haujlwm no peb yuav qhia koj txog yuav ua li cas peb tuaj yeem cuam tshuam 7 ntu zaub nrog 8051 microcontroller
Yuav Suav Li Cas Los Ntawm 0 txog 99 Siv 8051 Microcontroller Nrog 7 Segment Display: 5 Cov Kauj Ruam (nrog Duab)
Yuav Suav Li Cas Los Ntawm 0 txog 99 Siv 8051 Microcontroller Nrog 7 Segment Display: Nyob zoo txhua tus, Hauv qhov kev qhia no peb yuav qhia koj txog yuav suav li cas los ntawm 0 txog 99 siv ob 7 ntu qhia
Cov Xim Ntau Yam Xim Stencils Nrog Cov Hloov Pauv Hloov: 12 Cov Kauj Ruam (nrog Duab)
Comprehensive Multi Color Stencils With Variable Output: Multilayer xim tiag tiag stenciling tsis yog txhua qhov sai thiab yooj yim. Tseeb, koj tuaj yeem crank ib zaug hauv ib teev, tab sis nws siv sijhawm thiab xyaum ua kom muaj peev xwm rov ua cov txheej txheem thiab paub yuav ua li cas txhawm rau nws rau txhua qhov sib txawv stencil. Hauv cov lus qhia no, Kuv yuav