Cov txheej txheem:

Tsis Siv Neeg Dej Dej Nrog La COOL Board: 4 Cov Kauj Ruam (nrog Duab)
Tsis Siv Neeg Dej Dej Nrog La COOL Board: 4 Cov Kauj Ruam (nrog Duab)

Video: Tsis Siv Neeg Dej Dej Nrog La COOL Board: 4 Cov Kauj Ruam (nrog Duab)

Video: Tsis Siv Neeg Dej Dej Nrog La COOL Board: 4 Cov Kauj Ruam (nrog Duab)
Video: Технический разговор TUDev с профессором Борой Озкан - Финтех и будущее финансов 2024, Hlis ntuj nqeg
Anonim
Tsis Siv Neeg Dej Dej Nrog La COOL Board
Tsis Siv Neeg Dej Dej Nrog La COOL Board
Tsis Siv Neeg Dej Dej Nrog La COOL Board
Tsis Siv Neeg Dej Dej Nrog La COOL Board

Nyob Zoo Txhua Tus, Yog li lub sijhawm no peb yuav pib peb Cov Lus Qhia los ntawm kev khawb me ntsis rau hauv La COOL Board. Tus Actor Output ntawm peb lub rooj tsavxwm qhib lub twj tso kua mis thaum cov av qhuav. Ua ntej, kuv yuav piav qhia nws ua haujlwm li cas: La COOL Board muaj 3, 3 volt Output los tswj ib tus neeg ua yeeb yam dhau los ntawm transistor lossis daim npav relay. Kuv xav rov hais dua tias peb xav ntsuas cov av noo thiab qhib lub twj tso kua mis thaum cov av qhuav dhau lawm. Tsis txhob txhawj xeeb txog Arduino program vim tias muaj "tsis muaj" lub cajmeem, tsuas yog qee cov ntaub ntawv teeb tsa thiab xa cov software thiab teeb tsa mus rau daim npav. Peb lub tsev qiv ntawv saib xyuas tus so kom koj tuaj yeem mob siab rau lwm yam khoom:)

Nco ntsoov nyeem peb lwm cov lus qhia txog La COOL Board:

Tsim Chaw Nyob Sab Nraud Sab Nraud

Tag nrho cov peev nyiaj ntawm Cov Lus Qhia no, tsis suav nrog tus nqi ntawm La COOL Board yog 0 € txij li kuv tsuas yog siv cov khoom kuv tau tso ib puag ncig. Yog tias koj yuav tsum yuav txhua yam nws yuav tsum raug nqi tsawg dua 50 €

Koj xav tau:

  1. La COOL Pawg Thawj Coj
  2. Qee qhov qub USB Fais Fab Suply
  3. ob lub qub USB Cables (ib qho nrog USB-A zoo thiab ib qho nrog Micro USB ua haujlwm)
  4. qee Cov Xov
  5. Pheej yig 5-12V dej twj
  6. Lub thawv hlws ris
  7. qee lub cev ntshiab
  8. Txau cov emitters
  9. ib co Hlau
  10. ib co perfboard
  11. 1 x 1N4001 Diode
  12. 3 x Txiv neej Pinhead (yog tias koj siv SMD MOSFET zoo li kuv ua)
  13. 1 x VNN3NV04PTR-E OMNIFET (txhua MOSFET lees txais 3V yuav tsum ua)
  14. 1 x 220Ohm Resistor (yeem)
  15. 1 x 3mm liab coj (xaiv)
  16. Case Sab nraum zoov peb tau tsim hauv qhov kev qhia zaum kawg (xaiv tau)

Cov Cuab Yeej Xav Tau:

  • Soldering Hlau
  • txawv pliers
  • riam
  • Multimeter
  • kub kua nplaum
  • Kuv xav tias yog tag nrho..

Kauj Ruam 1: Programming COOL Board

Programming lub COOL Board
Programming lub COOL Board
Programming lub COOL Board
Programming lub COOL Board
Programming lub COOL Board
Programming lub COOL Board

Hauv theem no, peb yuav tshuaj xyuas cov ntaub ntawv teeb tsa thiab kuv yuav tham me ntsis txog yuav ua li cas peb siv cov ntsuas ntsuas los pib lossis nres peb lub twj tso kua mis. Thaum kawg kuv yuav ua qee qhov piv txwv ntxiv teeb tsa. Koj yuav tsum tau teeb tsa Arduino thiab tau xa tag nrho cov cai xav tau rau Pawg Thawj Coj los ua haujlwm (raws li tau piav qhia ntawm no):

