<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Multiplexed Seven Segment Displays &#8211; Part II</title>
	<atom:link href="http://extremeelectronics.co.in/avr-tutorials/multiplexed-seven-segment-displays-part-ii/feed/" rel="self" type="application/rss+xml" />
	<link>http://extremeelectronics.co.in/avr-tutorials/multiplexed-seven-segment-displays-part-ii/</link>
	<description></description>
	<lastBuildDate>Sat, 19 May 2012 21:55:43 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<item>
		<title>By: Greg</title>
		<link>http://extremeelectronics.co.in/avr-tutorials/multiplexed-seven-segment-displays-part-ii/comment-page-1/#comment-37569</link>
		<dc:creator>Greg</dc:creator>
		<pubDate>Wed, 11 Jan 2012 08:21:05 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/uncategorized/multiplexed-seven-segment-displays-part-ii/#comment-37569</guid>
		<description>On the ATmega328P, you want to set TCCR0B for the Prescaler on Timer0.</description>
		<content:encoded><![CDATA[<p>On the ATmega328P, you want to set TCCR0B for the Prescaler on Timer0.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert</title>
		<link>http://extremeelectronics.co.in/avr-tutorials/multiplexed-seven-segment-displays-part-ii/comment-page-1/#comment-34269</link>
		<dc:creator>Robert</dc:creator>
		<pubDate>Fri, 02 Dec 2011 04:52:11 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/uncategorized/multiplexed-seven-segment-displays-part-ii/#comment-34269</guid>
		<description>@Kolawole Hi, to answer some of your questions…
1) the resistors are current limiting resistors not pull ups.
2) not sure haven&#039;t used CodeVision or STK500.
3) have you read the comments in ISR routine?</description>
		<content:encoded><![CDATA[<p>@Kolawole Hi, to answer some of your questions…<br />
1) the resistors are current limiting resistors not pull ups.<br />
2) not sure haven&#8217;t used CodeVision or STK500.<br />
3) have you read the comments in ISR routine?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kolawole Oladapo</title>
		<link>http://extremeelectronics.co.in/avr-tutorials/multiplexed-seven-segment-displays-part-ii/comment-page-1/#comment-34233</link>
		<dc:creator>Kolawole Oladapo</dc:creator>
		<pubDate>Thu, 01 Dec 2011 22:37:51 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/uncategorized/multiplexed-seven-segment-displays-part-ii/#comment-34233</guid>
		<description>Hi Avinash

i am thinking of implementing this segmented display in a project in class i am using ATMega16 on an STK500 board. My questions are two fold
1. Would i still need the resistors shown in the schematic for PORTD and B knowing that these ports on the STK500 usually have pull up resistors associated with them.
2. I need an idea of what peripherals to configure since am using the Code Vision AVR C Compiler software.
3. Could you explain the fucntion of the wait loop and the timer 0 interrupt.

Thank you 
Kola</description>
		<content:encoded><![CDATA[<p>Hi Avinash</p>
<p>i am thinking of implementing this segmented display in a project in class i am using ATMega16 on an STK500 board. My questions are two fold<br />
1. Would i still need the resistors shown in the schematic for PORTD and B knowing that these ports on the STK500 usually have pull up resistors associated with them.<br />
2. I need an idea of what peripherals to configure since am using the Code Vision AVR C Compiler software.<br />
3. Could you explain the fucntion of the wait loop and the timer 0 interrupt.</p>
<p>Thank you<br />
Kola</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Avinash</title>
		<link>http://extremeelectronics.co.in/avr-tutorials/multiplexed-seven-segment-displays-part-ii/comment-page-1/#comment-34003</link>
		<dc:creator>Avinash</dc:creator>
		<pubDate>Wed, 30 Nov 2011 03:35:03 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/uncategorized/multiplexed-seven-segment-displays-part-ii/#comment-34003</guid>
		<description>@Willian,

The problem is simple enough to be recognized withing seconds! The thing is slowed down by a factor of 16.

In tutorial it is clearly written that the code is wriiten for a AVR running at 16Mhz. Have you set this frequency in Proteus ???

Have you set the fuse bytes to enable external crystal ?

Why don&#039;t you built the circuit by following 100% of the steps as told in the tutorial ?

Why you are simulating it at all ??? Simulation is required during the development of the firmware. When you are getting 100% per-developed and tested code then whats the need of simulation ?(Thats too without setting of the Proteus properly). In this case you are debugging Proteus using the firmware (the exact opposite of what its meant for). Now you have found a bug in your proteus setup (instead of the firmware) so go correct it. Bye</description>
		<content:encoded><![CDATA[<p>@Willian,</p>
<p>The problem is simple enough to be recognized withing seconds! The thing is slowed down by a factor of 16.</p>
<p>In tutorial it is clearly written that the code is wriiten for a AVR running at 16Mhz. Have you set this frequency in Proteus ???</p>
<p>Have you set the fuse bytes to enable external crystal ?</p>
<p>Why don&#8217;t you built the circuit by following 100% of the steps as told in the tutorial ?</p>
<p>Why you are simulating it at all ??? Simulation is required during the development of the firmware. When you are getting 100% per-developed and tested code then whats the need of simulation ?(Thats too without setting of the Proteus properly). In this case you are debugging Proteus using the firmware (the exact opposite of what its meant for). Now you have found a bug in your proteus setup (instead of the firmware) so go correct it. Bye</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: William</title>
		<link>http://extremeelectronics.co.in/avr-tutorials/multiplexed-seven-segment-displays-part-ii/comment-page-1/#comment-33986</link>
		<dc:creator>William</dc:creator>
		<pubDate>Tue, 29 Nov 2011 22:31:42 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/uncategorized/multiplexed-seven-segment-displays-part-ii/#comment-33986</guid>
		<description>I&#039;m using Proteus to simulate your Stopwatch circuit. I have it working but the multiplexing flickers too much and the counter takes 15 seconds to count from 1 to 2, then 15 seconds from 2 to 3 etc. Any idea on how I can speed this up? Thanks for any help or ideas.</description>
		<content:encoded><![CDATA[<p>I&#8217;m using Proteus to simulate your Stopwatch circuit. I have it working but the multiplexing flickers too much and the counter takes 15 seconds to count from 1 to 2, then 15 seconds from 2 to 3 etc. Any idea on how I can speed this up? Thanks for any help or ideas.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amit Rana</title>
		<link>http://extremeelectronics.co.in/avr-tutorials/multiplexed-seven-segment-displays-part-ii/comment-page-1/#comment-27547</link>
		<dc:creator>Amit Rana</dc:creator>
		<pubDate>Fri, 19 Aug 2011 12:50:43 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/uncategorized/multiplexed-seven-segment-displays-part-ii/#comment-27547</guid>
		<description>only one request!!!
it happens with many people in learning phase that they
don&#039;t read technical details and start experimenting so 
it happens that they ask few questions, which seems absolutely silly for us, like the one above about static variable,
try to be little polite, you are doing a very nice job of teaching people free of cost, that&#039;s a very good task, but it happens that sometimes you are too harsh
Anyways you rock man!!</description>
		<content:encoded><![CDATA[<p>only one request!!!<br />
it happens with many people in learning phase that they<br />
don&#8217;t read technical details and start experimenting so<br />
it happens that they ask few questions, which seems absolutely silly for us, like the one above about static variable,<br />
try to be little polite, you are doing a very nice job of teaching people free of cost, that&#8217;s a very good task, but it happens that sometimes you are too harsh<br />
Anyways you rock man!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amit Rana</title>
		<link>http://extremeelectronics.co.in/avr-tutorials/multiplexed-seven-segment-displays-part-ii/comment-page-1/#comment-27546</link>
		<dc:creator>Amit Rana</dc:creator>
		<pubDate>Fri, 19 Aug 2011 12:48:03 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/uncategorized/multiplexed-seven-segment-displays-part-ii/#comment-27546</guid>
		<description>great work
nice job done!!!</description>
		<content:encoded><![CDATA[<p>great work<br />
nice job done!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shayan</title>
		<link>http://extremeelectronics.co.in/avr-tutorials/multiplexed-seven-segment-displays-part-ii/comment-page-1/#comment-27328</link>
		<dc:creator>shayan</dc:creator>
		<pubDate>Sat, 13 Aug 2011 09:46:21 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/uncategorized/multiplexed-seven-segment-displays-part-ii/#comment-27328</guid>
		<description>Can multiplexing be seen via simulation  On PROTEUS ??</description>
		<content:encoded><![CDATA[<p>Can multiplexing be seen via simulation  On PROTEUS ??</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shayan</title>
		<link>http://extremeelectronics.co.in/avr-tutorials/multiplexed-seven-segment-displays-part-ii/comment-page-1/#comment-27327</link>
		<dc:creator>shayan</dc:creator>
		<pubDate>Sat, 13 Aug 2011 09:45:23 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/uncategorized/multiplexed-seven-segment-displays-part-ii/#comment-27327</guid>
		<description>Can multiplexing be seen via simulation ?? On PROTEUS ??</description>
		<content:encoded><![CDATA[<p>Can multiplexing be seen via simulation ?? On PROTEUS ??</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shayan</title>
		<link>http://extremeelectronics.co.in/avr-tutorials/multiplexed-seven-segment-displays-part-ii/comment-page-1/#comment-26814</link>
		<dc:creator>shayan</dc:creator>
		<pubDate>Sat, 30 Jul 2011 10:34:42 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/uncategorized/multiplexed-seven-segment-displays-part-ii/#comment-26814</guid>
		<description>@Avinash Did u get the mail i sent u of the program in which u have asked for the example to display digits using an array ??</description>
		<content:encoded><![CDATA[<p>@Avinash Did u get the mail i sent u of the program in which u have asked for the example to display digits using an array ??</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Avinash</title>
		<link>http://extremeelectronics.co.in/avr-tutorials/multiplexed-seven-segment-displays-part-ii/comment-page-1/#comment-26708</link>
		<dc:creator>Avinash</dc:creator>
		<pubDate>Thu, 28 Jul 2011 03:17:04 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/uncategorized/multiplexed-seven-segment-displays-part-ii/#comment-26708</guid>
		<description>&lt;strong&gt;@Shayan,

Can you write the complete code, test it and submit ???&lt;/strong&gt;</description>
		<content:encoded><![CDATA[<p><strong>@Shayan,</p>
<p>Can you write the complete code, test it and submit ???</strong></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shayan</title>
		<link>http://extremeelectronics.co.in/avr-tutorials/multiplexed-seven-segment-displays-part-ii/comment-page-1/#comment-26692</link>
		<dc:creator>shayan</dc:creator>
		<pubDate>Wed, 27 Jul 2011 16:35:27 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/uncategorized/multiplexed-seven-segment-displays-part-ii/#comment-26692</guid>
		<description>Hello !! your logic is good but why do you use switch-case statement for 0-9 counting. The better (shorter) way (i think) is to make an array first containing all codes for displaying 0-9 digits. Now whenever a number is to be displayed, the array will itself call that code in its respective number for e.g. if 2 is to be displayed then the 3rd element of array should give that code to 7segment. Do u understand ? If yes do u agree ?? Thats my approach of displaying digits .</description>
		<content:encoded><![CDATA[<p>Hello !! your logic is good but why do you use switch-case statement for 0-9 counting. The better (shorter) way (i think) is to make an array first containing all codes for displaying 0-9 digits. Now whenever a number is to be displayed, the array will itself call that code in its respective number for e.g. if 2 is to be displayed then the 3rd element of array should give that code to 7segment. Do u understand ? If yes do u agree ?? Thats my approach of displaying digits .</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mohamed elbardiny</title>
		<link>http://extremeelectronics.co.in/avr-tutorials/multiplexed-seven-segment-displays-part-ii/comment-page-1/#comment-23095</link>
		<dc:creator>mohamed elbardiny</dc:creator>
		<pubDate>Fri, 10 Jun 2011 07:43:18 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/uncategorized/multiplexed-seven-segment-displays-part-ii/#comment-23095</guid>
		<description>hi,
i read the tutorial about multiplexing three 7 segment and i have segment lcd with 40 pin its model twv1302n and i need help to apply the multiplexing theory on it
thank you alot</description>
		<content:encoded><![CDATA[<p>hi,<br />
i read the tutorial about multiplexing three 7 segment and i have segment lcd with 40 pin its model twv1302n and i need help to apply the multiplexing theory on it<br />
thank you alot</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rafi</title>
		<link>http://extremeelectronics.co.in/avr-tutorials/multiplexed-seven-segment-displays-part-ii/comment-page-1/#comment-19196</link>
		<dc:creator>rafi</dc:creator>
		<pubDate>Wed, 23 Mar 2011 21:47:39 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/uncategorized/multiplexed-seven-segment-displays-part-ii/#comment-19196</guid>
		<description>hi,
Avinash
you r awesome man.u done a great job.i must say ur teaching skill on avr is great.easy to understand and applicable for beginners.why don&#039;t u write a book for the beginners???it&#039;s a great idea.Are u start working on 8*8 dot-matrix display??if so then post ur tutorial about dot-matrix.i m thankfully waiting for this.and once again god bless u...........u r absolute genius.</description>
		<content:encoded><![CDATA[<p>hi,<br />
Avinash<br />
you r awesome man.u done a great job.i must say ur teaching skill on avr is great.easy to understand and applicable for beginners.why don&#8217;t u write a book for the beginners???it&#8217;s a great idea.Are u start working on 8*8 dot-matrix display??if so then post ur tutorial about dot-matrix.i m thankfully waiting for this.and once again god bless u&#8230;&#8230;&#8230;..u r absolute genius.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Domos</title>
		<link>http://extremeelectronics.co.in/avr-tutorials/multiplexed-seven-segment-displays-part-ii/comment-page-1/#comment-18732</link>
		<dc:creator>Domos</dc:creator>
		<pubDate>Fri, 11 Mar 2011 22:49:42 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/uncategorized/multiplexed-seven-segment-displays-part-ii/#comment-18732</guid>
		<description>I do not think I was aggressive in my question, unless this is due to my broken English.
Programming is just a hobby for me</description>
		<content:encoded><![CDATA[<p>I do not think I was aggressive in my question, unless this is due to my broken English.<br />
Programming is just a hobby for me</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Avinash</title>
		<link>http://extremeelectronics.co.in/avr-tutorials/multiplexed-seven-segment-displays-part-ii/comment-page-1/#comment-18691</link>
		<dc:creator>Avinash</dc:creator>
		<pubDate>Fri, 11 Mar 2011 03:47:44 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/uncategorized/multiplexed-seven-segment-displays-part-ii/#comment-18691</guid>
		<description>&lt;strong&gt;@Domos

can&#039;t you notice &quot;static&quot; before the variable declaration?

Consult a book on C for definition of &quot;static&quot; variable rather than guessing whatever you like.&lt;/strong&gt;</description>
		<content:encoded><![CDATA[<p><strong>@Domos</p>
<p>can&#8217;t you notice &#8220;static&#8221; before the variable declaration?</p>
<p>Consult a book on C for definition of &#8220;static&#8221; variable rather than guessing whatever you like.</strong></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Domos</title>
		<link>http://extremeelectronics.co.in/avr-tutorials/multiplexed-seven-segment-displays-part-ii/comment-page-1/#comment-18240</link>
		<dc:creator>Domos</dc:creator>
		<pubDate>Tue, 01 Mar 2011 13:50:22 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/uncategorized/multiplexed-seven-segment-displays-part-ii/#comment-18240</guid>
		<description>Thanks, for this code.
But there is a thing I don&#039;t understand in the interrupt function:

ISR(TIMER0_OVF_vect)
{
   static uint8_t i=0;

   if(i==2)
...

The variable &quot;i&quot; is declare with the value &quot;0&quot;.
The test &quot;if(i==2)&quot; will never be true.

And the last line &quot;SevenSegment(digits[i],0);&quot; will alway display the digit &quot;1&quot; because the i++ line before.

Can you explain me ?</description>
		<content:encoded><![CDATA[<p>Thanks, for this code.<br />
But there is a thing I don&#8217;t understand in the interrupt function:</p>
<p>ISR(TIMER0_OVF_vect)<br />
{<br />
   static uint8_t i=0;</p>
<p>   if(i==2)<br />
&#8230;</p>
<p>The variable &#8220;i&#8221; is declare with the value &#8220;0&#8243;.<br />
The test &#8220;if(i==2)&#8221; will never be true.</p>
<p>And the last line &#8220;SevenSegment(digits[i],0);&#8221; will alway display the digit &#8220;1&#8243; because the i++ line before.</p>
<p>Can you explain me ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ian Smith</title>
		<link>http://extremeelectronics.co.in/avr-tutorials/multiplexed-seven-segment-displays-part-ii/comment-page-1/#comment-16440</link>
		<dc:creator>Ian Smith</dc:creator>
		<pubDate>Tue, 11 Jan 2011 19:15:21 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/uncategorized/multiplexed-seven-segment-displays-part-ii/#comment-16440</guid>
		<description>great tutorials!
I have done a 5-page PDF of the seven segment MUX tutorial with PagePlus,which i will gladly send for you to put on the site</description>
		<content:encoded><![CDATA[<p>great tutorials!<br />
I have done a 5-page PDF of the seven segment MUX tutorial with PagePlus,which i will gladly send for you to put on the site</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Avinash</title>
		<link>http://extremeelectronics.co.in/avr-tutorials/multiplexed-seven-segment-displays-part-ii/comment-page-1/#comment-15686</link>
		<dc:creator>Avinash</dc:creator>
		<pubDate>Sat, 25 Dec 2010 11:27:47 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/uncategorized/multiplexed-seven-segment-displays-part-ii/#comment-15686</guid>
		<description>&lt;strong&gt;@Arturas,

I think you have used wrong type of transistors, so when they should be in &quot;on&quot; condition they are actually &quot;off&quot; and vice-versa. So check your transistors. Use exact type shown in tutorial.&lt;/strong&gt;
</description>
		<content:encoded><![CDATA[<p><strong>@Arturas,</p>
<p>I think you have used wrong type of transistors, so when they should be in &#8220;on&#8221; condition they are actually &#8220;off&#8221; and vice-versa. So check your transistors. Use exact type shown in tutorial.</strong></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arturas</title>
		<link>http://extremeelectronics.co.in/avr-tutorials/multiplexed-seven-segment-displays-part-ii/comment-page-1/#comment-15624</link>
		<dc:creator>Arturas</dc:creator>
		<pubDate>Thu, 23 Dec 2010 13:17:25 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/uncategorized/multiplexed-seven-segment-displays-part-ii/#comment-15624</guid>
		<description>Hi! I have problem with 3x7segment display. After writing hex to mcu i get it working, but somehow it&#039;s malfunctioning (made video with slow motion to better understand problem http://www.youtube.com/watch?v=QAGBkIZ13DI it does look like it turns 2 sections of lcd at a time) Any solutions in changing code?  I use 7segment lcd&#039;s with common + and atmega32 with internal oscilator (i think at 8mhz). I use WinAvr + Programers Notepad. Making hex i get 3 warnings:
c:98: warning: function declaration isn&#039;t a prototype
c:135: warning: function declaration isn&#039;t a prototype
c:134: warning: return type of &#039;main&#039; is not &#039;int&#039;
Tryied compile code for attiny2313, but it doesn&#039;t alow, geting few errors.</description>
		<content:encoded><![CDATA[<p>Hi! I have problem with 3x7segment display. After writing hex to mcu i get it working, but somehow it&#8217;s malfunctioning (made video with slow motion to better understand problem <a href="http://www.youtube.com/watch?v=QAGBkIZ13DI" rel="nofollow">http://www.youtube.com/watch?v=QAGBkIZ13DI</a> it does look like it turns 2 sections of lcd at a time) Any solutions in changing code?  I use 7segment lcd&#8217;s with common + and atmega32 with internal oscilator (i think at 8mhz). I use WinAvr + Programers Notepad. Making hex i get 3 warnings:<br />
c:98: warning: function declaration isn&#8217;t a prototype<br />
c:135: warning: function declaration isn&#8217;t a prototype<br />
c:134: warning: return type of &#8216;main&#8217; is not &#8216;int&#8217;<br />
Tryied compile code for attiny2313, but it doesn&#8217;t alow, geting few errors.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Database Caching 12/39 queries in 0.012 seconds using apc
Object Caching 548/561 objects using disk: basic

Served from: extremeelectronics.co.in @ 2012-05-22 08:22:51 -->
