20151124_jeffrey - silenceuncrio/diary GitHub Wiki

  • 0930 remind today's work to student Lun
  • 1000 survey the book Raspberry Pi Cookbook ch 8 to 13
  • 1100 finish the proposal of IoT Control Center
  • 1130 skype from charlie
  • 1300 check the mail which informs the IoT weekly meeting
  • 1415 update IoT Platform Plan
  • 1500 review Smart Lighting Educational Kit
  • 1750 join Internet of Things Project meeting

0930

review diary...

11-23 11:00 說的 NAS 不要了

charlie 傳給了我兩本 2015年兩岸通訊產業合作及交流會議
先擱著吧

工讀生 Lun 早上有來, 知會他先看 openHAB 跟 Ameba 之間 Serial 的溝通方式, 朝字串的方向前進

先以下午四點有可能要發表 IoT Platform Plan 的目標來進行
下午準備上檯面的有

  • Introduction
  • Architecture
  • IoT Devices
    • IoT Control Center
    • IoT Control Box
    • IoT Ethernet Control Box
    • IoT Wi-Fi Control Box

趕緊補充 IoT Control Center 的內容

1000

既然 IoT Control Center 是由 Raspberry Pi 所構成
也許找找 樹莓派 食譜之類的書可以得到一些靈感
就鎖定這一本 Raspberry Pi Cookbook
從 index 裡有興趣的章捷找靈感

    1. GPIO Basics
    • 8.1. Finding Your Way Around the GPIO Connector
    • 8.2. Keeping Your Raspberry Pi Safe when Using the GPIO Connector
    • 8.3. Installing RPi.GPIO
    • 8.4. Setting Up I2C
    • 8.5. Using I2C Tools
    • 8.6. Setting Up SPI
    • 8.7. Freeing the Serial Port
    • 8.8. Installing PySerial for Access to the Serial Port from Python
    • 8.9. Installing Minicom to Test the Serial Port
    • 8.10. Using a Breadboard with Jumper Leads
    • 8.11. Using a Breadboard with a Pi Cobbler
    • 8.12. Converting 5V Signals to 3.3V with Two Resistors
    • 8.13. Converting 5V Signals to 3.3V with a Level Converter Module
    • 8.14. Powering a Raspberry Pi with Batteries
    • 8.15. Powering a Raspberry Pi with a LiPo Battery
    • 8.16. Getting Started with a PiFace Digital Interface Board
    • 8.17. Getting Started with a Gertboard
    • 8.18. Getting Started with a RaspiRobot Board
    • 8.19. Using a Humble Pi Prototyping Board
    • 8.20. Using a Pi Plate Prototyping Board
    • 8.21. Using a Paddle Terminal Breakout Board

知道了樹莓派可以有 GPIO, I2C, SPI 和 Serial Port

    1. Controlling Hardware
    • 9.1. Connecting an LED
    • 9.2. Controlling the Brightness of an LED
    • 9.3. Make a Buzzing Sound
    • 9.4. Switching a High-Power DC Device Using a Transistor
    • 9.5. Switching a High-Power Device Using a Relay
    • 9.6. Controlling High-Voltage AC Devices
    • 9.7. Making a User Interface to Turn Things On and Off
    • 9.8. Making a User Interface to Control PWM Power for LEDs and Motors
    • 9.9. Changing the Color of an RGB LED
    • 9.10. Using Lots of LEDs (Charlieplexing)
    • 9.11. Using an Analog Meter as a Display
    • 9.12. Programming with Interrupts
    • 9.13. Controlling GPIO Outputs Using a Web Interface

知道樹莓派可以控制

  • LED on/off, Brightness, Color

  • GPIO Interrupts

    1. Motors
    • 10.1. Controlling Servo Motors
    • 10.2. Controlling a Large Number of Servo Motors
    • 10.3. Controlling the Speed of a DC Motor
    • 10.4. Controlling the Direction of a DC Motor
    • 10.5. Using a Unipolar Stepper Motor
    • 10.6. Using a Bipolar Stepper Motor
    • 10.7. Using a RaspiRobot Board to Drive a Bipolar Stepper Motor
    • 10.8. Building a Simple Robot Rover

知道樹莓派可以控制 Servo Motors

    1. Digital Inputs
    • 11.1. Connecting a Push Switch
    • 11.2. Toggling with a Push Switch
    • 11.3. Using a Two-Position Toggle or Slide Switch
    • 11.4. Using a Center-Off Toggle or Slide Switch
    • 11.5. Debouncing a Button Press
    • 11.6. Using an External Pull-up Resistor
    • 11.7. Using a Rotary (Quadrature) Encoder
    • 11.8. Using a Keypad
    • 11.9. Detecting Movement
    • 11.10. Adding GPS to the Raspberry Pi
    • 11.11. Intercepting Keypresses
    • 11.12. Intercepting Mouse Movements
    • 11.13. Using a Real-Time Clock Module

樹莓派一樣可以接 keypad

    1. Sensors
    • 12.1. Using Resistive Sensors
    • 12.2. Measuring Light
    • 12.3. Detecting Methane
    • 12.4. Measuring a Voltage
    • 12.5. Reducing Voltages for Measurement
    • 12.6. Using Resistive Sensors with an ADC
    • 12.7. Measuring Temperature with an ADC
    • 12.8. Measuring Acceleration
    • 12.9. Measuring Temperature Using a Digital Sensor
    • 12.10. Measuring Distance
    • 12.11. Displaying Sensor Values
    • 12.12. Logging to a USB Flash Drive

arduino 能用的 sensor 樹莓派沒道理不能用

    1. Displays
    • 13.1. Using a Four-Digit LED Display
    • 13.2. Displaying Messages on an I2C LED matrix
    • 13.3. Using Pi-Lite
    • 13.4. Displaying Messages on an Alphanumeric LCD

也可以接 LCD

    1. Arduino and Raspberry Pi
    • 14.1. Programming an Arduino from Raspberry Pi
    • 14.2. Communicating with the Arduino by Using the Serial Monitor
    • 14.3. Setting Up PyFirmata to Control an Arduino from a Raspberry Pi
    • 14.4. Writing Digital Outputs on an Arduino from a Raspberry Pi
    • 14.5. Using PyFirmata with TTL Serial
    • 14.6. Reading Arduino Digital Inputs Using PyFirmata
    • 14.7. Reading Arduino Analog Inputs Using PyFirmata
    • 14.8. Analog Outputs (PWM) with PyFirmata
    • 14.9. Controlling a Servo Using PyFirmata
    • 14.10. Custom Communication with an Arduino over TTL Serial
    • 14.11. Custom Communication with an Arduino over I2C
    • 14.12. Using Small Arduinos with a Raspberry Pi
    • 14.13. Getting Started with an aLaMode Board and a Raspberry Pi
    • 14.14. Using an Arduino Shield with an aLaMode Board and a Raspberry Pi
    • 14.15. Using Gertboard as an Arduino Interface

透過 USB Hub 可以接一堆的 Arduino

1100

勇敢地把 IoT Control Box 有的功能都放到 Control Center 去了
既然是 Control Center 那就要有 Center 的功能才行

去 openHAB 官網偷一些廣告用詞

  • User Interface
    • Android UI - available in Google Play for free
    • iOS UI - available in AppStore for free
    • web interface
  • Rules
    • triggered with different types of events
  • Persistence & Charts

這些夠下午交差了
順便將 _Sidebar 利用 HTML 註解的方式將

  • I/O
  • Communications
  • Miscellaneous

這三個章節先隱藏起來

1130

早上剛利用 Skype 跟 charlie 搭上線, 一堆抱怨隨之而來

[上午 10:05:32] Charlie Huang:
sigh ..
下午開會 我大概把agenda 寄給你們
再討論一下
昨天開完sales meeting
有夠悶啦
搞一下 好像 我出包 他想要cancel 買plug
感覺 他自己也沒想清楚
總覺得一下就可以賺錢一樣
我覺得 都是一種投資.. 目前不太可能 聯產品都不買 就可以 容易賺到錢
稿的我都不太敢亂動

[上午 10:07:18] 綜益 李: 
education kit plan 他想取消? 是嗎?

[上午 10:07:21] Charlie Huang: 
因為最後 好像出個想法 要有責任
no no
smart plugs
education kit 今天討論
我是覺得 一樣的問題
沒想清楚 最後 就是 提建議的 要背責任
昨天說 可以犯錯 但是下次不能再犯
我就覺得奇怪
因為 目前 都還是在我的 想法範圍
對我來說 買500pcs 的設備 本來就是 要推廣

[上午 10:08:25] 綜益 李: 
是 p 建議不是嗎?

[上午 10:08:28] Charlie Huang: 
我先說明一下 問題
我們目前要買入500pcs samples
就是想推廣 要不燃 一直說 要賣 但是沒東西
客戶 怎麼 有辦法買
也沒辦法 試用 等等
然後我們成本 420 NTD
市價大約 800 NTD
所以 如果 如當時我說的 賣這種 自己品牌 還是有價差
但是 如果要推自己品牌 中間 多一手 當然價差 就少
對方中間人 也要賺
所以怎麼拿捏
然後美國那的客戶說
他如果網上要賣25 USD
他的成本需要under 10 USD
所以 他要賺 一半以上
我只是報告一下 進度
然後他就直接 跳到 結論
那怎麼辦
失敗
能退訂嗎
哈哈哈
我一整個傻眼
你看的懂嗎 ?

[上午 10:13:55] 綜益 李: 
我們家業務找的客戶獅子大開口
我不想做這生意了
來人阿
500個 sample 我不要訂了

[上午 10:24:14] Charlie Huang: 
sigh ..
很抽象
有機會再用說的
反正 我覺得 上頭的 期望 跟 執行有落差
這也是一種問題
但是 我的認知 現在 沒技術掌握 沒廣告行銷預算跟人員 請問 是有魔法嗎?
我覺得 他是每有 零售的概念
也許 誰都沒有 但是 就不太能期望 沒東西 就 很成功的騙人付錢
我覺得 他把事情想的很容易 然後 希望 大家都按照他的邏輯的感覺 但是 又沒有 肯定
部知道怎麼說 反正 很麻煩

1300

來自 charlie 對於下午的會議通知 主題: IoT weekly meeting 11/24 4pm 與會成員: Jim, Vincent, Charlie, Victor, Jeffrey, Jammy

Dear All,
Reserve your time to attend. Thank you.
11-24-2015 @ 4PM

Agenda:

  • Plug case current progress
    • Case updates (Charlie)
    • Summary of sales plan (Charlie)
      • B2B: Tupavco, Versatek: pricing plan / promotional strategies, challenges
      • Channels: Ruten, Yahoo.
    • Promotional material status and progress: (Victor)
      • Product briefs
      • Press News
      • Website materials
  • Smart Lighting Educational Kit (Vincent, Charlie, Jeffrey, Jamie)
    • Feedbacks from Pioneer (Victor, Charlie)
  • Open topics (ALL)

Best regards,
Charlie Huang

看到 Smart Lighting Educational Kit 部分

  • Smart Lighting Educational Kit (Vincent, Charlie, Jeffrey, Jamie)
    • Feedbacks from Pioneer (Victor, Charlie)

Feedbacks from Pioneer 這個子項目應該是 P 上禮拜某天中午回饋給 Charlie 跟 Victor 的部分
反正下午就會知道這是甚麼東西了

  • Open topics (ALL)

等到討論到這時都不知道幾點了, 五點還有 Software Review Meeting
如果是在 1645 前的話我就來提一下 IoT Platform 的 Proposal, 超過就算了

1415

IoT Control Center 不應該包含 Text LCD, 因為占了太多支 GPIO

再次 update 了 下面四個 IoT Device

  • IoT Control Center
    • feature - 修改得更俐落, 拿掉 Text LCD, LED
    • hardware - 開發板描述
    • software - 搭配作業系統以及相關軟件
  • IoT Control Box
    • feature - 修改得更俐落, 拿掉 Text LCD, LED
    • hardware - 開發板描述
  • IoT Ethernet Control Box
    • feature - 修改得更俐落, 拿掉 Text LCD, LED
    • hardware - 開發板描述
  • IoT Wi-Fi Control Box
    • feature - 修改得更俐落, 拿掉 Text LCD, LED
    • hardware - 開發板描述
    • software - 搭配作業系統以及相關軟件

1500

review pjeffrey 的 ilight-edu-kit

待會有可能因為 RD 在而先 review

  • Smart Lighting Educational Kit (Vincent, Charlie, Jeffrey, Jamie)
    • Feedbacks from Pioneer (Victor, Charlie)

然後來不及到 open topic RD 就被請出來了
那就不勉強提到 IoT Platform 的事情, 反正資料都已經備著來了
不怕拿不出來, 只怕拿出來時不夠豐富

education kit 目前以 ameba 為主
雖然目前 ameba 的 programming 部分已被指派給 jammy 不過開會的當下有可能會再追加工作項目

leader 的擔當是要給老闆看的
具體實作的細節以及分工是關於我們 RD 人力資源的調度
此時再讓 P 參與也不遲
至少我要保持 IoT 總監的氣度以及態度才有往上爬的機會

1750

Jim 決議 education kit 案子取消

ameba smart lighting 業務會另外提案
會後 victor 的 Meeting Minutes 如下

  • Internet of Things Project
  • 2015/11/24, 16:00pm
  • Highlight
    • Reviewed o’smart BLE Plug project status.
      1. Packages design.
      • o’smart logo label.( Out sourcing by Jack)
      • Using ReIdea gift box with new design including box Color and contents on the box. ( Got design from Consultant Mr. Lee)
      1. Samples testing for the feedback.
      2. Discussing the selling channel.
      • Windfly Inc.
      • Yankees Telecom.
      • Shinnan Inc.
      • Taiwan B2B.
      • Manufacturing Survenior company.
      1. Discussing Promotion materials.
    • Reviewed IoT Smart Lighting Education project status.
      1. Discussing IoT Smart Lighting Kit (Jeffery and Jammy).
      2. Discussing the selling channel / Business Model. (B2B)
    • Discussing innovative IoT solution
  • Action Items
    • o’smart BLE Plug
      1. o’smart logo label.( Out sourcing by Jack)
      2. Samples testing for the feedback.
      3. Reviewing selling channel.
    • IoT Smart Lighting project
      1. Finalise IoT Smart Lighting Kit (Jeffery and Jammy).
      2. Reviewing selling channel.
      • Exhibition for targeting potential customers (Victor).
      • List / name card of lighting manufacturer (Victor).

我們 RD 要注意的有一條 action item

  • Finalise IoT Smart Lighting Kit (Jeffery and Jammy).

就讓 jammy 繼續在 ameba 上 programming 吧

從 charlie 那拿了一個要掛我們 osmart 品牌的產品 - bpoint Plug 智慧電源管家
拿回家讓老婆試用看看