前往
大廳
主題

HM-10 踩雷筆記 / HM-10 Issue note

夏洛爾 | 2023-11-23 14:00:05 | 巴幣 0 | 人氣 152


中文: 如果你正在使用HM-10藍芽模組,卻發現AT指令很奇怪,你買到的可能是山寨品,會需要使用截然不同AT指令
English: If you have problem using HM-10 module with AT commands, you may encounter clone/knockoff product. It takes different AT commands.


中文:
我不知如何在硬體上區別山寨品,但如果你發現你的AT指令需要包含「\r\n」,那你很可能是在使用山寨品,多數正品使用的AT指令會無法運作

你必須到莆洋國際(http://www.pu-yang.com.tw/download.html)的網站,下載編號1049和1513的說明檔案,來查看山寨品使用的AT指令

另外我買到的山寨品,有以下的使用現象
1.產品名: HM-10 CC2541 主從一體  => 明顯韌體有問題,當從機跟手機連線可以,和其他藍芽模組連線有各種問題,不管是當主機或從機

2.產品名: HM-10 CC2541 從機模組 => 其實可以當主機也可以當從機,除了需要使用上述山寨品專用的AT指令,運作很好

結論:
除非你知道如何買到正版HM-10,否則推薦嘗試用其他模組開發藍芽,真的要買山寨(莆洋國際)要選HM-10 CC2541 從機模組,他的特徵是硬體上比主從一體多一個小按鈕




English:
I don't know how to distinguish knockoff products by hardware, but if you find that your AT commands need to include "\r\n," you are likely using a knockoff product. Most AT commands of the genuine product will not function as expected.

You must visit the Pu-Yang company website (http://www.pu-yang.com.tw/download.html) and download the documentation with the index 1049 and 1513 to check the AT commands used by knockoff products. (Warning: it's all chinese)

Additionally, the knockoff products I purchased exhibit the following behaviors:

Product Name:
HM-10 CC2541 Master-Slave Integrated => Clearly, there is an issue with the firmware. While it can connect by a smartphone as a slave , various problems arise when connecting to other Bluetooth modules, whether acting as a master or slave.

Product Name:
HM-10 CC2541 Slave Module => It can actually function as both a master and a slave. Apart from requiring the custom AT commands mentioned above for knockoff products, it operates well.

Conclusion:
Unless you know how to purchase genuine HM-10, it is recommended to try developing Bluetooth with other modules. If you must buy a knockoff (from Pu-Yang company), choose the HM-10 CC2541 Slave Module. To distinguishing, there is an extra small button on the hardware of HM-10 CC2541 Slave Module compared to the master-slave integrated module.

創作回應

更多創作