0

I have recently purchased an Osepp proximity module at Radio Shack and am attempting to use it with my Arduino Uno. How should I connect it to the Arduino, and what library do I use?

7
  • What's an "Osepp proximity module"? Links please.
    – Majenko
    Commented Jan 11, 2020 at 13:44
  • osepp.com/electronic-modules/sensor-modules/…
    – nerdguy
    Commented Jan 11, 2020 at 13:46
  • Well, it states that it uses a "GP2Y0D805Z0F", so googling for that plus Arduino gives plenty of results, including an Adafuit one, and they are notoriously good with their documentation and example code, so you should check that out first.
    – Majenko
    Commented Jan 11, 2020 at 13:49
  • That's how to use the "GP2Y0D805Z0F". I'm trying to connect the Osepp board to the arduino, not the raw distance sensor.
    – nerdguy
    Commented Jan 11, 2020 at 13:54
  • 1
    Forgive me for being completely new to Arduino, but I have no idea how to follow that diagram.
    – nerdguy
    Commented Jan 11, 2020 at 13:59

1 Answer 1

1

How should I connect it to the Arduino

Refer to the schematic in the page you link to. That shows you which pin is which. It's I2C, so there's just 2 data pins, power, and ground.

and what library do I use?

The Osepp board is a GP2Y0D805Z0F connected to a PCA9534 IO expander. There is a library here.

2
  • I have no idea which pins on the arduino itself besides maybe the 5v and gnd. Is the data cable analog or digital? Is the clock cable even necessary? If so, what pins will work with it?
    – nerdguy
    Commented Jan 11, 2020 at 14:02
  • 1
    Look at the pretty pictures of the board and the arduino and match the names. Learn what I2C is. Understanding schematics is absolutely fundamental to working with electronics.
    – Majenko
    Commented Jan 11, 2020 at 14:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.