Hi Richard,

By autorange I mean are you allowing the GSR module control the range. See
the GSR.controlRange() function here:
http://code.google.com/p/tinyos-main/source/browse/trunk/tos/platforms/shimmer/chips/gsr/GsrP.nc

So when you say your setting the PROG_OUT and SER0 pins in the code, what
exactly do you mean? If you are setting them both high then you are using
the 3.3MΩ range, which might explain why you are only seeing low ADC values.
There are 3 other ranges to try which might be more appropriate (see the
GSR.setRange() command in the above file).

Mike


On Fri, Aug 12, 2011 at 2:51 PM, <[email protected]> wrote:

> Hey Mike,
> Yes, they are raw ADC values, between 500-1500. I'm not sure what the
> auto-ranging function is, but current I'm setting the PROG_OUT and SER0 pins
> in the code, if that's what you mean?
> Thanks,
> Richard
>
>
> Quoting mike healy <[email protected]>:
>
>  Hi Richard,
>>
>> 500-1500 what? Are these the raw ADC values?
>>
>> If you are using the auto-ranging function turn it off and manually
>> control
>> the range until you find the optimum one.
>>
>> If you are already do this I can't think of anything that you could do in
>> the code to improve resolution.
>>
>> If you have the necessary skills in SMT rework, you could probably
>> substitute one of the resistors on the GSR daughter card for a more
>> appropriate value. To get details on what might be possible/advisable on
>> this you should contact [email protected].
>>
>> Mike
>>
>>
>> On Wed, Aug 10, 2011 at 2:46 PM, <[email protected]> wrote:
>>
>>  Hi,
>>> Currently my GSR values fall inside the 500-1500 range, with a lot of
>>> quantization happening during smaller changes. So I was wondering if
>>> there
>>> is a way to change the resolution of the GSR module by adjusting either
>>> the
>>> resistance or the code, such that I could get a wider range and use a
>>> different set of the polynomial coefficients to translate it?
>>> Thanks,
>>> Richard
>>>
>>> ______________________________****_________________
>>> Shimmer-users mailing list
>>> [email protected]
>>> https://lists.eecs.harvard.****edu/mailman/listinfo/shimmer-****users<
>>> https://lists.eecs.**harvard.edu/mailman/listinfo/**shimmer-users<https://lists.eecs.harvard.edu/mailman/listinfo/shimmer-users>
>>> >
>>>
>>>
>>
>
>
>
_______________________________________________
Shimmer-users mailing list
[email protected]
https://lists.eecs.harvard.edu/mailman/listinfo/shimmer-users

Reply via email to