<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>mcucenter.com</title>
	<atom:link href="http://mcucenter.com/blog/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://mcucenter.com/blog</link>
	<description>all things micro-controller, avr, pic and arduino</description>
	<lastBuildDate>Thu, 16 Jul 2009 01:52:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>When do you need a microcontroller?</title>
		<link>http://mcucenter.com/blog/?p=210</link>
		<comments>http://mcucenter.com/blog/?p=210#comments</comments>
		<pubDate>Wed, 15 Jul 2009 23:49:53 +0000</pubDate>
		<dc:creator>Adrian Hum</dc:creator>
				<category><![CDATA[AVR]]></category>
		<category><![CDATA[Arduino]]></category>
		<category><![CDATA[Microcontroller]]></category>

		<guid isPermaLink="false">http://mcucenter.com/blog/?p=210</guid>
		<description><![CDATA[Microcontrollers are fun. They are the heart and soul of many everyday appliances. And most of all, microcontrollers are easy to use and to design with, from the point of view of a designer. Figure 2.1 is the block diagram of what a typical modern microcontroller, and especially those in the AVR series, can do. [...]]]></description>
			<content:encoded><![CDATA[<p>Microcontrollers are fun. They are the heart and soul of many everyday appliances. And most of all, microcontrollers are easy to use and to design with, from the point of view of a designer. Figure 2.1 is the block diagram of what a typical modern microcontroller, and especially those in the AVR series, can do. The block in the center of the figure represents the microcontroller. It can interface to motors, a variety of displays as output devices, communicate to PCs, read external sensor values, even connect to a network of similar controllers, and it can do all that without a lot of extra components. This leads to a small and compact system that is more reliable and cost-effective (because of the fewer number of components and the fewer number of interconnections).</p>
<p>Looking at the needs, decide whether it can be done simply. It requires substantial investment of time, money, and effort to put together a reliable microcontroller-based system. The advantages are small overheads when upgrading the system with small changes. It also helps to keep the inventory to a relatively small number of components.</p>
</p>
<p align="left">Possible alternatives are:</p>
<ol>
<li>A dedicated digital circuit,</li>
<li>A digital circuit based on a PLD (programmable logic device),</li>
<li>An application specific integrated circuit (ASIC) based implementation.</li>
</ol>
<p>The above-mentioned alternatives to microprocessors are quite similar and differ in only the implementation. A dedicated digital circuit might use discrete ICs for the various logic functions (AND, OR, XOR, etc.) while a digital circuit based on a PLD would be more compact given the programmable nature of a PLD. A PLD contains an array of various logic function blocks, the user selects the required functionality, and the interconnection between these functional blocks at the design level, thereby achieving a more integrated and compact solution. A PLD has a substantial amount of hardware, of which only a fraction gets utilized in average applications. The ASIC solution is like a PLD except that it is an optimized implementation.</p>
<p><img title="When do you need a microcontroller Figure 1.1" src="http://mcucenter.com/blog/wp-content/uploads/2009/07/whenAVR1.1.gif" alt="Figure 1.1" width="906" height="355" /></p>
<p>Figure 1.1 is the circuit diagram for implementing an hypothetical logic equation using individual digital ICs. These logic gates, as seen in Figure 1.1, are available in various logic families (TTL, CMOS, etc.). The figure illustrates the IC numbers for the TTL family. To implement this equation, we need 3 ICs with about 57 percent utilization (the 7404 IC has 6 gates and we have used 3 of them, while the 7408 and 7432 has 4 gates each, of which we have used 5 gates—8 gates in all out of 14 available gates, i.e., a utilization factor of .57). The same equation is now implemented using a PLD (such as 16L8).</p>
<p><img class="size-full wp-image-215" title="whenAVR1.2" src="http://mcucenter.com/blog/wp-content/uploads/2009/07/whenAVR1.2.gif" alt="Figure 1.2" width="887" height="820" /></p>
<p>Figure 1.2 illustrates the internals of a PLD implementation. Each intersection in the AND array represents an AND gate, while each intersection in the OR array represents an OR gate. For this solution, we only need 1 IC. The PLD in Figure 1.2 has about 150 gates, of which we have used only about 12, representing a mere 8 percent utilization! (The actual 16L8 if used for this circuit has more hardware than seen in Figure 1.2.) A PLD-based circuit is also more power-consuming than a comparable ASIC circuit, which is due to the redundant hardware on the PLD chip.</p>
<p><img class="aligncenter" title="whenAVR1.3" src="http://mcucenter.com/blog/wp-content/uploads/2009/07/whenAVR1.3.gif" alt="Figure 1.3" width="446" height="348" /></p>
<p>In contrast, a microprocessor-based (in fact an Atmel AVR processor-based) circuit is illustrated in Figure 1.3. It is as small as the PLD-based circuit, and in terms of power consumption, is better than a PLD circuit. In terms of speed, the PLD will perform much faster than a processor. Of course, for the microprocessor circuit to work correctly, it must be programmed correctly. The program to implement our logic equation is discussed in a later chapter.</p>
<p>While we are trying to portray the microprocessor circuit in a positive light, it is worthwhile to be able to remember the relative merits and demerits of each implementation. It is not that the microprocessor is the solution to all problems. Sometimes you need to use a PLD in conjunction with a processor, and sometimes a PLD alone is required. One such implementation of a processor and a PLD working together is the subject of a later.</p>
]]></content:encoded>
			<wfw:commentRss>http://mcucenter.com/blog/?feed=rss2&amp;p=210</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pirate Bay copyright trial ends, Retrail Appeal Begins</title>
		<link>http://mcucenter.com/blog/?p=204</link>
		<comments>http://mcucenter.com/blog/?p=204#comments</comments>
		<pubDate>Thu, 23 Apr 2009 21:51:52 +0000</pubDate>
		<dc:creator>Adrian Hum</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://mcucenter.com/blog/?p=204</guid>
		<description><![CDATA[Less than a week after the Pirate Bay copyright trial ended with a guilty verdict, lawyers for the defense are calling for a retrial. Swedish radio station Sveriges Radio P3 news program revealed that Judge Tomas Norstrom holds close ties to pro-copyright organizations and his ruling may be considered a substantial conflict of interest. If [...]]]></description>
			<content:encoded><![CDATA[<p>Less than a week after the Pirate Bay copyright trial ended with a guilty verdict, lawyers for the defense are calling for a retrial. Swedish radio station Sveriges Radio P3 news program revealed that Judge Tomas Norstrom holds close ties to pro-copyright organizations and his ruling may be considered a substantial conflict of interest. If it can be proven that Norstrom has a legitimate bias against the Pirate Bay Four based on his affiliations, there is a possibility the original verdict could be thrown out. Sveriges Radio reported that Norstrom is a member of the following pro-copyright or copyright-relevant organizations that may have impacted his decision-making abilities at the trial:</p>
<p>•  <strong>The Swedish Association of Copyright</strong>, a discussion forum. While such an affiliation may seem harmless, other members of the organization include Henrik Ponten, Monique Wadsted, and Peter Danowsky — three key representatives in the entertainment industry&#8217;s case against Pirate Bay.<br />
•  <strong>The Swedish Association for the Protection of Industrial Property</strong>, an organization devoted to implementing stronger copyright laws. Norstrom sits on the board.<br />
•  <strong>.SE, The Internet Infrastructure Foundation</strong>, another harmless-sounding affiliation with another questionable allegiance: Monique Wadsted is also a member of this group that oversees the .se name domain and handles domain disputes.</p>
<p>Peter Althin, the lawyer who represents Pirate Bay spokesperson Peter Sunde, told The Local that in setting up this case, several lay judges were thrown out due to conflicts of interest. That Norstrom somehow sneaked past this deletion process raised suspicion and anger in the defense team. Norstrom claims that his decision was not colored by his associations. &#8220;My view has been that these activities do not constitute a conflict of interest&#8221;, he told Sveriges Radio. It&#8217;s evident that Judge Norstrom has strong ties to the pro-copyright lobby. I think he should have stepped down from the case in the beginning. That he didn&#8217;t shows a serious perversion of justice. Last Friday, Pirate Bay was sacked with a bill for 30 million Swedish kronor (US$3.6 million) and a one-year prison sentence for the Pirate Bay Four: Fredrik Neij, Gottfrid Svartholm Warg, Peter Sunde and Carl Lundstrom.</p>
]]></content:encoded>
			<wfw:commentRss>http://mcucenter.com/blog/?feed=rss2&amp;p=204</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sun bought out by Oracle?</title>
		<link>http://mcucenter.com/blog/?p=201</link>
		<comments>http://mcucenter.com/blog/?p=201#comments</comments>
		<pubDate>Tue, 21 Apr 2009 09:51:09 +0000</pubDate>
		<dc:creator>Adrian Hum</dc:creator>
				<category><![CDATA[Computing Business]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[oracle]]></category>
		<category><![CDATA[sun]]></category>

		<guid isPermaLink="false">http://mcucenter.com/blog/?p=201</guid>
		<description><![CDATA[Oracle Corp [NASDAQ:ORCL] plans to enter the computer hardware market by buying Sun Microsystems Inc [NASDAQ:JAVA] for more than $7 billion, swooping in after Sun’s talks with IBM [NYSE:IBM] fell apart. The announcement on Monday surprised many Oracle watchers, who believed the company can boost profitability at Sun’s software businesses but were unsure if it [...]]]></description>
			<content:encoded><![CDATA[<p><img class="aligncenter size-medium wp-image-202" title="sunoracle" src="http://mcucenter.com/blog/wp-content/uploads/2009/04/sunoracle-300x222.jpg" alt="sunoracle" width="300" height="222" /></p>
<p>Oracle Corp [<a href="http://www.google.com/finance?client=ob&amp;q=NASDAQ:ORCL">NASDAQ:ORCL</a>] plans to enter the computer hardware market by buying Sun Microsystems Inc [<a href="http://www.google.com/finance?q=NASDAQ%3AJAVA">NASDAQ:JAVA</a>] for more than $7 billion, swooping in after Sun’s talks with IBM [<a href="http://www.google.com/finance?q=NYSE%3AIBM">NYSE:IBM</a>] fell apart. The announcement on Monday surprised many Oracle watchers, who believed the company can boost profitability at Sun’s software businesses but were unsure if it can be as successful with Sun’s hardware unit amid stiff competition against IBM, Hewlett-Packard Co, Dell Inc and new entrant Cisco Systems Inc. &#8220;It&#8217;s an out-of-the-box, left-field type of a deal because Oracle is buying a predominantly hardware business,&#8221; said Jefferies &amp; Co analyst Ross MacMillan. &#8220;The push-pull of the deal is the uncertainty of the hardware business with the earnings accretion of the software business.&#8221;</p>
<p>Oracle will pay $9.50 a share for Sun, which values the high-end server and software maker at about $7.06 billion, based on 743 million shares outstanding as of the end of its second fiscal quarter on December 28, according to Sun. Sun had previously rejected IBM’s offer to pay up to $9.40 a share, according to sources with knowledge of the matter. Shares of Sun jumped 35.7 percent to $9.08 in morning Nasdaq trading, while Oracle shares fell 3.7 percent to $18.36. Shares of IBM, which did not immediately return calls for comment, fell 1.8 percent to $99.49 on the NYSE. Oracle President Safra Catz said on a conference call that Oracle intends to make the hardware division profitable. Sun’s top-selling products are high-end servers and storage equipment.</p>
<p>WASHINGTON, April 20 (Reuters) &#8211; Oracle Corp (<span id="symbol_ORCL.O_0" style="cursor: pointer;"><a href="http://uk.reuters.com/business/quotes/quote?symbol=ORCL.O">ORCL.O</a></span>) is unlikely to face serious antitrust objections as it moves to enter the computer hardware market by buying Sun Microsystems Inc (<span id="symbol_JAVA.O_1" style="cursor: pointer;"><a href="http://uk.reuters.com/business/quotes/quote?symbol=JAVA.O">JAVA.O</a></span>) for more than $7 billion, antitrust experts said.</p>
<p>They did not anticipate that federal regulators would be troubled by the deal since Oracle primarily focuses on database and business oriented software and Sun sells mainly high-end servers.</p>
<p>&#8220;Far from competing, the products of Sun are largely complementary with Oracle&#8217;s products. Indeed, Oracle software is frequently installed on Sun servers,&#8221; said Beau Buffier, an antitrust lawyer with law firm Shearman and Sterling LLP.</p>
<p>&#8220;Of course, Sun has some important software, such as Java and its Solaris operating system, but in these key areas there really is no meaningful competition with Oracle,&#8221; Buffier said.</p>
<p>Oracle&#8217;s database and related software already work closely with Sun&#8217;s Java software and Solaris operating system.</p>
<p>International Business Machines (<span id="symbol_IBM.N_2" style="cursor: pointer;"><a href="http://uk.reuters.com/business/quotes/quote?symbol=IBM.N">IBM.N</a></span>) may have abandoned its bid to buy Sun partially because of perceived antitrust concerns, according to a research note from Stifel Nicolaus.</p>
<p>Sun previously rejected IBM&#8217;s offer to pay up to $9.40 a share, according to sources with knowledge of the matter. Oracle will pay $9.50 a share for Sun.</p>
<p>&#8220;We believe an Oracle-Sun deal faces significantly fewer obstacles in the antitrust review than an IBM-Sun deal would have, particularly as it does not raise the issues regarding consolidation in the server and storage markets that would have been problematic for a deal with IBM,&#8221; the research note said.</p>
<p>Thomas Morgan of the George Washington University Law School pointed to the U.S. Justice Department&#8217;s unsuccessful challenge to Oracle&#8217;s purchase of software rival PeopleSoft in 2004 as a reason that regulators would be unlikely to oppose this less controversial deal.</p>
<p>&#8220;On that precedent, the acquisition of a hardware company is likely to be even less of a problem,&#8221; he said. &#8220;It looks like the kind of thing that is likely to go through.&#8221;</p>
<p>But Morgan also raised the possibility that President Barack Obama&#8217;s administration might use the case to prove its determination to be a tougher antitrust enforcer than the Bush administration was.</p>
<p>&#8220;This case is likely to be a test at least of the early attitude of the Obama administration,&#8221; said Morgan. &#8220;One might expect to see, or one might watch to see, if this is a place that the new Justice Department leadership would choose to at least try their stuff.&#8221;</p>
<p>The deal would make Oracle the world&#8217;s fourth-largest maker of servers, with the No. 2 slot in the high-end of the market, which was worth about $17 billion last year. Oracle is already the world&#8217;s No 2 maker of business software after IBM.</p>
<p>The U.S. Senate on Monday evening approved the nomination of former Federal Trade Commission member Christine Varney to head the Justice Department&#8217;s antitrust division.</p>
<p><em>Source: Reuters</em></p>
]]></content:encoded>
			<wfw:commentRss>http://mcucenter.com/blog/?feed=rss2&amp;p=201</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A Charlieplex Applet by Alexander Brevig</title>
		<link>http://mcucenter.com/blog/?p=198</link>
		<comments>http://mcucenter.com/blog/?p=198#comments</comments>
		<pubDate>Mon, 20 Apr 2009 23:37:19 +0000</pubDate>
		<dc:creator>Adrian Hum</dc:creator>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[Microcontroller]]></category>
		<category><![CDATA[charlieplex]]></category>

		<guid isPermaLink="false">http://mcucenter.com/blog/?p=198</guid>
		<description><![CDATA[I was doing some quick checking around for some information on charlieplexing (I needed a definition and as usual the last place I looked was of course on Wikipedia D&#8217;oH!) Anyway in my travels, I came across this&#8230; http://hosting.alexanderbrevig.com/arduino/help/charlieplex Thank you Alexander Brevig]]></description>
			<content:encoded><![CDATA[<p>I was doing some quick checking around for some information on charlieplexing (I needed a definition and as usual the last place I looked was of course on Wikipedia D&#8217;oH!) Anyway in my travels, I came across this&#8230;</p>
<div id="attachment_199" class="wp-caption aligncenter" style="width: 310px"><img class="size-medium wp-image-199" title="A Charlieplex Applet" src="http://mcucenter.com/blog/wp-content/uploads/2009/04/charlieplexapplet-300x206.gif" alt="A Charplex Applet by Alexander Brevig" width="300" height="206" /><p class="wp-caption-text">A Charplex Applet by Alexander Brevig</p></div>
<p>http://hosting.alexanderbrevig.com/arduino/help/charlieplex</p>
<p>Thank you <a href="http://alexanderbrevig.com/?site=contact">Alexander Brevig</a></p>
]]></content:encoded>
			<wfw:commentRss>http://mcucenter.com/blog/?feed=rss2&amp;p=198</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Intel Rating System helps eliminate confusion?</title>
		<link>http://mcucenter.com/blog/?p=196</link>
		<comments>http://mcucenter.com/blog/?p=196#comments</comments>
		<pubDate>Sat, 11 Apr 2009 07:44:43 +0000</pubDate>
		<dc:creator>Adrian Hum</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://mcucenter.com/blog/?p=196</guid>
		<description><![CDATA[It looks like those confused by the multitude of Intel processors out there needn&#8217;t linger in indecision any longer, as Intel itself has now come up with a new scheme that it hopes will help simplify the buying process significantly. As you can see above, that consists of a new rating system that gives processors [...]]]></description>
			<content:encoded><![CDATA[<p><img class="aligncenter size-medium wp-image-195" title="intel-stars-04-10-09" src="http://mcucenter.com/blog/wp-content/uploads/2009/04/intel-stars-04-10-09-300x165.jpg" alt="intel-stars-04-10-09" width="300" height="165" />It looks like those confused by the multitude of Intel processors out there needn&#8217;t linger in indecision any longer, as Intel itself has now come up with a new scheme that it hopes will help simplify the buying process significantly. As you can see above, that consists of a new rating system that gives processors between one and five stars, which Intel says indicates &#8220;<span id="intellitxt">relative performance, not a price-performance type of thing.&#8221; As you might expect, the five-star rating is reserved for the like of the Core i7 and Core i7 Extreme, with the one-star ranks apparently occupied solely by various Celeron processors &#8212; the Atom, it seems, is in a class all its own. Somewhat less notably, Intel has also taken the opportunity to roll out some spruced processor logos, which should already be showingi themselves in stores along with displays featuring the new star rating system.<br />
</span></p>
]]></content:encoded>
			<wfw:commentRss>http://mcucenter.com/blog/?feed=rss2&amp;p=196</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Intel&#8217;s New Atoms: 2 GHz Z550, 1.2 GHz Z515</title>
		<link>http://mcucenter.com/blog/?p=191</link>
		<comments>http://mcucenter.com/blog/?p=191#comments</comments>
		<pubDate>Wed, 08 Apr 2009 16:44:06 +0000</pubDate>
		<dc:creator>Adrian Hum</dc:creator>
				<category><![CDATA[PC]]></category>

		<guid isPermaLink="false">http://mcucenter.com/blog/?p=191</guid>
		<description><![CDATA[As expected, Intel’s finally pulled the covers off of two new Atom chips. Joining the Intel Atom’s first birthday party are two new family members: the Z550 at 2 GHz and the Z515 at 1.2 GHz. The Z550 is the fastest Atom yet, thanks to its clock speed. Feature-wise, it’s the same as the rest [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" style="margin-left: 8px; margin-right: 8px;" title="Intel Atom Inside" src="http://www.intel.com/sites/sitewide/pix/badges/atom/atom_62.gif" alt="" width="62" height="76" />As expected, Intel’s finally pulled the covers off of two new Atom chips.</p>
<p>Joining the Intel Atom’s first birthday party are two new family members: the Z550 at 2 GHz and the Z515 at 1.2 GHz.</p>
<p>The Z550 is the fastest Atom yet, thanks to its clock speed. Feature-wise, it’s the same as the rest of Atom family with Hyper-threading being the main trick along with the thrifty under-3-watt power envelope.</p>
<p>The Z515, while slower at a top speed of 1.2 GHz, is a little more clever with the new Intel Burst Performance Technology which will run the chip at slower speeds (with lessened power demands) until the demand is there for full throttle.</p>
<p>Intel didn’t immediately reveal pricing for either chip, but expect the Z550 to be in the more expensive netbooks and nettops, while the Z515 will likely only be found in smaller mobile Internet devices.</p>
]]></content:encoded>
			<wfw:commentRss>http://mcucenter.com/blog/?feed=rss2&amp;p=191</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Innovation During The Coming Storm</title>
		<link>http://mcucenter.com/blog/?p=187</link>
		<comments>http://mcucenter.com/blog/?p=187#comments</comments>
		<pubDate>Fri, 03 Apr 2009 01:16:44 +0000</pubDate>
		<dc:creator>Adrian Hum</dc:creator>
				<category><![CDATA[content]]></category>
		<category><![CDATA[social networking]]></category>
		<category><![CDATA[economic downturn]]></category>
		<category><![CDATA[independant innovators]]></category>
		<category><![CDATA[innovation]]></category>
		<category><![CDATA[invention]]></category>
		<category><![CDATA[recession]]></category>
		<category><![CDATA[small business entrepreneurs]]></category>

		<guid isPermaLink="false">http://mcucenter.com/blog/?p=187</guid>
		<description><![CDATA[Without a doubt, the current economic climate causing the consumer confidence falling and jobless rates have been rising and the GDP falling faster than it did during 1982 recession, the mood that many of us feel is that thing are not going to turn quickly, or anytime soon. However, there are some economists, market observers [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-medium wp-image-186" title="BE054898" src="http://mcucenter.com/blog/wp-content/uploads/2009/04/be054898-300x210.jpg" alt="BE054898" width="300" height="210" />Without a doubt, the current economic climate causing the consumer confidence falling and jobless rates have been rising and the GDP falling faster than it did during 1982 recession, the mood that many of us feel is that thing are not going to turn quickly, or anytime soon. However, there are some economists, market observers and historians that are busy pointing out that there are opportunities to be made in the fallow ground for that make for a fertile field for innovation and invention.</p>
<p>In the 80s and during the recessions in the past, even though we suffered from the effects of the period, we also saw pronounced periods where technology and innovation. In fact, inventors and innovative entrepreneurs should be smiling. That timeworn proverb about “an ill wind that blows no good” truly applies in an economic downturn. No doubt, in garages across the country, innovators are hard at work and electronics hobbyist and dabblers are busy over their soldering irons as opportunity bangs on the doors. But it is a very different call that they will be answering, and to take up the opportunity, we need to step back and take a hard look at the current environment.</p>
<p>The companies are all desperate for great ideas to boost their bottom lines, but they are most interested in products that can rapidly and inexpensively dovetail into their current manufacturing patterns and existing plant and equipment. This is not the time for major capital investment, retooling and expansion. They also seek products that will easily sell in cash poor (or at the very least lessened and conservative) developed markets. No, there is no surplus cash for huge promotions and ad campaigns. We will see a trend by these companies to use marketing techniques that only cost should leads and sales arise, and will try and spend less accordingly.</p>
<p>The buyers’ needs and priorities have changed in a very marked way, as well. Household budgets are tightening and people are looking for cost-cutting innovations and affordable escapes or distractions from their own private depression. Gone are the investments in large ticket items, the family car will have to last a few more years, the new house and associated mortgage put on hold. We will see a noted domestic trend toward Internet shopping. In times like this, the family is more likely to gather around clever board games and inexpensive video games, and the manufacturers will need to realise that these much cheaper alternatives will supplant high-cost entertainment systems. Companies such as Sony and Microsoft may see that the return on the lost cost of manufacture of the PlayStation and the Xbox may take a little while longer.</p>
<p>Let us hope that like the trends of the past, economy-altering and enduring innovations will emerged from the workbenches of small business entrepreneurs and independent inventors rather than from huge bloated R&amp;D budgets which have been the trend for the past decade. In good times and bad, the independent innovator and small business entrepreneurs and I for one hope that they’ll do it again.</p>
]]></content:encoded>
			<wfw:commentRss>http://mcucenter.com/blog/?feed=rss2&amp;p=187</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>USB INTERFACE ICs, The FTDI FT232R</title>
		<link>http://mcucenter.com/blog/?p=168</link>
		<comments>http://mcucenter.com/blog/?p=168#comments</comments>
		<pubDate>Sun, 29 Mar 2009 23:51:57 +0000</pubDate>
		<dc:creator>Adrian Hum</dc:creator>
				<category><![CDATA[AVR]]></category>
		<category><![CDATA[Microcontroller]]></category>
		<category><![CDATA[PIC]]></category>
		<category><![CDATA[FT232R]]></category>
		<category><![CDATA[FTDI]]></category>
		<category><![CDATA[RS232]]></category>
		<category><![CDATA[UART]]></category>
		<category><![CDATA[USB]]></category>

		<guid isPermaLink="false">http://mcucenter.com/blog/?p=168</guid>
		<description><![CDATA[Lets look at the FTDI series of components for USB Interfacing. The CP210X devices are perfect for generalpurpose USB to RS-232 conversions. When it comes to the Arduino, AVR and PIC hardware platforms, the FTDI FT232R USB UART IC is a better fit. Like the Silicon Laboratories USB interface ICs, the FT232R is a single [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_169" class="wp-caption alignnone" style="width: 370px"><img class="size-full wp-image-169" title="The FTDI FT232RL SMD package" src="http://mcucenter.com/blog/wp-content/uploads/2009/03/ft232rl725_photo.jpg" alt="The FTDI FT232RL SMD package" width="360" height="274" /><p class="wp-caption-text">The FTDI FT232RL SMD package</p></div>
<p>Lets look at the FTDI series of components for USB Interfacing. The CP210X devices are perfect for generalpurpose USB to RS-232 conversions. When it comes to the Arduino, AVR and PIC hardware platforms, the FTDI FT232R USB UART IC is a better fit. Like the Silicon Laboratories USB interface ICs, the FT232R is a single chip solution that encapsulates the USB protocol. The main feature of the FT232R is that it integrates the USB termination resistors, the clock, the crystal, and configuration EEPROM all into one convient package. It can support data rates between 300 bps and 3 Mbps, internally, there is an internal 256 byte receive buffer and 128 byte transmit buffer to ensure that the flow of data remains uninterrupted. The FT232R is also considered a “drop-in” replacement for the industry standard RS-232 conversion ICs and is suitable for use with the RS-232, RS-485, and RS-422 protocols.</p>
<p><span id="more-168"></span></p>
<p><img class="alignnone size-full wp-image-170" title="ft232rl_block" src="http://mcucenter.com/blog/wp-content/uploads/2009/03/ft232rl_block.gif" alt="ft232rl_block" width="371" height="287" /></p>
<p>Lets examine this chip by its functional groups. Figure 1, a diagram of the pin-outs of the chips will serve as a guide to this task.</p>
<h2>Features</h2>
<ul>
<li>Single chip USB to asynchronous serial data transfer interface.</li>
<li>Entire USB protocol handled on the chip &#8211; No USB-specific firmware programming required.</li>
<li>UART interface support for 7 or 8 data bits, 1 or 2 stop bits and odd/even/mark/space/no parity.</li>
<li>Fully assisted hardware or X-On / X-Off software handshaking.</li>
<li>Data transfer rates from 300 baud to 3 Megabaud (RS422 / RS485 and at TTL levels) and 300 baud to 1 Megabaud (RS232).</li>
<li>FTDI’s royalty-free VCP and D2XX drivers eliminate the requirement for USB driver development in most cases.</li>
<li>In-built support for event characters and line break condition.</li>
<li>New USB FTDIChip-ID™ feature.</li>
<li>New con?gurable CBUS I/O pins.</li>
<li>Auto transmit buffer control for RS485 applications.</li>
<li>Transmit and receive LED drive signals.</li>
<li>New 48MHz, 24MHz,12MHz, and 6MHz clock output signal Options for driving external MCU or FPGA.</li>
<li>FIFO receive and transmit buffers for high data throughput.</li>
<li>Adjustable receive buffer timeout.</li>
<li>Synchronous and asynchronous bit bang mode interface options with RD# and WR# strobes.</li>
<li>New CBUS bit bang mode option.</li>
<li>Integrated 1024 Byte internal EEPROM for storing USB VID, PID, serial number and product description strings, and CBUS I/O con?guration.</li>
<li>Device supplied preprogrammed with unique USB serial number.</li>
<li>Support for USB suspend and resume.</li>
<li>Support for bus powered, self powered, and high- power bus powered USB con?gurations.</li>
<li>Integrated 3.3V level converter for USB I/O.</li>
<li>Integrated level converter on UART and CBUS for interfacing to 5V &#8211; 1.8V Logic.</li>
<li>True 5V / 3.3V / 2.8V / 1.8V CMOS drive output and TTL input.</li>
<li>High I/O pin output drive option.</li>
<li>Integrated USB resistors.</li>
<li>Integrated power-on-reset circuit.</li>
<li>Fully integrated clock &#8211; no external crystal, oscillator, or resonator required.</li>
<li>Fully integrated AVCC supply ?ltering &#8211; No separate AVCC pin and no external R-C ?lter required.</li>
<li>UART signal inversion option.</li>
<li>USB bulk transfer mode.</li>
<li>3.3V to 5.25V Single Supply Operation.</li>
<li>Low operating and USB suspend current.</li>
<li>Low USB bandwidth consumption.</li>
<li>UHCI / OHCI / EHCI host controller compatible</li>
<li>USB 2.0 Full Speed compatible.</li>
<li>-40°C to 85°C extended operating temperature range.</li>
</ul>
<h2>The USB Signals</h2>
<p>To begin with, pins 15 and 16 form the USB interface to the FT232R USB UART. The USBDP (USB Data Signal Plus) input is supported by an internal series and pullup resistor pair. The same configuration holds true for the USBDM (USB Data Signal Minus) pin with the exception of the pullup resistor. Basically, that is all there is to a USB host side interface&#8230; Just your power supply lines (+5v and ground), DataSignalPlus and DataSignalMinus.</p>
<table border="0">
<thead>
<tr>
<th></th>
<th>Pin</th>
<th>Name</th>
<th>Cable color</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td rowspan="5">
<p><div id="attachment_173" class="wp-caption alignnone" style="width: 106px"><img class="size-full wp-image-173" title="usb_a_b_female" src="http://mcucenter.com/blog/wp-content/uploads/2009/03/usb_a_b_female.gif" alt="The USB A &amp; B Connectors..." width="96" height="106" /><p class="wp-caption-text">The USB A &amp; B Connectors...</p></div></td>
<td>1</td>
<td>VCC</td>
<td>Red</td>
<td>+5 VDC</td>
</tr>
<tr>
<td>2</td>
<td>D-</td>
<td>White</td>
<td>Data -</td>
</tr>
<tr>
<td>3</td>
<td>D+</td>
<td>Green</td>
<td>Data +</td>
</tr>
<tr>
<td>4</td>
<td>GND</td>
<td>Black</td>
<td>Ground</td>
</tr>
</tbody>
</table>
<h2>The Power Pins</h2>
<p>The FT232R pin 4 is used to determine the output drive levels of the UART interface and the CBUSx pins. When the FT232R is used in a USB bus powered circuit, we can tie the VCCIO pin to the 3V3OUT pin to drive the outputs at +3.3 volt levels. Otherwise, tying the VCCIO pin to VCC (+5.0 VDC) will result in an output drive level of +5 volts. This IC can also be persuaded to drive its outputs as low as +1.8 volts by supplying the VCCIO pin from an external regulated supply. The only rule that must be followed for the low voltage external reference supply is that it is obtained from a regulator that is fed from the original VCC bulk supply. The voltage on the 3V3OUT pin is a product of the FT232R’s integrated LDO (Low DropOut) regulator. In addition to supplying a reference for the VCCIO pin, the LDO regulator is there to provide +3.3 volts to the USB transceiver module and feed the USBDP pullup resistor. If the current requirement is kept below 50 mA, you can use the 3V3OUT voltage to power external circuitry. We must supply at least +4.0 volts to the VCC pin to utilize the UART IC’s internal clock generator. This requirement is easily met by feeding the VCC pin from the USB interface’s VBUS signal.</p>
<h2>The UART Interface and the CBUS group</h2>
<p>The UART interface signals are defined as follows:</p>
<table border="0">
<tbody>
<tr>
<td><strong>TXD</strong></td>
<td>Transmit Data Output</td>
</tr>
<tr>
<td><strong>DTR</strong></td>
<td>Data Terminal Ready Output</td>
</tr>
<tr>
<td><strong>RTS</strong></td>
<td>Request To Send Output</td>
</tr>
<tr>
<td><strong>RXD</strong></td>
<td>Receive Data Input</td>
</tr>
<tr>
<td><strong>RI</strong></td>
<td>Ring Indicate Input</td>
</tr>
<tr>
<td><strong>DSR</strong></td>
<td>Data Set Ready Input</td>
</tr>
<tr>
<td><strong>DCD</strong></td>
<td>Data Carrier Detect Input</td>
</tr>
<tr>
<td><strong>CTS</strong></td>
<td>Clear To Send Input</td>
</tr>
</tbody>
</table>
<p>In most cases, we only employ the services of TXD, RXD, and DTR signals.</p>
<p>There are five configurable CBUS I/O lines (CBUS0- CBUS4). The I/O function of each CBUS line is configured using the IC’s internal EEPROM. The CBUS0 and CBUS1 can be configured as the transmit and receive LED drive lines, CBUS4 can be used to indicate that the FT232R is in its SLEEP condition, which is analogous to a USB SUSPEND state. Any of the CBUS I/O pins can be configured as the active-low transmit enable line (TXDEN) in an RS-485 application. The same is true for power control. All of the CBUS I/O lines have the option of being configured as PWREN (Power Enable) pins. In the PWREN mode, the selected CBUS pin is used to drive an external P-channel MOSFET switch. It is recommended that devices requiring high current levels be switched using the PWREN signal and associated circuitry.</p>
<h2>The Miscellaneous Group</h2>
<p>There’s not much to say about this set of pins as most of them are not connected in our hardware design. Our design ties the active-low RESET input to VCC with a 100K pullup resistor. Otherwise, the TEST pin is grounded as per the datasheet and the OSCO and OSCI pins are left unconnected.</p>
<p>To use an FT232R circuit consists of two tasks. First is the task of hardware design. There are a number of hardware configurations that the IC can assume. Since we’re designing around a USB interface, it is probable that we will want to eliminate the need for an external regulated power supply. All we need is a trio of capacitors (C1-C3) and the ferrite bead (FB1) are mounted to suppress EMI. The ferrite bead helps reduce the noise that is radiated down the USB cable. The power supply source (VCC) for the entire design is taken from the USB VBUS interface pin. Capacitors C4 and C5 are acting as power supply filter capacitors. Extracting power from the VBUS line is fine as long as we don’t exceed 500 mA of total drain and keep initial connection current drain less than 100 mA. You may also need to create a way by which you can select the FT232R’s output drive voltage, while all of the UART interface signals can be terminated to a set of solder pads, or a pin header.</p>
<p>As usual, a little bit of eye candy does not go astray, and you can use a bi-colour LED to indicate data transmit and receive. Of course if your design is to be burried in a anonymous block of plastic, you can ommit the data transmit and receive LEDs. The UART interface to the ZBasic module consists of only three lines. This interface is easily realized due to the FT232R’s ability to morph the polarity of its UART interface.</p>
<p>Once you have the hardware part figured out and configured/built, we can access the internal configuration EEPROM of the FT232R. Following the assembly of the USB interface, the next step is to load up the FTDI PC driver for the IC. You can download this from the <a href="http://www.ftdichip.com/Drivers/VCP.htm">FTDI site</a>. Once you get the FT232R driver loaded, I suggest forcing the COM port setting for the USB interface to a specific COM port (I use COM2). To do this with Windows XP, right-click on My Computer, select Manage, and Device Manager. For instance, after connecting my laptop to the prototype board, the FT232R driver initialized with a COM9 serial port interface. I highlighted the COM5 declaration as shown in Screenshot 1 and right-clicked on it. That took me to a menu containing Properties, which I clicked on. Once in the COM5 Properties window, I selected the Port Settings tab and clicked the Advanced button. At this point, select COM2 and proceed. Back out and perform all of the steps again beginning with right-clicking on My Computer. You should now have COM2 assigned in the Computer Management window. With the USB hardware checked out, the FT232R driver loaded, and the desired COM port dialed in, we can download an application called MProg from the FTDI website. The MProg application runs on your PC and provides a view into the FT232R USB UART IC’s configuration EEPROM. The first time I ran MProg, I opted to load the Default.ept file. After loading that configuration, I transferred from Program Mode to Edit Mode and modified the default template to meet the my requirements. MProg gives us the opportunity to alter the polarity of the UART signals and the functionality of the CBUS I/O lines. To push this configuration into the FT232R we simply save this group of settings and re-enter Program Mode.</p>
<p>And simply speaking, that is all there is to it, you can connect your USB UART to any MCU based circuit to which you need to connect a PC for data communications or programming.</p>
<ul>
<li><a href="http://www.ftdichip.com/Documents/DataSheets/DS_FT232R_v103.pdf">Data Sheet</a></li>
<li><a href="http://www.ftdichip.com">Web Site</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://mcucenter.com/blog/?feed=rss2&amp;p=168</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A non-technical comment&#8230;</title>
		<link>http://mcucenter.com/blog/?p=163</link>
		<comments>http://mcucenter.com/blog/?p=163#comments</comments>
		<pubDate>Wed, 18 Mar 2009 22:40:39 +0000</pubDate>
		<dc:creator>Adrian Hum</dc:creator>
				<category><![CDATA[Energy]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[AIDS]]></category>
		<category><![CDATA[catholic]]></category>
		<category><![CDATA[condoms]]></category>
		<category><![CDATA[HIV]]></category>

		<guid isPermaLink="false">http://mcucenter.com/blog/?p=163</guid>
		<description><![CDATA[My sensibilities are somewhat shaken by the fact that the church is right now saying that Condoms are causing the spread of Sexually Transmitted Diseases (STDs—such as gonorrhea, syphilis, and HIV), and that the only solution lies in abstinence and monogamy. This is very disturbing, and human nature as it is means that there will [...]]]></description>
			<content:encoded><![CDATA[<p>My sensibilities are somewhat shaken by the fact that the church is right now saying that Condoms are causing the spread of Sexually Transmitted Diseases (STDs—such as gonorrhea, syphilis, and HIV), and that the only solution lies in abstinence and monogamy. This is very disturbing, and human nature as it is means that there will be sex, and there will be relations outside of the marriage. I find it interesting that there are elements within the Church that used to debate the use of condoms to combat STDs. To date, it is not specifically addressed by Catholic doctrine, and is currently a topic of debate among theologians and high-ranking Catholic authorities. A few, such as Belgian Cardinal Godfried Danneels, believe the Catholic Church should actively support condoms used to prevent disease, especially serious diseases such as AIDS. However, to date statements from the Vatican have argued that condom-promotion programs encourage promiscuity, thereby actually increasing STD transmission. Now however, the Pope on Tuesday he told reporters accompanying him on his trip to Africa that Aids “is a tragedy that cannot be overcome by money alone, and that cannot be overcome through the distribution of condoms, which even aggravates the problems”.</p>
<p>It is however refreshing to see that the Vatican has backed down on this stance on the Pope’s rejection of condoms as a means of preventing Aids. Is this a very rare admission of papal fallibility? In any case I feel the Church&#8217;s influence over social and religious opinion and morality will assist in at least lessening its condemnation on the use of contraception (condoms) as a way of preventing and lessening the spread of STDs and especially HIV and AIDs.</p>
<p>Original TimeOnLine Article Here: <a href="http://www.timesonline.co.uk/tol/comment/faith/article5934912.ece">http://www.timesonline.co.uk/tol/comment/faith/article5934912.ece</a></p>
]]></content:encoded>
			<wfw:commentRss>http://mcucenter.com/blog/?feed=rss2&amp;p=163</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using a Kensington AC supply as a replacement for a MacBook/Pro Magsafe cable.</title>
		<link>http://mcucenter.com/blog/?p=161</link>
		<comments>http://mcucenter.com/blog/?p=161#comments</comments>
		<pubDate>Wed, 18 Mar 2009 22:20:46 +0000</pubDate>
		<dc:creator>Adrian Hum</dc:creator>
				<category><![CDATA[PC]]></category>
		<category><![CDATA[diy psu]]></category>
		<category><![CDATA[magsafe]]></category>
		<category><![CDATA[repairs and mods]]></category>

		<guid isPermaLink="false">http://mcucenter.com/blog/?p=161</guid>
		<description><![CDATA[The Magsafe(tm) power connector from Apple is a wonderful idea. It was introduced in conjunction with the MacBook Pro at the Macworld Expo in 2006. The MagSafe connector is held in place magnetically. As a result, if it is tugged on—for instance, by someone tripping over the cord—it comes out of the socket safely, without [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" src="http://upload.wikimedia.org/wikipedia/en/thumb/5/55/MagSafe1.jpg/250px-MagSafe1.jpg" alt="" width="250" height="188" />The Magsafe(tm) power connector from Apple is a wonderful idea. It was introduced in conjunction with the MacBook Pro at the <span class="mw-redirect">Macworld Expo</span> in 2006. The MagSafe connector is held in place magnetically. As a result, if it is tugged on—for instance, by someone tripping over the cord—it comes out of the socket safely, without damaging it or the computer or pulling the computer off its table or desk<sup id="cite_ref-0" class="reference"><a href="http://en.wikipedia.org/wiki/MagSafe#cite_note-0"></a></sup>.</p>
<p><span>However, if your Magsafe(tm) power pack dies, you are left with no option but to either search eBay for a second-hand functional unit, order a replacement from Apple, or use a universal power supply. Unfortunately, most of these power supplies use a variety of solutions that as sometime less than ideal. Sometimes the bulky nature of the adapter/socket assembly causes the connectors to fall out, causing you to leave in the morning with a flat battery. And other times, they just seem ugly and less than ideal.</span></p>
<p><span>So to solve this, Mooner, DIYed the cable from his defective power supply and connected to a Kensington universal power supply&#8230; Have a look at his work, I admire the quality in which it is executed.</span></p>
<p>Link: <span><a href="http://www.timesight.com/KensingtonMagSafe.html">http://www.timesight.com/KensingtonMagSafe.html</a></span></p>
<p style="text-align: center;"><span><img class="aligncenter" src="http://www.timesight.com/images/KensingtonMagSafe/IMG_0140_sm.jpg" alt="" width="384" height="288" /><br />
</span></p>
]]></content:encoded>
			<wfw:commentRss>http://mcucenter.com/blog/?feed=rss2&amp;p=161</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
