cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC™ 4

Anonymous
Not applicable

Hi, I am implementing an exercise to compare ADC output with a certain voltage threshold (voltage value in digital form). Wanted to know what the best component is to use?

0 Likes
1 Solution
Anonymous
Not applicable

You are comparing the ADC Output (which is in digital form) with another threshold voltage (which is also in digital form)? Can you please tell me how you are feeding that threshold voltage to the PSoC?

   

If both are in digital form, the you can simply compare them in the firmware. If the Threashold voltage is to be fed in analog form and then it is converted to digital, then you can use another channel of the ADC to convert this analog threshold voltage.

   

Regards,

   

- Madhu Sudhan

View solution in original post

0 Likes
2 Replies
Anonymous
Not applicable

You are comparing the ADC Output (which is in digital form) with another threshold voltage (which is also in digital form)? Can you please tell me how you are feeding that threshold voltage to the PSoC?

   

If both are in digital form, the you can simply compare them in the firmware. If the Threashold voltage is to be fed in analog form and then it is converted to digital, then you can use another channel of the ADC to convert this analog threshold voltage.

   

Regards,

   

- Madhu Sudhan

View solution in original post

0 Likes
Anonymous
Not applicable

Hi the threshold is just a 2V value so I will just be comparing that in digital form. But I wanted to know what component I should use? Once the digital converted voltage comes out the ADC, what should I feed it into to compare? 

0 Likes