# 綠屋頂 ## Phase 1 自動澆灌系統 - 預期完成時間:17. Oct, 2020 - 預期目標: - 遠端控制澆水 - 水塔水位感測 - 根據水位決定是否由自來水口採水 | Week 1 | Week 2 | Week 3 | Week 4 | | -------- |------ | ------ | ------ | | 決定控制器材 | 控制器 PoC 實作 | 組裝測試 | 運作測試 | | |管路採購、組裝|管路組裝|管路、控制器整合測試|| ### 器材選項清單 **控制器:** - Controller (x1): - Raspberry pi (Zero, 3, 4) - Arduino - Water level switches (x2~x4): - [露天](https://www.ruten.com.tw/item/show?21840725060375) - Power Apdaptor (x1): - 5V for controllers - 12V, or 24V for water pumps and valves - Water pump (x1): - [露天--水博士](https://www.ruten.com.tw/item/show?21602669551351) - Water Valve (x1): - [露天](https://www.ruten.com.tw/item/show?22032029107615) - Wires: - 杜邦線 一排(公-母) - 單、多芯線 各一綑(2A or ?) - 5V 磁力繼電器 x2 ** 訂購買項目:** ![](https://i.imgur.com/LCRCWh2.png) ![](https://i.imgur.com/7IORPJo.png) #### 管路 ##### 項目 - 滴灌系統 - 自來水連接 - 水管 - 水管連接工具 - 控制器防水 ##### 自來水 -- 水塔 - 管材:硬管 - 負責人: ##### 水塔 -- 綠屋頂 - 負責人: - 管材:軟管(有現成) - 滴灌: - 壓力: 3~5 kgw/cm2 ##### 綠屋頂內部 - 負責人: ### 預期困難 - 與 MLB-G1103 之間的通訊設定 - 水閥與管線接合問題、漏水處理 - 水位開關安裝後,運作可靠性 - 電源管理 ### 問題討論 Notes: - [Power management](https://learn.pi-supply.com/make/how-to-save-power-on-your-raspberry-pi/) - [MLB-g1103 manual](https://www.induo.com/wp-content/uploads/2019/01/manual-mlb-g1103.pdf) - [Raspberry pi COM](https://en.wikipedia.org/wiki/COM_(hardware_interface)) - [Raspberry pi power consumption](https://www.pidramble.com/wiki/benchmarks/power-consumption) - GPIO: - [RPi - GPIO](https://raspberrypihq.com/use-a-push-button-with-raspberry-pi-gpio/) - [GPIO zero](https://gpiozero.readthedocs.io/en/stable/recipes.html) - [GPIO on Raspberry pi](https://www.raspberrypi.org/documentation/usage/gpio/) - [Driving relays](https://www.susa.net/wordpress/2012/06/raspberry-pi-relay-using-gpio/) - [Current rating](http://www.mosaic-industries.com/embedded-systems/microcontroller-projects/raspberry-pi/gpio-pin-electrical-specifications#rpi-gpio-input-voltage-and-output-current-limitations) - [NPN transistors](https://www.electronics-tutorials.ws/transistor/tran_2.html) - Basic setup: - [Installation](https://www.raspberrypi.org/downloads/) - [SSH](https://www.raspberrypi.org/documentation/remote-access/ssh/) (headless) - [Configuring Raspberry pi](https://www.raspberrypi.org/documentation/configuration/raspi-config.md) - [RS232, RS485](https://rs232-to-rs485.com/) ### 報帳、請款 購買的物品可以在[這邊](https://docs.google.com/spreadsheets/d/17wDblLIxADbjSXSYyDsV3G-_cpxcesTcWBbTW-rjheQ/edit?usp=sharing)做紀錄,方便統一管理。