Cov txheej txheem:
- Kauj ruam 1: HARDWARE YUAV TSUM:
- Kauj Ruam 2: Kev Nyab Xeeb Kev Nyab Xeeb; Kev noj qab nyob zoo:
- Kauj Ruam 3: CIRCUIT:
- Kauj ruam 4: CODE:
- Kauj ruam 5: Instagram Tshaj Tawm
Video: Nyeem ANALOG VOLTAGE - ARDUINO - CODE REVEAL #1: 5 Cov Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:27
CODE REVEAL #1 nyeem ANALOG VOLTAGE: Qhov piv txwv no qhia koj yuav ua li cas nyeem cov lus sib piv ntawm tus lej pin 0, hloov tus nqi los ntawm analogRead () rau hauv qhov hluav taws xob, thiab luam tawm nws mus rau tus saib xyuas ntawm Arduino Software (IDE).
Kauj ruam 1: HARDWARE YUAV TSUM:
Arduino lossis Genuino Board, 10k OHM Potentiometer.
Kauj Ruam 2: Kev Nyab Xeeb Kev Nyab Xeeb; Kev noj qab nyob zoo:
Ceevfaj tias Lub Hwjchim Sab Nraud Pabcuam Siv ntawm ANALOG PIN ntawm ARDUINO yuav tsum tsis pub dhau 5V, vim tias ARDUINO ua haujlwm ntawm 5V LOGIC, thiab MICROCONTROLLER tuaj yeem hlawv tawm yog lub VOLTAGE nyob siab dua 5V. Txoj haujlwm no muaj txiaj ntsig zoo rau kev txheeb xyuas lub VOLTAGE ntawm tus cwj mem me me lossis LITHIUM BATTERIES THIAB TRIMPOTS.
Kauj Ruam 3: CIRCUIT:
Txuas peb lub xov hlau los ntawm lub hwj chim rau koj lub rooj tsavxwm. Thawj zaug mus rau hauv av los ntawm ib qho ntawm cov pins sab nraud ntawm lub zog. Qhov thib ob mus rau 5 volts los ntawm lwm tus pin sab nraud ntawm lub zog. Qhov thib peb mus los ntawm tus pin nruab nrab ntawm lub hwj chim rau cov tswv yim sib piv 0. Los ntawm kev tig lub taub hau ntawm lub hwj chim, koj hloov tus nqi tiv thaiv ntawm ob sab ntawm lub wiper uas txuas nrog rau tus pin nruab nrab ntawm lub hwj chim. Qhov no hloov qhov hluav taws xob ntawm tus pin nruab nrab. Thaum qhov tsis kam ntawm nruab nrab thiab sab txuas nrog 5 volts ze rau xoom (thiab qhov tsis kam ntawm lwm sab yog ze rau 10 kilohms), qhov hluav taws xob ntawm qhov chaw tus pin ze rau 5 volts. Thaum cov kev tawm tsam tau thim rov qab, qhov hluav taws xob ntawm qhov nruab nrab tus pin nyob ze 0 volts, lossis hauv av. Qhov ntsuas hluav taws xob no yog qhov ntsuas hluav taws xob sib piv uas koj tab tom nyeem ua lub tswv yim. Qhov microcontroller ntawm lub rooj tsavxwm muaj lub Circuit Court sab hauv hu ua analog-to-digital converter lossis ADC uas nyeem qhov kev hloov pauv no thiab hloov nws mus rau tus lej ntawm 0 thiab 1023. Thaum tus ncej tau tig mus rau txhua txoj hauv kev, muaj 0 volts mus rau tus pin, thiab tus nqi nkag yog 0. Thaum tus ncej tau tig txhua txoj hauv kev rov qab, muaj 5 volts mus rau tus pin thiab tus nqi nkag yog 1023. Hauv nruab nrab, analogRead () rov qab tus lej nruab nrab ntawm 0 thiab 1023 uas yog sib npaug rau qhov ntsuas qhov hluav taws xob tau thov rau tus pin.
Kauj ruam 4: CODE:
Txhawm rau sau tseg tias yog tias koj tsis muaj lub khoos phis tawj lossis lub khoos phis tawj, koj tuaj yeem tsim kho koj li Arduino nrog lub app 'Arduinodroid' muaj nyob hauv Google Play Store. Koj tuaj yeem mus ntsib tus saib xyuas nrog kev pab ntawm 'Arduinodroid'.void teeb tsa () {Serial.begin (9600);} void loop () {int sensorValue = analogRead (A0); ntab voltage = sensorValue * (5.0 / 1023.0); Serial.println (qhov hluav taws xob);}
Kauj ruam 5: Instagram Tshaj Tawm
Mus ntsib no Instagram tshaj tawm qhov twg kuv piav qhia qhov haujlwm no -
Pom zoo:
Yuav Ua Li Cas Nyeem DHT Cov Ntaub Ntawv ntawm LCD Siv Raspberry Pi: 6 Cov Kauj Ruam
Yuav Ua Li Cas Nyeem DHT Cov Ntaub Ntawv ntawm LCD Siv Raspberry Pi: Qhov ntsuas kub thiab txheeb ze cov av noo yog qhov tseem ceeb ntawm cov ntaub ntawv huab cua hauv ib puag ncig. Ob qho tuaj yeem yog cov ntaub ntawv chaw nres tsheb huab cua mini xa tawm. Nyeem koj qhov kub thiab txheeb ze cov av nrog Raspberry Pi tuaj yeem ua tiav siv qhov sib txawv
Cheeb Tsam Impedance Siv Cov Lej Nyeem Nyeem Nyeem Ntawv: 6 Kauj Ruam
Cheeb Tsam Impedance Siv Cov Zauv Ua Ntej: Nov yog daim ntawv thov siv ntawm cov lej ua lej sib luag.Qhov no yog qhov tseeb cov txheej txheem muaj txiaj ntsig zoo uas koj tuaj yeem siv los qhia tus yam ntxwv, lossis txawm tias lub kav hlau txais xov, ntawm qhov ua ntej ua ntej yog tias koj tau tinkering nrog hluav taws xob koj tej zaum yog fam
Cov cuab yeej cuab tam - Ceramic hauv Cov Ntsiab Lus ntawm Cov Txheej Txheem Digital thiab Analog 2015: 3 Cov Kauj Ruam (nrog Duab)
Cov cuab yeej cuab tam - Ceramic hauv Cov Ntsiab Lus ntawm Digital thiab Analog Cov Txheej Txheem 2015: Txog tam sim no, cov khoom siv hlau yog cov khoom siv tes ua uas tsis muaj kev cuam tshuam digital. Vim li no, nws zoo siab heev los ua phooj ywg nrog cov cuab yeej tshiab. Lub hauv paus pib yog daim ntawv qub thiab CNC Styrocutter.DESIGNBOOM
Tsim koj tus kheej MINECRAFT SERVER! Super Yooj Yim, Yooj Yim thiab Pub Dawb! (TSIS MUAJ NYEEM NYEEM): 11 Kauj Ruam (nrog Duab)
Tsim koj tus kheej MINECRAFT SERVER! Super Yooj Yim, Yooj Yim thiab Pub Dawb! (TSIS MUAJ NYEEM NYEEM): Minecraft yog qhov kev ua si lom zem heev uas koj tuaj yeem xyaum ua txhua yam koj xav tau! Tab sis ua si nrog phooj ywg hla internet tuaj yeem ua rau mob qee zaum. Hmoov tsis zoo, feem ntau cov servers sib tw tau sau nrog trolls, tsis yog kev paub txog kev ua si
$ 3 & 3 Cov Kauj Ruam Laptop Sawv (nrog Nyeem-tsom iav & Tais Tais): 5 Kauj Ruam
$ 3 & 3 Cov Kauj Ruam Laptop Sawv (nrog Nyeem-tsom iav & Tais Tais): Qhov no $ 3 & 3 kauj ruam laptop sawv tuaj yeem ua hauv 5 feeb. Nws muaj zog heev, lub cev hnyav, thiab tuaj yeem muab tais coj mus rau txhua qhov chaw koj mus