Cov txheej txheem:

DIY Hacking Koj Tus Kheej Lub Tsev Automation System: 7 Kauj Ruam (nrog Duab)
DIY Hacking Koj Tus Kheej Lub Tsev Automation System: 7 Kauj Ruam (nrog Duab)

Video: DIY Hacking Koj Tus Kheej Lub Tsev Automation System: 7 Kauj Ruam (nrog Duab)

Video: DIY Hacking Koj Tus Kheej Lub Tsev Automation System: 7 Kauj Ruam (nrog Duab)
Video: Tshuaj theem vim li cas thiaj tau nqi ?/ Siv kho mob dab tsi?/paris polyphylla использовать для? 2024, Hlis ntuj nqeg
Anonim
DIY Hacking Koj Tus Kheej Lub Tsev Automation System
DIY Hacking Koj Tus Kheej Lub Tsev Automation System
DIY Hacking Koj Tus Kheej Lub Tsev Automation System
DIY Hacking Koj Tus Kheej Lub Tsev Automation System
DIY Hacking Koj Tus Kheej Lub Tsev Automation System
DIY Hacking Koj Tus Kheej Lub Tsev Automation System

Ib lub tsev siv tshuab hauv tsev yuav tsum tuaj yeem qhib/tua cov khoom siv xws li teeb, kiv cua, kev lom zem, thiab lwm yam. Cov kab ke uas tsis muaj wireless tau ywj siab los ntawm Is Taws Nem, tab sis qhov tseem ceeb tshaj, DIY thiab qhib-qhov vim kuv xav nkag siab li cas nws ua haujlwm.

Vim li cas rov tsim lub log?

Xav Tau Ntxiv?

  • Vim li cas DIY thaum koj tuaj yeem yuav?
  • Dab tsi yog "Smart" Garden?
  • Pib Lub Vaj Sab Hauv Tsev
  • Khawb Deeper rau Sab Hauv Tsev Sab Hauv
  • Sab Hauv Tsev Sab Hauv: Dab tsi tuaj yeem ua tsis raug?
  • Tswj Cov Txheej Txheem Kev Noj Qab Haus Huv
  • Vim li cas Arduino thaum koj tuaj yeem Pi?

hydromazing.com

Kauj Ruam 1: Txheeb xyuas CoreConduit: Garden Controller System

Txheeb xyuas CoreConduit: Garden Controller System
Txheeb xyuas CoreConduit: Garden Controller System

Coreconduit: Garden Controller System ua ntau dua li peb xav tau rau tib neeg lub neej kev noj qab haus huv yog li cia saib seb nws ua dab tsi peb thiaj tuaj yeem hloov qee yam. Tus sau ntawm Cov Ntawv Qhia drones ntawm thiab hais txog cov nroj tsuag muaj kev noj qab haus huv xav tau kev saib xyuas thiab tsis txaus siab txog thaum, "… Kuv tau npaj rau hauv Arduino txoj haujlwm uas kuv hu ua," TheDecider "uas txiav txim siab raws li kev saib xyuas ib puag ncig zoo tshaj plaws rau kev cog ntoo. 1000 ko taw."

Nyob zoo! Peb yuav tsum saib qhov no, "TheDecider"

Lwm qhov ntxiv rau txoj haujlwm no yog:

"Nrog rau kev nyab xeeb hauv siab, Kuv xaiv tsis siv qhov txuas uas nthuav tawm AC tam sim no. Hloov chaw, Kuv tau xaiv siv Chaw Taws Teeb Tswj Kev Tswj Hluav Taws Xob rau kev tswj teeb, twj, kiv cua, cua sov, thiab humidifiers."

Kauj ruam 2: Rub tawm Source-code

Rub tawm Source-code
Rub tawm Source-code

Rub tawm qhov chaws-code los ntawm GitHub.

433MHz RF Module Tutorial

Phau ntawv piav qhia:

