การใช้งาน NB IoT กับ STM32


การใช้งานจะใช้ lib BC95 ที่ ais เขียนมา 

1) ปรับในไฟล์ bc95.ccp เพื่อให้ใช้งาน hardware serial port ของ stm32  (tx3 rx3 คือ Serial2 ใน arduino) 
2) #include <iota.h> ในไฟล์ bc95.h 
3) ขา tx rx และ direction max487 ให้ทำการ pullup กับ 3.3v 













Comments