connecting Grove sensors to Respeaker 4-mic array

info about ReSpeaker series products

Moderators: lily.li, violet, seth.welday

Post Reply
daniel-hromada
Pre-kindergarten
Pre-kindergarten
Posts: 1
Joined: Tue Aug 07, 2018 10:47 pm

connecting Grove sensors to Respeaker 4-mic array

Post by daniel-hromada » Tue Aug 07, 2018 11:04 pm

Hello world,

I have a circular 4-mic respeaker array on which there are two Grove ports available.

I also have two Grove sensors
1) an ultrasonic ranger
2) sound detection

I was hoping to be able to plug at least one of them into one of Respeaker Grove sockets and make them operational, however, without success.

What library should I use ?

Any piece of information would be helpful.

D.

bill.yu
Junior-7
Junior-7
Posts: 735
Joined: Mon Apr 02, 2018 11:05 am

Re: connecting Grove sensors to Respeaker 4-mic array

Post by bill.yu » Thu Aug 09, 2018 4:18 pm

Hi,

For grove-ultrasonic sensor, please plug into gpio12, NOT I2C. then follow below instructions.

pi@raspberrypi:~ $ git clone https://github.com/Seeed-Studio/grove.py.git
pi@raspberrypi:~ $ cd grove.py/
pi@raspberrypi:~/grove.py $ sudo python setup.py install
pi@raspberrypi:~/grove.py $ cd grove
pi@raspberrypi:~/grove.py/grove $ python grove_ultrasonic_ranger.py 12
Detecting distance...
223.759947152 cm
142.985376818 cm
223.776389813 cm
5.44663133292 cm
9.18733662572 cm
16.5700912476 cm
Warning: the distance from the ultrasonic ranger is not accurate
26.7234341852 cm
223.31188465 cm
223.792832473 cm
11.107017254 cm

Bill

anenin
Pre-kindergarten
Pre-kindergarten
Posts: 1
Joined: Sat Sep 01, 2018 8:36 pm

Re: connecting Grove sensors to Respeaker 4-mic array

Post by anenin » Sat Sep 01, 2018 8:40 pm

Hi!

I have similar problem but with Grove - PIR Motion Sensor. I've followed the instructions above, but instead of the last tep, I did:
python grove_mini_pir_motion_sensor.py 12

the result is nothing - no error, no return of any values. I'm also not sure that mini pir is correct choice since i have a regular pir motion sensor.

UPDATE: when I run ultrasonic ranger - I start to receive some output, with worning that it is incorrect. (Obviously, since I plugged motion sensor).


Best regards,
Andrei

bill.yu
Junior-7
Junior-7
Posts: 735
Joined: Mon Apr 02, 2018 11:05 am

Re: connecting Grove sensors to Respeaker 4-mic array

Post by bill.yu » Mon Sep 03, 2018 8:39 pm

Hi there,

I tested the min pir and pir with connection to GPIO 12. both of them work. For more info, please refer to instruction from https://github.com/Seeed-Studio/grove.p ... /README.md

pi@raspberrypi:~ $ grove_mini_pir_motion_sensor 12
Motion detected.
Motion detected.
Motion detected.
Motion detected.
Motion detected.
Motion detected.
Motion detected.
Motion detected.

thanks
Bill

Post Reply