ThingSpeak使用教學(wifibit ver.)
什麼是ThingSpeak?
它是一個網上收集數據的平台,協助我們收集從傳感器(sensor)中得出的data,
例如 : analog read pin了多少次(收集人流數據),溫度等等...
Step 1.確保你的micro:bit已經連上了wifi
Step 2. Go to ThingSpeak at https://thingspeak.com and signup.

Step 3. 註冊帳號
Step 4. login後從網頁上方的Channels選取My Channels

Step 5. 選取New Channel
Step 6. 輸入Channel的名字,並加入Field來記錄數據.

Step 7. 在WiFi:bit欄中選取"izvrsi HTTP metodu GET...." , 然後加至"on button A"

Step 7.5 在"server : " 輸入api.thingspeak.com (上傳data至thingspeak server) , port 保持80不變
「n」是一個普通的varibale

Step 8. 為了上載data到ThingSpeak的雲端上,我們需要把它assign到指定的field,因此我們需要到"API Keys" 複製我們的API Key link.
Step8.5 把「/update ........... field1= 」複製並貼上到「join」後,
注意 : 不需要copy field1 = 後的「0」, update 前的「/」請記緊copy

啡色的"join ..... " 可在「text」中找到
Step9. 接駁soil moisture sensor 讀取並上傳數據至thingspeak

電線接駁方法 :
P0 ---> SIG
3V --> VCC (power)
GND --> GND (power)
** 我們利用fischertechnik的紅綠頭來固定電線,取代燒焊!
實物圖 :
先把jumperwire插入pin的小孔,然後再用紅綠頭把它鎖緊!

整個CODING :

按下Private View便可看到已上傳的數據

影片示範 :