Calibrating GSR sensor

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

Moderators: lily.li, violet, jeremy882, crail.lyu969

Post Reply
r.lawther
Pre-kindergarten
Pre-kindergarten
Posts: 1
Joined: Thu Oct 25, 2018 7:37 am

Calibrating GSR sensor

Post by r.lawther » Tue Nov 06, 2018 12:37 pm

Hi,

I've just got my Grove GSR sensor, along with a GrovePi+ and a Raspberry Pi. I'm following the process at http://wiki.seeedstudio.com/Grove-GSR_Sensor/, and I'm adjusting the potentiometer until I get a reading of 512. However my sensor values always jump from around 535 down to ~25, no matter how slowly I turn the screw. Is this normal?
GroveGSR.PNG
GroveGSR.PNG (37.06 KiB) Viewed 1004 times
I also can't seem to get any changes in reading when wearing the sensor. It does seem to be somewhat working, as if I touch the electrodes together I get readings near 0.

I'm using the grove_analog_read.py script from the git repo.

Can you provide me with any hints to get it working properly?

Cheers,

- Rob

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

Re: Calibrating GSR sensor

Post by bill.yu » Thu Nov 08, 2018 12:46 pm

Hi Rob

I just tested it and please use the screw driver to rotate 1 direction first and make it tight. then you can release the screw slowly. here is my output. thanks.


sensor_value = 519
sensor_value = 518
sensor_value = 516
sensor_value = 519
sensor_value = 518
sensor_value = 518
sensor_value = 518
sensor_value = 519
sensor_value = 519
sensor_value = 518
sensor_value = 518
sensor_value = 519
sensor_value = 518
sensor_value = 517
sensor_value = 518
sensor_value = 518
sensor_value = 517

a.vegaramirez76
Pre-kindergarten
Pre-kindergarten
Posts: 1
Joined: Thu Dec 27, 2018 1:42 pm

Re: Calibrating GSR sensor

Post by a.vegaramirez76 » Tue Jan 15, 2019 10:21 am

Hello! I'm in the same case that is described above, also when I connect more than one sensor in one ESP32 board the sensor read incorrect values

rmarinchev
Pre-kindergarten
Pre-kindergarten
Posts: 1
Joined: Wed Jan 16, 2019 10:48 pm

Re: Calibrating GSR sensor

Post by rmarinchev » Wed Jan 16, 2019 10:51 pm

Hi, I am using seeeduino. Is it normal the following code to still produce the same values, regardless of whether or not I have the sensor connected?

Code: Select all

const int GSR=A0;

void setup(){
  Serial.begin(9600);
}

void loop(){
   Serial.println(analogRead(GSR));
}
I am also trying to follow the wiki tutorial, but I am unable to get any meaningful data from the sensor...

User avatar
designnotes.com
Pre-kindergarten
Pre-kindergarten
Posts: 10
Joined: Mon Jan 28, 2019 11:08 pm
Location: Philadelphia, PA
Contact:

Re: Calibrating GSR sensor

Post by designnotes.com » Fri Feb 01, 2019 6:48 pm

rmarinchev wrote:
Wed Jan 16, 2019 10:51 pm
Hi, I am using seeeduino. Is it normal the following code to still produce the same values, regardless of whether or not I have the sensor connected?

Code: Select all

const int GSR=A0;

void setup(){
  Serial.begin(9600);
}

void loop(){
   Serial.println(analogRead(GSR));
}
I am also trying to follow the wiki tutorial, but I am unable to get any meaningful data from the sensor...
This code is just displaying the analog data in the range of 0-1023. Which is a raw data of the sensor. You need to convert it into gas data by using calculations in order to get meaningful out.


I hope it will help you.

excalibas
Pre-kindergarten
Pre-kindergarten
Posts: 2
Joined: Sun Jun 23, 2019 5:41 pm

Re: Calibrating GSR sensor

Post by excalibas » Fri Jul 12, 2019 3:00 am

Can someone explain why calibrate for a value of 512?

Shouldn't we calibrate at 1024 instead? so it is the highest value without wearing the sensor?

Post Reply