制造商零件编号 K016-H
M5STICKC PLUS W/ WATCH ACCESSORY
M5Stack Technology Co., Ltd.
所订产品一般在 7-10个工作日 内送达中国,具体时间取决于收货地点。
最低订购金额为人民币 300 元,顺丰快递免运费配送。
当用人民币下单时,按照国际贸易条款 DDP(DigiKey 支付关税、海关费用和当地税款)方式结算。
电汇预付
更多来自全授权合作伙伴的产品
下单后,从合作伙伴发货平均需要时间 1-3 天,也可能产生额外运费。可能另外收取运费。 实际发货时间请留意产品详情页、购物车和结账页面上的说明。
国际贸易结算方式:CPT(交货时支付关税、海关费用和适用 VAT/应付税金)
有关详情,请访问帮助和支持
License: General Public License Bluetooth / BLE Displays Wifi Arduino M5Stack M5Stick ESP32
Thanks for the source code and project info provided by @SASAKI TAKERU
Things used in this project
Hardware components
M5Stick C/M5Stick C plus2 with watch accessories x1
Software apps and online services
Story
Recently, I found about ANCS that enables BLE devices to receive iPhone's notifications.
I have BLE including development board M5StickC. That has a display and battery, etc. I only need to write the code.
I decided to make a prototype. Just receive notifications and show them.
It will be something interesting, maybe...
Set RTC
Not required to set RTC.
https://github.com/takeru/Arduino_ESP32_ANCS/commit/2ceb8445611ee356b184592afb69fe4d01e1c08a
(!!!Not required to do this!!!)
First, you need to set RTC.
Use your own tool or mine: https://gist.github.com/takeru/c2922ec229dcc9ad9fc3c601930160aa
You need to configure WiFi SSID & password. And ntp address, timezone, etc.
Code
https://github.com/takeru/Arduino_ESP32_ANCS/blob/M5StickC_Watch_Contest/Arduino_ESP32_ANCS.ino
Clone and open with Arduino IDE and write the sketch to M5StickC.
Open iPhone's Bluetooth setting. Find device named "Watch".
Select it and do pairing. After that, you will be asked to allow "Watch" to use notification data.
If you have notifications. RED LED is notice every 10sec.
If you had called-in, LED will flick and show "Calling.." in display.
If you misplaced your iPhone (BLE Connection is lost), the watch will alert you on LED and Display.
Ah, this is a watch. You can see what time it is and sometimes it shows the current time.
Customize
We can receive more contents from iPhone. Sender name, summary of message, etc... Filter notifications only you want to know.
Play sound from SPEAKER HAT. "Watch, Can you read a message ?"
Many interesting gadgets will be born from M5StickC🍊 & iPhone🍎
Links
I referenced many codes from:
https://github.com/nkolban/esp32-snippets/issues/430
https://github.com/S-March/esp32_ANCS
Complete project code
https://github.com/takeru/Arduino_ESP32_ANCS
谢谢!
敬请关注收件箱中的 DigiKey 新闻与更新!
请输入电子邮件地址