开发一个类似无线自发电门铃的产品。主机是手机,从机似乎CC2640R2F模块。
1,实现按键键值可以自己定义,有没有可以直接更改的源代码?
2,使用按键自发电,电机+整流+稳压电路,实测电压在2V以上稳定时间只有几十ms,蓝牙是否许需要配对?可以不配对发出数据吗?
YiKai Chen:
1. 可以參考projectzero
2. ble需要配对,不配对只能发出廣播数据
Viki Shi:
1、Project Zero uses a modified version of the simple_peripheral sample application from this SDK to demonstrate and evaluate some of the most commonly used BLE features. Using CCS Cloud™, TI’s web based IDE, Project Zero can be built, downloaded, and debugged directly from a supported browser without the need to install a full desktop IDE. With Project Zero running on the CC2640R2F LaunchPad, you can connect with your smart phone to remotely blink on-board LEDs, send text strings to the LaunchPad’s serial port, and receive button press notifications, all right out of the box.
2、需要配对