https://github.com/meshosk/pico-weather-sensor
Code for weather pico 2 w gatherer with bme280 and pico lipo shim
https://github.com/meshosk/pico-weather-sensor
ble mbe280 micropython raspberry-pi-pico-2-w sensor
Last synced: 2 months ago
JSON representation
Code for weather pico 2 w gatherer with bme280 and pico lipo shim
- Host: GitHub
- URL: https://github.com/meshosk/pico-weather-sensor
- Owner: meshosk
- License: gpl-3.0
- Created: 2025-04-06T13:37:29.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2025-04-07T08:34:17.000Z (8 months ago)
- Last Synced: 2025-04-09T23:50:58.464Z (8 months ago)
- Topics: ble, mbe280, micropython, raspberry-pi-pico-2-w, sensor
- Language: Python
- Homepage:
- Size: 28.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# The pico weather sensor
Code for my home-made weather sensor using:
* BME280 - it is collecting tempererature, humidity, air pressure and calculated sea level air pressure
* Pimoroni LiPo SHIM - for backup battery and resistor for VSYS voltage reading
It is using BLE to send following data in as binary (grabbed from testing html file for BLE run verification):
```javascript
d = {
temperature : dataView.getFloat32(0).toFixed(2),
humidity: dataView.getFloat32(4).toFixed(2),
pressure: dataView.getFloat32(8).toFixed(2),
seaPressure: dataView.getFloat32(12).toFixed(2),
batteryVoltage: dataView.getFloat32(16).toFixed(2),
batteryPercentage: dataView.getFloat32(20).toFixed(2),
usbPlugged: dataView.getUint8(24)
}
```
_Current state it is not fully energy or code (use of AI for faster development) optimized and will change in future._