Thread Rating:
  • 1 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Soil Moisture and Temperature sensors installation.
#36

(27-09-2016, 06:12)hornychz Wrote:  I think the only solution then is to engage the sensors to the interface in a different order.

Hi Zdenek,
That will not be necessary. The internal numbering of the 1wire sensors is not dependent of the order where you connect them to the Soil/Leaf interface. They are automatically numbered based on it's internal unique ID. This is why that after you connect all the sensors you should identify what number is assigned to each sensor.

I will try to explain it in a more simple manner:

Imagine you have three 1-wire sensors with these internal ID (it's a 64 bit number, but here I put just a decimal number:

sensor A - ID 300
sensor B - ID 100
sensor C - ID 200

When you connect them, they will become numbered in this order:

Sensor number 0 - Sensor B (ID 100)
Sensor number 1 - Sensor C (ID 200)
Sensor number 2 - Sensor A (ID 300)

Now, you should use the mapping possibilities of the software to make that those sensors appear in Cumulus or in the WD display in the order you want.

making
Sensor A (number 2) be sensor 1 on the display
Sensor B (number 0) be sensor 2 on the display
Sensor C (number 1) be sensor 3 on the display

Code:
#define SoilTempSensors_Source  { {2,2},{2,0},{2,1},{9,9} }

One more thing to try to make this more clear, if you later add a fourth sensor, depending of the internal ID of that sensor, all the internal numbering of the previous sensors may change, and you have to do a remapping to keep the previous sensor displaying in Cumulus or WD with it's previous numbering.

Based on the data you posted, I think that your sensors are being identified this way:

1m - sensor 2
0.5m - sensor 1
5cm - sensor 0

Maybe you would like to try this mapping:

Code:
#define SoilTempSensors_Source  { {2,2},{2,1},{2,0},{9,9} }

This will also send to WU, data from the 1m deep sensor (supposing I'm not wrong about how your sensors have been internally enumerated).

Reply


Messages In This Thread
Soil Moisture and Temperature sensors installation. - by werk_ag - 14-06-2016, 18:40
RE: Soil Moisture and Temperature sensors installation. - by zitoune - 15-06-2016, 10:42
RE: Soil Moisture and Temperature sensors installation. - by werk_ag - 16-06-2016, 02:15
RE: Soil Moisture and Temperature sensors installation. - by Wizza - 17-06-2016, 22:58
RE: Soil Moisture and Temperature sensors installation. - by uncle_bob - 18-06-2016, 13:38
RE: Soil Moisture and Temperature sensors installation. - by JT118 - 19-06-2016, 16:41
RE: Soil Moisture and Temperature sensors installation. - by zitoune - 20-08-2016, 06:42
RE: Soil Moisture and Temperature sensors installation. - by JT118 - 20-08-2016, 18:29
RE: Soil Moisture and Temperature sensors installation. - by werk_ag - 20-06-2016, 00:05
RE: Soil Moisture and Temperature sensors installation. - by JT118 - 21-06-2016, 11:40
RE: Soil Moisture and Temperature sensors installation. - by werk_ag - 22-06-2016, 20:55
RE: Soil Moisture and Temperature sensors installation. - by zitoune - 20-08-2016, 09:17
RE: Soil Moisture and Temperature sensors installation. - by werk_ag - 21-08-2016, 05:57
RE: Soil Moisture and Temperature sensors installation. - by zitoune - 21-08-2016, 06:00
RE: Soil Moisture and Temperature sensors installation. - by werk_ag - 21-08-2016, 06:32
RE: Soil Moisture and Temperature sensors installation. - by hornychz - 19-09-2016, 15:59
RE: Soil Moisture and Temperature sensors installation. - by zitoune - 19-09-2016, 16:50
RE: Soil Moisture and Temperature sensors installation. - by hornychz - 19-09-2016, 17:20
RE: Soil Moisture and Temperature sensors installation. - by hornychz - 19-09-2016, 17:25
RE: Soil Moisture and Temperature sensors installation. - by zitoune - 19-09-2016, 17:37
RE: Soil Moisture and Temperature sensors installation. - by hornychz - 19-09-2016, 18:03
RE: Soil Moisture and Temperature sensors installation. - by werk_ag - 20-09-2016, 01:01
RE: Soil Moisture and Temperature sensors installation. - by hornychz - 20-09-2016, 18:10
RE: Soil Moisture and Temperature sensors installation. - by werk_ag - 20-09-2016, 23:46
RE: Soil Moisture and Temperature sensors installation. - by hornychz - 21-09-2016, 16:24
RE: Soil Moisture and Temperature sensors installation. - by zitoune - 21-09-2016, 01:48
RE: Soil Moisture and Temperature sensors installation. - by hornychz - 21-09-2016, 16:22
RE: Soil Moisture and Temperature sensors installation. - by hornychz - 25-09-2016, 14:20
RE: Soil Moisture and Temperature sensors installation. - by hornychz - 26-09-2016, 17:08
RE: Soil Moisture and Temperature sensors installation. - by werk_ag - 26-09-2016, 20:32
RE: Soil Moisture and Temperature sensors installation. - by hornychz - 26-09-2016, 20:50
RE: Soil Moisture and Temperature sensors installation. - by werk_ag - 27-09-2016, 01:03
RE: Soil Moisture and Temperature sensors installation. - by werk_ag - 27-09-2016, 02:13
RE: Soil Moisture and Temperature sensors installation. - by werk_ag - 27-09-2016, 03:35
RE: Soil Moisture and Temperature sensors installation. - by hornychz - 27-09-2016, 06:12
RE: Soil Moisture and Temperature sensors installation. - by werk_ag - 27-09-2016, 15:25
RE: Soil Moisture and Temperature sensors installation. - by hornychz - 27-09-2016, 16:59
RE: Soil Moisture and Temperature sensors installation. - by laulau - 05-01-2017, 00:02
RE: Soil Moisture and Temperature sensors installation. - by werk_ag - 05-01-2017, 17:37
RE: Soil Moisture and Temperature sensors installation. - by laulau - 06-01-2017, 00:37
RE: Soil Moisture and Temperature sensors installation. - by werk_ag - 06-01-2017, 05:13
RE: Soil Moisture and Temperature sensors installation. - by tobyportugal - 13-08-2017, 06:39
RE: Soil Moisture and Temperature sensors installation. - by werk_ag - 13-08-2017, 08:04
RE: Soil Moisture and Temperature sensors installation. - by JT118 - 17-08-2017, 22:07



Users browsing this thread: 1 Guest(s)