Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pilotak/ds248x-serial-bridge
Read Dallas temperature (DS12B20) over serial port
https://github.com/pilotak/ds248x-serial-bridge
1-wire arduino ds18b20 ds18s20 ds2482-100 ds2482-800 ds2484 serial
Last synced: about 1 month ago
JSON representation
Read Dallas temperature (DS12B20) over serial port
- Host: GitHub
- URL: https://github.com/pilotak/ds248x-serial-bridge
- Owner: pilotak
- Created: 2023-10-14T20:07:38.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2023-11-13T18:41:36.000Z (about 1 year ago)
- Last Synced: 2023-11-13T20:33:03.021Z (about 1 year ago)
- Topics: 1-wire, arduino, ds18b20, ds18s20, ds2482-100, ds2482-800, ds2484, serial
- Language: C++
- Homepage:
- Size: 14.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DS248x USB serial bridge
[![Framework Badge Arduino](https://img.shields.io/badge/framework-arduino-00979C.svg)](https://arduino.cc)
[![build](https://github.com/pilotak/ds248x-serial-bridge/actions/workflows/build.yml/badge.svg)](https://github.com/pilotak/ds248x-serial-bridge/actions/workflows/build.yml)Simple FW for reading Dallas temperature sensors via DS248x with output as JSON
Output example
```json
{ "0x28FF5A1A31180210": 23.06, "0x28FF9725311801EE": 23.12 }
```> All credits for DS2482 library goes to https://github.com/cybergibbons/DS2482_OneWire/
### Errors
```json
{ "error": "" }
```- `overcurrent`, restart after 5 sec
- `ok`
- `no_device` (DS248x not responsing), restart after 5 sec### Restart
Just send
```json
{ "restart": true }
```> In fact sending just `restart` without beeing json is fine too
Responds with
```json
{ "restart": "ok" }
```> response can take up to 1 sec