GithubHelp home page GithubHelp logo

esp8266stuff's Introduction

esp8266stuff

This drivers intended to be used in ESP8266 RTOS SDK, made with efforts to follow specs strictly as possible, to avoid unexplainable problems as on other drivers. Unfortunately, as onewire/singlewire protocol is available only by bitbang, time critical section might introduce scheduling delays to RTOS (it's unavoidable).

You can reduce MAXWAIT to lower values, to decrease timeout if onewire/singlewire device is not reachable.

dht.c

Tested on AM2320, but should work on others as well. Please update values: OW_PIN_NUM, PERIPHS_IO_MUX_GPIO4_U, FUNC_GPIO4 to pin you will use for data line. You can disable #define LOWMEM and do debugging of cycles numbers, in case you experience any kind of problems. I strongly recommend to not add any code in time critical section, as it may make recognition of bits unreliable.

ds18b20.c

Tested on DS1820 (old model), but should work on others as well. WiP, as search, addressable read, crc need to be implemented.

esp8266stuff's People

Contributors

nuclearcat avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

iotserv larryn3t

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.