Code Monkey home page Code Monkey logo

esp32-tsl2561's Introduction

esp32-tsl2561

Introduction

This component provides useful access functions for the TAOS TSL2561 Light-to-Digital Converter device.

It is written and tested for the ESP-IDF environment, version 2.1, using the xtensa-esp32-elf toolchain (gcc version 5.2.0).

Dependencies

Requires esp32-smbus.

Example

An example of this component in use can be found at DavidAntliff/esp32-tsl2561-example

Features

  • Retrieval of device ID and revision number.
  • Configuration of integration time (13, 101 or 402 milliseconds).
  • Configuration of gain (1x or 16x).
  • Calculation of Lux approximation.

Documentation

Automatically generated API documentation (doxygen) is available here.

Source Code

The source is available from GitHub.

License

The code in this project is licensed under the MIT license - see LICENSE for details.

Links

Acknowledgements

Roadmap

The following features are anticipated but not yet implemented:

  • Interrupt support with upper and lower thresholds.
  • Automatic gain selection.
  • Manual integration time.

esp32-tsl2561's People

Contributors

davidantliff avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

fodgeri mdiazdusb

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.