RepositoryCSGSingapore
lupyuen

lupyuen/stm32bluepill-mynewt-sensor

Apache Mynewt Sensor Network Application for STM32 Blue Pill and nRF52 with Visual Rust, NB-IoT, GPS, iBeacon, NimBLE, ESP8266 (WiFi Geolocation) and nRF24L01

106sao
34fork
1issue
2lượt xem

📡 Mạng cảm biến IoT Apache Mynewt trên STM32 Blue Pill với Rust, ESP8266 và nRF24L01

Xây dựng mạng cảm biến không dây đa chế độ cho thiết bị nhúng bằng STM32 Blue Pill, kết hợp ESP8266, nRF24L01 và hỗ trợ lập trình Rust.

Đây là một dự án mã nguồn mở dựa trên nền tảng Apache Mynewt, dùng để xây dựng một mạng lưới cảm biến IoT hoàn chỉnh trên board STM32 Blue Pill (STM32F103C8T6). Dự án hỗ trợ nhiều chế độ hoạt động khác nhau như nút độc lập, nút cảm biến, nút thu thập và định vị WiFi, đồng thời tích hợp trình điều khiển cho các thiết bị ngoại vi như ESP8266 (WiFi), nRF24L01 (truyền thông 2.4GHz) và cảm biến nhiệt độ nội bộ của STM32.

✨ Điểm nổi bật

  • Bốn chế độ hoạt động linh hoạt: Hỗ trợ Standalone Node, Sensor Node, Collector Node và WiFi Geolocation.
  • Hỗ trợ truyền thông đa dạng: Sử dụng ESP8266 để truyền dữ liệu JSON qua CoAP (UDP), hoặc nRF24L01 để truyền dữ liệu CBOR giữa các nút.
  • Hỗ trợ lập trình Rust: Tích hợp Rust để lập trình an toàn và hiệu năng cao, kèm theo các nhánh phụ hỗ trợ Rust Macros và Safe Wrappers.
  • Định vị WiFi qua Google Geolocation API: Gửi MAC địa chỉ và cường độ tín hiệu của các điểm truy cập WiFi đến thethings.io để tính toán vị trí địa lý.
  • Cấu trúc môdunle rõ rệt: Bao gồm nhiều thư viện Mynewt như adc_stm32f1, esp8266, nrf24l01, sensor_coap, sensor_network và temp_stm32.
  • Hỗ trợ nhiều nền tảng phần cứng: Ngoài STM32 Blue Pill, dự án còn có các nhánh hỗ trợ cho Pine64 PineTime, GigaDevice GD32VF103, Nordic nRF52 và STM32 L476.
  • Cấu hình qua syscfg.yml: Dễ dàng chuyển đổi giữa các chế độ bằng cách chỉnh sửa cấu hình trong tệp syscfg.yml.
  • Tích hợp hệ sinh thái thethings.io: Gửi dữ liệu cảm biến lên nền tảng thethings.io và đẩy kết quả định vị lên Google Cloud App Engine.

💡 Vì sao đáng chú ý

Dự án không chỉ cung cấp một giải pháp duy nhất mà tích hợp toàn bộ một hệ sinh thái mạng cảm biến IoT từ phần cứng đến dịch vụ đám mây. Sự kết hợp giữa Apache Mynewt (một hệ điều hành nhúng thời gian thực mã nguồn mở) và Rust (ngôn ngữ lập trình an toàn) giúp tăng độ tin cậy và bảo mật cho các thiết bị nhúng. Đặc biệt, khả năng hỗ trợ bốn chế độ hoạt động khác nhau trong cùng một mã nguồn giúp người dùng linh hoạt triển khai giải pháp phù hợp với nhu cầu thực tế.


#ApacheMynewt #STM32BluePill #IoT #EmbeddedRust #TiniX

Dự án tương tự

Khám phá các dự án và mô hình AI khác có sự tương đồng.

Modelsentence-similarity
sentence-transformers/all-MiniLM-L6-v2

all-MiniLM-L6-v2 This is a sentence-transformers(https://www.SBERT.net) model: It maps sentences & paragraphs to a 384 dimensional dense vector space and can be used for tasks like clustering or semantic search. Usage (Sentence-Transformers) Using t...

♥0
164.7M
Jun 1, 2026
RepositoryC
arendst/Tasmota

Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at

25.0k
Nov 17, 2026
RepositoryC
Bodmer/TFT_eSPI

Arduino and PlatformIO IDE compatible TFT library optimised for the Raspberry Pi Pico (RP2040), STM32, ESP8266 and ESP32 that supports different driver chips

5.0k
Apr 3, 2026
RepositoryC
cesanta/mongoose-os

Mongoose OS - an IoT Firmware Development Framework. Supported microcontrollers: ESP32, ESP8266, CC3220, CC3200, STM32F4, STM32L4, STM32F7. Amazon AWS IoT, Microsoft Azure, Google IoT Core integrated. Code in C or JavaScript.

2.7k
Oct 14, 2026
RepositoryC
pikasTech/PikaPython

An ultra-lightweight Python interpreter that runs with only 4KB of RAM, zero dependencies. It is ready to use out of the box without any configuration required and easy to extend with C. Similar project: MicroPython, JerryScript.

1.8k
Sep 11, 2026
RepositoryC++
esphome/esphome

ESPHome is a system to control your ESP32, ESP8266, BK72xx, RP2040 by simple yet powerful configuration files and control them remotely through Home Automation systems.

12.1k
Nov 20, 2026
RepositoryPython
platformio/platformio-core

Your Gateway to Embedded Software Development Excellence :alien:

9.6k
Nov 9, 2026
RepositoryC++
bblanchon/ArduinoJson

📟 JSON library for Arduino and embedded C++. Simple and efficient.

7.2k
Nov 17, 2026
RepositoryC++
blinker-iot/blinker-library

An IoT Solution,Blinker library for embedded hardware. Works with Arduino R4, ESP32.

5.2k
Nov 11, 2026