Smart Home Automation Forum
TC100 sensor - Printable Version

+- Smart Home Automation Forum (https://www.kincony.com/forum)
+-- Forum: Technical Support (https://www.kincony.com/forum/forumdisplay.php?fid=20)
+--- Forum: "KCS" firmware system (https://www.kincony.com/forum/forumdisplay.php?fid=40)
+--- Thread: TC100 sensor (/showthread.php?tid=2977)



TC100 sensor - philippe - 06-14-2023

Hello,
I want to connect a TC 100 temperature sensor  (3 wires :GND,DATA and VCC 3.3v) on an analog port. How to caliber the result to get the right temperature (instead of value like "650" sent by MQTT)?
Thanks


RE: TC100 sensor - admin - 06-14-2023

here is "KCS" mqtt protocol document: https://www.kincony.com/forum/attachment.php?aid=1779
Read board all data

send: {"get_datas":{"value":true}}

feedback all data:

{{"output1":{"value":true}},{"output2":{"value":false}},………{"input1":{"value":true}},{"input2":{"value":true}},………{"adc1":
{"value":2610}},………{"dac1":{"value":10}},……}


RE: TC100 sensor - philippe - 06-15-2023

Thanks for the answer. But not what I am looking for. Let me rephrase it.
I have a smart automation software that communicates with smart devices on my lan with mqtt. One of my device  (IPX800  from GCE) is dead. the cost is about 200€. Hence my interest for Kincony boards. My issue is:
- I am reusing the Temperature sensorfrom my dead device. They call it TC100 (https://www.gce-electronics.com/en/sensors/385-capteur-de-temperature-tc-1042.html). The VCC max is 3.3v. The voltage given by the sensor is translated in °C by the device with the rule calculation ((X* 0.00323) - 0.25) / 0.028.

So my issue with the A4 module is that MQTT  transmit a number (like 650). I need to get out of it the temperature. If I apply the previous rule to this number, I get a not valid temp value.
Specifying a min and a max on KCS can give a temperature (but how is it calibrated: just changing the min /max parameters would give a different temp value)
How to do it?

(Unfortunately KCS does not deal with 1wire).
Thanks


RE: TC100 sensor - admin - 06-15-2023

"KCS" v2 is under testing now. it will support 1-wire sensor, such as DS18B20 or DHT11 or DHT22. i suggest you wait for sometime, then you can use it directly.


RE: TC100 sensor - philippe - 06-15-2023

Good.
In the meantime, I am using Tasmota. I cant get the 1wire sensor data. It is GPIO14, right?


RE: TC100 sensor - admin - 06-15-2023

yes, A4 board use DS18B20 by GPIO13.
here is GPIO define for A4: https://www.kincony.com/forum/showthread.php?tid=282