Code Monkey home page Code Monkey logo

Comments (3)

peter-clarke avatar peter-clarke commented on July 20, 2024

This actually occured to me a while ago. A the pull up is dependant on the type of bead although I know from memory the top two are 10k.

Yes agreed that the current limiting resistor should be indicated as optional.

from espruinodocs.

gfwilliams avatar gfwilliams commented on July 20, 2024

I'd imagine it doesn't actually matter that much what resistor you use as long as it's about right - my gut feeling would have been to use one that fits with the temperature range you expect to measure - but then there's self-heating/etc to worry about.

Also if someone really cared about accuracy they might want to measure their 10k resistor's value and put that in, as it's probably not spot on unless they've spent a lot of money.

from espruinodocs.

peter-clarke avatar peter-clarke commented on July 20, 2024

I used some high precision SMD resistors when I made the HVAC board which
worked okay but had previously tested with similar success using through
hole resistors.

Personally I tend to only use the first two on the list which happen to
require a 10K bias because its the most popular.

We do not measure the resistance of the cable to the sensor nor take into
account any heating etc. for commercial units so I would say you can ignore
that. Providing any cabling to the sensor is screened with the earth
connected at only one end you will have no issues over even significant
distances.

To be honest the bias resistance could be measured and used but its not for
commercial units so figured it would be sufficient to hardcode this. I
might add a functionality for a temperature offset although from experiance
its not linear so never really works.

I think someone was after a way of characterising their own sensors on the
Espruino forum. I have an excel spreadsheet which gives you the correct
figures to use in the Steinhart Hart equasion if you know the temperature
and the resistance over a number of readings. Would you like me to add
this in the module folder?

from espruinodocs.

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.