Will on 12 Jan 2014 06:40:05 -0800 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: [PLUG] I2C Bus Length |
20 to 50 ft is an acceptable distance for I2C. When in doubt just lower the value of the resistors used to pull up the voltage on the bus to about 1k for longer wire runs. When doing longer runs, consider shielding the wires to reduce outside interference.
If you want to extend your distance for I2C, there are tricks where the data lines can run through a differential transceiver and the clock line goes through some tristate buffer but that is a bit much for most people.
-Will C
I'm thinking about hooking up a temperature/humidity sensor to my Raspberry Pi. This sensor, looks like it would be easy to interface. However, the sensor comes with a 20-inch cable, and I'd like to have the sensor about 6 - 10 feet from the Pi.
I've never used the I2C bus before. Anybody have any ideas about the practical max distance from the Pi to the sensor?
--
Casey Bralla
Chief Nerd in Residence
The NerdWorld Organisation
___________________________________________________________________________
Philadelphia Linux Users Group -- http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug
___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug