GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - joba-1/Joba_Tsl2561: Arduino/PlatformIO library for Tsl2561 luminosity sensor

BranchesTags
Open more actions menu

Latest commit

 

History

40 Commits
40 Commits

Folders and files

NameName
Last commit message
Last commit date
examples
examples
 
 
lib
lib
 
 
src
src
 
 
.gitignore
.gitignore
 
 
.hgignore
.hgignore
 
 
.travis.yml
.travis.yml
 
 
COPYING
COPYING
 
 
COPYING.LESSER
COPYING.LESSER
 
 
README.md
README.md
 
 
library.json
library.json
 
 
library.properties
library.properties
 
 
platformio.ini
platformio.ini
 
 

Repository files navigation

Joba_Tsl2561

This is an Arduino library for the TSL2561 digital luminosity sensors from Ams (Taos).

Design goals

  • It is modularized so you can use only what you need if space/ram is constrained.
  • It does not swallow error codes so you can react on them.
  • It doesn't use floats as they are overkill for most IoT stuff.

Datasheet used

http://ams.com/eng/Products/Light-Sensors/Ambient-Light-Sensors/TSL2561/TSL2560-TSL2561-Datasheet http://ams.com/eng/content/download/250094/975485/file/TSL2560-61_DS000110_2-00.pdf http://ams.com/eng/content/view/download/145438 http://ams.com/eng/content/view/download/181895

Usage

To use the library, just place the folder in your projects lib folder. For usage, see the examples folder.

Design

The library has 3 classes: Tsl2561 All register access as described in the datasheet, except for interrupts Tsl2561Util Convenience functions like lux calculation or automatic gain Tsl2561Int TODO, Interrupt related stuff (not needed if int pin is not connected)

Compatibility

Tested with boards Nano, ESP8266 and ESP32 iArduino IDE and PlatformIO

Joachim Banzhaf

About

Arduino/PlatformIO library for Tsl2561 luminosity sensor

Topics

arduino-libraryi2c-sensorsluminosityluxplatformio

Resources

Readme
Activity

Stars

3 stars

Watchers

2 watching

Forks

1 fork
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.