<?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: Digital RPM indicator</title>
	<atom:link href="http://www.imsolidstate.com/archives/104/feed" rel="self" type="application/rss+xml" />
	<link>http://www.imsolidstate.com/archives/104</link>
	<description>Always improving things...</description>
	<lastBuildDate>Tue, 06 Dec 2011 14:20:08 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: imsolidstate</title>
		<link>http://www.imsolidstate.com/archives/104/comment-page-1#comment-14946</link>
		<dc:creator>imsolidstate</dc:creator>
		<pubDate>Thu, 31 Mar 2011 20:11:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.imsolidstate.com/?p=104#comment-14946</guid>
		<description>You can pretty much get the schematic by looking at the picture: Use one of the AVR&#039;s ports to run the HD44780 controller in 4-bit mode, a connector for power, and a crystal if you aren&#039;t using the onboard oscillator.</description>
		<content:encoded><![CDATA[<p>You can pretty much get the schematic by looking at the picture: Use one of the AVR&#8217;s ports to run the HD44780 controller in 4-bit mode, a connector for power, and a crystal if you aren&#8217;t using the onboard oscillator.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: RS Hamlett</title>
		<link>http://www.imsolidstate.com/archives/104/comment-page-1#comment-14330</link>
		<dc:creator>RS Hamlett</dc:creator>
		<pubDate>Thu, 24 Mar 2011 01:08:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.imsolidstate.com/?p=104#comment-14330</guid>
		<description>I&#039;m wanting to build a 0 to 500 rpm counter for use on an 1894 steamboat.

Your Digital RPM indicator looks like what I&#039;m wanting! Question; is it possible to get a circuit diagram of same?</description>
		<content:encoded><![CDATA[<p>I&#8217;m wanting to build a 0 to 500 rpm counter for use on an 1894 steamboat.</p>
<p>Your Digital RPM indicator looks like what I&#8217;m wanting! Question; is it possible to get a circuit diagram of same?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://www.imsolidstate.com/archives/104/comment-page-1#comment-10</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Sat, 19 Sep 2009 14:16:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.imsolidstate.com/?p=104#comment-10</guid>
		<description>It has been a fun project.  I was excited when it first worked. I did not sleep for a couple weeks, just to add code.  You are correct, the bulk of the complexity is in all the setup information.  The code that runs the engine is about 4K bytes (ISRs and calculations), the total code is about 20K bytes.

I wish the best for you with your engineering degree.  It is a excellent idea.  With your present knowledge and interests you will a great student.  You have an advantage by having interests and energy that will help steer your career.</description>
		<content:encoded><![CDATA[<p>It has been a fun project.  I was excited when it first worked. I did not sleep for a couple weeks, just to add code.  You are correct, the bulk of the complexity is in all the setup information.  The code that runs the engine is about 4K bytes (ISRs and calculations), the total code is about 20K bytes.</p>
<p>I wish the best for you with your engineering degree.  It is a excellent idea.  With your present knowledge and interests you will a great student.  You have an advantage by having interests and energy that will help steer your career.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: imsolidstate</title>
		<link>http://www.imsolidstate.com/archives/104/comment-page-1#comment-9</link>
		<dc:creator>imsolidstate</dc:creator>
		<pubDate>Fri, 18 Sep 2009 18:33:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.imsolidstate.com/?p=104#comment-9</guid>
		<description>Thanks Dave! I&#039;m suitably impressed with your engine management system. I remember building an interface and hooking up my laptop to the ALDL connector on my &#039;88 Blazer, I was totally overwhelmed by the complexity of all of the lookup tables and how it all worked together. I&#039;m impressed you could build that yourself. Looks good!</description>
		<content:encoded><![CDATA[<p>Thanks Dave! I&#8217;m suitably impressed with your engine management system. I remember building an interface and hooking up my laptop to the ALDL connector on my &#8216;88 Blazer, I was totally overwhelmed by the complexity of all of the lookup tables and how it all worked together. I&#8217;m impressed you could build that yourself. Looks good!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://www.imsolidstate.com/archives/104/comment-page-1#comment-8</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Fri, 18 Sep 2009 17:17:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.imsolidstate.com/?p=104#comment-8</guid>
		<description>Yes the flag is a global variable.  I use CodeVision C compiler, it has bit variables.  If your compiler does not support bits then a byte will do. Just set it to 1 for true, zero for false.

Your mechanical work is very nice.  You have great potential. Your programming is good too. You may ask me for programming help if you need it.

I used a mega128 and built a working engine management system (fuel injection, ignition, idle speed and other controls).

You may find info here: http://my.att.net/p/s/community.dll?ep=16&amp;ext=1&amp;groupid=372867&amp;ck=</description>
		<content:encoded><![CDATA[<p>Yes the flag is a global variable.  I use CodeVision C compiler, it has bit variables.  If your compiler does not support bits then a byte will do. Just set it to 1 for true, zero for false.</p>
<p>Your mechanical work is very nice.  You have great potential. Your programming is good too. You may ask me for programming help if you need it.</p>
<p>I used a mega128 and built a working engine management system (fuel injection, ignition, idle speed and other controls).</p>
<p>You may find info here: <a href="http://my.att.net/p/s/community.dll?ep=16&amp;ext=1&amp;groupid=372867&amp;ck=" rel="nofollow">http://my.att.net/p/s/community.dll?ep=16&amp;ext=1&amp;groupid=372867&amp;ck=</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: imsolidstate</title>
		<link>http://www.imsolidstate.com/archives/104/comment-page-1#comment-7</link>
		<dc:creator>imsolidstate</dc:creator>
		<pubDate>Fri, 18 Sep 2009 02:14:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.imsolidstate.com/?p=104#comment-7</guid>
		<description>Thanks for your comment. I originally tried to use the ICP since this is what it is intended for, but I couldn&#039;t get it to work. I can&#039;t remember why. So I did it the less efficient way to get it done. I&#039;m still learning a lot about programming, and most of my stuff is trial and error. 
I like the idea of using a flag and checking it from the main loop. When you say &quot;flag&quot; I assume you mean a global variable that you toggle. I&#039;ll try that next time!</description>
		<content:encoded><![CDATA[<p>Thanks for your comment. I originally tried to use the ICP since this is what it is intended for, but I couldn&#8217;t get it to work. I can&#8217;t remember why. So I did it the less efficient way to get it done. I&#8217;m still learning a lot about programming, and most of my stuff is trial and error.<br />
I like the idea of using a flag and checking it from the main loop. When you say &#8220;flag&#8221; I assume you mean a global variable that you toggle. I&#8217;ll try that next time!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://www.imsolidstate.com/archives/104/comment-page-1#comment-6</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Fri, 18 Sep 2009 00:56:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.imsolidstate.com/?p=104#comment-6</guid>
		<description>You might improve your code by reading about the timer1 input capture interrupt. You may have to use a different pin.  The timer can be used free running (no need to reset to 0) and the elapsed time may be calculated by the difference, using the old stored in a &quot;static&quot; variable in the ISR.  In the ISR also set a flag that a new Elapsed is available.  In the main loop, use an &quot;if&quot; to check the flag, then do the division at that time, and clear the flag.  By moving the division from the ISR improvement happens by minimizing the ISR code.  This will help you in the future as you develop more complicated systems with many interrupts and calculations.

It is also possible to do this with the external interrupt, and not have to change the pin. The advantage of the input capture is it stores the timer value for you in an ICR.</description>
		<content:encoded><![CDATA[<p>You might improve your code by reading about the timer1 input capture interrupt. You may have to use a different pin.  The timer can be used free running (no need to reset to 0) and the elapsed time may be calculated by the difference, using the old stored in a &#8220;static&#8221; variable in the ISR.  In the ISR also set a flag that a new Elapsed is available.  In the main loop, use an &#8220;if&#8221; to check the flag, then do the division at that time, and clear the flag.  By moving the division from the ISR improvement happens by minimizing the ISR code.  This will help you in the future as you develop more complicated systems with many interrupts and calculations.</p>
<p>It is also possible to do this with the external interrupt, and not have to change the pin. The advantage of the input capture is it stores the timer value for you in an ICR.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

