GrovePi and Sensors


#1

Hello, I am working on a project and have run across some challenges. First, I have a need to connect 8 or 9 vibration sensors to the Pi/GrovePi+. Is it possible to do that with one GrovePi+ or can I daisy chain GrovePi+ modules? Second, I purchased about 8 vibration sensors. The cable attached to the sensor is too short for what I need. What is the best solution to extend that cable? Should I cut the cable and extend it that way or can I put a different cable and new connector on? If you would suggest a new connector, what specific connect is it? Also, at what length of cable would signal attenuation become an issue?

I appreciate any/all help you can provide!


#2

Hey Wfarmer,
Each vibration motor takes 60mA so all 8-9 of them will take ~700mA. I think if you have a good 2A power supply to the grovePi, then you should be able to power them. If the power supply is not good or not capable of supplying more that 1A, then the 5V power would have some noise and may cause the Pi to restart. I think the best test for this would be to start with 4 motors and write a test to turn them on/off every seconds. Run it for a few seconds, if everything is fine, add a motor and repeat the test.

For cables, Seeed has a lot of options here: http://www.seeedstudio.com/depot/s/grove%20cable.html?search_in_description=0. The longest one I think is half a meter. I have seen a few people getting the sensors working at even 5 meters, but there are a lot of factors. It would be great if you could keep the wires under a meter to reduce problems with signal attenuation. The problem would be even more with I2C sensors. To extend it further, you’ll have to cut the wire and add a longer one in the middle.

-Karan