Cov txheej txheem:

ESP32 NTP Kev Ntsuas Kub Ua Haujlwm Kub Kub Nrog Steinhart-Hart Kho thiab Tswb Kub: 7 Kauj Ruam (nrog Duab)
ESP32 NTP Kev Ntsuas Kub Ua Haujlwm Kub Kub Nrog Steinhart-Hart Kho thiab Tswb Kub: 7 Kauj Ruam (nrog Duab)

Video: ESP32 NTP Kev Ntsuas Kub Ua Haujlwm Kub Kub Nrog Steinhart-Hart Kho thiab Tswb Kub: 7 Kauj Ruam (nrog Duab)

Video: ESP32 NTP Kev Ntsuas Kub Ua Haujlwm Kub Kub Nrog Steinhart-Hart Kho thiab Tswb Kub: 7 Kauj Ruam (nrog Duab)
Video: ESP32 Handle 6 GIFS on 6 Screens ? #esp32 #animatedgifs 2024, Hlis ntuj nqeg
Anonim
Image
Image
ESP32 NTP Kev Ntsuas Kub Ntsuas Kub Ua Noj Nrog Cov Steinhart-Hart Kho thiab Tswb Kub
ESP32 NTP Kev Ntsuas Kub Ntsuas Kub Ua Noj Nrog Cov Steinhart-Hart Kho thiab Tswb Kub

Tseem nyob ntawm txoj kev mus ua kom tiav "phiaj xwm yuav los tom ntej", "ESP32 NTP Kev Ntsuas Kub Ntsuas Kev Ntsuas Kub Nrog Steinhart-Hart Kev Kho thiab Tswb Kub" yog Kev Qhia paub qhia kuv yuav ua li cas ntxiv NTP ntsuas kub, piezo buzzer thiab software rau kuv lub peev xwm kov Qhia tau " ESP32 Capacitive Touch Input Siv "Metallic Hole Plugs" rau Khawm "los tsim lub ntsuas cua sov ua noj yooj yim tab sis raug nrog lub ntsuas kub tuaj yeem ntsuas tau.

Peb lub khawm kov lub peev xwm tso cai rau teeb tsa lub tswb ntsuas kub. Nias lub pob hauv nruab nrab qhia qhov "Teeb Tsom Kub" zaub, ua rau sab laug thiab sab xis khawm kom txo lossis nce lub tswb ntsuas feem. Nias thiab tso lub khawm sab laug yuav txo lub tswb kub ib qib, thaum nias thiab tuav lub khawm sab laug yuav txuas ntxiv txo lub tswb kub kom txog thaum tso tawm. Ib yam li ntawd, nias thiab tso lub khawm sab xis yuav ua rau lub tswb kub nce ib qib, thaum nias thiab tuav lub khawm kom raug yuav ua rau lub tswb kub nce mus txog thaum tso tawm. Thaum ua tiav kho lub tswb ntsuas kub, tsuas yog kov lub hauv paus khawm dua kom rov qab mus rau qhov ntsuas kub. Txhua lub sijhawm qhov ntsuas kub sib npaug lossis siab dua lub tswb ntsuas kub, lub piezo buzzer yuav nrov.

Thiab raws li tau hais, qhov ntsuas kub NTP tau siv hauv kev tsim nrog rau Steinhart-Hart equations thiab coefficients tsim nyog rau kev ntsuas kub kom raug. Kuv tau suav nrog cov lus piav qhia ntau dhau ntawm Steinhart-Hart equation, Steinhart-Hart coefficients, qhov faib hluav taws xob thiab algebra hauv Kauj Ruam 1 (raws li cov nyiaj tau ntxiv, nws ua rau kuv tsaug zog txhua zaus kuv nyeem nws, yog li koj yuav xav tau hla Kauj Ruam 1 thiab lub taub hau ncaj mus rau Kauj Ruam 2: Sib sau Cov Khoom Siv Hluav Taws Xob, tshwj tsis yog tias koj xav tau pw tsaug zog).

Yog tias koj txiav txim siab tsim lub ntsuas cua sov ua noj no, rau kev hloov kho thiab luam ntawv 3D Kuv tau suav nrog cov ntaub ntawv hauv qab no:

  • Arduino cov ntaub ntawv "AnalogInput.ino" uas muaj cov software rau tsim.
  • Autodesk Fusion 360 cad cov ntaub ntawv rau rooj plaub uas qhia tias rooj plaub raug tsim los li cas.
  • Cura 3.4.0 STL cov ntaub ntawv "Case, Top.stl" thiab "Case, Bottom.stl" npaj rau 3D luam ntawv.

Koj tseem yuav xav tau kev paub nrog Arduino ib puag ncig nrog rau kev txawj ntse thiab cov cuab yeej siv, thiab ntxiv rau qhov yuav xav tau nkag mus rau qhov tseeb digital ohmmeters, ntsuas cua sov thiab ntsuas kub rau ntsuas.

Thiab raws li ib txwm, Kuv zaum tsis nco cov ntaub ntawv lossis ob lossis leej twg paub dab tsi ntxiv, yog li yog tias koj muaj lus nug, thov tsis txhob ua siab deb nug ib yam li kuv ua yuam kev ntau.

Cov khoom siv hluav taws xob tau tsim los siv cov xaum, ntawv thiab xov tooj cua Shack EC-2006a (Cat. No. 65-962a) lub hnub ci siv lub laij lej.

Lub software tau tsim los siv Arduino 1.8.5.

Cov ntaub ntawv tau tsim los siv Autodesk Fusion 360, hlais siv Cura 3.4.0, thiab luam tawm hauv PLA ntawm Ultimaker 2+ Txuas Ntxiv thiab Ultimaker 3 Extended.

Thiab ib daim ntawv kawg, Kuv tsis tau txais nyiaj them rau txhua daim ntawv, suav nrog tab sis tsis txwv rau kev kuaj dawb, rau ib qho ntawm cov khoom siv hauv qhov tsim no

Kauj Ruam 1: Lej, Lej thiab Lej Ntxiv: Steinhart – Hart, Coefficients, thiab Resistor Dividers

Lej, Lej thiab Lej Ntxiv: Steinhart -Hart, Coefficients, thiab Resistor Dividers
Lej, Lej thiab Lej Ntxiv: Steinhart -Hart, Coefficients, thiab Resistor Dividers

Kuv cov qauv tsim yav dhau los suav nrog NTC qhov ntsuas kub ntsuas siv cov txheej txheem saib rau kev hloov pauv qhov hluav taws xob nkag los ntawm tus tiv thaiv kev faib ua kom sov. Txij li ESP32 muaj peev xwm kaum ob lub tswv yim sib piv me me, thiab txij li thaum kuv tau tsim los kom raug qhov tseeb, kuv txiav txim siab los siv qhov "Steinhart-Hart" sib npaug hauv cov cai rau qhov hluav taws xob rau qhov hloov pauv kub.

Thawj zaug luam tawm xyoo 1968 los ntawm John S. Steinhart thiab Stanley R. Hart, Steinhart-Hart equation piav qhia qhov tsis kam ua kom sov kev sib raug zoo ntawm NTC qhov ntsuas kub raws li hauv qab no:

1 / T = A + (B * (cav (Thermistor))) + (C * cav (Thermistor) * cav (Thermistor) * cav (Thermistor))

qhov twg:

  • T yog qib Kelvin.
  • A, B, C yog Steinhart-Hart coefficients (ntau ntxiv nyob rau hauv ib pliag).
  • Thiab Thermistor yog qhov ntsuas kub ntsuas qhov ntsuas kub tsis kam ntawm qhov kub tam sim no.

Yog li vim li cas qhov no zoo li nyuaj Steinhart-Hart equation tsim nyog rau qhov yooj yim NTC ntsuas kub raws tus ntsuas kub digital? Ib qho "zoo tshaj" NTC qhov ntsuas kub yuav muab cov kab tawm tsam tiv thaiv qhov kub thiab txias, yog li cov kab zauv yooj yim uas cuam tshuam nrog cov tswv yim hluav taws xob thiab ntsuas yuav ua rau muaj qhov ntsuas qhov tseeb. Txawm li cas los xij, NTC qhov ntsuas kub tsis yog kab thiab, thaum ua ke nrog cov tsis-linear analog input ntawm yuav luag txhua tus nqi qis ib tus txheej txheem txheej txheem xws li WiFi Cov Khoom 32, tsim cov khoom tsis-linear analog inputs thiab yog li tsis raug ntsuas kub. Los ntawm kev siv qhov sib npaug xws li Steinhart-Hart nrog rau kev ntsuas ntsuas kom zoo, ntsuas kub tau raug siv NTC ntsuas qhov ntsuas kub nrog tus nqi qis ib tus thawj coj ua haujlwm tuaj yeem ua tiav los ntawm kev ua kom ze ze ntawm qhov kub thiab txias.

Yog li rov qab mus rau Steinhart-Hart equation. Qhov sib npaug siv peb qhov sib npaug A, B thiab C txhawm rau txiav txim siab qhov kub raws li kev ua haujlwm ntawm thermistor tsis kam. Peb cov coefficients no los qhov twg los? Qee cov tuam txhab muab cov coefficients nrog lawv NTC qhov ntsuas kub, thiab lwm tus tsis ua. Tsis tas li ntawd, cov chaw tsim khoom muab cov coefficients yuav lossis tsis yog rau qhov ntsuas kub qhov tseeb uas koj tuaj yeem yuav, thiab feem ntau yuav yog tus sawv cev sib piv ntawm cov piv txwv loj ntawm txhua qhov ntsuas kub uas lawv tsim nyob rau lub sijhawm. Thiab thaum kawg, kuv yooj yim tsis tuaj yeem nrhiav cov coefficients rau qhov kev sojntsuam siv hauv qhov tsim no.

Tsis muaj qhov xav tau coefficients, Kuv tsim Steinhart-Hart Spreadsheet, daim ntawv nthuav dav raws lub laij lej uas pab tsim cov coefficients xav tau rau NTC ntsuas kub (Kuv poob qhov txuas rau lub vev xaib zoo li lub laij lej kuv siv ntau xyoo dhau los, yog li kuv tsim qhov no.). Txhawm rau txiav txim siab qhov coefficients rau qhov ntsuas kub, kuv pib los ntawm kev ntsuas tus nqi ntawm 33k resistor siv hauv qhov faib hluav taws xob nrog digital ohmmeter, thiab nkag tus nqi mus rau thaj chaw daj ntawm daim ntawv teev npe "Resistor". Tom ntej no, Kuv tso qhov ntsuas kub hauv peb qhov chaw ib puag ncig; thawj chav sov, dej khov thib ob thiab dej kub thib peb, nrog rau lub ntsuas kub paub qhov tseeb, thiab tso sijhawm rau qhov ntsuas kub ntawm tus pas ntsuas kub thiab cov ntsuas cua sov ntsuas suav nrog tshwm ntawm WiFi Kit 32 zaub (ntau ntxiv tom qab no) kom ruaj khov. Nrog rau qhov ntsuas kub thiab qhov ntsuas kub hauv lub ntsuas cua sov, kuv nkag mus rau qhov ntsuas kub tau paub los ntawm tus pas ntsuas kub paub tseeb thiab cov ntsuas cua sov tau tshwm ntawm cov zaub ntawm WiFi Kit 32 mus rau thaj chaw daj ntawm daim ntawv nthuav qhia "Degrees F from Thermometer" thiab "AD Suav los ntawm WiFi Cov Khoom 32 "feem, rau txhua ntawm peb qhov chaw ib puag ncig. Thaum txhua qhov kev ntsuas nkag mus, thaj chaw ntsuab ntawm daim ntawv nthuav qhia muab A, B thiab C coefficients xav tau los ntawm Steinhart-Hart equation uas tom qab ntawd yooj yim theej thiab muab tso rau hauv qhov chaws.

Raws li tau hais yav dhau los cov txiaj ntsig ntawm Steinhart-Hart equation yog qib Kelvin, thiab qhov kev tsim qauv no qhia txog qib Fahrenheit. Kev hloov pauv los ntawm qib Kelvin mus rau degrees Fahrenheit yog raws li hauv qab no:

Ua ntej, hloov qib Kelvin rau degrees Celsius los ntawm kev rho tawm 273.15 (degrees Kelvin) los ntawm Steinhart-Hart equation:

Qib C = (A + (B * (cav (Thermistor))) + (C * cav (Thermistor) * cav (Thermistor) * cav (Thermistor))) - 273.15

Thiab thib ob, hloov qib Celsius mus rau degrees Fahrenheit raws li hauv qab no:

Qib F = ((Qib C * 9) / 5) + 32

Nrog rau Steinhart-Hart equation thiab coefficients ua tiav, qhov sib npaug thib ob yog xav tau los nyeem cov resistor faib faib tawm. Ib tus qauv ntawm cov resistor divider siv hauv qhov tsim no yog:

vRef <--- Thermistor <--- vOut <--- Resistor <--- Hauv av

qhov twg:

  • vRef hauv qhov kev tsim no yog 3.3vdc.
  • Thermistor yog NTC qhov ntsuas kub ntsuas siv hauv qhov sib faib resistor.
  • vOut yog qhov hluav taws xob tso tawm ntawm qhov sib faib resistor.
  • Resistor yog 33k resistor siv hauv qhov sib faib resistor.
  • Thiab hauv av yog, zoo, hauv av.

vOut ntawm qhov sib faib resistor hauv qhov tsim qauv no txuas nrog WiFi Kit 32 analog input A0 (tus pin 36), thiab qhov hluav taws xob qhov hluav taws xob ntawm cov resistor divider tau suav raws li hauv qab no:

vOut = vRef * Resistor / (Resistor + Thermistor)

Txawm li cas los xij, raws li tau sau tseg hauv Steinhart-Hart equation, tus ntsuas hluav taws xob tiv thaiv tus nqi yuav tsum tau txhawm rau kom tau txais qhov kub thiab txias, tsis yog qhov hluav taws xob tso tawm ntawm qhov sib cais resistor. Yog li rov kho qhov sib npaug kom tso tawm tus nqi thermistor yuav tsum siv me ntsis algebra raws li hauv qab no:

Sib npaug ob tog los ntawm "(Resistor + Thermistor)" ua rau:

vOut * (Resistor + Thermistor) = vRef * Resistor

Faib ob tog los ntawm "vOut" ua rau:

Resistor + Thermistor = (vRef * Resistor) / vOut

Rho tawm "Resistor" los ntawm ob sab ua rau:

Thermistor = (vRef * Resistor / vOut) - Resistor

Thiab thaum kawg, siv cov khoom faib khoom, yooj yim:

Thermistor = Resistor * ((vRef / vOut) - 1)

Hloov pauv WiFi Cov Khoom 32 A0 analog input suav ntawm 0 txog 4095 rau vOut, thiab hloov pauv tus nqi ntawm 4096 rau vRef, qhov sib npaug resistor faib qhov muab cov thermistor tiv taus tus nqi xav tau los ntawm Steinhart-Hart equation dhau los:

Thermistor = Resistor * ((4096 / Analog Input Count) - 1)

Yog li nrog lej tom qab peb, cia sib sau ua ke qee yam khoom siv hluav taws xob.

Kauj Ruam 2: Sib dhos Cov Khoom Siv Hluav Taws Xob

Sib dhos Cov Khoom Siv Hluav Taws Xob
Sib dhos Cov Khoom Siv Hluav Taws Xob
Sib dhos Cov Khoom Siv Hluav Taws Xob
Sib dhos Cov Khoom Siv Hluav Taws Xob
Sib dhos Cov Khoom Siv Hluav Taws Xob
Sib dhos Cov Khoom Siv Hluav Taws Xob

Txog cov khoom siv hluav taws xob, Kuv tau sau ua ke ESP32 Capacitive Touch demonstrator

  • Tsib, 4 "daim ntawm 28awg xaim (ib qho liab, dub, ib daj thiab ob ntsuab)
  • Ib, Maverick "ET-72 Kub Ntsuas" sojntsuam (https://www.maverickthermometers.com/product/pr-003/).
  • Ib, 2.5mm "xov tooj" txuas, vaj huam sib luag mount (https://www.mouser.com/ProductDetail/502-TR-2A).
  • Ib, 33k ohm 1% 1/8 watt resistor.
  • Ib qho, piezo buzzer https://www.adafruit.com/product/160. Yog tias koj xaiv qhov sib txawv piezo buzzer ua kom ntseeg tau tias nws phim qhov tshwj xeeb ntawm qhov no (square yoj uas tau tsav, <= tam sim no tso tawm ntawm ESP32).

Txhawm rau sau cov khoom ntxiv, kuv tau ua cov hauv qab no:

  • Tshem tawm thiab kaw qhov kawg ntawm txhua 4 "xaim ntev raws li qhia.
  • Soldered ib kawg ntawm cov xaim daj thiab ib kawg ntawm 33k ohm resistor rau "Ntsis" tus pin ntawm lub xov tooj txuas.
  • Soldered ib kawg ntawm cov xaim dub mus rau qhov kawg pub dawb ntawm 33k ohm resistor thiab txiav tawm cov xov hluav taws xob ntau dhau.
  • Ua kom sov cua sov ntsws tubing hla cov xov hlau thiab tiv thaiv.
  • Soldered ib kawg ntawm cov xaim liab mus rau "Tsho" tus pin ntawm lub xov tooj txuas.
  • Soldered qhov kawg pub dawb ntawm cov xaim daj rau tus pin 36 ntawm WiFi Kit 32.
  • Soldered qhov kawg dawb ntawm cov xaim dub rau GND tus pin ntawm WiFi Kit 32.
  • Soldered qhov kawg pub dawb ntawm xaim liab mus rau 3V3 tus pin ntawm WiFi Kit 32.
  • Soldered ib lub xaim ntsuab rau ib tus coj ntawm piezo buzzer.
  • Muab cov xaim ntsuab txuas ntxiv rau cov hlau lead uas tseem tshuav ntawm piezo buzzer
  • Soldered qhov kawg pub dawb ntawm ib qho ntawm cov ntsuab piezo xov hlau rau tus pin 32 ntawm WiFi Kit 32.
  • Soldered qhov kawg pub dawb ntawm cov xov paj liab ntsuab ntsuab ntxiv rau GND tus pin ntawm WiFi Kit 32.
  • Txuas lub ntsuas kub mus rau hauv lub xov tooj txuas.

Nrog rau tag nrho cov xov hluav taws xob tiav, Kuv tau tshuaj xyuas kuv txoj haujlwm ob zaug.

Kauj Ruam 3: Txhim Kho Software

Txhim Kho Software
Txhim Kho Software

Cov ntaub ntawv "AnalogInput.ino" yog Arduino ib puag ncig cov ntaub ntawv uas muaj software rau tsim. Ntxiv rau cov ntawv no, koj yuav xav tau "U8g2lib" lub tsev qiv ntawv duab rau WiFi Kit32 OLED zaub (saib https://github.com/olikraus/u8g2/wiki rau cov ntaub ntawv ntxiv ntawm lub tsev qiv ntawv no).

Nrog U8g2lib cov tsev qiv ntawv duab teeb tsa hauv koj phau ntawv teev npe Arduino, thiab "AnalogInput.ino" ntsaws rau hauv Arduino ib puag ncig, suav sau thiab rub tawm software rau hauv WiFi Kit 32. Thaum rub tawm thiab khiav, kab saum toj kawg nkaus ntawm OLED zaub ntawm WiFi Cov Khoom 32 yuav tsum nyeem "Kub" nrog qhov ntsuas kub tam sim no tshwm hauv cov ntawv loj hauv nruab nrab ntawm cov zaub.

Kov lub pob nruab nrab (T5) los tso saib "Teeb Tswb Kub" zaub. Kho lub tswb ntsuas kub los ntawm nias lub khawm sab laug (T4) lossis khawm sab xis (T6) raws li tau piav qhia hauv kev taw qhia. Txhawm rau ntsuas lub tswb, kho lub tswb ntsuas kub kom sib npaug lossis qis dua qhov ntsuas kub tam sim no thiab lub tswb yuav tsum nrov. Thaum ua tiav teeb tsa lub tswb ntsuas kub, kov lub pob nruab nrab kom rov qab mus rau qhov ntsuas kub.

Cov txiaj ntsig dProbeA, dProbeB, dProbeC thiab dResistor hauv software yog qhov txiaj ntsig uas kuv txiav txim siab thaum ntsuas ntsuas ntawm qhov kev tshuaj xyuas kuv siv hauv qhov tsim no thiab yuav tsum tsim kom muaj qhov ntsuas kub kom raug hauv ob peb qib. Yog tias tsis yog, lossis yog qhov xav tau siab dua, tom qab ntawv ntsuas yog tom ntej.

Kauj Ruam 4: Calibrating NTP Kev Ntsuas Kub

Calibrating NTP Kev Ntsuas Kub
Calibrating NTP Kev Ntsuas Kub

Cov khoom hauv qab no yuav tsum tau ntsuas ntsuas qhov ntsuas kub:

  • Ib qho digital ohmmeter.
  • Ib tus paub qhov ntsuas kub digital muaj peev xwm 0 txog 250 degrees F.
  • Ib khob dej khov.
  • Ib lub lauj kaub ntawm cov dej npau (ua tib zoo, ceev faj heev!).

Pib los ntawm kev tau txais qhov tseeb 33k tus nqi tiv thaiv:

  • Tshem tawm lub zog los ntawm WiFi Kit 32 pawg thawj coj.
  • Tshem tawm qhov ntsuas kub los ntawm lub xov tooj txuas (nws kuj tseem yuav tsim nyog kom tshem cov xaim dub los ntawm WiFi Cov Khoom 32, nyob ntawm koj lub digital ohmmeter).
  • Qhib Steinhart-Hart Spreadsheet.
  • Ntsuas tus nqi ntawm 33k ohm resistor siv digital ohmmeter thiab nkag mus rau hauv lub npov "Resistor" daj hauv daim ntawv nthuav tawm thiab mus rau qhov sib txawv "dResistor" hauv software. Thaum qhov no yuav zoo li ntau dhau, 33k ohm 1% resister tuaj yeem ua qhov tseeb ntawm qhov ntsuas kub.
  • Ntsuas qhov ntsuas kub rau hauv lub xov tooj txuas.

Tom ntej no tau txais Steinhart-Hart coefficients:

  • Qhib lub ntsuas kub digital uas paub zoo.
  • Txuas lub hwj chim USB txuas rau hauv WiFi Kit 32.
  • Ib txhij nias thiab tuav sab laug (T4) thiab sab xis (T6) cov nyees khawm kom txog rau thaum "Thermistor Counts" tso tawm.
  • Tso cai rau ob qho tib si tus pas ntsuas kub thiab cov ntsuas ntsuas ntsuas ntsuas kom ruaj khov.
  • Nkag mus rau qhov ntsuas kub thiab ntsuas cua sov mus rau qhov daj "Degrees F los ntawm Tus pas ntsuas kub" thiab "AD suav los ntawm ESP32" kab ntawm kab "Chav".
  • Ntxig ob qho tib si tus pas ntsuas kub thiab lub ntsuas cua ntsuas rau hauv dej khov thiab tso cai rau ob qho tib si kom ruaj khov.
  • Nkag mus rau qhov ntsuas kub thiab ntsuas cua sov mus rau qhov daj "Degrees F los ntawm Tus pas ntsuas kub" thiab "AD suav los ntawm ESP32" kab ntawm kab "Dej Txias".
  • Ntxig ob qho tib si tus pas ntsuas kub thiab lub ntsuas cua ntsuas kub rau hauv cov dej npau thiab tso cai rau ob qho kev qhia kom ruaj khov.
  • Nkag mus rau qhov ntsuas kub thiab ntsuas cua sov mus rau qhov daj "Degrees F los ntawm Tus pas ntsuas kub" thiab "AD suav los ntawm ESP32" kab ntawm kab "Dej Kub".
  • Luam cov ntsuab "A:" coefficient rau hauv qhov sib txawv "dProbeA" hauv qhov chaws.
  • Luam cov ntsuab "B:" coefficient rau hauv qhov sib txawv "dProbeB" hauv qhov chaws.
  • Luam cov ntsuab "C:" coefficient rau hauv qhov sib txawv "dProbeC" hauv qhov chaws.

Sau thiab rub tawm cov software rau hauv WiFi Kit 32.

Kauj Ruam 5: 3D Luam Ntawv Rooj plaub thiab Rooj Sib Tham Kawg

3D Luam Ntawv Cov Ntaub Ntawv thiab Rooj Sib Tham Kawg
3D Luam Ntawv Cov Ntaub Ntawv thiab Rooj Sib Tham Kawg
3D Luam Ntawv Cov Ntaub Ntawv thiab Rooj Sib Tham Kawg
3D Luam Ntawv Cov Ntaub Ntawv thiab Rooj Sib Tham Kawg
3D Luam Ntawv Cov Ntaub Ntawv thiab Rooj Sib Tham Kawg
3D Luam Ntawv Cov Ntaub Ntawv thiab Rooj Sib Tham Kawg

Kuv luam tawm ob qho tib si "Case, Top.stl" thiab "Case, Bottom.stl" ntawm.1mm txheej qhov siab, 50% infill, tsis muaj kev txhawb nqa.

Nrog rau rooj plaub luam tawm, Kuv tau sib sau cov khoom siv hluav taws xob thiab rooj plaub raws li hauv qab no:

  • Kuv desoldered cov xov hlau los ntawm peb lub qhov ntsaws, nias lub qhov ntsaws rau hauv txoj haujlwm hauv "Case, Top.stl", tom qab ntawd rov muag cov xov hlau mus rau lub qhov ntsaws, ua tib zoo sau rau sab laug (T4), nruab nrab (T5) thiab sab xis (T6) xov hlau thiab cov nyees khawm sib xws.
  • Ruaj ntseg lub xov tooj txuas mus rau lub qhov puag ncig hauv "Case, Bottom.stl" siv cov txiv ntoo suav nrog.
  • Muab tso rau piezo buzzer hauv rooj plaub hauv qab sib dhos ib sab ntawm lub xov tooj txuas, thiab nyab xeeb hauv qhov chaw nrog ob daim kab xev.
  • Teem WiFi Cov Khoom 32 mus rau hauv txoj hauj lwm mus rau hauv rooj plaub hauv qab sib dhos, ua kom ntseeg tau tias USB chaw nres nkoj ntawm WiFi Kit 32 ua raws nrog lub qhov hauv lub qhov hauv qab rooj (tsis txhob nias ntawm OLED zaub los tso rau WiFi Kit 32 hauv rooj plaub hauv qab) sib dhos, ntseeg kuv ntawm qhov no, tsuas yog tsis txhob ua nws!).
  • Nias lub rooj sib tham sab saum toj mus rau rooj plaub hauv qab sib dhos thiab ruaj khov nyob rau hauv qhov chaw siv me me ntawm cov tuab cyanoacrylate kua nplaum ntawm cov ces kaum.

Kauj Ruam 6: Txog Software

Txog Software
Txog Software

Cov ntaub ntawv "AnalogInput.ino" yog kev hloov kho ntawm cov ntawv "Buttons.ino" los ntawm kuv cov lus qhia yav dhau los "https://www.instructables.com/id/ESP32-Capacitive-Touch-Buttons/" Kuv tau hloov kho thawj peb txoj cai ntu "teeb tsa ()", "voj ()" thiab "cuam tshuam kev pabcuam ()" suav nrog software rau kev sojntsuam thiab tswb, thiab kuv tau ntxiv peb ntu ntxiv ntu "Analog ()", "Khawm ()" thiab "Zaub ()" los ntxuav "lub voj ()" thiab ntxiv cov software tsim nyog rau kev sojntsuam thiab tswb.

"Analog ()" muaj cov cai tsim nyog los nyeem cov thermistor suav rau hauv ib qho array, nruab nrab qhov suav ntawm qhov suav, siv qhov faib hluav taws xob los tsim tus nqi thermistor thiab thaum kawg siv Steinhart-Hart equations thiab ntsuas kub hloov pauv kom tsim tau degrees Fahrenheit.

"Nyees khawm ()" muaj cov cai tsim nyog rau txheej txheem khawm thiab hloov lub tswb ntsuas kub.

"Zaub ()" muaj cov cai tsim nyog los nthuav qhia cov ntaub ntawv ntawm OLED zaub.

Yog tias koj muaj lus nug lossis lus hais txog txoj cai, lossis lwm yam ntawm Cov Lus Qhia no, thov hu dawb thiab kuv yuav ua qhov zoo tshaj los teb lawv.

Kuv vam tias koj nyiam nws (thiab tseem tseem tsaug zog)!

Kauj Ruam 7: "Txoj Haujlwm Yav Tom Ntej"

Cov
Cov

Txoj haujlwm yuav los tom ntej no, "Intelligrill® Pro", yog qhov ntsuas kub ntsuas ob lub ntsuas pa luam yeeb suav nrog:

  • Steinhart-Hart ntsuas qhov ntsuas kub (tsis zoo li "saib" cov ntxhuav) kom nce qhov tseeb raws li koom nrog hauv Cov Lus Qhia no.
  • Lub sijhawm kwv yees kom ua tiav ntawm kev sojntsuam 1 suav nrog qhov tseeb nce los ntawm Steinhart-Hart kev suav.
  • Ib qho kev sojntsuam thib ob, sojntsuam 2, txhawm rau saib xyuas cov pa luam yeeb kub (txwv rau 32 txog 399 degrees).
  • Capacitive kov cov tswv yim tswj hwm (raws li tau qhia yav dhau los).
  • WIFI raws kev saib xyuas tej thaj chaw deb (nrog tus IP chaw nyob ruaj khov, ua rau saib xyuas cov neeg haus luam yeeb tau zoo los ntawm txhua qhov chaw muaj internet txuas).
  • Kev ntsuas kub ntau ntxiv (32 txog 399 degrees).
  • Kev hnov suab tiav ceeb toom ob qho tib si nyob rau hauv Intelligrill® tus xa xov thiab ntawm feem ntau WiFi muaj peev xwm saib xyuas cov cuab yeej.
  • Kev ntsuas kub hauv ob qho F lossis degrees C.
  • Sijhawm hom nyob hauv HH: MM: SS lossis HH: MM. Cov roj teeb tso tawm hauv ob qho volts lossis % them.
  • Thiab PID tso tawm rau auger raws li cov neeg haus luam yeeb.

"Intelligrill® Pro" tseem tab tom sim ua qhov raug tshaj plaws, muaj cov ntim thiab txhim khu kev qha HTML raws li Intelligrill® Kuv tau tsim. Nws tseem tab tom sim, tab sis nrog cov pluas noj nws tau pab npaj thaum sim, Kuv tau nce ntau dua li ob peb phaus.

Ib zaug ntxiv, Kuv vam tias koj txaus siab rau nws!

Pom zoo: