STM32 Blue Pill Mynewt 传感器网络应用
stm32bluepill-mynewt-sensor
智能家居
⭐⭐⭐☆☆ (3/5)
已发布
项目简介
Apache Mynewt Sensor Network Application for STM32 Blue Pill and nRF52 with Visual Rust, NB-IoT, GPS, iBeacon, NimBLE, E
这是一个基于Apache Mynewt实时操作系统构建的物联网传感器网络项目,专为STM32 Blue Pill开发板设计。项目核心功能是将Blue Pill开发板配置为传感器节点或数据收集节点,通过nRF24L01无线模块组建低功耗传感器网络,并借助ESP8266 WiFi模块将数据上传至云端CoAP服务器(如thethings.io)。项目还集成了基于WiFi接入点MAC地址和信号强度的地理定位功能,通过Google Geolocation API实现室内外定位。
标签
项目特点
支持多种硬件平台:STM32 Blue Pill、nRF52、GD32VF103、Pine64 PineTime等
多种无线通信方式:ESP8266 WiFi、nRF24L01 2.4GHz、NB-IoT、蓝牙Mesh、iBeacon
支持Rust语言开发,提供安全封装和宏
支持CoAP协议与云平台(thethings.io)通信
支持WiFi地理定位功能
支持低功耗NB-IoT模式
模块化设计,包含多个独立库和驱动
提供详细的安装、构建、烧录和调试日志
技术规格
| 主控芯片 | |
|---|---|
| 操作系统 | |
| 无线模块 | |
| 通信协议 | |
| 传感器 | |
| 开发语言 | |
| 云平台 | |
| 地理定位 | |
| 分支版本 |
项目资源
lupyuen/stm32bluepill-mynewt-sensor
lupyuen/stm32bluepill-mynewt-sensor
lupyuen/stm32bluepill-mynewt-sensor
lupyuen/stm32bluepill-mynewt-sensor
lupyuen/stm32bluepill-mynewt-sensor
lupyuen/stm32bluepill-mynewt-sensor
lupyuen/stm32bluepill-mynewt-sensor
lupyuen/stm32bluepill-mynewt-sensor
lupyuen/stm32bluepill-mynewt-sensor
lupyuen/stm32bluepill-mynewt-sensor
lupyuen/stm32bluepill-mynewt-sensor
lupyuen/thethingsio-wifi-geolocation
lupyuen/gcloud-wifi-geolocation
@ly.lee/build-your-iot-sensor-network-stm32-blue-pill-nrf24l01-esp8266-apache-mynewt-thethings-io-ca7486523f5d
@ly.lee/connect-stm32-blue-pill-to-esp8266-with-apache-mynewt-7edceb9e3b8d
@ly.lee/create-your-iot-gadget-with-apache-mynewt-and-stm32-blue-pill-d689b3ca725
lupyuen/stm32bluepill-mynewt-sensor
lupyuen/stm32bluepill-mynewt-sensor
物料清单 (BOM)
| 物料名称 | 数量 | 参考价格 | 备注 |
|---|---|---|---|
| STM32 Blue Pill | 1 | — | STM32F103C8T6 |
| Super Blue Pill | 1 | — | 可选替代 |
| ESP8266 | 1 | — | WiFi通信 |
| nRF24L01 | 1 | — | 2.4GHz射频通信 |
| ST-Link V2 | 1 | — | 烧录和调试 |
| USB线缆 | 1 | — | 供电和数据传输 |
| 杜邦线 | 若干 | — | 模块间连接 |
所需工具
| 工具 | 用途 | 是否必需 |
|---|---|---|
| 计算机 | 开发环境 | ✅ 是 |
| Visual Studio Code | 代码编辑和任务运行 | ✅ 是 |
| ST-Link V2调试器 | 烧录和调试固件 | ✅ 是 |
| 焊台 | 焊接模块引脚 | ▢ 推荐 |
| 万用表 | 电路测试 | ▢ 推荐 |
能力画像
记忆与知识检索
2/5
逻辑推演
3/5
表达与交流
1/5
感知与观察
2/5
数理与计算
3/5
动手与操作
4/5
狂热与坚持
3/5
创造与创新
3/5
项目图库
所需技能
🔧 **动手能力**:需要焊接模块引脚、连接杜邦线、使用ST-Link调试器进行硬件调试
💻 **编程能力**:需要掌握C语言基础,了解Apache Mynewt操作系统和嵌入式开发流程,Rust分支需要Rust语言知识
⚡ **电子电路**:需要理解STM32引脚定义、ESP8266和nRF24L01模块的接线方式,了解I2C/SPI/UART等通信协议
适用场景
物联网传感器数据采集和上传
分布式传感器网络搭建
WiFi地理定位系统
低功耗远程监控
嵌入式系统学习和实验
Rust嵌入式开发实践