<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)">
<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:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
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;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Vorformatiert Zchn";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
span.HTMLVorformatiertZchn
        {mso-style-name:"HTML Vorformatiert Zchn";
        mso-style-priority:99;
        mso-style-link:"HTML Vorformatiert";
        font-family:Consolas;
        color:black;}
span.E-MailFormatvorlage19
        {mso-style-type:personal-reply;
        font-family:"Arial","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
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 bgcolor="white" lang="DE-AT" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D">And if you use other I2C controllers you can have up to 28 IOs in one chip. (push-pull possible, but interrupts on input for only a few lines)
<a href="http://www.maximintegrated.com/en/products/interface/controllers-expanders/MAX7300.html">
http://www.maximintegrated.com/en/products/interface/controllers-expanders/MAX7300.html</a><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D">There is also a SPI version available with similar IOs<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D"><a href="http://www.maximintegrated.com/datasheet/index.mvp/id/3371/part/MAX7301">http://www.maximintegrated.com/datasheet/index.mvp/id/3371/part/MAX7301</a><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D">But on the negative side you are single sourced with these parts.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D">For standard parts there are also 16 bit version widely available: PCF8575<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D"><a href="http://www.ti.com/lit/ds/symlink/pcf8575.pdf">http://www.ti.com/lit/ds/symlink/pcf8575.pdf</a><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D">Ciao<br>
Peter<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D"><a href="http://www.ullrich.at.tt">http://www.ullrich.at.tt</a><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="DE" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext">Von:</span></b><span lang="DE" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext"> synth-diy-bounces@dropmix.xs4all.nl
 [mailto:synth-diy-bounces@dropmix.xs4all.nl] <b>Im Auftrag von </b>Rick Jansen<br>
<b>Gesendet:</b> Freitag, 07. August 2015 09:05<br>
<b>An:</b> rsdio@audiobanshee.com<br>
<b>Cc:</b> Synth-Diy List<br>
<b>Betreff:</b> Re: [sdiy] 7-segment LED displays with 4511 driver chip - max current?<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">On 07/08/2015 08:17, <a href="mailto:rsdio@audiobanshee.com">
rsdio@audiobanshee.com</a> wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<pre><o:p> </o:p></pre>
<pre>On Aug 5, 2015, at 10:29 PM, Rick Jansen <a href="mailto:rick.jansen@xs4all.nl"><rick.jansen@xs4all.nl></a> wrote:<o:p></o:p></pre>
<pre>> On 06 Aug 2015, at 00:01, <a href="mailto:rsdio@audiobanshee.com">rsdio@audiobanshee.com</a> wrote:<o:p></o:p></pre>
<pre>>> Those three BCD chips will use 12 GPIO pins, unless you add more chips to expand I/O. With those same 12 GPIO pins, you can drive 36 LEDs in a simple matrix. That's enough for three 7-segment displays plus 15 more LED indicators. Or, you could use 10 GPIO pins and a cheap 2-to-4 decoder chip to drive 32 LEDs with 11 to spare beyond the three 7-segment displays.<o:p></o:p></pre>
<pre>> <o:p></o:p></pre>
<pre>> The 4511 has a latch that can remember the state of the digit. So you need 4 pins for the BCD value, plus one pin per LE signal to make that 4511 change state. Three 4511's cost 7 pins that way. I do have enough space in the I2C bus, so I will add an extra PCF8574 for that. One bit spare for blanking the upper digit even, if 0! :-)<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>Sometimes, the absolute lowest pin count solution is not the best. An I2C GPIO expander will take more time to update than direct AVR GPIO pins. Also, I2C is a very slow protocol, and the more things you add to your bus, the lower the total available communications bandwidth to each one.<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>If you have 7 or 8 GPIO pins to spare, then I still recommend the simply LED matrix with a 2-to-4 decoder. 8 pins will get you 24 LEDs in any pattern you want, with 25% duty cycle for each LED.<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>Personally, I find it interesting to see how circuit design trends have changed since the early days of digital synth design. Old designs are more efficient, and cost even less today, while new designs tend to suffer from congested I/O and even slower firmware. That's the only reason I recommend the simpler designs. Of course, they're only an option when you haven't run out of GPIO pins!<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>Brian<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
</blockquote>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-family:"Helvetica","sans-serif"">I2C may be relatively slow, but this is a user-interface thingy, and we humans are very very slow, compared to I2C. Well, I am.<br>
I'll see how I fare. I really like I/O extension of the Arduino with the PCF8574 chips, and the way that one pin change gives you an interrupt. (Shift registers don't do that.)
<br>
<br>
Max 2x8x8 = 128 signals! <br>
<br>
PCF8574 drives (individual, not 7-seg) LEDs very nicely too. One disadvantage I find that the PCF8574 outputs can only
<b>sink</b> current well, so they're not very good for driving an external bus with positive signal voltages. But a 74HC541 buffer solves that too. (Unbelievable how many different chips I still had lying around..)<br>
<br>
rick  (now studying how you can have an Arduino track a whole bunch of rotary encoders, like 16, and read them individually...)<br>
<br>
<br>
<br>
<br>
</span><o:p></o:p></p>
</div>
<span style="font-size: 9px;"><br><br><br>The information contained in this e-mail message is privileged and confidential and is for the exclusive use of the addressee. The person who receives this message and who is not the addressee, one of his employees or an agent entitled to hand it over to the addressee, is informed that he may not use, disclose or reproduce the contents thereof, and is kindly asked to notify the sender and delete the e-mail <span style="font-size: 11px;"></span>immediately.<br><br></span></body>
</html>