Pib Pib nrog La COOL Board

Qhib Arduino, mus rau Cov Ntaub Ntawv / Piv Txwv / CoolBoard / AutoSprinkle.

Mus rau Cov Ntaub Ntawv / txuag raws li thiab khaws nws hauv koj phau ntawv Arduino (vim tias koj tsis tuaj yeem khaws ua piv txwv).

Tam sim no mus rau koj qhov project Arduino tshiab ntawm koj lub computer. Hauv phau ntawv teev npe koj pom cov.ino Cov Ntaub Ntawv thiab cov ntaub ntawv teev npe (duab 2), ua tibzoo saib cov ntawv tais ceev tseg. Raws li koj tuaj yeem pom muaj 10 cov ntaub ntawv npe COOLsomething.json (duab 3). Qhib coolBoardActorConfig.json!

Koj tuaj yeem hloov qhov txiaj ntsig yog tias koj xav tau, lossis koj tsuas tuaj yeem siv lawv zoo li lawv yog. Zoo tam sim no kuv tuaj yeem hais tias txhua yam tau ntxaws hauv Readme.md hauv lub tsev qiv ntawv, tab sis txij li nws tau yooj yim tiag tiag kuv yuav piav qhia sai sai:

{

"actif": 1, "inverted": 0, "temporal": 0, "low": [50, 0, 0, 0], "high": [40, 0, 0, 0], "yam": ["av noo", ""]}

actif: piav qhia yog tias peb siv tus neeg ua yeeb yam hauv nkoj, teeb nws rau 0 (xoom) kom tsis ua haujlwm.

inverted: Cia kuv siv qhov piv txwv yooj yim. Yog tias koj hloov lub rhaub dej kub nce, tab sis yog koj siv lub tshuab cua txias (zoo li lub kiv cua lossis sab txias ntawm peltier) qhov kub tau qis dua. Yog li tus neeg ua yeeb yam nrog lub caij txias ua rau muaj kev cuam tshuam ntawm qhov ntsuas peb ntsuas. Tau lawm? thov tawm tswv yim yog tias qhov no pom tseeb..

lub sijhawm luv: Tus neeg ua yeeb yam uas ua haujlwm nrog sijhawm, peb tham tom qab txog qhov ntawd.

qis: yog tias cov ntsuas ntsuas siab dua qhov txiaj ntsig tus neeg ua yeeb yam tau qis. Saib xyuas yog tias koj siv tus chij inverted!

siab: yog tias cov ntsuas ntsuas qis dua qhov txiaj ntsig tus neeg ua yeeb yam tau nce siab. Saib xyuas yog tias koj siv tus chij inverted!

hom: yam ntsuas twg siv los tswj peb tus ua yeeb yam? qhov no nws yog av noo, tab sis peb tsis paub tias nws tuaj qhov twg tuaj:(Tam sim no saib ntawm coolBoardSensorConfig.json (duab 5). Nov yog cov ntaub ntawv teeb tsa rau txhua lub ntsuas hluav taws xob nyob hauv. Hauv qab koj tuaj yeem pom avMoisture;)

Koj tuaj yeem hloov qhov txiaj ntsig yog tias koj xav tau, lossis koj tuaj yeem siv raws li qhov lawv xav tau

Txhua yam koj yuav tsum ua yog rub cov duab kos thiab SPIFFS thiab koj li COOL Board tau npaj tiav

Cia saib lwm qhov piv txwv, yog tias qhov sib xws sib xws ntawm chav sov yog 33 ° C thiab peb qhib lub kiv cua thiab qhov kub tau poob mus rau 27 ° C. rau qhov teeb meem no yog:

{

"actif": 1, "inverted": 1, "temporal": 0, "low": [27, 0, 0, 0], "high": [33, 0, 0, 0], "yam": ["Kub", ""]}

Cia peb ua tib zoo saib rau hauv kev teeb tsa:

Nws zoo ib yam rau yav tom ntej txuas ntxiv uas koj xav tau ntsaws rau ntawm lub rooj tsavxwm. Ntawm no kuv tau ntxiv C02 sensor sab nraud thiab kiv cua hauv qhov kev sim tswj ib puag ncig rau kombucha. Qhov no yuav yog ib qho ntawm kuv cov lus qhia tom ntej…

