Notifications
Clear all

Which I2C data cable for outdoor use

4 Posts
3 Users
1 Likes
530 Views
(@mixza-81)
Member
Joined: 2 years ago
Posts: 4
Topic starter  

Hi.

I'm searching I2C data cable for outdoor use. Most suitable cable that I have found is https://www.belden.com/products/cable/electronic-wire-cable/multi-conductor-cable/9534

Does anyone know any better cable (and where I can buy that) to use as I2C data cable for single outdoor temperature, humidity and pressure sensor? It should resist nordic UV rays, humidity and winter temperatures. It should also be shielded, stranded, untwisted and cable diameter should not be more than 5.5mm (0.216 inches) to be compatible with sensor.

Thanks.


   
Quote
Topic Tags
(@dronebot-workshop)
Workshop Guru Admin
Joined: 5 years ago
Posts: 1079
 

How far are you intending on running this cable?  I2C can only run about 2 meters at best.

My thoughts for doing an outdoor run would be to use a couple of those I2C to RJ45 adapters and run an outdoor Ethernet cable.  Sparkfun make these, and there are probably others. 

If you do go that route, you might also want to consider using an RJ45 lightning arrestor where the cable enters the building.

😎

Bill

"Never trust a computer you can’t throw out a window." — Steve Wozniak


   
THRandell reacted
ReplyQuote
Inq
 Inq
(@inq)
Member
Joined: 2 years ago
Posts: 1900
 

@mixza-81,

Second what @dronebot-workshop.  It's not very far... https://learn.adafruit.com/working-with-i2c-devices/cable-length

I've done two BMP280 sensors at 2 meters and it worked fine.  Don't recall what the bit-rate frequency I used, but it was the default, but I did run them a 100 Hz sampling rate.

The general trend is to put the microcontroller with the sensor and WiFi, Bluetooth or MQTT to your inside monitors.

3 lines of code = InqPortal = Complete IoT, App, Web Server w/ GUI Admin Client, WiFi Manager, Drag & Drop File Manager, OTA, Performance Metrics, Web Socket Comms, Easy App API, All running on ESP8266...
Even usable on ESP-01S - Quickest Start Guide


   
ReplyQuote
(@mixza-81)
Member
Joined: 2 years ago
Posts: 4
Topic starter  

Thank you both for your reply.

I have single BME280 sensor (without any cable) and it is protected with waterproof case. Installation distance of sensor is 3 meters (118.1 inches) from ESP32.

I have succefully tested sensor with 10kHz I2C bus, so I hoped to use I2C bus at low 10kHz frequency and put necessary pullups into I2C bus. I have not any kind version of required cable, so I have not been able to test the functionality at real world.


   
ReplyQuote