aq_mishu
Full Member level 4
Guys,
I'm writing here with a different situations... Yes! DS18b20 and the cable length with pull-up resistor and timing and etc is a well discussed and there are plenty of info there. I'm in a position where I can not change the circuit that much to be frank. I have an option of changing the pull-up for either 2.2k or 4.7k. Means if i finally fix on 2.2k, then will that help me to run a cable 15m using regular cat5/ cat6? [DATA and GND in twisted pair]. so this is my option 1, but also I want to know for option 2:
Option 2: is there any other way to transmit the data to long distance of such, say 20m max.??
My current scenario is like I have a PLC circuit (custom made Arduino based, but already mass produced, with 4.7k) that has 3 ports for 3 individual sensors (all are almost around, nearby). I can either run the cable for sensors directly to the PLC or I can add a middle-something like a repeater who will send me the data. [I have a plan of using a nano to concatenate at least 2 (mandatory sensor) sensors and send via UART (not RS232, as that is also a kind of limitation) to the PLC (since i can change the code somehow to read the software serial over those ports.) But if there is a way of NOT using UART but a direct approach, I will prefer that.
Help is a highly appreciated...
Mishu~
I'm writing here with a different situations... Yes! DS18b20 and the cable length with pull-up resistor and timing and etc is a well discussed and there are plenty of info there. I'm in a position where I can not change the circuit that much to be frank. I have an option of changing the pull-up for either 2.2k or 4.7k. Means if i finally fix on 2.2k, then will that help me to run a cable 15m using regular cat5/ cat6? [DATA and GND in twisted pair]. so this is my option 1, but also I want to know for option 2:
Option 2: is there any other way to transmit the data to long distance of such, say 20m max.??
My current scenario is like I have a PLC circuit (custom made Arduino based, but already mass produced, with 4.7k) that has 3 ports for 3 individual sensors (all are almost around, nearby). I can either run the cable for sensors directly to the PLC or I can add a middle-something like a repeater who will send me the data. [I have a plan of using a nano to concatenate at least 2 (mandatory sensor) sensors and send via UART (not RS232, as that is also a kind of limitation) to the PLC (since i can change the code somehow to read the software serial over those ports.) But if there is a way of NOT using UART but a direct approach, I will prefer that.
Help is a highly appreciated...
Mishu~