Git Product home page Git Product logo

Comments (5)

tve avatar tve commented on May 5, 2024

The strong pull-up is not something that gets configured but something that gets turned on when it is needed. From the datasheet (ds2483 p.8):

The SPU bit is used to activate the strong pullup function
prior to a 1-Wire Write Byte or 1-Wire Single Bit
command. Strong pullup is commonly used with 1-Wire
EEPROM devices when copying scratchpad data to the
main memory or when performing a SHA computation
and with parasitically powered temperature sensors or
A/D converters.

See https://github.com/google/periph/blob/master/devices/ds248x/dev.go#L51-L57

from periph.

justonia avatar justonia commented on May 5, 2024

from periph.

tve avatar tve commented on May 5, 2024

The DS18B20 driver uses the strong pull-up: https://github.com/google/periph/blob/master/devices/ds18b20/ds18b20.go#L82-L84 and https://github.com/google/periph/blob/master/devices/ds18b20/ds18b20.go#L108
I have 14 parasitically powered DS18B20 on one DS2483 and they have been running fine with a read-out every second for over a year.
(I'm using a slightly older version of the library, so it's possible something broke, but IIRC the test set-up maruel uses for automated unit tests runs 2x ds18b20 with parasitic power.)

from periph.

maruel avatar maruel commented on May 5, 2024

I'm not familiar with this device, is there any action item left here?

from periph.

maruel avatar maruel commented on May 5, 2024

Closing due to inactivity. Please reopen if there's still an action item.

from periph.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.