TMP05 limit count > 4?

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

cross mob
masmc_1095326
Level 1
Level 1
First like received

Is there a reason - besides conversion time - to limit the maximum number of TMP05 sensors in the chain to 4 or less? could it be like 16? I know the conversion time increases dramatically, but I am trying to scan at least 12 sensors and control 2 fans with them... (highest out of 6 would determine the speed of each fan...)

0 Likes
1 Solution
Vasanth
Moderator
Moderator
Moderator
250 sign-ins 500 solutions authored First question asked

Hello Maurice,

The limitation comes from the DiscoverSensors API, and it waiting time (counter resolution) for the more than 4 sensors discovering.  You may not be able to use more than 4 sensors with one component. You may either use alternative sensors suggested or multiple components(as long as enough UDB resources are available in your device).

Best Regards,
Vasanth

View solution in original post

0 Likes
6 Replies
EmHo_296241
Level 5
Level 5
10 solutions authored 50 replies posted 25 replies posted

Hi,

Can you try using the multiple instances of the same component(with 3 different daisy chains). As the component has the max limit of 4 sensors in the chain, this may be help in measure 12 sensors.

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

user_26...,

For large number of temperature sensors you may consider DS18B20 digital sensor

Component to read DS18B20 digital temperature sensors

The associated component offers 8 sensors to be simultaneously sampled. Using two components will provide 16 sensors. (A single component can be upgraded to sample up to 32 sensors simultaneously without loss of performance - let me know if this option is required). The sensor is about same price as TMP05 ($3.06 vs $2.21), but need no PCB for mounting. The absolute temperature accuracy is 0.06C - much better than 0.5C for TMP05. Temperature conversion is performed at each node internally, so no hardware resources are needed on PSoC side.

/odissey1

0 Likes

While the price of the TMP05 is $2.21 in single units, its $0.72 in multiple. The DS18B20 (now DS18S20) has one serious problem and that is that its a PITA to determine the LOCATION of a specific sensor. While One Wire Sensors are easy to use, you'd have to create a dictionary of which sensor is where..

Another sensor - which has a great single unit price is the MCP9700, which somes in a TO92 format. It does require an ADC on the backend, but is very palatable in price: $0.26 in single quantities at digikey.

0 Likes

user_36..,

DS18B20 is now "DS18B20+" (12-bit). The DS18S20 is 9-bit counterpart.

TMP05 needs some PCB for mounting, which negates price difference.

Some node location assignment required in any case, unless all sensors go along some pipeline.

/odissey1

0 Likes

The TMP05 sensors are positional. That means that one can daisychain a number of sensors and then read them, but the sequence doesn't change. The first on the chain is #1, etc.

DS18B20+ sensors are not, code would have to be taught one sensor at a time to determine it's location...

Vasanth
Moderator
Moderator
Moderator
250 sign-ins 500 solutions authored First question asked

Hello Maurice,

The limitation comes from the DiscoverSensors API, and it waiting time (counter resolution) for the more than 4 sensors discovering.  You may not be able to use more than 4 sensors with one component. You may either use alternative sensors suggested or multiple components(as long as enough UDB resources are available in your device).

Best Regards,
Vasanth

0 Likes