2024-11-18 06:57:13 +00:00
|
|
|
# rp2040 Temperatures
|
|
|
|
|
2024-11-18 07:00:14 +00:00
|
|
|
A _wip_ project to read temperatures on a rp2040 and publish readings to mqtt.
|
2024-11-18 06:57:13 +00:00
|
|
|
|
|
|
|
## Projects
|
|
|
|
|
|
|
|
- [cmd-cli](./cmd-cli/): Send COBS encoded commands across a serial connection.
|
|
|
|
Used to configure the microcontroller.
|
|
|
|
- [controller](./controller/): Code running on the rp2040. Because of
|
|
|
|
limitations in cargo, it is not part of the workspace.
|
|
|
|
- [mqtt-protocol](./mqtt-protocol/): Very simple implementation of just enough
|
|
|
|
of MQTT to publish data. There was no MQTT crate that compiles for the rp2040.
|
|
|
|
- [serial-comm](./serial-comm/): Implementation of a (too) simple serial
|
|
|
|
protocol, leveraging
|
|
|
|
[COBS](https://en.wikipedia.org/wiki/Consistent_Overhead_Byte_Stuffing).
|
|
|
|
|
|
|
|
Take a look at the controller subproject to run stuff.
|