--- title: SBIR WRB (11-05-2021) tags: sbir-star robots: noindex, nofollow --- <!-- 研究主題類別: 市場調查、通訊模組、無線技術 --> 端到端液位感測器開發與整合紀錄 I (11-05-2021) === [toc] :::info :bulb: **建議==兩周==為一個 SPRINT** * 力求韌體整合進度即時更新且資訊透明,有助周例會討論,降低專案風險。 ::: ![](https://i.imgur.com/x7hiByv.png) [toc] ## 韌體整合計畫 ### 需求 #### Basics > 下列那些 items 與韌體有關? ==Data Upload Interval,目前先以 Cloudway 為主,固定每 8 小時收集感測端資料,確認是否有其他議題。== | Item | Specs | | --------------------------------|------------------------------------- | | Power Connector | Type C[^1], DC Jack (reserved) | | Stand-by Current | <30uA @3.6V | | Data Upload Interval | Default every 8 hours (configurable) | | Alert Conditions | Buzzer, message to server[^2] | | Backup Battery | Li-ion battery, >400mAh | | Backup Battery Lifetime | Up to 2 years[^3] | #### Wireless Connectivity * Cellular NB-IoT/Cat. M --- ==Cloudway 開機時,一次性設定。 怎麼做?== * Bluetooth 5.0 --- 目前感測器端 (JDY-19) 為 Bluetooth 4.2 :::info Central / Peripheral 設定方式,可透過 [Serial Bluetooth Terminal App](https://play.google.com/store/apps/details?id=de.kai_morich.serial_bluetooth_terminal&hl=zh_TW&gl=US)。 ==NB-IoT / Cat. M1== - apn (e.g. 中華電信 internet.iot) - band (e.g. 中華電信 NB-IoT 為 Band 8,頻段 900MHz,Cat M1 為 Band 3,頻段為 1800MHz。) ==Transport Layer Protocols== * MQTT | LwM2M * ==MQTT Params== * Server IP or Domain name, Server Port (e.g. demo.thingsboard.io, 1883) * <username>,<password> * <topic> ``` e.g. JSON objext example cloudway (topic: v1/devices/me/telemetry) { "rssi":-100, "temperature":25, "battery":80 } Level sensor device (topic: v1/gateway/telemetry) { "00:02:04:00:00:01":[ { "ts":1633502660000, "values":{ "rssi":-90, "level":680, "battery":99 } } ] } ``` * ==LwM2M Params== * ... * ... * ... ==BLE== - ... - ... - ... ::: #### BLE * [nRF52833](/UcKN2cTaQJ6UrrloPV7yKQ) * Applying nRF52833 for EVT/DVT but modulize design for MP | Item | Specs | | --------------------------------|------------------------------------- | | Bluetooth | Bluetooth 5, Long Range | | On-air data rate | 2Mbps / 1Mbps / 500Kbps / 125Kbps | | Transmit Power | -20 dBm to 8 dBm | | Sensitivity | -96 dBm | #### Mechanical | Item | Specs | | --------------------------------|---------------------------------------------- | | Button | Device ON/OFF | | Leds | ==需要明確定義 PWR, ALR, BLE, NB-IoT/Cat. M== | :::info Owner: Jimmy 燈號顏色: Green, Yellow, Red 燈號狀態: ON 表恆亮,OFF 表恆暗,or 規則閃爍及不規則閃爍 RSSI 訊號不佳,燈號表示方式? PWR (電源燈) - ... - ... - ... ALR (排障燈) - ... - ... - ... BLE (藍芽狀態) - ... - ... - ... NB-IoT/Cat. M (基地台連線狀態) - ... - ... - ... ::: #### Environment | Item | Specs | | --------------------------------|---------------------------------------------- | | Operating Temperature | -10 to 65°C | | Storage Temperature | -20 to 80°C | | Storage Humidity Range | <95% RH | --- ***見證人** ---