What supply are you providing to the sensor? You can give the following circuit a try (as recommended in LM35 datasheet)-
You might need an amplifier stage before routing the input to the ADC to account for the input impedance. Add a PGA usermodule before the ADC and set its gain either to 1 or > 1.
This appnote might help in giving cleaner ADC readings - http://www.cypress.com/?rID=2894
Hi NIVi, Around wireless transmitting, How about First Touch Kit 3271? If you do modify and re-design expansion card, that can be send data and watch it by Sense and Control Dashboard.
thanx for the suggestions, I checked everything (connections) but there is one thing i observed. Initially i had set the adc full range at 2, for calculation of scale factor and displaying voltage value. ( since the full range o/p of my sensor is just 1.5 v ) but the values i got in the UART were wrong. It was sampling all right and if the temperature is increasing the UART value was also increasing but the adc count and voltage values are not correct. ( example: I am getting a 0.296 v sensor o/p which i am giving to the adcinc through a buffer- resolution is 12 bit so total of 4096 counts for full scale of 2 v- for 0.296 the count value must be around 606, but I was getting only 230 in UART) I checked the v out till the o/p of pga and everything seemed to be fine. then following trial and error i found that if iam varying the full scale range, my adc o/p is coming closer to the correct value. I have set the full range as 5.24 and now m getting an accurate value in the UART. Please tell me what happened and how? I dont understand at all.
ADC is working enough within voltage of Vss to Vdd.
Near Vss or Vdd that will become inaccurate.
That range is said rail to rail.
Cause from characteristics of transister.
See this picture.
This picture from ADC datasheet of PSoC3 and 5.
You have to add Bias voltage to sensor output,
That should be subtract from ADC output value.
This Bias voltage is called as Analog Ground.
You might consider posting a project here for forum top look at. "File", "Archive Project"
and post it.
Look at your global resources, ref mux setting, and the DelSig signed vs unsigned
setting. Signed is in twos complement, so your calculation of LM35vout is not a
simple bit weight calculation.
@arvi: i need a module covering more distance. how about the Xbee PRO? has anyone used the module with psoc IC? will there be any interconnection issues? https://www.sparkfun.com/datasheets/Wireless/Zigbee/XBee-Datasheet.pdf
An antenna can make a big difference.
For example I am doing a Wireless Lan connection over 1.5 miles, 1W RF, with a
high gain antenna, usb port powered.
Just a thought.