Skip to content

pilotak/ds248x-serial-bridge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DS248x USB serial bridge

Framework Badge Arduino build

Simple FW for reading Dallas temperature sensors via DS248x with output as JSON

Output example

{ "0x28FF5A1A31180210": 23.06, "0x28FF9725311801EE": 23.12 }

All credits for DS2482 library goes to https://github.com/cybergibbons/DS2482_OneWire/

Errors

{ "error": "<error>" }
  • overcurrent, restart after 5 sec
  • ok
  • no_device (DS248x not responsing), restart after 5 sec

Restart

Just send

{ "restart": true }

In fact sending just restart without beeing json is fine too

Responds with

{ "restart": "ok" }

response can take up to 1 sec