grove gsr on grovepi

Grove is a modulated, ready-to-use tool set.
Much like Lego, it takes a building block approach to assembling electronics.

Moderators: violet, jeremy882, crail.lyu969

Post Reply
joe yang
Pre-kindergarten
Pre-kindergarten
Posts: 10
Joined: Sun Jul 08, 2018 10:28 am

grove gsr on grovepi

Post by joe yang » Sun Sep 16, 2018 11:45 pm

I have purchased grove gsr and grovepi, wondering if there's any sample code for grove gsr on grove pi ? any nodejs code or python code ? I have searched sample code for grove gsr on arduino only , it seems no sample code on grovepi ?

bill.yu
Elementary-2
Elementary-2
Posts: 296
Joined: Mon Apr 02, 2018 11:05 am

Re: grove gsr on grovepi

Post by bill.yu » Mon Sep 17, 2018 9:48 am

Hi there,

the gsr sensor is analog sensor. you can refer to https://github.com/DexterInd/GrovePi/bl ... _switch.py. thanks.

Bill

joe yang
Pre-kindergarten
Pre-kindergarten
Posts: 10
Joined: Sun Jul 08, 2018 10:28 am

Re: grove gsr on grovepi

Post by joe yang » Mon Sep 17, 2018 10:41 am

Hi, the above is not grove gsr ? have you got any example of grove gsr on grovepi? any nodejs code ? python is fine ... Thanks

bill.yu
Elementary-2
Elementary-2
Posts: 296
Joined: Mon Apr 02, 2018 11:05 am

Re: grove gsr on grovepi

Post by bill.yu » Mon Sep 17, 2018 12:45 pm

HI Joe,

it is the same, coz both switch and gsr are anlog sensor. so you can use the same script to extract the analog reading. thanks.

best rgds
Bill

joe yang
Pre-kindergarten
Pre-kindergarten
Posts: 10
Joined: Sun Jul 08, 2018 10:28 am

Re: grove gsr on grovepi

Post by joe yang » Mon Sep 17, 2018 1:25 pm

HI, Bill:

I have purchased a grovepi starter kit: https://www.dexterindustries.com/GroveP ... arter-kit/,
So all I have to do is plugging grove gsr into grovepi and paste those codes ?

Thanks
JOe

bill.yu
Elementary-2
Elementary-2
Posts: 296
Joined: Mon Apr 02, 2018 11:05 am

Re: grove gsr on grovepi

Post by bill.yu » Tue Sep 18, 2018 7:32 pm

Hi Joe

Step 1. Follow Setting Software to configure the development environment. https://www.dexterindustries.com/GroveP ... -software/

Step 2. Git clone the Github repository.
cd ~
git clone https://github.com/DexterInd/GrovePi.git

Step 3. Excute below commands to use the grove_tilt_switch to meansure the distance.

cd ~/GrovePi/Software/Python
python grove_tilt_switch.py

thanks
Bill

joe yang
Pre-kindergarten
Pre-kindergarten
Posts: 10
Joined: Sun Jul 08, 2018 10:28 am

Re: grove gsr on grovepi

Post by joe yang » Sat Sep 22, 2018 2:47 pm

Thanks Bill, will get a chance to try and update you soon, btw: I'd like to send those data to cloud for further machine learning analysis(feature selection/extraction for destress, normal, nurvous...), any similar case would be appreciated, it's something like this: https://www.ibm.com/developerworks/libr ... index.html

seeed techsupport team
Staff
Staff
Posts: 31
Joined: Mon Mar 19, 2018 11:40 am

Re: grove gsr on grovepi

Post by seeed techsupport team » Wed Sep 26, 2018 10:51 am

Hi Joe,

please try https://project.seeedstudio.com/JiongSh ... tem-d12772. If you come out the project, please share it through https://project.seeedstudio.com/ thanks.

best rgds
Bill

joe yang
Pre-kindergarten
Pre-kindergarten
Posts: 10
Joined: Sun Jul 08, 2018 10:28 am

Re: grove gsr on grovepi

Post by joe yang » Wed Oct 10, 2018 7:37 pm

Hi, Bill:

I have a another Seeeduino and grove gsr, any solution for collecting those gsr data on the cloud for training a machine learning model ? thanks

Post Reply