Ocena wątku:
  • 0 głosów - średnia: 0
  • 1
  • 2
  • 3
  • 4
  • 5
How to connect and detect DS18B20
#1
Hi,

I have Soft Version:v2.25 and in Control Panel are Inp6 - Inp9 listed with sensor type DS18B20. I have already these type of sensors in my floorheating and want to connect to it. I want to connect all 4 of them. All I found is schema of 1 Wire cabeling through RJ-11 connector. But to connect those digital sensors, I have to recognize them acoording to Id of every sensor and assign it to Inp6-9. How this should be done?
<t></t>
Odpowiedz
#2
Look http://tinycontrol.eu/forum/viewtopic.php?f=2&t=2553 second picture
pozdrawiam
tomek
Odpowiedz
#3
I used the same scheme, it is standard 1Wire connection.
Problem is that the software shows 4 sensors.
1. When I connect 1 sensor it is ok and temperature is showed in first textfield.
2. When I connect 2 sensors, I see 2 different temperatures which is almost ok, but I can not recognize which sensor is which input. I am missing something, like assignment Inp6 to sensor Id XY, Inp7 to sensor XZ, ...
According to the software it should be possible to assign 4 sensors. I think that standard 1Wire has no limitiations to number of sensors.

3.But when I connect 3 sensors the LANController does not start at. Or better to say, the LEDS are shining but I can not access the webpage with control, or even ping it.

I think this is more software than hardware problem. Any suggestions, or versions where it works better?
<t></t>
Odpowiedz
#4
upgrade LK to last soft versin 2.39 http://tinycontrol.pl/forum/viewtopic.php?f=2&t=2740
pozdrawiam
tomek
Odpowiedz
#5
Upgrading the firmware to 2.39 or 3.01 solved the problem of connecting more than 2 sensors.
Both firmwares has there editable textfield in row where the sensor is listed. It can be used like notice for the sensor. Problem is when the number of sensor changes, the notice is not bind to sensor id, but just to some list index.

So when I connect 3 sensors and add some notice and than add 4th sensor it is assigned somewhere to the list (it is not begining, nor end). Seems to me like the sensor list is lined up according to sensor id, so it depends on the id value where the new sensor is assigned in the list.

Suggestion for firmware developers is replace the notice text field with combobox, where are listed all sensors id connected to 1wire, and it is possible to choose which sensor should be assigned to InpX(X=).

Actualy there can be connected more than 4 sensors to 1wire. I have tested it with 5. It seems that the sensor with highest id value is ignored. Another suggestion for firmware developers is to add some generic interface where it is possible to assign unlimited number of sensors and inputs, or at least to add one more input, so it would be possible to control 5 circuits, every with its own sensor. Now there are only 4 sensors and 5 relays
<t></t>
Odpowiedz
#6
I have tried to upload new firmware 3.11 and then also 3.12 to have support of more than 4 digital sensors.
But the outcome was, that LanControler with both versions was ignoring settings in EventsConfig page in webconfigurator. The values were
Histeresis = 1
Up textbox in OutX-InpY mapping = 0
Down textbox in OutX-InpY mapping = 22
In firmware 3.01 it worked simply, when the InpY value reached 22 degrees C, it swithced off appropriate OutX. When the temp was lower then 21 it was switched on (22 cut of - 1 hysteresis = 21).

But with new firmware this does not work and the OutX is simply On all the time, even if reaching 22, 23, 24 degrees. I thought that the mapping between the InpY and sensors is somehow switched, but all sensors reached temp over 22 and none of the OutX was cut Off. When I downgraded back to firmware 3.01 everything is working fine again.
<t></t>
Odpowiedz
#7
You see example from instruction how events config works?

.jpg   lk-events.JPG (Rozmiar: 24.49 KB / Pobrań: 3,722)
pozdrawiam
tomek
Odpowiedz


Skocz do:


Użytkownicy przeglądający ten wątek: 1 gości