Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

FOREillusion/BlueSensor

Open more actions menu
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

🌃 Collect climate data from sensors on Arduino. Part of the BlueSense Project.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • C++ 70.7%
  • C 25.7%
  • Shell 3.6%
Morty Proxy This is a proxified and sanitized view of the page, visit original site.