No description
Find a file
ladyada a6aba7192f Rename test sketch to fulltest_sths34pf80 with comprehensive documentation
- Renamed test_sths34pf80 to fulltest_sths34pf80 for clarity
- Added detailed header comments explaining the sketch demonstrates all sensor settings
- Uses sensor default values to provide stable API demonstration without unexpected register changes
- Maintains halt-on-error behavior with F() string memory optimization

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-23 17:03:56 -04:00
.github Add standard Arduino library files and cleanup 2025-08-23 15:58:01 -04:00
examples Rename test sketch to fulltest_sths34pf80 with comprehensive documentation 2025-08-23 17:03:56 -04:00
.clang-format Add standard Arduino library files and cleanup 2025-08-23 15:58:01 -04:00
Adafruit_STHS34PF80.cpp Rename test sketch to fulltest_sths34pf80 with comprehensive documentation 2025-08-23 17:03:56 -04:00
Adafruit_STHS34PF80.h Apply clang-format to source files 2025-08-23 16:00:03 -04:00
CODE_OF_CONDUCT.md Add standard Arduino library files and cleanup 2025-08-23 15:58:01 -04:00
library.properties Add standard Arduino library files and cleanup 2025-08-23 15:58:01 -04:00
LICENSE Add standard Arduino library files and cleanup 2025-08-23 15:58:01 -04:00
README.md Add README.md with library overview and documentation 2025-06-11 18:05:22 -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