Announcements
IMPORTANT: Cypress Developer Community is transitioning on October 20th. To learn more and be prepared for this change, check out our latest announcement.
cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 5, 3 & 1 MCU

JaRa_1183061
New Contributor II

Hi

I am using the ADC_DelSig in differential mode. I am interested in sampling the voltage between two metal electrodes in electrolysis (between 100 mV to 1 V). The ADC voltage is fluctuating a lot – most of the time giving random values.  My question is therefore, what could be wrong?

Here is my setup for the ADC.

JaRa_1183061_0-1633874356548.png

 

JaRa_1183061_1-1633874356553.png

Pin_1 is on metal 1 (positive) and pin_2 is on metal 2 (negative). I am using the ADC_DelSig_1_CountsTo_mVolts(ADC_DelSig_1_GetResult32()) function.

Thanks - 

0 Likes
1 Solution
Len_CONSULTRON
Honored Contributor II

JaRa,

As Vasanth suggested, it is always useful when testing out your design to apply a known voltage on the electrodes.  This will allow you to verify the quality of your design before using it on a unknown test environment ( ie: electrolysis bath.)

Using a series of "known" voltages is also a good method of calibrating your system before putting it into use.

 

Len
"Engineering is an Art. The Art of Compromise."

View solution in original post

0 Likes
2 Replies
Vasanth
Moderator
Moderator

Hi, 

One doubt, are the absolute voltages on the terminals are within the working range of the device ?(between VDDA and VSSA ?) Is the setup working properly if you try to measure any other known voltage?

Best Regards,
Vasanth

0 Likes
Len_CONSULTRON
Honored Contributor II

JaRa,

As Vasanth suggested, it is always useful when testing out your design to apply a known voltage on the electrodes.  This will allow you to verify the quality of your design before using it on a unknown test environment ( ie: electrolysis bath.)

Using a series of "known" voltages is also a good method of calibrating your system before putting it into use.

 

Len
"Engineering is an Art. The Art of Compromise."

View solution in original post

0 Likes