:::
PM2.5空污監測器實作

回學校後不能上傳資料

discuss pic 2016-08-04 14:41:19
老師您好,我是參加5/13第1梯回娘家7/22
回到學校後設定卻不能傳上去
出現以下錯誤訊息
Arduino:1.6.9 (Windows 7), 板子:"Arduino/Genuino Uno"

C:\Users\MD-500\Downloads\PM250722\pm2.5new\Arduino蝔?K\1050513\LED4_Buzzer_DHT22_ESP8266_Relay_air1_sample\LED4_Buzzer_DHT22_ESP8266_Relay_air1_sample.ino:2:17: fatal error: DHT.h: No such file or directory

compilation terminated.

exit status 1
Error compiling for board Arduino/Genuino Uno.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

監控出現
SEND: AT
RECEIVED: OK after AT Command
Data ready to sent!
Send AT+CWMODE=1
SEND: AT+CWJAP="TN-Computer-bridge","computer123"
Waiting for 15 second to connect network .....
SEND: AT+ CIPMUX=0
Raw Signal Value (0-1023): 128.00 - Voltage: 0.63 - Dust Density: 7.14 ug/m3
SEND: AT+CIPSTART="TCP","pm25.tn.edu.tw",80
SEND: AT+CIPSEND=93
SEND: AT+CIPCLOSE
RECEIVED: Error
Exit2

是否哪裡出錯
明明就已經改學校ssid與密碼了

discuss pic 2016-08-04 18:21:37
錯誤輸出有寫出問題原因:DHT.h: No such file or directory
DHT 程式庫找不到(沒裝)!
安裝方法老師上課講義有寫喔!
PS:很多人回家編譯後,應該都卡在這兒!
discuss pic 2016-08-04 22:29:05
Sorry,沒有再通知,已經有增加 3-3 回校安裝步驟,畫面如下,請參考,若還有其他問題還請告知,感謝。

discuss pic 2016-08-08 12:15:19
老師您好
回校後已有連上學校wifi但是無法接收資料...不知是否哪裡設定錯誤?
SEND: AT
RECEIVED: OK after AT Command
Data ready to sent!
Send AT+CWMODE=1
SEND: AT+CWJAP=有出現學校wifi名稱
Waiting for 15 second to connect network .....
SEND: AT+ CIPMUX=0
SEND: AT+CIPSTART="TCP","pm25.tn.edu.tw",80
SEND: AT+CIPSEND=94
SEND: AT+CIPCLOSE
RECEIVED: Error
Exit2


discuss pic 2016-08-08 13:36:09
鄭老師好:
我是8月上課的學員,回學校後一直出現如上信息,無法上傳,可否幫我查一下下??
編譯上傳訊息:
D:\????雯蝞﹦???PM2.5\Arduino蝔?1050722\csps\LED4_Buzzer_DHT22_ESP8266_Relay_air2_csps\LED4_Buzzer_DHT22_ESP8266_Relay_air2_csps.ino:234:14: warning: multi-character character constant [-Wmultichar]

D:\????雯蝞﹦???PM2.5\Arduino蝔?1050722\csps\LED4_Buzzer_DHT22_ESP8266_Relay_air2_csps\LED4_Buzzer_DHT22_ESP8266_Relay_air2_csps.ino: In function 'boolean connectWiFi()':

D:\????雯蝞﹦???PM2.5\Arduino蝔?1050722\csps\LED4_Buzzer_DHT22_ESP8266_Relay_air2_csps\LED4_Buzzer_DHT22_ESP8266_Relay_air2_csps.ino:67:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

D:\????雯蝞﹦???PM2.5\Arduino蝔?1050722\csps\LED4_Buzzer_DHT22_ESP8266_Relay_air2_csps\LED4_Buzzer_DHT22_ESP8266_Relay_air2_csps.ino: In function 'void updateSensor(float)':

D:\????雯蝞﹦???PM2.5\Arduino蝔?1050722\csps\LED4_Buzzer_DHT22_ESP8266_Relay_air2_csps\LED4_Buzzer_DHT22_ESP8266_Relay_air2_csps.ino:117:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

