oyi
#1
Hello everyone,
I bought Grove - Ultrasonic Ranger v. 2 for a small Raspberry Zero W project.
I don’t have the extra hardware to quick connect so I’ll solder directly on the board.
Can you tell me which ports I should use?
Wiki page mentions something but it’s for arduno and not sure if it’ll work for Zero W.
Also, is there any codes in the library I should update?
Thanks!
Hello oyi!
You can use the GPIO whatever you like!
You can check our wiki of Grove-Ultrasonic_Ranger.
oyi
#3
Thank you for your reply!
I’ve soldered the cables directly to 5v - ground and 3-5 GPIO slots but it’s not working. Did I do something wrong?
Some picture of the solder on the board for your reference.
Hi, oyi!
According to the picture you connected the Grove to the Pin5 and Pin6 on RaspberryPi.
You should connect it to GPIO5 and & ** GPIO6**.
GPIO6 --> SIG
GPIO5 --> NC(or no connection)
You can follow the picture to solder on your board.
Have a nice day!
oyi
#5
Thank you again for your reply.
I’m not sure if your schematic is correct but I tried like that and I’m still getting the same error message.
I also tried and used the GPI6 and 5 according to this schematic https://cdn.sparkfun.com/assets/learn_tutorials/6/7/6/PiZerov2.pdf but it also did not work.
Is there a way to understand the reason for this problem? Maybe can I see which pins are active and connected somehow?
Hello, oyi!
Did you follow our wiki to install the grove.py Library
?
You can follow this link to install grove.py library.
Have a nice day!