https://github.com/skyzh/bluesensor
🌃 Collect climate data from sensors on Arduino. Part of the BlueSense Project.
https://github.com/skyzh/bluesensor
arduino cpp dht22 environment iot-device monitoring raspberry-pi sensor
Last synced: 28 days ago
JSON representation
🌃 Collect climate data from sensors on Arduino. Part of the BlueSense Project.
- Host: GitHub
- URL: https://github.com/skyzh/bluesensor
- Owner: skyzh
- License: mit
- Created: 2017-05-28T11:54:18.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2019-11-30T05:17:41.000Z (over 6 years ago)
- Last Synced: 2025-06-28T14:43:10.535Z (11 months ago)
- Topics: arduino, cpp, dht22, environment, iot-device, monitoring, raspberry-pi, sensor
- Language: C++
- Homepage: https://bluesense.skyzh.xyz
- Size: 17.6 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# BlueSensor
Running on Arduino, this program can send sensor data to Raspberry Pi.
Built for BlueSense-NG. For previous versions, refer to legacy branch.
## Dependencies
These libraries are embedded in this project.
* serialpb (BufferProtocol.[h|cpp])
* protobuf generated files (sense.pb.[c|h])
You'll need to install the following dependencies yourself.
* nanopb (use vcpkg or other tools to install protoc plugin, and also install it in Arduino libraries folder)
* BME280 https://github.com/finitespace/BME280
* Python 2.7 and protobuf (required by nanopb generator plugin)
## Data Transmission
All packets are encapsuled in serialpb buffer protocol. For each packet,
The first byte indicates channel.
* nanopb packet begins with `0x00`, then follows raw nanopb (protobuf) data.
* PM2.5 sensor data begins with `0x01`, then follows raw serial data.
* log message begins with `0x02`, then follows the byte string.