Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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