{

"actif": 1, "inverted": 1, "temporal": 0, "low": [500, 0, 0, 0], "high": [900, 0, 0, 0], "yam": ["C02", ""]}

Tab sis tam sim no tsuas yog pib nrog txhua yam khoom ntawd.

Cov syntax ntawm siab thiab qis yog:

Ua [kuv].low: [rangeLow, timeLow, hourLow, minuteLow]

Ua [kuv].high: [rangeHigh, timeHigh, hourHigh, minuteHigh]

Thiab ntawm no cov syntax rau hom:

Act .type: ["primaryType", "secondaryType"]

OK, Kuv vam tias qhov no tsis yog ib qho tsis meej pem rau koj yog li peb hloov kho peb cov qauv piv txwv kom cov dej tsuas yog tshwm sim thaum nruab hnub thaum koj nyob deb ntawm tsev tom haujlwm:

{

"actif": 1, "inverted": 0, "temporal": 1, "low": [50, 0, 20, 0], "high": [40, 0, 9, 0], "yam": ["avMoisture", "teev"]}

Thov nco ntsoov qhov tseeb tias txhua lub Coolboards tab tom ua haujlwm ntawm GMT! Piv txwv li koj yuav tsum tau ntxiv cov teev rau koj lub sijhawm nyob ntawm tus kheej, tab sis tsis ntev qhov no tsuas yog ua ntej hauv COOL Ntawv qhia zaub mov …

Kauj Ruam 2: Txhim Kho Tus Tsav Tsheb

Solder Driver Board
Solder Driver Board
Solder Driver Board
Solder Driver Board
Solder Driver Board
Solder Driver Board

Ua ntej txiav cov USB kab xev kom peb muaj ib Cable nrog USB-A Txuas rau lub zog siv hluav taws xob thiab kab thib ob nrog lub micro-USB kom muaj zog La COOL Board (Duab 1). Tom qab ntawd Sawb txog 5cm ntawm kev cais tawm ntawm txhua kab. Koj yuav tsum muaj tsawg kawg 4 Xov (5 hauv kuv qhov xwm txheej: liab, dub, ntsuab, dawb thiab hauv av). Feem ntau 5 Volt yog liab thiab av yog dub, tab sis thov txheeb xyuas nrog Multimeter (duab 2). Txiav tawm lwm cov xov hlau, peb tsuas xav tau lub zog (cov xov hlau liab thiab dub)!

Ua tibzoo Saib kuv cov fritzing (daim duab 7), yog tias koj twb tau ua qee yam khoom siv hluav taws xob nrog transistors lossis FETs Kuv paub tseeb tias qhov no yooj yim rau koj. Yog tias koj tsis muaj qhov qhia peb ua dab tsi nrog FET Kuv xav qhia koj ua tib zoo saib ntawm no thiab ntawm no. Thov muab nws sim vim qhov no yog lub hauv paus tseem ceeb ntawm hluav taws xob thiab nws yog qhov tseem ceeb kom paub yog tias koj xav ua hluav taws xob …

Ua ntej peb txuas lub transistor. Nov yog qee qhov kev dag rau kev siv qee qhov zoo nkauj Surface Mount Driver ntawm perfboard:

  • Nqa 3 tus txiv neej pinheader thiab muab lawv tso rau ntawm pawg thawj coj saib (duab 3)
  • Muab qee cov laug tso rau ntawm tus pin (duab 4) ua tib yam nrog FET tus pin
  • Tsuas yog ib sab thiab kos rau kev sib dhos (duab 5)
  • Yog tias nws ua tau zoo dua lwm ob tus pin
  • Voila!

Tam sim no solder tus resistor, Diode thiab Led. Koj tuaj yeem tso qee cov xov hlau ntawm Led zoo li kuv tau ua lossis tsuas yog muab nws tso rau ntawm lub rooj tsavxwm zoo li hauv qhov fritzing. Thaum kawg muab cov kab hluav taws xob USB thiab cov xov hlau rau lub twj tso rau.

Txheeb rau luv, ntsaws lub hwj chim thiab COOL Board thiab xyuas seb nws puas pib. Yog tias tsis tshem txhua yam thiab siv lub multimeter kom pom qhov yuam kev!