D:\????雯蝞﹦???PM2.5\Arduino蝔?1050722\csps\LED4_Buzzer_DHT22_ESP8266_Relay_air2_csps\LED4_Buzzer_DHT22_ESP8266_Relay_air2_csps.ino:130:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

D:\????雯蝞﹦???PM2.5\Arduino蝔?1050722\csps\LED4_Buzzer_DHT22_ESP8266_Relay_air2_csps\LED4_Buzzer_DHT22_ESP8266_Relay_air2_csps.ino:134:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

D:\????雯蝞﹦???PM2.5\Arduino蝔?1050722\csps\LED4_Buzzer_DHT22_ESP8266_Relay_air2_csps\LED4_Buzzer_DHT22_ESP8266_Relay_air2_csps.ino: In function 'void setup()':

D:\????雯蝞﹦???PM2.5\Arduino蝔?1050722\csps\LED4_Buzzer_DHT22_ESP8266_Relay_air2_csps\LED4_Buzzer_DHT22_ESP8266_Relay_air2_csps.ino:166:26: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]


草稿碼使用了 13,898 bytes (43%) 的程式儲存空間。上限為 32,256 bytes。
全域變數使用了 816 bytes (39%) 的動態記憶體,剩餘 1,232 bytes 給區域變數。上限為 2,048 bytes 。

序列埠監控信息:

SEND: AT

RECEIVED: OK after AT Command

Data ready to sent!

Send AT+CWMODE=1

SEND: AT+CWJAP="@@@@@@","@@@@@@@@@"

Waiting for 15 second to connect network .....

SEND: AT+ CIPMUX=0

SEND: AT+CIPSTART="TCP","pm25.tn.edu.tw",80

SEND: AT+CIPSEND=93

SEND: AT+CIPCLOSE

RECEIVED: Error

Exit2


discuss pic 2016-08-08 16:28:28
弘毅老師好
剛剛跟你通完電話,如果真的都沒改就好了,那一定要記得,中元普渡要拜一下喔!呵呵
discuss pic 2016-09-09 21:05:29
老師您好
回校後已有連上學校wifi但是最近卻開始無法接收資料...不知是否哪裡設定錯誤?

SEND: AT
fale
SEND: AT+CIPSTART="TCP","pm25.tn.edu.tw",80
SEND: AT+CIPSEND=95
SEND: AT+CIPCLOSE
RECEIVED: Error
Exit2





SEND: AT
RECEIVED: OK after AT Command
Data ready to sent!
Send AT+CWMODE=1
SEND: AT+CWJAP=有出現學校wifi名稱
Waiting for 15 second to connect network .....
SEND: AT+ CIPMUX=0
SEND: AT+CIPSTART="TCP","pm25.tn.edu.tw",80
SEND: AT+CIPSEND=94
SEND: AT+CIPCLOSE
RECEIVED: Error
Exit2
discuss pic 2016-09-12 15:49:13
目前發現只要一開始就出現fale的情況,如下
SEND: AT
fale
....
....
不管後面的錯誤是甚麼,應該就是wifi相關的接線,接觸不良,導致送AT給esp8266,得不到OK的回應,檢查一下接線,甚至用小起子壓一下杜邦母頭旁,露出金屬的方形小孔,讓接頭更緊,請試試看。
discuss pic 2016-09-13 08:16:23
佩純老師好
    不好意思,漏回應你的訊息,看訊息,設備都有正常,我有發布新的程式,看一下公佈欄說明更新一下!如果還是不行,就麻煩拿到中心,我們一起來檢測看看。
discuss pic 2016-09-14 09:09:54
盛南老師好
設備前陣子傳送資料正常,就也沒去動它,但9/6之後傳送又不正常,感謝您的回覆,我再試試,如果不行再麻煩您了,謝謝。
discuss pic 2016-09-29 09:52:49
盛南老師,求救:幾天前開始無法傳資料了,序列埠監控視窗裡只有框框和XX。
discuss pic 2016-10-31 19:46:10
鮑率要改成2400,看有甚麼訊息,在傳上來,或乾脆有來中心的時候再來找我喔!