- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am trying to make a measurement unit for Resistor and Capacitor value. How to measure the value using PSOC3? And display the measurement value in LCD.
Solved! Go to Solution.
- Labels:
-
PSoC 3
- Tags:
- psoc3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
AnSi,
I believe that capsense technique is useful for measuring capacitances in pF range. I am not sure if it will be useful up to 10nF.
/odissey1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
To measure the resistance you can use one of the analog to digital converters in the chip. There are a bunch of example programs built into PSoC Creator showing these exact measurements.
As to how to display on the LCD it depends heavily on which display you are talking about.
As to the capacitance. It depends heavily on the range of the capacitance you are trying to measure. If it is within the range of the CapSense block you can use that. There are bunches of example projects with CapSense. If it is above the range then you have a much more difficult problem to solve.
I suppose to really answer you question you are going to need to give us more specifics about what your system problems and constraints are.
Alan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
aansi,
please check these threads and attached application note for possible solutions.
How to measure small capacitors by switching ouput Pin’s drive mode + Timing measurement?
Real capacitor measurement on CY8CKIT-145
/odissey1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for immediate response. for the above query I want to add few more data as you ask me.
1. Resistance value to measure is 1ohms to 10ohms with sensitivity of 2ohms
2. Capacitance value to measure is 1.2nF to 7.2nF with 1nF sensitivity.
I have made the schematic for resistor measurement with your idea of voltage divider technique V o u t = V i n ∗ R 2 R 1 + R 2 where R2 is known value for me.
How to setup for capacitor measurement? can you suggest me the calculation and schematic.
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
AnSi,
For precision low-ohms resistor measurement you can try PSoC3/5 RTD component. Please read this App Note
/odissey1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
HI, BoTa_264741
I got to know about the resistor measurement. Capacitor measurement is still not working. I used Cap sense but not showing correct result. I want to measure 2nF to 7.2nF.
Regards
AK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
AnSi,
I believe that capsense technique is useful for measuring capacitances in pF range. I am not sure if it will be useful up to 10nF.
/odissey1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
maybe it will be interesting to you:
PSoC Today: Impedance Meter information and project (updated to PSoC Creator 2.2 and Psoc 3/5LP)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi BoTa,
I did the same way. Now I read sensor raw data. how do i convert the raw value to capacitor value.? is there any calculation formula?
Thank you'
AK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
AnSi,
I am not sure what you are asking about. Do you want to convert capsense raw counts into capacitor value?
/odissey1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, I want to convert the value. Not getting the value. raw data is reading.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi AnSi_331471,
Yes, we have a raw count equation that helps you to back calculate capacitance from raw counts.
Please refer the following thread.
PSoC5LP Get Seneor Capasitance API
Regards,
Bragadeesh
Bragadeesh