SparkFun Human Presence and Motion Sensor - STHS34PF80 (Qwiic)

Built around the STHS34PF80 sensor from STMicroelectronics, this board is designed to give engineers the ability to easily experiment and develop applications with the sensor. The board measures 1" x 1" and includes two Qwiic sensors, four mounting holes, six PTH pins (3V3, GND, SCL, SDA, CS, INT), and a red power LED.

The STHS34PF80 sensor, from ST Microelectronics, is designed to measure the precise black-body radiation (as described by Planck's law) of an object; as well as monitor ambient temperature conditions within its 80° field of view. The sensor is composed of a matrix of floating vacuum thermal transistors MOS split into two parts, one exposed to IR radiation and the other one shielded. The differential reading between the segments, allows the sensor to remove self-heating effects. The STHS34PF80 also incorporates algorithms to detect and discriminate between stationary and moving objects. These features enable the sensor to work as a human presence and motion sensor in different applications such as alarm systems, anti-intruder systems, smart lighting, and room occupancy.

The sensor can operate in multiple lighting conditions and is unaffected by visible light or other bands thanks to the 5 to 20µm optical band-pass filter. The STHS34PF80 has an output data rates between 0.25 to 30 Hz and an available single-shot, which are accessed through its I²C/SPI interface.


The SparkFun Qwiic Connect System is an ecosystem of I2C sensors, actuators, shields and cables that make prototyping faster and less prone to error. All Qwiic-enabled boards use a common 1mm pitch, 4-pin JST connector. This reduces the amount of required PCB space, and polarized connections mean you can’t hook it up wrong.


Breakout Board

  • Dimensions: 1" x 1"
  • Two Qwiic Connectors
    • I2C Address (7-bit): 0x5A (Default)
  • Four Mounting Holes:
    • 4-40 screw compatible
  • Six PTH Pins
    • 3V3, GND, SCL, SDA, CS, INT
  • Power LED (Red)

STHS34PF80 Features

  • Voltage Range: 1.7 to 3.6V
    • Current Draw: 10µA
  • Interfaces: I²C or SPI
  • Optical wavelength: 5 to 20µm
  • Range: 4m (objects 70 x 25 cm² in size)
  • Built-in Detection Algorithms:
    • Identify stationary objects
    • Distinguish between stationary and moving objects
  • Field of View: 80°
  • Output Data Rate: 0.25 to 30Hz
  • IR sensitivity: 2000 LSB/°C
  • RMS noise: 25 LSBrms
  • Operating Temperature: -40 to 85°C (default gain mode)
  • Sensor accuracy: ±0.3°C (local)
  • One-shot mode
  • Factory calibrated

Comments

Looking for answers to technical questions?

We welcome your comments and suggestions below. However, if you are looking for solutions to technical questions please see our Technical Assistance page.

Customer Reviews

5 out of 5

Based on 1 ratings:

Currently viewing all customer reviews.

Going beyond motion into presence

This is a very interesting sensor. So much more than just a simple motion detector, this can detect even people that are not moving. I built a quick little kid detector that alerts me to the presence of my son coming up the hallway long before he startles me by bursting into the room. Biggest issue with this product is the lack of Raspberry Pi support. The only way I have found to use this with a Pi was to write my own application in Rust using the unofficial stha34pf80 crate. This would have been really easy had I any experience with Rust, but as is, it took me a couple weeks before I had enough of a handle on it to actually get any data from the sensor. I do have something I can work with at this point, but I am working toward something that can graph the sensor data in real time like the Unico-GUI available from ST Micro. It would be a huge help if some more folks started playing with this using the Pi - I am not used to being the pioneer! I have years of bash scripting experience but Rust is another level. I picked up an ST evaluation motherboard designed to work with the sths34pf80 and am going to order a couple more of these Sparkfun sensors - with the schematics available online for the ST Micro devel board and adapter version of the sths34pf80 I think I can wire up the Sparkfun in it's place and have the full ST suite available to play with.