Currently now i'm able to read two temperature values through ADC[i.e for 60 & 90 degree],
I'm reading this temperature by calculating values given in the NTC thermistor table.
But now i'm not able to read more than 2 temperatures,I have defined atleast 5 tempeartures,
but able to read only 2,Kindly suggest how to read multiple temperature values through ADC.
Since we do not know how you set up your PSoC1 it will be very difficult to give you advices. Can you post your complete project, so that we all can have a look at all of your settings? To do so, use
and attach the resulting file.
Sounds like your ADC range is not sufficient to handle a wide enough range
of the V being measured.
http://www.cypress.com/forum/psoc-community-components/psoc-today-usb-psoc-3-pulse-generator-project... AN2017 - PSoC® 1 Temperature Measurement with Thermistor
http://www.cypress.com/documentation/application-notes-obsolete/an2395-psoc-1-thermistor-lookup-tabl... AN2395 - PSoC® 1 Thermistor Lookup Table Generation Tool
http://www.cypress.com/documentation/application-notes/an78920-psoc-1-temperature-measurement-using-... AN78920 - PSoC® 1 Temperature Measurement Using Diode
Can the reason be that only P0_0 and P0_1 are defined as analog input, but your further requested pins P0_2,4 and 6 are defined as digital?
I noticed a couple of things -
1) SAR input is not set in SAR properties window.
2) You have many pins that you did not functionally name, makes life easy
to troubleshoot, prototype when functional names are given to all the pins.
In the pinout view just double click pin and give it a functional name.
3) You have mixed I/O in at least one port, which means you are probably doing
read modify writes to the port. You need to use shadow register(s) on any port
where you are doing this.
https://www.youtube.com/watch?v=tei6q5M3C0g Shadow Registers
http://www.cypress.com/?rID=39497 Shadow Registers
Thank you for the observation made.
But before, I had tested connecting the SAR input to P0.4 pin of ADC for temperature measurement,
but didn't find any changes after connecting it.
Meanwhile I have not used shadow registers will try doing it.