Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

PSoC™ 5, 3 & 1 Forum Discussions

Anonymous
Not applicable

 Hi to all,

   

              I am  doing work on blood glucose measurement with PSoC 3 , in that a current from test strip taken and converted to voltage and calibration if that interms of glucose.but as a sample i am giving current from IDAC component that is converted to voltage. this voltage i am giving to ADC to display it in volts , here upto PGA i am getting voltage but after giving to ADC i am getting Garbage value output on LCD.i think the problem here is with ADC ,can anyone help me regarding this.

   

thanks

   

PRP

0 Likes
1 Solution
ETRO_SSN583
Level 9
100 sign-ins 5 likes given 1000 replies posted
Level 9

Post your project, and what is the signal look like, voltage level, before you process

   

with PSOC ?

   

 

   

Regards, Dana.

View solution in original post

0 Likes
4 Replies
ETRO_SSN583
Level 9
100 sign-ins 5 likes given 1000 replies posted
Level 9

Post your project, and what is the signal look like, voltage level, before you process

   

with PSOC ?

   

 

   

Regards, Dana.

0 Likes
Anonymous
Not applicable

 hi,

   

So, you have a DC Signal from IDAC(Correct me if my assumption is wrong) and you put that in to ADC. Consider the following suggestions,

   

1. Make sure you choose the most optimised range in the ADC, preamplify the signal above the noise floor and choose the resolution as such. 

   

2. Make sure you wait for the end of conversion, before taking the value out of the ADC_DEC_SAMP_REG.(Use IsEndConversion() API)

   

3. If you are sure that the above mentioned points are satisfied for ADC, then the problem shall most probably be with the LCD Code that has been written.

   

 

   

Regards,

   

Rahulram

Anonymous
Not applicable

 hi Rahulram i have checked that , but i havent resolved my problem

0 Likes
HeLi_263931
Level 8
100 likes received 50 likes received 25 likes received
Level 8

How do you define 'garbage values'? Does it just display random values? If you constrain the output of the IDAC, do you get what you expect?

   

Did you debug your code (breakpoint after you retrieve the values from the ADC) to see whether the problem is in the ADC or in the display code?