No description
Find a file
ladyada 354bb82d86 Add complete CTRL3 register support with interrupt configuration
- Add interrupt polarity, output type, and latched mode configuration
- Add interrupt mask support for presence, motion, and ambient shock flags
- Add interrupt signal routing (High-Z, DRDY, INT_OR)
- Add flag definitions for PRES_FLAG, MOT_FLAG, TAMB_SHOCK_FLAG
- Update test sketch with interrupt configuration testing
- All functions tested and verified working with hardware

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-22 18:00:49 -04:00
.github Remove backup file 2025-06-11 18:03:21 -04:00
examples/test_sths34pf80 Add complete CTRL3 register support with interrupt configuration 2025-08-22 18:00:49 -04:00
.clang-format Add GitHub configuration and formatting files 2025-06-11 18:02:30 -04:00
Adafruit_STHS34PF80.cpp Add complete CTRL3 register support with interrupt configuration 2025-08-22 18:00:49 -04:00
Adafruit_STHS34PF80.h Add complete CTRL3 register support with interrupt configuration 2025-08-22 18:00:49 -04:00
output.txt Add complete low-pass filter configuration support 2025-06-11 18:19:01 -04:00
README.md Add README.md with library overview and documentation 2025-06-11 18:05:22 -04:00
sths34pf80.pdf Add complete low-pass filter configuration support 2025-06-11 18:19:01 -04:00
sths34pf80.txt Add complete low-pass filter configuration support 2025-06-11 18:19:01 -04:00

Adafruit STHS34PF80 Library Build StatusDocumentation

This is the Adafruit STHS34PF80 infrared sensor library for Arduino.

Tested and works great with the Adafruit STHS34PF80 Breakout Board.

This chip uses I2C to communicate, 2 pins are required to interface.

Adafruit invests time and resources providing this open source code, please support Adafruit and open-source hardware by purchasing products from Adafruit!

About the STHS34PF80

The STHS34PF80 is an uncooled, factory-calibrated infrared motion and presence detection sensor. Key features include:

  • High Sensitivity: 2000 LSB/°C IR sensitivity
  • Long Range: Up to 4 meters detection without lens for 70x25cm objects
  • Wide Field of View: 80° field of view
  • Smart Algorithms: Embedded presence, motion, and ambient temperature shock detection
  • Low Power: 10 µA supply current at 1Hz ODR
  • Temperature Sensor: Integrated ambient temperature sensor with ±0.3°C accuracy
  • Flexible ODR: Programmable output data rates from 0.25 Hz to 30 Hz
  • Digital Interface: I²C and 3-wire SPI interface
  • Operating Range: 5 µm to 20 µm wavelength, -40°C to +85°C

Installation

To install, use the Arduino Library Manager and search for "Adafruit STHS34PF80" and install the library.

Dependencies

Contributing

Contributions are welcome! Please read our Code of Conduct before contributing to help this project stay welcoming.

Documentation and doxygen

Documentation is produced by doxygen. Contributions should include documentation for any new features that they add.

Some examples of how to use the library are included in the examples/ folder.

About this Driver

Written by Ladyada for Adafruit Industries. MIT license, check license.txt for more information All text above must be included in any redistribution