Sparkfun vcnl4040 connection instructions

I have a Sparkfun VCNL4040 proximity sensor that I need to connect to a raspberry pi via the GPIO. Can someone point me to the documentation to do this?
I’ll be coding through Node-Red to start/stop a DC motor.

Thanks in advance.

1 Like

Sparkfun provide excellent documentation for their products, and links directly from the product description to supporting documentation, such as hookup guide, data sheet, and Arduino library.

If the product is stocked by Core Electronics, they also provide the same links.

1 Like

Hi Nigel,

If you’re talking about this one: https://www.sparkfun.com/products/15177 it’s set up for I2C communication, so you’ll just need to look into getting I2C communication up and running on the Pi.

1 Like

Hi Oliver

That’s the one. I’ve re read the data sheet and it is I2C.
Thanks

2 Likes