How to connect I2C "hole" to my PC?

Hello.
I would like to know how can I connect an I2C “hole” to my PC. Below you can see exctrats of the datasheet :


The actual device is a VL53L1-SATEL which looks like this :

Do you know which cables I should use ? I’ve got USB,HDMI and Serial ports avalaible on my PC.
The product page where you can download the datasheet can be found here :
VL53L1 - Time-of-Flight ranging sensor with advanced multi-zone and multi-object detection - STMicroelectronics

Thanks a lot,

DaKom

Most PC’s do not have any provision for connecting I2C devices because I2C connections are not meant for end users. The exceptions are maker platforms e.g. Raspberry Pi’s.

You will need to get a USB to I2C adapter, here’s a very good one that also works for other popular micro-controller serial busses:
https://www.digikey.com/short/qp4f1hm4

1 Like

Thank you for your answer.
So I have to connect the yellow part to my PC using USB to USB cable ? And I have to connect the pins by soldering a wire to my VL53L1 card ?
image

Are you using VL53L1 or VL53L1-SATEL?

I assumed you’re using what’s in the photo you posted, a VL53L1-SATEL evaluation PCB. For that part the page with data sheet is here: VL53L1-SATEL - Breakout boards based on the VL53L1CB Time-of-Flight ranging sensor with multi-object detection and FoV programming - STMicroelectronics

If my assumption is correct, then yes, you wire the VL53L1-SATEL PCB to the Bus Pirate and connect the Bus Pirate to the PC using USB. Then you’ll probably need to write a bunch of Python software to get any use from it.

If you are using just the raw sensor (VL53L1), you’ll have to make a PCB with the missing interface electronics.

BTW, this is very far from a beginners project. Considering the questions you’ve posed, I think you’d be better off starting with a complete system designed to use this sensor with a micro-controller. The SparkFun RedBoard Qwiic with a Qwiic Cable Kit and a Qwiic Distance Sensor (VL53L1X) should make getting started with this sensor much easier.

RedBoard Qwiic
https://www.digikey.com/en/products/detail/sparkfun-electronics/DEV-15123/9856839

Qwiic Cable Kit
https://www.digikey.com/en/products/detail/sparkfun-electronics/KIT-15081/9770723

Qwiic Distance Sensor
https://www.digikey.com/en/products/detail/sparkfun-electronics/SEN-14722/9452025

For the ultimate in learning and expandability go for the SparkFun Qwiic Ideation Kit, it has all thee items plus a bunch of extra sensors and I/O devices.
https://www.digikey.com/en/products/detail/sparkfun-electronics/KIT-16262/12140461

1 Like

Hello thank you for your answer. Yes we should use VL53L1-SATEL because we don’t want to make a PCB. I’m a beginner indeed making component research for my company so in the end I’ll get some help. Actually my manager just told me that the PC we’ll connect it to will have I2C pins on it. However my research might be useful if I want to connect it to my personnal PC if I can’t get hold of the target PC in between. I think I’ve found something slightly cheaper than what you referred me to. It is the FT2232H Mini Module ( datasheet on the line below)
FT2232H Mini Module (ftdichip.com)


I’m a bit concerned about the sparkfun electronics adapter because it seems firmwares are done by the community actually and no longer by the supplier. Don’t you think my module will be easier to get working ?

Thanks again for your help,

DaKom

Since this is for a professional use, I think you should get the official ST evaluation PCB (VL53L1-SATEL) and use any example code ST provides. If your company finds a problem with ST’s data sheets or example code it will be easier to get them to help if you’re using their evaluation PCB.

Firmware drivers for sensors are usually totally independent of the particular evaluation PCB used. The driver is for the raw sensor and the PCB simply provides peripheral services that do not impact the firmware, typically only providing signal level translation & power conditioning.

Firmware that is open source and rarely updated by the original author often means it is so reliable the original author has no need to update it. Some firmware drivers I use at work haven’t been updated by the original author for 20 years because they work so reliably.

I’d research how much PC software is available for using the Bus Pirate vs. the FT2232H Mini Module before deciding which one to buy. My guess is that the open hardware Bus Pirate will have a lot more software since it has been around a long time in the open hardware & open software engineering community.

1 Like

Okay thanks a lot for your answers they give me a better perception of the issue.
Have a great day.