Cannot find qwiic HC-SR04 Python library

Hello,

I’ve been building a device that features a raspberry pi and multiple devices.

I liked the qwiic system so much that I decided to buy the qwiic raspberry pHat and switch all devices to qwicc.

This worked just fine except for the qwiic Ultrasonic Distance Sensor (HC-SR04). After searching the hookup-guide and some websites, I wasn’t able to find a Python library for this device.

Could someone tell me where to find the library?

Thanks,

Michael

Looks like it is not available on the internet. Either you have to develop by yourself or use the VCC,GND, Echo,Trig pinouts and the ordinary HCSR04 python library, bypassing the I2C.

Hello and thanks for your reply,

I have the ordinary HCSR04 running, but I’d rather have it with QWIIC.

I am new to working with hardware. Though I do no Python, I have no clue how to go about this…

Are there any references/examples on how to code a python library from scratch for such a device? Especially when dealing with QWICC…

Thanks,

Michael