Cov txheej txheem:
- Kauj Ruam 1: Cov Cheeb Tsam Xav Tau
- Kauj Ruam 2: Sib Sau Ua Ke
- Kauj ruam 3: Programming
- Kauj Ruam 4: Qhov tshwm sim
Video: 7-ntu rau Zaub ADC #Arduino Qhov Tseem Ceeb, #Arduino: 4 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:26
Hauv kab lus no kuv yuav ua qhov haujlwm uas tseem cuam tshuam nrog tsab xov xwm dhau los. Namely ua cov ntaub ntawv ADC.
yog li koj tsis tas yuav muaj tus saib xyuas kom pom tus nqi ntawm cov ntaub ntawv adc. hauv kab lus no kuv yuav ua ADC Tus saib tus nqi saib. yog li koj tsis tas yuav muaj tus saib xyuas kom pom tus nqi ntawm cov ntaub ntawv adc. hauv kab lus no kuv yuav ua tus saib xyuas ADC Tus Nqi Zoo.
Koj tuaj yeem nyeem kab lus hauv qab no kom paub seb yuav siv "7-Segment" Module li cas
"MAX7219 7-Segment Siv Arduino"
Kauj Ruam 1: Cov Cheeb Tsam Xav Tau
Cheebtsam xav tau rau kab lus no:
- MAX7219 7-Segment Module
- Arduino Nano Cov
- hlau Jumper
- USB mini tso
- Potentiometer
Kauj Ruam 2: Sib Sau Ua Ke
Saib cov txheej txheem saum toj no los ua ke cov khoom kom raug.
Aeduino rau Cheeb Tsam
+5V ==> 3. Potentiometer & VCC
GND ==> 1. Potentometer & GND
A0 ==> 2. Potensio
D12 ==> Cov ntaub ntawv IN
D11 ==> CLK
D10 ==> CS
Kauj ruam 3: Programming
Luam thiab paste cov cai hauv qab no:
#suav nrog "LedControl.h"
LedControl lc = LedControl (12, 11, 10, 1);
void teeb tsa () {
Serial.begin (9600); lc.shutdown (0, tsis tseeb); lc.setIntensity (0, 8); lc.clearDisplay (0); }
void voj () {
int adc = analogRead (A0);
lc.setDigit (0, 7, adc/1000, tsis tseeb);
lc.setDigit (0, 6, (adc/100)%10, tsis tseeb); lc.setDigit (0, 5, (adc/10)%10, tsis tseeb); lc.setDigit (0, 4, adc%10, tsis tseeb);
Serial.println (adc);
ncua (100); }
Cov ntaub ntawv qub tuaj yeem rub tawm hauv qab no:
Kauj Ruam 4: Qhov tshwm sim
rau cov txiaj ntsig tuaj yeem pom hauv video saum toj no.
thaum lub zog ntsuas tau tig mus rau sab xis, tus nqi yuav ntau dua thiab hais hauv 1023)
thaum lub zog txav tau txav mus rau sab laug, tus nqi yuav ntau dua thiab hais tawm ntawm 1023)
Pom zoo:
Yuav Ua Li Cas Nyeem Ntau Qhov Analog Qhov Tseem Ceeb Siv Ib Tus Pin Pin: 6 Kauj Ruam (nrog Duab)
Yuav Ua Li Cas Nyeem Ntau Qhov Analog Tus Nqi Siv Ib Tus Pin Pin: Hauv qhov kev qhia no, kuv yuav qhia koj yuav ua li cas nyeem ntau yam sib piv qhov txiaj ntsig siv tsuas yog ib tus lej nkag nkag
Lwm Qhov Tseem Ceeb RFID rau Kev Ruaj Ntseg Tsheb Kauj Ruam: 7 Kauj Ruam (nrog Duab)
Lwm Qhov RFID Qhov Tseem Ceeb rau Kev Ruaj Ntseg Tsheb Kauj Ruam: Rau kev nyab xeeb hauv tsheb kauj vab, Tsuas muaj lub qhov hluav taws xob xauv hloov. Thiab nws tuaj yeem yooj yim nyiag los ntawm tub sab. Ntawm no kuv tuaj nrog DIY Kev daws rau qhov ntawd. Nws pheej yig thiab yooj yim los tsim. Nws yog lwm qhov tseem ceeb RFID rau kev ruaj ntseg tsheb tuam. Cia peb ua nws
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
Steampunk Voltaic Arc Spectator (qhov tsis tseem ceeb rau Cov kws tshawb fawb vwm): 6 Kauj Ruam (nrog Duab)
Steampunk Voltaic Arc Spectator (qhov tsis tseem ceeb rau Cov kws tshawb fawb vwm): Nyob zoo cov phooj ywg, cov thwjtim thiab cov neeg nyiam DIY! , ntawm no los txog qhov haujlwm thib ob (hauv txheej txheem txuj ci ntawm tus kwv ntxaib) u
Kawm Ntawm No Txog Qhov Tseem Ceeb Tseem Ceeb!: 11 Kauj Ruam
Kawm Ntawm No Txog Ntawm Qhov Tseem Ceeb Tseem Ceeb!: Koj tuaj yeem paub dab tsi txog qib dej hauv lub taub dej? Txhawm rau saib xyuas yam khoom no, koj tuaj yeem siv lub ntsuas siab. Qhov no yog cov cuab yeej muaj txiaj ntsig zoo rau kev lag luam automation, feem ntau. Hnub no, peb tab tom tham txog tsev neeg tseeb ntawm MPX