"Hauv qhov chaws-tus lej Kuv tau tsim lub hauv paus rau kev tswj hwm, xa tawm, thiab tau txais" sensor "cov khoom thiab" khoom siv "cov khoom. Txoj haujlwm no tuaj yeem hloov kho tau yooj yim los ua haujlwm nrog lwm qhov chaw ib puag ncig uas tswj tau los ntawm kev nyeem cov cim thiab cov khoom siv ua haujlwm. Raws li txoj cai programmed. Koj yuav tsum tau hloov kho qee qhov rau-tus lej kom nws ua haujlwm tau zoo nrog koj lub xov tooj hluav taws xob. Txhawm rau hloov pauv, koj yuav tsum paub seb cov lej twg yog koj li wireless Kev tswj chaw taws teeb siv thiab lub qhov hluav taws xob tau teeb tsa kom tau txais. Kuv tau suav nrog cov duab kos rau kev teeb tsa mus rau koj Arduino Uno* w/ protoshield - nqis tes koj los ntawm cov txheej txheem kom tau txais cov lej. thiab xa cov duab kos no, StartCore.ino mus rau Arduino Uno* thiab qhib lub console txuas rau lub chaw nres nkoj ntawd kom koj tuaj yeem tau txais cov ntaub ntawv los ntawm Arduino."

Cia peb ua ib qho !!

"Tom qab koj ua tiav cov txheej txheem kom tau txais txhua tus lej los ntawm koj cov chaw deb koj tuaj yeem luam thiab muab ncaj qha rau hauv TheDecider.h header file qhov kuv tau hais qhia."

Kauj Ruam 3: Tsim Tus Tswj

Tsim Tus Tswj
Tsim Tus Tswj
Tsim Tus Tswj
Tsim Tus Tswj
Tsim Tus Tswj
Tsim Tus Tswj

Qhov: (txuas muab raws li siv)

  • Arduino Uno R3 (txoj haujlwm no tuaj yeem txuas ntxiv siv ntau chav nyob.)
  • Arduino Uno Sensor Protoshield (tus sau siv lub rooj tsav xwm tsim qauv tsim rau yam zoo li Nokia LCD zaub.) Peb tuaj yeem siv tib qho, ua peb tus kheej, lossis siv Sensor Shield.)
  • 10 k resistor
  • txiv neej pcb headers
  • poj niam pcb headers
  • xaim w/ txuas rau cov sensors
  • 433MHz RF Transmitter & Txais Cov Qauv
  • teeb 5 pob ntawm Wireless Tswj Cov Hluav Taws Xob suav nrog qhov chaws-code !!
  • 2 lossis ntau dua - nRF24L01 2.4Ghz Wireless Radio Transceiver modules

Yeem Tsis Tau:

  • Arduino Uno R3* lossis Pro Mini*
  • Lub Sijhawm Tiag Sijhawm
  • Yeem: nRF24L01 Adapter nrog 3.3v tus tswj hwm
  • cov xov hlau txuas
  • Zaub Kev Xaiv LCD w/ khawm Shield + Arduino Uno R3*
  • 2 x 4-pin txiv neej header txuas cov xov hlau
  • SD Card Xaiv SD Card Shield + Arduino Uno R3*
  • cov xov hlau txuas

Kev Xaiv Kev Sib Txuas Hauv Internet

  • Ethernet lossis WiFi Shield + Arduino Uno R3*
  • cov xov hlau txuas-saib
  • conduit box w/ hau

Cov Cuab Yeej:

  • Soldering Hlau w/ solder
  • ntswj taub hau - lub taub hau me me
  • USB Cord - Txuj Ci
  • PC w/ Arduino lossis Atmel Visual Studio w/ Visual Micro plugin

Kauj Ruam 4: Qee Qhov Kev Sib Tham Yuav Tsum Tau

Qee Lub Rooj Sib Tham Yuav Tsum Tau
Qee Lub Rooj Sib Tham Yuav Tsum Tau
Qee Lub Rooj Sib Tham Yuav Tsum Tau
Qee Lub Rooj Sib Tham Yuav Tsum Tau
Qee Lub Rooj Sib Tham Yuav Tsum Tau
Qee Lub Rooj Sib Tham Yuav Tsum Tau

