<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:Helvetica;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:Helvetica;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Has anyone modified Raspberry Pi to use PoE for power? Using standard Ethernet to drive a communications sub system based on another Raspberry Pi that has the
 requisite i/o and processor makes a lot of sense to me.</span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> TriEmbed [mailto:triembed-bounces@triembed.org]
<b>On Behalf Of </b>Charles West via TriEmbed<br>
<b>Sent:</b> Thursday, October 01, 2015 7:26 PM<br>
<b>To:</b> John Vaughters<br>
<b>Cc:</b> Charles McClelland; triembed@triembed.org<br>
<b>Subject:</b> Re: [TriEmbed] I2C range extension<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">I would love it if we could just use off the shelf ethernet.  It doesn't really have really have a real time capability though and the cheapest combination I could find was about $5 (STM32F107 with a KSZ8081
 for PHY).  <o:p></o:p></p>
</div>
<p class="MsoNormal">Cost is the really attractive thing about I2C.  I can get a STM32 chip with I2C for $.65 and there are even cheaper chips (as John mentioned).  It wouldn't be hard to imagine a world where the bulk of robotics components had an MCU with
 I2C capability.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">On Thu, Oct 1, 2015 at 3:33 PM, John Vaughters via TriEmbed <<a href="mailto:triembed@triembed.org" target="_blank">triembed@triembed.org</a>> wrote:<o:p></o:p></p>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:9.0pt;font-family:"Helvetica","sans-serif";color:black">Other contraints include cost and space. Obviously if we could just build an ip network, none of this discussion would be interesting.
 It would be rather dull. Just buy the parts and be done with it. The suggestion for the communication sub-system is really just a recycled idea of a switch/router. Multiple serial comms and a processor. The interesting part is doing it with low cost and making
 it fit the needs of your project. I am looking into the ATTINY 841 (~$0.089) as a low cost UART to i2c interface for a comm sub system. It is not nearly as fancy as Chip's chip, but I am also not looking to go long distances. The program space is kind of small
 too.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:9.0pt;font-family:"Helvetica","sans-serif";color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:9.0pt;font-family:"Helvetica","sans-serif";color:black">John Vaughters<o:p></o:p></span></p>
</div>
<p class="MsoNormal" style="background:white"><span style="font-size:9.0pt;font-family:"Helvetica","sans-serif";color:black"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt;background:white"><span style="font-size:9.0pt;font-family:"Helvetica","sans-serif";color:black"><o:p> </o:p></span></p>
</div>
</div>
</div>
</div>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt;background:white"><span style="font-family:"Helvetica","sans-serif";color:black"><o:p> </o:p></span></p>
</div>
<div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:black">On Thursday, October 1, 2015 3:14 PM, Charles McClelland via TriEmbed <<a href="mailto:triembed@triembed.org" target="_blank">triembed@triembed.org</a>>
 wrote:</span><span style="font-family:"Helvetica","sans-serif";color:black"><o:p></o:p></span></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt;background:white"><span style="font-family:"Helvetica","sans-serif";color:black"><o:p> </o:p></span></p>
<div>
<div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:"Helvetica","sans-serif";color:black">Fred, <o:p></o:p></span></p>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:"Helvetica","sans-serif";color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:"Helvetica","sans-serif";color:black">Yes, but even more interesting is the constraint - it has to run for days or weeks on a battery. <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:"Helvetica","sans-serif";color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:"Helvetica","sans-serif";color:black">Chip<o:p></o:p></span></p>
</div>
<div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:"Helvetica","sans-serif";color:black"><o:p> </o:p></span></p>
<div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:"Helvetica","sans-serif";color:black">On Oct 1, 2015, at 2:49 PM, Fred Ebeling <<a href="mailto:FEbeling@ECPDesigns.com" target="_blank">FEbeling@ECPDesigns.com</a>> wrote:<o:p></o:p></span></p>
</div>
<p class="MsoNormal" style="background:white"><span style="font-family:"Helvetica","sans-serif";color:black"><o:p> </o:p></span></p>
</blockquote>
</div>
</div>
</div>
</div>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:"Calibri","sans-serif";color:black">This is an interesting problem, how do you create a network that has<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:"Calibri","sans-serif";color:black">multiple nodes that run all over the place and still maintain some<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:"Calibri","sans-serif";color:black">type of interaction.   How about the “WEB”.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:"Calibri","sans-serif";color:black"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:"Calibri","sans-serif";color:black">Fred<o:p></o:p></span></p>
</div>
<div>
<div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black"> <o:p></o:p></span></p>
</div>
<div>
<div>
<p class="MsoNormal" style="background:whitesmoke"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black">
<a href="mailto:triembed@triembed.org" target="_blank" title="triembed@triembed.org">
Charles McClelland via TriEmbed</a> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:whitesmoke"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black">Sent:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black"> Thursday, October 01, 2015 2:07
 PM<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:whitesmoke"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black">To:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black">
<a href="mailto:triembed@triembed.org" target="_blank" title="triembed@triembed.org">
triembed@triembed.org</a> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:whitesmoke"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black">Subject:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black"> [TriEmbed] I2C range extension<o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:"Calibri","sans-serif";color:black"> <o:p></o:p></span></p>
</div>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:"Calibri","sans-serif";color:black">Fred, 
<o:p></o:p></span></p>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:"Calibri","sans-serif";color:black"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:"Calibri","sans-serif";color:black">Thanks for the history and tip on RS-485.  As with all things engineering there are tradeoffs.  Do you think I captured them correctly below:<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:"Calibri","sans-serif";color:black"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:"Calibri","sans-serif";color:black">For an i2c sensor, communicating with a micro controller, using:<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:"Calibri","sans-serif";color:black"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:"Calibri","sans-serif";color:black">An i2c extender / redriver:<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:"Calibri","sans-serif";color:black">- Such as the<a href="http://www.ti.com/lit/ds/symlink/p82b715.pdf" target="_blank">TI P82B715DR</a><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:"Calibri","sans-serif";color:black">- Can go up to 5m at 5V but 3.3V operation works - just at reduced range<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:"Calibri","sans-serif";color:black">- Costs
<a href="https://www.digikey.com/product-detail/en/P82B715DR/296-24729-1-ND/2092551" target="_blank">
$2 a chip SOIC 8</a><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:"Calibri","sans-serif";color:black">- Can use CAT5 UTP<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:"Calibri","sans-serif";color:black">- Uses open-drain lines - noise can be an issue and longer length takes lower pull-up values sucking juice<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:"Calibri","sans-serif";color:black"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:"Calibri","sans-serif";color:black"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:"Calibri","sans-serif";color:black">An Dual UART i2c to RS-485 transceiver:<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:"Calibri","sans-serif";color:black">- Such as the
<a href="http://www.nxp.com/documents/data_sheet/SC16IS752_SC16IS762.pdf" target="_blank">
NXP SC16IS752</a> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:"Calibri","sans-serif";color:black">- Can take 100kHz to 1000’ (rule of thumb - range = 100kHz / 10^8)<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:"Calibri","sans-serif";color:black">- Costs
<a href="http://www.digikey.com/product-detail/en/SC16IS752IPW,128/568-11944-1-ND/5221977" target="_blank">
$4 a chip - 28-TSSOP</a><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:"Calibri","sans-serif";color:black">- Can use CAT5 UTP<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:"Calibri","sans-serif";color:black">- Differential signaling - more tolerant of noise<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:"Calibri","sans-serif";color:black">- Runs at 2.5 or 3.3V without degradation of performance<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:"Calibri","sans-serif";color:black"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:"Calibri","sans-serif";color:black">Looking at this list, I think I will try the RS-485 solution as well - thanks for pointing this out Fred and I hope this comparison is helpful to folks.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:"Calibri","sans-serif";color:black"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:"Calibri","sans-serif";color:black">Thanks,<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:"Calibri","sans-serif";color:black"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:"Calibri","sans-serif";color:black">Chip<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:"Calibri","sans-serif";color:black"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:"Calibri","sans-serif";color:black"> <o:p></o:p></span></p>
</div>
<div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:"Calibri","sans-serif";color:black"> <o:p></o:p></span></p>
</div>
<div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:"Calibri","sans-serif";color:black">On Sep 30, 2015, at 6:02 PM,
<a href="mailto:triembed-request@triembed.org" target="_blank">triembed-request@triembed.org</a> wrote:<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:"Calibri","sans-serif";color:black"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:"Calibri","sans-serif";color:black">Send TriEmbed mailing list submissions to<br>
<a href="mailto:triembed@triembed.org" target="_blank">triembed@triembed.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="http://mail.triembed.org/mailman/listinfo/triembed_triembed.org" target="_blank">http://mail.triembed.org/mailman/listinfo/triembed_triembed.org</a><br>
or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:triembed-request@triembed.org" target="_blank">triembed-request@triembed.org</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:triembed-owner@triembed.org" target="_blank">triembed-owner@triembed.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of TriEmbed digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
  1. Re: Fred Brooks presenting tonight on Centennial Campus<br>
     (Adam Haile)<br>
  2. Re: I2C range extension (Rodney Radford)<br>
  3. Re: Fred Brooks presenting tonight on Centennial Campus<br>
     (Pete Soper)<br>
  4. Re: I2C range extension (Chip McClelland) (Fred Ebeling)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Wed, 30 Sep 2015 14:50:06 -0400<br>
From: Adam Haile <<a href="mailto:email@adamhaile.net" target="_blank">email@adamhaile.net</a>><br>
To: Rodney Radford <<a href="mailto:ncgadgetry@gmail.com" target="_blank">ncgadgetry@gmail.com</a>><br>
Cc: TriEmbed Discussion <<a href="mailto:triembed@triembed.org" target="_blank">triembed@triembed.org</a>>, trianglerobotics<br>
<<a href="mailto:trianglerobotics@yahoogroups.com" target="_blank">trianglerobotics@yahoogroups.com</a>>, Triangle Linux Users Group<br>
General Discussion <<a href="mailto:trilug@trilug.org" target="_blank">trilug@trilug.org</a>><br>
Subject: Re: [TriEmbed] Fred Brooks presenting tonight on Centennial<br>
Campus<br>
Message-ID:<br>
<CAG8g-TYsX+pF7F293jZg37zf_zR=<a href="mailto:3AV4Y_KBKdDPXV%2Bv2oAtCg@mail.gmail.com" target="_blank">3AV4Y_KBKdDPXV+v2oAtCg@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Oh man... that's really tempting. Thanks!<br>
<br>
On Wed, Sep 30, 2015 at 2:46 PM, Rodney Radford via TriEmbed <<br>
<a href="mailto:triembed@triembed.org" target="_blank">triembed@triembed.org</a>> wrote:<br>
<br>
<br>
<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:12.0pt;background:white"><span style="font-family:"Calibri","sans-serif";color:black">Fred Brooks, author of "Mytical Man Month" and project lead of the IBM/360<br>
system, will be presenting tonight on Centennial campus on the history of<br>
computing.<br>
<br>
If you have never heard of Dr Brooks, you should read a little about his<br>
career and show up tonight to hear him speak.<br>
<br>
<a href="https://en.wikipedia.org/wiki/Fred_Brooks" target="_blank">https://en.wikipedia.org/wiki/Fred_Brooks</a><br>
<br>
If you know who he is, you already know why you should attend.<br>
<br>
More detail at the link below:<br>
<br>
<br>
<a href="https://meetings.vtools.ieee.org/m/35685" target="_blank">https://meetings.vtools.ieee.org/m/35685</a><br>
<br>
<br>
<br>
_______________________________________________<br>
Triangle, NC Embedded Computing mailing list<br>
<a href="mailto:TriEmbed@triembed.org" target="_blank">TriEmbed@triembed.org</a><br>
<a href="http://mail.triembed.org/mailman/listinfo/triembed_triembed.org" target="_blank">http://mail.triembed.org/mailman/listinfo/triembed_triembed.org</a><br>
TriEmbed web site: <a href="http://TriEmbed.org" target="_blank">http://TriEmbed.org</a><br>
<br>
<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="font-family:"Calibri","sans-serif";color:black">-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://mail.triembed.org/pipermail/triembed_triembed.org/attachments/20150930/18e246ab/attachment-0001.html" target="_blank">http://mail.triembed.org/pipermail/triembed_triembed.org/attachments/20150930/18e246ab/attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Wed, 30 Sep 2015 15:04:21 -0400<br>
From: Rodney Radford <<a href="mailto:ncgadgetry@gmail.com" target="_blank">ncgadgetry@gmail.com</a>><br>
To: TriEmbed Discussion <<a href="mailto:triembed@triembed.org" target="_blank">triembed@triembed.org</a>><br>
Subject: Re: [TriEmbed] I2C range extension<br>
Message-ID:<br>
<<a href="mailto:CA%2BkfaxGN56iAhKCSsRDi7VzLZuH71vwxxxZVzZKEoGquUDAgBw@mail.gmail.com" target="_blank">CA+kfaxGN56iAhKCSsRDi7VzLZuH71vwxxxZVzZKEoGquUDAgBw@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
I used I2C to control about a dozen salt water aquariums several years ago.<br>
<br>
This involved a single PC bit-banging I2C out a parallel port (so was slow)<br>
to a temperature sensor in each of the aquariums (some 30' away), sending<br>
status out to a a couple 2x16 and 4x16 displays (I2C serial -> parallel -><br>
LCD parallel interface), and controlling the heaters.<br>
<br>
This was for an outdoor, unheated, uninsulated building where the water in<br>
the salt water aquariums had to be kept within a fairly narrow range.  We<br>
monitored the temperature of the tanks and the external temp and would<br>
start the heaters in the water when we notice the temp dropping.  This<br>
replaced a mechanical temperature setup where the heaters would turn on<br>
once the water got too cold, but by that time, the thermal mass of the<br>
water prevented it from heating fast enough.<br>
<br>
Now all of this would be replaced with a couple Arduinos, one devoted to<br>
each tank, and a multi-drop serial bus to report back to the PC, but this<br>
was back about 20 years ago.<br>
<br>
This worked with no problems for the several years i worked with it.<br>
<br>
A few things we did:<br>
* twisted pair<br>
* I2C range extenders with 12v pullups<br>
* was not a noisy environment (outdoor building with only a single power<br>
drop and no other electrical devices)<br>
<br>
This was far enough back that you couldn't even buy the I2C devices in low<br>
quantities, so companies like Pure Unobtanium sprung up (Ed Nisley's<br>
company - previous author in Circuit Cellar Ink, and past Triangle Amateur<br>
Robotics member) would buy parts in the minimum quantity and sell to<br>
hobbyists.  Unfortunately by the time he would burn through enough stock to<br>
break even, they would be available from other suppliers for less.<br>
<br>
Also check out AccessBus - it was based on I2C and was designed to be a<br>
desktop peripheral interface.  Unfortunately it was not adopted and USB has<br>
since taken over this market.<br>
<br>
So the short of it - yes, you can use I2C for longer distances in some<br>
circumstances.<br>
<br>
<br>
On Tue, Sep 29, 2015 at 10:03 PM, Charles West via TriEmbed <<br>
<a href="mailto:triembed@triembed.org" target="_blank">triembed@triembed.org</a>> wrote:<br>
<br>
<br>
<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:12.0pt;background:white"><span style="font-family:"Calibri","sans-serif";color:black">Hello,<br>
<br>
Thanks again for all the good discussion on electrical connectors.<br>
<br>
We're still debating some of the specifics for the CANInstall and/or<br>
I2CPotential protocols.  One of the big things up in the air is how<br>
reliable I2C is and how long the range can be.<br>
<br>
My impression is that having a I2C bus of more than a meter or two is<br>
considered pushing your luck.  However, there seem to be range<br>
extender/repeater chips available that promise rather drastically improved<br>
range (such as the P82B715).<br>
<br>
If I may ask, what is the longest I2C bus you have built/seen?<br>
<br>
How has your experience been in terms of reliability?<br>
<br>
What sort of bus speeds do you tend to use?<br>
<br>
The bus speed is driven by the master, so theoretically you could have a<br>
sub-hertz baud rate?  Does this mean that you could get a really long range<br>
with a super slow baud rate or are the edges not sharp enough to be<br>
detected?<br>
<br>
Thanks,<br>
Charlie<br>
<br>
_______________________________________________<br>
Triangle, NC Embedded Computing mailing list<br>
<a href="mailto:TriEmbed@triembed.org" target="_blank">TriEmbed@triembed.org</a><br>
<a href="http://mail.triembed.org/mailman/listinfo/triembed_triembed.org" target="_blank">http://mail.triembed.org/mailman/listinfo/triembed_triembed.org</a><br>
TriEmbed web site: <a href="http://TriEmbed.org" target="_blank">http://TriEmbed.org</a><br>
<br>
<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="font-family:"Calibri","sans-serif";color:black">-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://mail.triembed.org/pipermail/triembed_triembed.org/attachments/20150930/7393dd7e/attachment-0001.html" target="_blank">http://mail.triembed.org/pipermail/triembed_triembed.org/attachments/20150930/7393dd7e/attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Wed, 30 Sep 2015 15:32:55 -0400<br>
From: Pete Soper <<a href="mailto:pete@soper.us" target="_blank">pete@soper.us</a>><br>
To: <a href="mailto:triembed@triembed.org" target="_blank">triembed@triembed.org</a><br>
Subject: Re: [TriEmbed] Fred Brooks presenting tonight on Centennial<br>
Campus<br>
Message-ID: <<a href="mailto:560C38E7.7090105@soper.us" target="_blank">560C38E7.7090105@soper.us</a>><br>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed<br>
<br>
WOW. Thanks very much for the notice, Rod. This is truly one of the <br>
grand old men of software engineering (and he's much younger than I <br>
thought!)<br>
<br>
-Pete<br>
<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 4<br>
Date: Wed, 30 Sep 2015 14:18:13 -0400<br>
From: "Fred Ebeling" <<a href="mailto:FEbeling@ECPDesigns.com">FEbeling@ECPDesigns.com</a>><br>
To: "Charles McClelland" <<a href="mailto:chip@mcclellands.org" target="_blank">chip@mcclellands.org</a>>,<br>
<<a href="mailto:triembed@triembed.org" target="_blank">triembed@triembed.org</a>><br>
Subject: Re: [TriEmbed] I2C range extension (Chip McClelland)<br>
Message-ID: <B812360D6960473488D05FE620FFFE2C@ECPDesigns><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
This has been an interesting discussion, but perhaps a bit of history would<br>
help.   The original I2C protocal was developed by Philips to interconnect<br>
HIFI equipment together and still be able to use a 3 connector plug.  It was<br>
designed for short distances, perhaps 10 feet max.<br>
<br>
To go further the normal ?standard? is to use RS 485 (or RS 422) standard.  This<br>
uses three wires, a ground, and two signal wires that are opposite of each other.<br>
So when the TX+ sends a ?1?, the TX- sends a ?0?.  The wires are also terminated<br>
usually with a 120 ohm resistor on both ends.  Thou some ignore this rule.<br>
<br>
RS-485 can go thousands of feet.  I have set up systems with the length of over<br>
4000? between the controller and the node. <br>
<br>
Speed is based on distance, the major limitation is the ?capacitance of the wire?.  This<br>
will cause the leading and falling edge to degrade and limit the speed to around 10KHz<br>
for long distances.  Shorter distances (100?) can get up to 1 MHz.<br>
<br>
The problem thou is this is one way communications at a time.  Think of it like the<br>
old CB radios.  You send a packet to the ?good old boy? at the end node and say ?Over?<br>
so the end node can respond back.<br>
<br>
RS 422 eliminates this by having separate xmit and rec pairs.  <br>
<br>
In either case, the RS485 IC are reasonable priced and there are even standards for<br>
the connectors and connections.<br>
<br>
Fred Ebeling<br>
ECP Designs<br>
<br>
<br>
<br>
From: Charles McClelland via TriEmbed <br>
Sent: Wednesday, September 30, 2015 1:54 PM<br>
To: <a href="mailto:triembed@triembed.org" target="_blank">triembed@triembed.org</a>
<br>
Subject: [TriEmbed] I2C range extension (Chip McClelland)<br>
<br>
Charlie, <br>
<br>
I agree with John?s recommendations but wanted to pass on my experience.   I can reliably go 8? with i2c under the following conditions:<br>
- Cat5 cable and paying attention to which pairs are used for SDA / SCL<br>
- Speed set to 100kHz <br>
- 4.7k pull-ups to 3.3V<br>
<br>
I need to get to 50? so I have ordered a few P82B715 chips.  These chips advertise to get to 50? but only if you are using 5V logic so we will see if they can go 50? at 3.3V.  I will share my results at the next meeting.<br>
<br>
Hope this helps,<br>
<br>
Chip<br>
<br>
<br>
<br>
On Sep 30, 2015, at 1:00 PM, <a href="mailto:triembed-request@triembed.org" target="_blank">
triembed-request@triembed.org</a> wrote:<br>
<br>
Send TriEmbed mailing list submissions to<br>
<a href="mailto:triembed@triembed.org" target="_blank">triembed@triembed.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="http://mail.triembed.org/mailman/listinfo/triembed_triembed.org" target="_blank">http://mail.triembed.org/mailman/listinfo/triembed_triembed.org</a><br>
or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:triembed-request@triembed.org" target="_blank">triembed-request@triembed.org</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:triembed-owner@triembed.org" target="_blank">triembed-owner@triembed.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of TriEmbed digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
   1. Re: Bulk LED Order (Adam Haile)<br>
   2. I2C range extension (Charles West)<br>
   3. Re: I2C range extension (John Vaughters)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Tue, 29 Sep 2015 13:58:17 -0400<br>
From: Adam Haile <<a href="mailto:email@adamhaile.net" target="_blank">email@adamhaile.net</a>><br>
To: "<a href="mailto:triembed@triembed.org" target="_blank">triembed@triembed.org</a>" <<a href="mailto:triembed@triembed.org" target="_blank">triembed@triembed.org</a>><br>
Subject: Re: [TriEmbed] Bulk LED Order<br>
Message-ID:<br>
<<a href="mailto:CAG8g-TaEQgjJRs4GGKhWiMPj-NTKE_iUxbLXbdqY-6z6Nn0fTQ@mail.gmail.com" target="_blank">CAG8g-TaEQgjJRs4GGKhWiMPj-NTKE_iUxbLXbdqY-6z6Nn0fTQ@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Final call! Putting in quote request tomorrow. Let me know if you want<br>
anything.<br>
<br>
On Fri, Sep 11, 2015 at 11:14 AM, Adam Haile <<a href="mailto:email@adamhaile.net" target="_blank">email@adamhaile.net</a>> wrote:<br>
<br>
<br>
   I recently had to tear down my old porch lighting install when we had our<br>
   house repainted, so I'm going to be ordering a bunch of new lights from my<br>
   supplier in China.<br>
<br>
   Like last time, if anyone wants to get in on the order, the pricing is a<br>
   huge discount from normal suppliers like Adafruit, Sparkfun, Amazon, eBay,<br>
   etc.<br>
<br>
   I don't take a profit, the prices in the pricing lists (GDrive link below)<br>
   are direct from the manufacturer. The major point here is to save on<br>
   shipping for everyone. Which I'll divide between all buyers based on the<br>
   percentage of the overall purchase price which is yours.<br>
<br>
   Pricing lists here:<br>
<br>
   <a href="https://drive.google.com/folderview?id=0B7a_WsLpan5-SEl5TjAtTjctZm8&usp=sharing" target="_blank">
https://drive.google.com/folderview?id=0B7a_WsLpan5-SEl5TjAtTjctZm8&usp=sharing</a><br>
<br>
   So, if you would like anything, please let me know in the next couple of<br>
   weeks and give me the exact model number and quantity. Most things come in<br>
   5m rolls, so you can tell me rolls or meters.<br>
<br>
   Once I get everyone's details I'll will request a final quote (some of the<br>
   pricing can vary by quantity) and then send everyone their final cost.<br>
<br>
   *PLEASE NOTE*: Since I have to pay the manufacturer via PayPal, you *MUST* pay<br>
   me via Paypal. That way no money has to go through my own personal bank<br>
   accounts first. So, sorry, no cash or checks. And payment must go through<br>
   prior to submitting the final order to the manufacturer. Sorry if this is<br>
   an inconvenience, but it's the easiest way for me to do it.<br>
<br>
   Let me know.<br>
<br>
   Adam<br>
<br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://mail.triembed.org/pipermail/triembed_triembed.org/attachments/20150929/48eba6b8/attachment-0001.html" target="_blank">http://mail.triembed.org/pipermail/triembed_triembed.org/attachments/20150929/48eba6b8/attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Tue, 29 Sep 2015 22:03:01 -0400<br>
From: Charles West <<a href="mailto:crwest@ncsu.edu" target="_blank">crwest@ncsu.edu</a>><br>
To: TriEmbed <<a href="mailto:triembed@triembed.org" target="_blank">triembed@triembed.org</a>><br>
Subject: [TriEmbed] I2C range extension<br>
Message-ID:<br>
<<a href="mailto:CAGojqSk0_4x63vjm0EhqRag56fW9y38j9qfJzOF8sRwzW_tfLQ@mail.gmail.com" target="_blank">CAGojqSk0_4x63vjm0EhqRag56fW9y38j9qfJzOF8sRwzW_tfLQ@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hello,<br>
<br>
Thanks again for all the good discussion on electrical connectors.<br>
<br>
We're still debating some of the specifics for the CANInstall and/or<br>
I2CPotential protocols.  One of the big things up in the air is how<br>
reliable I2C is and how long the range can be.<br>
<br>
My impression is that having a I2C bus of more than a meter or two is<br>
considered pushing your luck.  However, there seem to be range<br>
extender/repeater chips available that promise rather drastically improved<br>
range (such as the P82B715).<br>
<br>
If I may ask, what is the longest I2C bus you have built/seen?<br>
<br>
How has your experience been in terms of reliability?<br>
<br>
What sort of bus speeds do you tend to use?<br>
<br>
The bus speed is driven by the master, so theoretically you could have a<br>
sub-hertz baud rate?  Does this mean that you could get a really long range<br>
with a super slow baud rate or are the edges not sharp enough to be<br>
detected?<br>
<br>
Thanks,<br>
Charlie<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://mail.triembed.org/pipermail/triembed_triembed.org/attachments/20150929/064d0dab/attachment-0001.html" target="_blank">http://mail.triembed.org/pipermail/triembed_triembed.org/attachments/20150929/064d0dab/attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Wed, 30 Sep 2015 12:54:03 +0000 (UTC)<br>
From: John Vaughters <<a href="mailto:jvaughters04@yahoo.com" target="_blank">jvaughters04@yahoo.com</a>><br>
To: Charles West <<a href="mailto:crwest@ncsu.edu" target="_blank">crwest@ncsu.edu</a>>, TriEmbed <<a href="mailto:triembed@triembed.org" target="_blank">triembed@triembed.org</a>><br>
Subject: Re: [TriEmbed] I2C range extension<br>
Message-ID:<br>
<<a href="mailto:1421720024.2476926.1443617643320.JavaMail.yahoo@mail.yahoo.com" target="_blank">1421720024.2476926.1443617643320.JavaMail.yahoo@mail.yahoo.com</a>><br>
Content-Type: text/plain; charset=UTF-8<br>
<br>
Charlie,<br>
<br>
The biggest problem I would be concerned about on i2c over a long distance is noise susceptibility that could affect reliability. So the importance of reliable communication is at question. I guess the first question would be, do you have an environment that
 is noisey? Then, Do you care if you have interruptions? If your environment is fairly clean of noise and you can live with communication interruptions, then long i2c may be a good low cost solution for long runs.
<br>
<br>
Here is what you may want to consider. <br>
<br>
1. Take control of the pull up resistors by disabling them on the chip.<br>
2. Tune the pull up resistors by starting at a safe low level and then increase them until you stop getting communication at the length you are running. Then back down. Keep in mind that you will gain more reliability as you reduce the pull ups.<br>
3. Twisted pair cables would be your first attack on noise.<br>
4. If you still encounter noise, consider ferrite beads to supress. This is best done if you have an idea of the noise frequency.
<br>
<br>
The alternative is if you truly desire reliable communications, then 485/CAN is the way to go. CAN being the most expensive, but gives you the similar capability to i2c with the ad hoc interruption communication capability. Or better stated an adhoc like network
 with a priority assignment.<br>
<br>
I personally never ran i2c that long and cannot answer those questions. I generally have used 485 the most. The TI chips are usually the lowest cost for communication. For some reason people love the half duplex, but I prefer the full duplex.<br>
<br>
I would be curious to know how far you make i2c run if you go that route.<br>
<br>
John Vaughters<br>
<br>
<br>
<br>
On Tuesday, September 29, 2015 10:03 PM, Charles West via TriEmbed <<a href="mailto:triembed@triembed.org" target="_blank">triembed@triembed.org</a>> wrote:<br>
<br>
<br>
<br>
Hello,<br>
<br>
Thanks again for all the good discussion on electrical connectors. <br>
<br>
We're still debating some of the specifics for the CANInstall and/or I2CPotential protocols.  One of the big things up in the air is how reliable I2C is and how long the range can be.<br>
<br>
My impression is that having a I2C bus of more than a meter or two is considered pushing your luck.  However, there seem to be range extender/repeater chips available that promise rather drastically improved range (such as the P82B715). 
<br>
<br>
If I may ask, what is the longest I2C bus you have built/seen?<br>
<br>
How has your experience been in terms of reliability?<br>
<br>
What sort of bus speeds do you tend to use?<br>
<br>
The bus speed is driven by the master, so theoretically you could have a sub-hertz baud rate?  Does this mean that you could get a really long range with a super slow baud rate or are the edges not sharp enough to be detected?<br>
<br>
Thanks,<br>
Charlie<br>
<br>
_______________________________________________<br>
Triangle, NC Embedded Computing mailing list<br>
<a href="mailto:TriEmbed@triembed.org" target="_blank">TriEmbed@triembed.org</a><br>
<a href="http://mail.triembed.org/mailman/listinfo/triembed_triembed.org" target="_blank">http://mail.triembed.org/mailman/listinfo/triembed_triembed.org</a><br>
TriEmbed web site: <a href="http://TriEmbed.org" target="_blank">http://TriEmbed.org</a><br>
<br>
<br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
_______________________________________________<br>
TriEmbed mailing list<br>
<a href="mailto:TriEmbed@triembed.org" target="_blank">TriEmbed@triembed.org</a><br>
<a href="http://mail.triembed.org/mailman/listinfo/triembed_triembed.org" target="_blank">http://mail.triembed.org/mailman/listinfo/triembed_triembed.org</a><br>
<br>
<br>
------------------------------<br>
<br>
End of TriEmbed Digest, Vol 28, Issue 31<br>
****************************************<br>
<br>
<br>
<br>
<br>
<br>
--------------------------------------------------------------------------------<br>
_______________________________________________<br>
Triangle, NC Embedded Computing mailing list<br>
<a href="mailto:TriEmbed@triembed.org" target="_blank">TriEmbed@triembed.org</a><br>
<a href="http://mail.triembed.org/mailman/listinfo/triembed_triembed.org" target="_blank">http://mail.triembed.org/mailman/listinfo/triembed_triembed.org</a><br>
TriEmbed web site: <a href="http://TriEmbed.org" target="_blank">http://TriEmbed.org</a><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://mail.triembed.org/pipermail/triembed_triembed.org/attachments/20150930/3acca29c/attachment.html" target="_blank">http://mail.triembed.org/pipermail/triembed_triembed.org/attachments/20150930/3acca29c/attachment.html</a>><br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
_______________________________________________<br>
TriEmbed mailing list<br>
<a href="mailto:TriEmbed@triembed.org" target="_blank">TriEmbed@triembed.org</a><br>
<a href="http://mail.triembed.org/mailman/listinfo/triembed_triembed.org" target="_blank">http://mail.triembed.org/mailman/listinfo/triembed_triembed.org</a><br>
<br>
<br>
------------------------------<br>
<br>
End of TriEmbed Digest, Vol 28, Issue 33<br>
****************************************<o:p></o:p></span></p>
</div>
</blockquote>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:"Calibri","sans-serif";color:black"> <o:p></o:p></span></p>
</div>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:"Calibri","sans-serif";color:black"><o:p> </o:p></span></p>
</div>
<div class="MsoNormal" align="center" style="text-align:center;background:white">
<span style="font-family:"Calibri","sans-serif";color:black">
<hr size="2" width="100%" align="center">
</span></div>
<p class="MsoNormal" style="background:white"><span style="font-family:"Calibri","sans-serif";color:black">_______________________________________________<br>
Triangle, NC Embedded Computing mailing list<br>
<a href="mailto:TriEmbed@triembed.org" target="_blank">TriEmbed@triembed.org</a><br>
<a href="http://mail.triembed.org/mailman/listinfo/triembed_triembed.org" target="_blank">http://mail.triembed.org/mailman/listinfo/triembed_triembed.org</a><br>
TriEmbed web site: <a href="http://TriEmbed.org" target="_blank">http://TriEmbed.org</a><o:p></o:p></span></p>
</div>
</div>
</div>
</div>
<p class="MsoNormal" style="background:white"><span style="font-family:"Helvetica","sans-serif";color:black"><o:p> </o:p></span></p>
</div>
</div>
</div>
<p class="MsoNormal" style="background:white"><span style="font-family:"Helvetica","sans-serif";color:black"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:"Helvetica","sans-serif";color:black">_______________________________________________<br>
Triangle, NC Embedded Computing mailing list<br>
<a href="mailto:TriEmbed@triembed.org" target="_blank">TriEmbed@triembed.org</a><br>
<a href="http://mail.triembed.org/mailman/listinfo/triembed_triembed.org" target="_blank">http://mail.triembed.org/mailman/listinfo/triembed_triembed.org</a><br>
TriEmbed web site: <a href="http://triembed.org/" target="_blank">http://TriEmbed.org</a><o:p></o:p></span></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt;background:white"><span style="font-family:"Helvetica","sans-serif";color:black"><o:p> </o:p></span></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
_______________________________________________<br>
Triangle, NC Embedded Computing mailing list<br>
<a href="mailto:TriEmbed@triembed.org">TriEmbed@triembed.org</a><br>
<a href="http://mail.triembed.org/mailman/listinfo/triembed_triembed.org" target="_blank">http://mail.triembed.org/mailman/listinfo/triembed_triembed.org</a><br>
TriEmbed web site: <a href="http://TriEmbed.org" target="_blank">http://TriEmbed.org</a><o:p></o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</body>
</html>