Kauj Ruam 3: Muab txhua yam tso rau hauv lub thawv

Muab txhua yam tso rau hauv lub thawv
Muab txhua yam tso rau hauv lub thawv
Muab txhua yam tso rau hauv lub thawv
Muab txhua yam tso rau hauv lub thawv
Muab txhua yam tso rau hauv lub thawv
Muab txhua yam tso rau hauv lub thawv
Muab txhua yam tso rau hauv lub thawv
Muab txhua yam tso rau hauv lub thawv

Muab txhua yam tso rau hauv qhov chaw nrog qee cov kua nplaum kub (daim duab 1) qhov no tiv thaiv cov xov hlau tsis tawg yog tias koj rub cov hlua.

Tam sim no nqa koj rab riam thiab txiav me ntsis qhov sib khi ntawm lub thawv hlws ris. thawb cov hlua hla cov hlua khi (daim duab 2).

Thaum kawg nws yuav tsum zoo li hauv daim duab 3;)

Tsuas muaj ib yam ntxiv rau qhov laug, xaim los ntawm Cov Khoom Tawm ntawm COOL Board. Kuv ib txwm siv cov kab laug sab txuas rau ntawm lub rooj kom yooj yim ntsaws thiab tshem tawm (duab 4). Koj tuaj yeem ncaj qha xaim lub xaim ntawm lub ncoo yog tias koj xav tau, Kuv ua li ntawd vim tias kuv rov siv lub rooj tsav xwm rau kev qhia yav tom ntej.

Kauj ruam 4: Txuas txhua yam thiab muab tso rau hauv qhov chaw

Txuas txhua yam thiab muab tso rau hauv qhov chaw
Txuas txhua yam thiab muab tso rau hauv qhov chaw
Txuas txhua yam thiab muab tso rau hauv qhov chaw
Txuas txhua yam thiab muab tso rau hauv qhov chaw
Txuas txhua yam thiab muab tso rau hauv qhov chaw
Txuas txhua yam thiab muab tso rau hauv qhov chaw

Plug lub thawv nrog cov hlua txuas rau lub hwj chim, COOLBoard thiab lub twj tso kua mis (daim duab 1).

Tag nrho peb cov khoom lag luam ntawm La COOL Co yog nyob rau hauv cov thawv yas txheem thiab peb siv lawv rau kev loj hlob. Kuv pom lub thawv uas muaj qhov me me uas peb siv rau kev lim dej hauv aquaponic system (duab 2) thiab lub thawv 22l liab (duab 3 & 4).

Ua kom lub qhov me me me dua thiab ntsaws lub twj tso kua mis, lub qhov dej thiab cov dej ntws tawm. Muab dej tso rau hauv lub thawv qis nrog lub twj tso kua mis. Muab tsob ntoo tso rau hauv lub thawv thiab muab lub raj tso thiab tso dej tso rau hauv lub lauj kaub, qhov kawg uas yuav tsum tau ua yog tso koj lub COOL Board rau hauv av.

Txuas lub hwj huam hluav taws xob thiab teeb tsa WiFi raws li tau piav qhia hauv peb tau pib qhia.

Tam sim no tshuaj xyuas yog tias txhua yam ua haujlwm tau zoo (daim duab 8 & 9) yog tias koj rub lub COOL Board los ntawm cov av (los sim cov av qhuav) lub twj tso kua mis pib li ob peb feeb tom qab.

Ib zaug txuas nrog yog tias nws ua haujlwm: Rub lub Coolboard tawm hauv av, tom qab siab tshaj 5 vib nas this lub twj tso kua mis yuav pib ua haujlwm (daim duab 9). Muab Pawg Thawj Coj rov qab rau hauv av, lub twj tso kua mis nres. Txheeb xyuas tias cov dej ntws tawm tsis nchuav dej rau ntawm lub rooj tsavxwm lossis siv Cov Ntaub Ntawv Sab Nraud peb tau tsim ua ntej (Hmoov tsis zoo kuv lub lauj kaub tau me me los siv rooj plaub..).

Cov nroj tsuag loj loj zoo dua nrog hom kev teeb tsa no nws tsis yog siv tau rau cov nroj tsuag ntawm qhov loj me.

Ua tsaug txhua tus thiab kuv vam tias qhov no qhia koj lub tswv yim meej ntawm qhov koj tuaj yeem ua tau nrog COOL Board.

Pom zoo: