You are reading a single comment by @DaveNI and its replies. Click here to read the full conversation.
  • Oh, if they need to go both directions, the L298D is just what you want - I didn't realize there were zone valves that worked like that.

    I've never heard anyone complaining about the time it takes to get data from the DS18B20, though the module code does not let you provide a callback (ie, getTemp() will block until it returns). I may be missing something, as I haven't worked with oneWire bus before.

    In modules that expect to take a while waiting on some device, often they'll take a callback function as an argument when you call it, do stuff in the background with intervals/timeouts, and then call the supplied function, with the results as arguments, when done.

  • The reason my DS18B20's appeared slow is because I had them wired for parasitic power (ie power derived from the data line, no separate V+)

    I tried powering them directly and they returned the temperature very quickly so I should have no issues with blocking!

    I had no idea that the power mode has such an impact on response time.

About

Avatar for DaveNI @DaveNI started