Skip to content
This repository was archived by the owner on Jun 9, 2018. It is now read-only.
This repository was archived by the owner on Jun 9, 2018. It is now read-only.

Use sample code with ds2482-800 #12

@ferec

Description

@ferec

Hello guys,

I am trying to figure out how to use this library with ds2482. I have a working code for communicating with a real DS18b20 thermometer, it does not work with this lib. In the detection phase I've got invalid commands on Arduino side like 0x65 or 0xd9. Maybe some timing problem?

I am using Arduino Uno with original board. DS2482 communicates with a short cable directly, Raspberry Pi B+ on the I2C side. This communication works with different 1-wire ICs like DS2450, DS2408.

Thank you for your suggestions.

Ferenc

Update:
Problem is caused by pulling down the data pin for 750ms, that is detected as a reset signal. Removing this condition, the communication works. Disabling reset detection while in conversion state can help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions