kriswiner / STHS34PF80

ST IR temperature sensor with embedded presence and motion detection
10 stars 1 forks source link

Images #1

Open kriswiner opened 1 year ago

kriswiner commented 1 year ago

IMG-0745

kriswiner commented 1 year ago

PeopleCounter v02

kriswiner commented 1 year ago

IMG-0755 1

kriswiner commented 1 year ago

IMG-0755 2

kriswiner commented 1 year ago

IMG-0755 2

PaulKyros commented 9 months ago

Beautiful work! You've inspired me.

Can you please upload a schematic of how you integrated the SN74LVC2G14DBVR, or explain in detail? I ordered these parts on Digikey hoping to get my project to work

I'm trying to run 2 of the STHS34PF80 on the AVR-IOT Cellular Mini and you're the first person I've seen clever enough to get around the stubborn unchangeable I2C address (0x5A) - I couldn't get the microcontroller to recognize SPI.

Also need to connect a KX132 accelerometer to detect tampering.

I'm struggling because it seems like I fix one issue, and another pops up. My application is very similar to yours, except it is using a cellular network and MQTT messenger app.

Enclosed Space Control.zip

kriswiner commented 9 months ago

Hi Paul,

Thanks for the kind words. Those components should work. Perhaps the attached schematic snippet will help. I also have an accel and baro on the same I2C bus (SDA/SCL). A0 is a host GPIO used as a TTL toggle. D4/D5 are host GPIOs for the sensor interrupts, etc.

Let me know if I can provide anything else.

Kris

On Sat, Dec 2, 2023 at 12:06 AM PaulKyros @.***> wrote:

Beautiful work! You've inspired me.

Can you please upload a schematic of how you integrated the SN74LVC2G14DBVR, or explain in detail? I ordered these parts on Digikey hoping to get my project to work

- https://www.digikey.com/en/products/detail/sparkfun-electronics/BOB-00717/5318740

https://www.digikey.com/en/products/detail/texas-instruments/SN74LVC1G3157DBVR/562896

I'm trying to run 2 of the STHS34PF80 on the AVR-IOT Cellular Mini and you're the first person I've seen clever enough to get around the stubborn unchangeable I2C address (0x5A) - I couldn't get the microcontroller to recognize SPI.

Also need to connect a KX132 accelerometer to detect tampering.

I'm struggling because it seems like I fix one issue, and another pops up. My application is very similar to yours, except it is using a cellular network and MQTT messenger app.

Enclosed Space Control.zip https://github.com/kriswiner/STHS34PF80/files/13533769/Enclosed.Space.Control.zip

— Reply to this email directly, view it on GitHub https://github.com/kriswiner/STHS34PF80/issues/1#issuecomment-1837082311, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABTDLKTHHADICGAMGONK2ODYHLORDAVCNFSM6AAAAAA2ME5AVGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZXGA4DEMZRGE . You are receiving this because you authored the thread.Message ID: @.***>