Temperature sensing trouble , MCU CYBLE-224116-01 :(

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

cross mob
lock attach
Attachments are accessible only for community members.
alkhc_3773311
Level 1
Level 1

Hello everyone,

I'm really struggling to have accurate temperature readings sensed, using a thermistor. I have an evaluation board for the CYBLE-224116-01 MCU that I have attached to the CY8CKIT-042-BLE-A. Externally I have connected a TO103J2F NTC 10k ohm  thermistor and a 9.1k ohm resistor to the kit. The connections in place are for V high, V low and V therm. 

I've read through all the documents and carried out testing on the outputs of the connections. However, the readings being displayed  via the CY Smart app are completely off. 50°C is being displayed or just somewhere under.

Can someone please have a look at my PSoC creator project file and my hardware connections.

I've attached the project file and the  Temperature VS Resistance table ( TO103J2F).

20190211_144338.jpg

I really hope to have this working

Kind regards,

Alisha Khan

0 Likes
1 Solution
MotooTanaka
Level 9
Level 9
Distributor - Marubun (Japan)
First comment on blog Beta tester First comment on KBA

Hi,

Earlier you wrote that you are using 9.1K for reference resistor.

But in your Configure "Thermistor", you set Referece resistor as 10000 (10K)

000-Config-Thermistor.JPG

How about changing the value to 9100 (9.1K)?

001-91K.JPG

moto

View solution in original post

0 Likes
4 Replies
MotooTanaka
Level 9
Level 9
Distributor - Marubun (Japan)
First comment on blog Beta tester First comment on KBA

Hi,

I have just skimmed the Temperature.c

In ProcessTemperatur() you are doing

>         temperature = temperature / 100;

this truncates the value under decimal point

I would round it like

>         temperature = (temperature + 0.5)  / 100;

moto

0 Likes
odissey1
Level 9
Level 9
First comment on KBA 1000 replies posted 750 replies posted

alisha.khan,

Can't open your project. To upload a project follow these steps: (1). Build->Clear; (2) File-> Create Archive bundle->Minimal; (3) In created zip archive delete "Generated_source" folder.

/odissey1

0 Likes
lock attach
Attachments are accessible only for community members.

Hello odissey1,

I have attached the Health thermometer project folder. Could you also confirm what the required hardware connections are for this project ?

Kind regards,

Alisha Khan

0 Likes
MotooTanaka
Level 9
Level 9
Distributor - Marubun (Japan)
First comment on blog Beta tester First comment on KBA

Hi,

Earlier you wrote that you are using 9.1K for reference resistor.

But in your Configure "Thermistor", you set Referece resistor as 10000 (10K)

000-Config-Thermistor.JPG

How about changing the value to 9100 (9.1K)?

001-91K.JPG

moto

0 Likes