Pib los ntawm kev xam tawm cov lej twg koj tus kheej tshwj xeeb cov chaw taws teeb wireless AC siv. Lub hauv paus-code xav tias muaj 433Mhz tus txais ntawm tus pin 2 (hauv av), 3 (Cov Ntaub Ntawv), 4 (Vcc) thiab lub sijhawm teev sijhawm tiag tiag txuas nrog ntawm I2C siv A5 (SCL), A4 (SDA), Vcc, av.

Kauj ruam 5: Mus Wireless

Mus Wireless
Mus Wireless
Mus Wireless
Mus Wireless
Mus Wireless
Mus Wireless
Mus Wireless
Mus Wireless

Tam sim no tias tus tswj hwm tau teeb tsa nrog cov lej rau peb qhov hluav taws xob AC, peb tuaj yeem ntxiv nRF24L01 module.

Siv DuPont Rainbow ribbon nrog 2.54mm poj niam sib txuas kom kuv tuaj yeem ua kev cai xaim txuas:

  • Tus lej tus lej ntawm Arduino / Hlau Xim / nRF24L01 Pin
  • Tus Pin 9: Txiv kab ntxwv / CSN "Chip Xaiv"
  • Pin 10: Daj / CE "Chip Enable"
  • Tus Pin 11: Ntsuab / MOSI "Master Out, Slave In"
  • Tus Pin 12: Xiav / MISO "Master In, Slave Out"
  • Tus Pin 13: Ntshav / SCK "System Clock"
  • Vcc 3.3v* Liab (yog tias tsis siv Uno, xaiv tau lub rooj tsav xwm nrog lub ntsuas hluav taws xob)
  • Hauv av. Xim av

Hlau xim coding saib nRF24L01 tivthaiv ib sab nrog siv lead ua tsom rau saum - los ntawm hauv qab txoj cai, nce mus: Xim av | Txiv kab ntxwv | Ntshav | Xiav. Sab laug los hauv qab nce mus: Liab | Daj | Ntsuab | NC

Xav paub ntau ntxiv txog kev txuas nRF24L01 rau Arduino.

Kauj Ruam 6: Txais Sab

Txais Sab
Txais Sab
Txais Sab
Txais Sab

Tus Txais Tus lej-code xav tias nws yuav raug suav sau thiab ua tiav ntawm Arduino Uno lossis ProMini txuas nrog nRF24L01, ib yam li Tus Tswj. Raws li ib feem ntawm Txoj Cai Tswj Xyuas Vaj Tsev, Tus Txais Txais yuav xa cov ntawv ceeb toom los ntawm txuas LCD Zaub thiab/lossis ceeb toom hnov los ntawm piezo txuas ntawm tus pin 2 (hauv av), 3 (teeb liab), 4 (Vcc). Txhawm rau siv hauv cov phiaj xwm kev siv tshuab hauv tsev, cov txheej txheem ceeb toom tuaj yeem raug tshem tawm lossis cov cai hloov kho raws li qhov xav tau.

Kauj Ruam 7: Mus Ntxiv…

Mus Ntxiv…
Mus Ntxiv…

Siv Arduino Uno, Pro Mini, nRF24L01, thiab lwm qhov qhib qhov chaw qhib qhov rooj rau ntau qhov ua tau. Tam sim no peb muaj lub laj kab wireless rau xa cov ntaub ntawv cov ntaub ntawv rau cov ntsuas hluav taws xob, khoom siv, ceeb toom, thiab lwm yam, siv tus tswj hwm rau cov chaw taws teeb AC nyob deb thiab cov tswv yim nkag thiab tus txais rau kev tshawb nrhiav kev txhim kho ntawm tus neeg siv interface. TheDecider tuaj yeem hloov kho tshiab los ua ib tus lej ntawm cov haujlwm raws li kev ntsuas thiab cov neeg siv khoom siv. Dab tsi tus neeg txais yuav teb rau cov ntaub ntawv nws tau txais yog nyob ntawm koj.

Txaus siab rau tinkering !!

Txaus siab rau Hydroponics?

Tsev Automation
Tsev Automation
Tsev Automation
Tsev Automation

Khiav Tawm Hauv Tsev Automation

Pom zoo: