Cov txheej txheem:

Arduino Kombucha Thermostat: 3 Kauj Ruam (nrog Duab)
Arduino Kombucha Thermostat: 3 Kauj Ruam (nrog Duab)

Video: Arduino Kombucha Thermostat: 3 Kauj Ruam (nrog Duab)

Video: Arduino Kombucha Thermostat: 3 Kauj Ruam (nrog Duab)
Video: How to Check your mirrors at airbnb 2024, Hlis ntuj nqeg
Anonim
Arduino Kombucha Thermostat
Arduino Kombucha Thermostat
Arduino Kombucha Thermostat
Arduino Kombucha Thermostat

Kuv ib txwm nyiam Kombucha, tab sis hauv khw nws kim heev. Nyob ib ncig ntawm $ 4 rau 12 oz. tsis muaj txoj hauv kev uas kuv tuaj yeem muaj peev xwm haus nws ntau npaum li kuv xav. Kuv ntsia mus ua kuv tus kheej kombucha thiab pom tau tias nws tsis nyuaj li, thiab tsis xav tau cov peev txheej ntau dhau. Kuv yuav cov khoom siv no kom kuv pib, tab sis koj yuav muaj ntau yam khoom no, yog li tsis txhob yuav qee yam uas koj twb muaj lawm! Kuv yog tub ntxhais kawm puv sijhawm, thiab kuv yuav luag tsis tau nyob hauv tsev, yog li kuv xav tias kuv yuav sim tsim kev sib txuas siv Arduino kom siv lub tshuab cua sov kom sov.

Yam Yuav Tsum Tau Ua Ua Circuit:

  • Arduino Uno (yog tias koj tseem tsis tau muaj Arduino, Kuv xav kom tau txais cov khoom siv los pib. Kuv pib nrog qhov no, thiab nws tuaj nrog LCD, daim ntawv qhia zaub mov, buzzer, LED, thiab TMP36 qhov ntsuas kub uas tuaj yeem siv tau Sab nraum lub kombucha)
  • Creadboard thiab xov hlau
  • DS18B20 Kub Sensor (Koj tseem yuav xav tau 4.7k Resistor)
  • Relay Module
  • Rhaub

Yeem Yam Khoom Ua Ntej Circuit:

  • Breadboard LCD Zaub
  • Breadboard LED
  • Breadboard Piezo Buzzer

Yam Khoom Yuav Tsum Ua Kom Kombucha:

Kuv tau txais cov khoom siv no, uas muaj txhua yam hauv qab no thiab ntau dua.

  • Kombucha Scoby
  • 1 Gallon iav Jar
  • Dub, Ntsuab, lossis Oolong Tea
  • Qab Zib Qab Zib
  • Cov raj mis iav nrog Hau (txhawm rau muab kombucha rau qhov thib ob ferment)

Kauj Ruam 1: Pib Thawj Fermentation

Rau cov kauj ruam no, peb yuav tsis xav tau cov khoom siv hluav taws xob, tsuas yog lub lauj kaub me me, qab zib, lub khob, thiab qee cov tshuaj yej.

  1. Nqa 4 khob dej kom npau. Thaum muaj ib qho zoo rhaub rhaub, tua lub cua sov.
  2. Xijpeem nqa 6 lub hnab tshuaj yej, lossis ncuav 3 diav ntawm cov nplooj xoob xoob dub, ntsuab, lossis oolong tshuaj yej rau hauv hnab tshuaj yej paj rwb thiab ntxiv rau hauv lub lauj kaub.
  3. Ua noj rau 5-7 feeb.
  4. Tshem lub hnab tshuaj yej thiab muab pov tseg cov tshuaj yej.
  5. Ntxiv 1 khob suab thaj rau hauv lub lauj kaub thiab do. Tsis txhob txhawj xeeb txog kev haus cov piam thaj ntau, cov scoby noj cov piam thaj feem ntau thaum lub sijhawm fermentation.
  6. Thaum cov piam thaj tau yaj, ncuav cov tshuaj yej qab zib rau hauv 1 nkas loos brew thawv.
  7. Ncuav 8 khob dej txias, FILTERED. Kuv siv dej fwj txias.
  8. Tam sim no qhov sib xyaw yuav tsum yog chav sov, lossis me ntsis saum toj no. Tsuas yog xyuas kom cov dej tsis siab tshaj 86 degrees hauv Kev ywj pheej ua ntej txav mus rau kauj ruam tom ntej.
  9. Ntxiv cov scoby thiab cov kua dej pib nws los rau hauv qhov sib tov. QHOV TSEEB nkaus xwb.
  10. Npog lub tais nrog daim ntaub paj rwb thiab kaw nrog cov roj hmab.

Tam sim no peb muaj peb (tsis ntev los no) kombucha, cia peb muab nws lub microcontroller lub hlwb…..

Kauj ruam 2: Tsim Circuit Court

Tsim lub Circuit
Tsim lub Circuit
Tsim lub Circuit
Tsim lub Circuit
Tsim lub Circuit
Tsim lub Circuit
Tsim lub Circuit
Tsim lub Circuit

Txhawm rau pib qib thib ob, xub teeb tsa Arduino tom ntej ntawm lub khob cij, thiab sib sau ua ke txhua qhov uas xav tau los pab koj tus kheej nyob rau qhov ntev. Txhawm rau ua kom yooj yim dua ntawm koj ob lub qhov muag, kuv faib lub Circuit Court rau hauv 3 daim duab, LCD, cov ntawv ceeb toom, thiab ntsuas kub. Obligatory Kuv tau ua txhua daim duab nrog Fritzing. Daim duab kawg yog ntawm kuv lub voj voog. Tsis txhob txhawj xeeb yog tias koj lub Circuit Court tsis zoo li kuv li. (;

*** Thov nco ntsoov, sab sib piv ntawm Arduino TSIS YOG. Tsis txhob ntsaws cov xov hlau txuas rau cov kab ntawv ntawd. ***

Kuv mam pib nrog qhov ntsuas kub. Kuv DS18B20 muaj xim liab, xiav, thiab daj, koj li yuav tsum muaj xim zoo ib yam. Liab txuas rau 5V, xiav txuas rau GND. Cov xim daj yog qhov nthuav, vim nws yog cov ntaub ntawv xaim, tab sis nws xav tau qee lub zog ntxiv los ntawm 4.7k Ohm resistor, yog li daj txuas rau tus pin 13 ntawm Arduino, thiab 4.7k Ohm resistor mus los ntawm daj mus rau 5V. Siv daim duab kom nkag siab zoo dua.

* Lub LCD siv qhov chaw ntau tshaj thiab ua rau txhua yam zoo li vwm, tab sis nws yooj yim haum. Kuv yuav mus ntawm LEFT mus rau sab xis, pib ntawm 1, thiab xaus ntawm 16.

  • Tus lej thib 1 mus rau GND.
  • Tus pin thib 2 mus rau 5V
  • Tus lej thib 3 mus rau GND.
  • Plaub tus pin mus rau 12 ntawm Arduino.
  • Tus lej 5 mus rau GND.
  • Tus lej thib 6 mus rau 11 ntawm Arduino.
  • Pins 7-10 tsis siv.
  • Tus lej 11 mus rau 5 ntawm Arduino.
  • 12 tus pin mus rau 4 ntawm Arduino.
  • Tus lej 13 mus rau 3 ntawm Arduino.
  • Tus lej 14 mus rau 2 ntawm Arduino.
  • 15th tus pin txuas rau 5V los ntawm 330 Ohm resistor.
  • Tus lej 16 txuas rau GND.

Kev xa tawm yog qhov tseem ceeb tshaj plaws rau Thermostat ib feem, vim nws tswj hwm thaum lub tshuab rhaub dej qhib lossis kaw. Txhawm rau tsim qhov qauv, Kuv siv qhov kev qhia no los ntawm SparkFun. Kuv siv lub vev xaib no, uas pab paub qhov txawv ntawm cov xov hlau mus qhov twg. Xwb, koj tuaj yeem yuav IOT Relay los ntawm SparkFun lossis Adafruit uas ua tib yam. Kuv muab cov ntaub ntawv tus pin ntawm tus xa mus rau Digital tus pin 6 ntawm Arduino. Kuv teeb tsa kuv qhov kev xa mus rau NC, lossis Ib txwm Kaw, yog li yog tias koj xaiv kom nws tsis yog, lossis Ib txwm Qhib, koj yuav tsum hloov kho txoj cai.

Thaum kawg, qhov kuv hu rau cov neeg ceeb toom. Nov yog lwm txoj hauv kev, thiab tsis tsim nyog ib feem. Yeej, yog tias koj tsis xav kom lub chaw xa khoom rov qhib thaum lub tshuab rhaub dej qhib thiab kaw, koj tuaj yeem ua nws tus kheej thaum twg koj hnov lub suab nrov nrov. Muaj LED, thiab Piezo buzzer. LED sab ntev txuas mus rau 220 Ohm resistor, uas txuas rau tus pin 8 ntawm Arduino. Sab luv txuas rau GND. Lub suab nrov muaj qhov zoo thiab tsis zoo, feem ntau yog cim los ntawm + thiab - feem. Cov + sab mus rau tus pin 9 ntawm Arduino, sab - mus rau GND.

* Nco ntsoov, Kuv tau ua qhov haujlwm no qhib qhov chaw kom koj tuaj yeem hloov kho nws rau qhov koj muaj! Yog tias koj tsis muaj LCD, koj tuaj yeem hloov kho cov cai kom ua haujlwm zoo ib yam yam tsis muaj ib qho!

Kauj Ruam 3: Qhov Zoo Tshaj… Sau Txoj Cai

Tsis muaj kev nkag siab zoo ntawm kev txaus siab thiab ua tiav dua li kev sau cov cai uas ua haujlwm thawj zaug! Hmoov tsis uas tsis yog rau kuv, tab sis nws tseem lom zem thaum nws ua haujlwm. Koj yuav xav tau Arduino IDE txhawm rau nyem qhov chaws mus rau Uno. Muaj lwm txoj hauv kev, tab sis qhov no yog qhov yooj yim tshaj plaws. Yog tias koj tsis muaj IDE teeb tsa lossis teeb tsa, thov tsoo lub qhov luav no.

Thawj kauj ruam yog qhov pib. Muaj peb Lub Tsev Qhua uas tsim nyog rau tus lej no, txhua tus tuaj yeem rub tawm los ntawm Arduino IDE, los ntawm kev mus rau Sketch -> Xws li Tsev Qiv Ntawv -> Tswj Tsev Qiv Ntawv… tom qab ntawd tshawb nrhiav thiab teeb tsa OneWire, LiquidCrystal, thiab Dallas Kub lub tsev qiv ntawv. Kuv tau txuas cov cai, thiab xa nws mus rau kuv Github! Cov ntaub ntawv hu ua KombuchaThermostat.ino.

Txoj cai ncaj qha upload-muaj peev xwm yog tias koj xav tau tsuas yog kev xa tawm (piv txwv li tsis muaj LED lossis Buzzer), thiab koj teeb tsa nws li ib txwm raug kaw. Txwv tsis pub, Kuv tau sau lwm txoj cai, thiab debugging cov tswv yim hauv, lawv tsuas yog tawm tswv yim tawm. Kuv tus lej tau ntawv tso cai nyob rau hauv Public Domain, yog li xav hloov kho cov cai rau koj li thiab nyiam.

Debugging Cov Ntaub Ntawv…

Kev debugging tsis yog qhov txaus ntshai, tshwj xeeb nrog Arduino.

  • Yog tias koj cov cai tsis suav nrog, muaj feem yuav koj tsis muaj cov tsev qiv ntawv teeb tsa.
  • Yog tias nws tsis tso tawm, yuav muaj feem koj tau xaiv qhov chaw nres nkoj tsis raug, lub rooj tsavxwm, lossis tus programmer. Qhov txuas saum toj no los teeb tsa IDE yog cov peev txheej zoo kom ntseeg tau tias koj muaj txhua yam khoom siv teeb tsa kom raug.
  • Yog tias qhov ntsuas kub tsis zoo, tsis pom zoo txhua kab nrog "Serial" hauv nws, thiab qhib Serial saib kom pom koj qhov kub zoo li cas.

Cov cai no tau sim ntawm Ubuntu 16.04.

Yog tias nws ua haujlwm ntawm koj cov kab ke nrog kev ua haujlwm sib txawv, qhia rau kuv paub thiab kuv yuav ntxiv nws rau hauv cov npe!

Pom zoo: