Cov txheej txheem:

Cov Kws Paub Paub Qhov No!: 24 Kauj Ruam
Cov Kws Paub Paub Qhov No!: 24 Kauj Ruam

Video: Cov Kws Paub Paub Qhov No!: 24 Kauj Ruam

Video: Cov Kws Paub Paub Qhov No!: 24 Kauj Ruam
Video: QHIA QHOV TSEEB - KUB VAJ LOOG TSUA NEW MUSIC VIDEO 2022 2024, Hlis ntuj nqeg
Anonim
Image
Image

Hnub no peb tab tom tham txog "ESP32 siv lub tshuab ADC calibration". Nws yuav zoo li yog cov ncauj lus qhia txuj ci heev, tab sis kuv xav tias nws tseem ceeb heev rau koj kom paub me ntsis txog nws.

Qhov no vim tias nws tsis yog hais txog ESP32, lossis txawm tias ADC kev ntsuas ntsuas nkaus xwb, tab sis yog txhua yam uas cuam tshuam nrog cov ntsuas sib piv uas koj yuav xav nyeem.

Feem ntau cov ntsuas tsis yog kab, yog li peb tab tom yuav nthuav qhia tus qauv ntsuas tus kheej ntsuas rau cov hloov pauv digital. Tsis tas li, peb tab tom yuav kho qhov ESP32 AD.

Kauj ruam 1: Taw qhia

Cov peev txheej siv
Cov peev txheej siv

Muaj ib daim vis dis aus uas kuv tham me ntsis txog cov ncauj lus no: Koj tsis paub? ESP32 ADC kev hloov kho. Tam sim no, cia tham hauv txoj kev siv tshuab uas tiv thaiv koj los ntawm kev ua tag nrho cov txheej txheem kev rov qab los ntawm polynomial. Txheeb nws tawm!

Kauj Ruam 2: Cov Khoom Siv

· Cov neeg dhia

· 1x Protoboard

· 1x ESP WROOM 32 DevKit

· 1x USB cable

· 2x 10k resistors

· 1x 6k8 resistor lossis 1x 10k mechanical potentiometer rau kho qhov faib hluav taws xob

· 1x X9C103 - 10k digital potentiometer

· 1x LM358 - Lub tshuab ua haujlwm nrov

Kauj Ruam 3: Siv Circuit

Siv Circuit Court
Siv Circuit Court

Hauv qhov kev sib tham no, LM358 yog lub tshuab ua haujlwm ua haujlwm nyob rau hauv "qhov ntsuas hluav taws xob tsis zoo" teeb tsa, cais ob qhov sib faib hluav taws xob kom ib leeg tsis cuam tshuam rau lwm qhov. Qhov no tso cai kom tau txais cov lus hais yooj yim txij li R1 thiab R2 tuaj yeem, nrog kev kwv yees zoo, tsis suav nrog hauv RB ntxiv lawm.

Kauj Ruam 4: Cov Khoom Siv Hluav Taws Xob Nyob ntawm Kev Hloov pauv ntawm Digital Potentiometer X9C103

Cov Hluav Taws Xob Tawm Tawm Nyob ntawm Qhov Kev Hloov pauv ntawm Digital Potentiometer X9C103
Cov Hluav Taws Xob Tawm Tawm Nyob ntawm Qhov Kev Hloov pauv ntawm Digital Potentiometer X9C103

Raws li qhov kev qhia peb tau txais rau Circuit Court, qhov no yog qhov nkhaus qhov hluav taws xob ntawm nws qhov tso tawm thaum peb sib txawv digital potentiometer los ntawm 0 txog 10k.

Kauj Ruam 5: Tswj X9C103

Tswj X9C103
Tswj X9C103

· Txhawm rau tswj peb X9C103 digital potentiometer peb yuav pub nws nrog 5V, los ntawm tib lub USB uas txhawb nqa ESP32, txuas hauv VCC.

· Peb txuas tus lej UP / DOWN rau GPIO12.

· Peb txuas tus pin INCREMENT rau GPIO13.

· Peb txuas DEVICE SELECT (CS) thiab VSS rau GND.

· Peb txuas VH / RH rau 5V cov khoom siv.

· Peb txuas VL / RL rau GND.

· Peb txuas RW / VW mus rau qhov ntsuas qhov ntsuas hluav taws xob.

Kauj Ruam 6: Kev Sib Txuas

Kev sib txuas
Kev sib txuas

Kauj Ruam 7: Kev ntes ntawm Oscilloscope ntawm Kev nce thiab nqis

Kev ntes ntawm Oscilloscope ntawm Kev nce thiab nqis
Kev ntes ntawm Oscilloscope ntawm Kev nce thiab nqis

Peb tuaj yeem soj ntsuam ob txoj kev hla uas tsim los ntawm ESP32 code.

Qhov tseem ceeb ntawm kev nce toj raug ntes thiab xa mus rau C# software rau kev tshuaj xyuas thiab txiav txim siab ntawm txoj kab nkhaus kho.

Kauj Ruam 8: Cia Siab Rau Versus Nyeem

Kev Cia Siab Versus Nyeem
Kev Cia Siab Versus Nyeem

Kauj ruam 9: Kho

Kho
Kho

Peb yuav siv qhov nkhaus yuam kev los kho ADC. Txog qhov no, peb yuav pub txoj haujlwm ua hauv C#, nrog rau qhov txiaj ntsig ntawm ADC. Nws yuav suav qhov sib txawv ntawm tus nqi nyeem thiab qhov xav tau, yog li tsim qhov nkhaus ERROR raws li kev ua haujlwm ntawm ADC tus nqi.

Paub txog tus cwj pwm ntawm txoj kab nkhaus no, peb yuav paub qhov ua yuam kev thiab peb yuav tuaj yeem kho nws.

Txhawm rau paub txoj kab nkhaus no, C# txoj haujlwm yuav siv lub tsev qiv ntawv uas yuav ua rau muaj kev thim rov qab polynomial (zoo li cov uas tau ua hauv cov vis dis aus dhau los).

Kauj Ruam 10: Kev Cia Siab Versus Nyeem Tom Qab Kho

Kev Cia Siab Versus Nyeem Tom Qab Kho
Kev Cia Siab Versus Nyeem Tom Qab Kho

Kauj Ruam 11: Kev Ua Haujlwm Hauv C#

Kev Ua Haujlwm Hauv C#
Kev Ua Haujlwm Hauv C#

Kauj Ruam 12: Tos rau Ramp START Message

Tos rau Ramp START Message
Tos rau Ramp START Message
Tos rau Ramp START Message
Tos rau Ramp START Message

Kauj Ruam 13: ESP32 Source Code - Piv txwv ntawm Kev Txhim Kho thiab Nws Siv

ESP32 Source Code - Piv txwv ntawm Kev Txhim Kho thiab Nws Siv
ESP32 Source Code - Piv txwv ntawm Kev Txhim Kho thiab Nws Siv

Kauj Ruam 14: Sib Piv Nrog Cov Txheej Txheem Yav Dhau Los

Kev Sib Piv Nrog Cov Txheej Txheem Yav Dhau Los
Kev Sib Piv Nrog Cov Txheej Txheem Yav Dhau Los

Kauj Ruam 15: ESP32 SOURCE CODE - Tshaj tawm thiab teeb tsa ()

ESP32 SOURCE CODE - Kev tshaj tawm thiab teeb tsa ()
ESP32 SOURCE CODE - Kev tshaj tawm thiab teeb tsa ()

Kauj Ruam 16: ESP32 SOURCE CODE - Loop ()

ESP32 SOURCE CODE - Loop ()
ESP32 SOURCE CODE - Loop ()

Kauj Ruam 17: ESP32 SOURCE CODE - Loop ()

ESP32 SOURCE CODE - Loop ()
ESP32 SOURCE CODE - Loop ()

Kauj Ruam 18: ESP32 SOURCE CODE - mem tes ()

ESP32 SOURCE CODE - mem tes ()
ESP32 SOURCE CODE - mem tes ()

Kauj Ruam 19: SOURCE CODE OF PROGRAM IN C # - Kev Ua Haujlwm Hauv C #

SOURCE CODE OF PROGRAM IN C # - Kev Ua Haujlwm Hauv C #
SOURCE CODE OF PROGRAM IN C # - Kev Ua Haujlwm Hauv C #

Kauj Ruam 20: SOURCE CODE OF PROGRAM IN C# - Cov tsev qiv ntawv

SOURCE CODE OF PROGRAM IN C# - Cov tsev qiv ntawv
SOURCE CODE OF PROGRAM IN C# - Cov tsev qiv ntawv

Kauj Ruam 21: SOURCE CODE OF PROGRAM IN C # - Npe npe, Chav Kawm thiab Ntiaj Teb

SOURCE CODE OF PROGRAM IN C # - Npe npe, Chav Kawm thiab Ntiaj Teb
SOURCE CODE OF PROGRAM IN C # - Npe npe, Chav Kawm thiab Ntiaj Teb

Kauj Ruam 22: SOURCE CODE OF PROGRAM IN C# - RegPol ()

SOURCE CODE NTAWM KEV PAB CUAM C# - RegPol ()
SOURCE CODE NTAWM KEV PAB CUAM C# - RegPol ()

Kauj ruam 23:

Duab
Duab

Kauj Ruam 24: Rub Cov Ntaub Ntawv

PDF

RAR

Pom zoo: