<?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>Design and Technology &#187; Analysing Circuits</title>
	<atom:link href="http://www.resistors-and-diodes-and-picchips-oh-my.co.uk/?feed=rss2&#038;tag=analysing-circuits" rel="self" type="application/rss+xml" />
	<link>http://www.resistors-and-diodes-and-picchips-oh-my.co.uk</link>
	<description>My Own Personal Yellow Brick Road</description>
	<lastBuildDate>Tue, 24 May 2011 23:47:04 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=3.8.41</generator>
	<item>
		<title>Have you tried turning it off and on again?</title>
		<link>http://www.resistors-and-diodes-and-picchips-oh-my.co.uk/?p=1227</link>
		<comments>http://www.resistors-and-diodes-and-picchips-oh-my.co.uk/?p=1227#comments</comments>
		<pubDate>Wed, 27 Apr 2011 13:19:24 +0000</pubDate>
		<dc:creator><![CDATA[Lullabel]]></dc:creator>
				<category><![CDATA[Prototyping and Analysis]]></category>
		<category><![CDATA[Analysing Circuits]]></category>
		<category><![CDATA[Fault Finding]]></category>

		<guid isPermaLink="false">http://www.resistors-and-diodes-and-picchips-oh-my.co.uk/?p=1227</guid>
		<description><![CDATA[Sorry couldn&#8217;t resist,  I love the IT Crowd Ok, what am I fixing and what are my procedures? I need to remake some of my circuits from my experimentation posts and give them to one of my lovely colleagues to sabotage. I should start with something relatively simple and work up to the complex stuff [&#8230;]]]></description>
				<content:encoded><![CDATA[<p><a href="http://www.resistors-and-diodes-and-picchips-oh-my.co.uk/wp-content/uploads/2011/04/IT-Crowd.jpg"><img class="alignnone size-full wp-image-1276" title="IT-Crowd" src="http://www.resistors-and-diodes-and-picchips-oh-my.co.uk/wp-content/uploads/2011/04/IT-Crowd.jpg" alt="" width="640" height="360" /></a></p>
<p>Sorry couldn&#8217;t resist,  I love the IT Crowd <img src="http://www.resistors-and-diodes-and-picchips-oh-my.co.uk/wp-includes/images/smilies/icon_smile.gif" alt=":)" class="wp-smiley" /> </p>
<p>Ok, what am I fixing and what are my procedures?</p>
<p>I need to remake some of my circuits from my experimentation posts and give them to one of my lovely colleagues to sabotage. I should start with something relatively simple and work up to the complex stuff so&#8230;</p>
<ul>
<li>Start off with a simple logic gate circuit</li>
<li>Step it up to a transistor circuit</li>
<li>Move on to a basic monostable circuit with an LED output</li>
<li>Finish it off with the binary to decimal counter</li>
</ul>
<p>4 circuits of increasing complexity&#8230; working my way through these and returning them to a working state will prove my competency <img src="http://www.resistors-and-diodes-and-picchips-oh-my.co.uk/wp-includes/images/smilies/icon_smile.gif" alt=":)" class="wp-smiley" /> </p>
<p>I have my circuits but what are my procedures?</p>
<p>I&#8217;ve already done some work on fault finding and analysis but I think, considering my past performance, that I need a little help. Dean has highlighted 3 methods of circuit analysis that I can try:</p>
<ul>
<li>Top Down &#8211; starting at the input, working through the process and finishing with the output</li>
<li>Bottom Up &#8211; starting at the output, working through the process and finishing with the input</li>
<li>Split &#8211; starting with the process and working outwards</li>
</ul>
<p>Looking at these three methods I can see that they would be suited to different circuits. You might use the top down or bottom up method on a simple circuit but it would take ages to go through a large or complex circuit all the way from input to output. For this type you&#8217;d use the split method, identifying the signals going into and coming out of your process section, this narrows it down a little faster.</p>
<p>I&#8217;m getting a little ahead of myself here, the first thing I need to do (considering the mischievous nature of my fellow students) is to make sure I&#8217;m not going to have my eyebrows singed off first! . If I&#8217;m going to hand someone a circuit and ask them to break it there is the distinct possibility that they might put some of my components in the wrong way round, this could result in said eyebrow singing if I just powered it up straight away. Back when I first started to work with electronics I put together a fault finding document, I then added to it for use with prototyping methods. Both procedures included a visual inspection, this has to be the first thing that&#8217;s carried out. The next would be a powered inspection and finally using the tools I&#8217;ve investigated for analysis using the new methods I&#8217;ve learned above.</p>
<p>So my final&#8230; awesome&#8230; circuit-in-distress-saving  procedure is:</p>
<p><strong>Visual</strong></p>
<ul>
<li>Double check your circuit matches your diagram.</li>
<li>Is everything pushed in properly?</li>
<li>Are all polarised components in the right way round?</li>
<li>Are your stripped wire ends the right length? (5-10mm)</li>
<li>Have any connections snapped?</li>
<li>Are the values of your components correct? (resistors, capacitors etc.)</li>
<li>Is your IC in the right way round?!?</li>
</ul>
<p><strong>Powered</strong></p>
<ul>
<li>Is anything heating up? (Be careful!)</li>
<li>Does it smell of burning?</li>
</ul>
<p><strong>Tooled Up</strong></p>
<ul>
<li>Top down, bottom up or split depending on type and size of circuit.</li>
<li>Multimeter to check continuity and voltage values.</li>
<li>Ocilloscope to check signal types and changes.</li>
</ul>
<p>Time to get building those circuits and choosing someone to break them&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.resistors-and-diodes-and-picchips-oh-my.co.uk/?feed=rss2&#038;p=1227</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Analysing Circuits</title>
		<link>http://www.resistors-and-diodes-and-picchips-oh-my.co.uk/?p=935</link>
		<comments>http://www.resistors-and-diodes-and-picchips-oh-my.co.uk/?p=935#comments</comments>
		<pubDate>Tue, 22 Mar 2011 15:50:53 +0000</pubDate>
		<dc:creator><![CDATA[Lullabel]]></dc:creator>
				<category><![CDATA[Prototyping and Analysis]]></category>
		<category><![CDATA[Analysing Circuits]]></category>

		<guid isPermaLink="false">http://www.resistors-and-diodes-and-picchips-oh-my.co.uk/?p=935</guid>
		<description><![CDATA[Ok, I&#8217;ve come across a few really important tools and processes in my circuit experiments so far and I thought it would be a good idea to give them a proper introduction seeing as they&#8217;ve been so helpful&#8230; Our old friend, the oscilloscope, has made another appearance. It first made itself invaluable in my keypad safe [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>Ok, I&#8217;ve come across a few really important tools and processes in my circuit experiments so far and I thought it would be a good idea to give them a proper introduction seeing as they&#8217;ve been so helpful&#8230;</p>
<p><a href="http://www.resistors-and-diodes-and-picchips-oh-my.co.uk/wp-content/uploads/2011/03/oscilloscope.jpg"><img class="alignnone size-full wp-image-1055" title="oscilloscope" src="http://www.resistors-and-diodes-and-picchips-oh-my.co.uk/wp-content/uploads/2011/03/oscilloscope.jpg" alt="" width="604" height="323" /></a></p>
<p>Our old friend, the oscilloscope, has made another appearance. It first made itself invaluable in my keypad safe when my chip <a href="http://www.resistors-and-diodes-and-picchips-oh-my.co.uk/?p=241">malfunctioned</a>.</p>
<p>This time round it has helped me get a look into the signals travelling through my circuits. In the binary counter circuit I could see the pulses from the astable timer, how they separate into the 4 outputs of the binary counter, the wave form diagram is in my <a href="http://www.resistors-and-diodes-and-picchips-oh-my.co.uk/?p=779">experiment post</a>. The oscilloscope basically displays how voltages change with time, it shows as a trace across a CRT screen. This makes it really useful for checking out whats going on inside your circuit, you can see digital signals changing and check the signals timing. There is another device that can be used to look at digital signals, it&#8217;s called a logic probe. It has two LEDs that turn on and off depending on the high or low signal. One advantage of the oscilloscope over the logic probe is that you can look at any speed of pulsing signals on the scopes screen but the logic probe cant handle anything over about 5MHz. </p>
<p><a href="http://www.resistors-and-diodes-and-picchips-oh-my.co.uk/wp-content/uploads/2011/03/multimeter.jpg"><img class="alignnone size-full wp-image-1167" title="multimeter" src="http://www.resistors-and-diodes-and-picchips-oh-my.co.uk/wp-content/uploads/2011/03/multimeter.jpg" alt="" width="378" height="256" /></a></p>
<p>Ah, the multimeter, where would I be without you. A multimeter is an amazing tool that can measure voltages, current, resistance, test diodes and transistors and basically is an all round wonder tool. One thing I have found especially useful has been the ability to test components such as switches. During the keypad safe project I needed to add in a switch But I couldn&#8217;t work out which way round it needed to go as it was a SPDT (single pole double throw). By setting the multimeter to ohms you can see which connections work together, on an open switch you should get an infinite reading and on a closed one a reading of close to 0. So by experimenting with which connections you attach the multimeter to you can see which points are connected in which switch position . This also helped when I needed to troubleshoot my binary counter, Dean had to jog my memory as in my frustration I seemed to have forgotten all my analysing skills! There is also an audible continuity function, this is just a tone that sounds when the multimeter detects continuity in a wire or connection, very useful to detect breaks in your circuits. I&#8217;ve got a couple of videos of multimeters in action, one showing a capacitor charge <a href="http://www.resistors-and-diodes-and-picchips-oh-my.co.uk/?p=742">here</a> and one showing the changing resistance on a potentiometer <a href="http://www.resistors-and-diodes-and-picchips-oh-my.co.uk/?p=740">here</a>.</p>
<p>Datasheets are also a big help when constructing and troubleshooting circuits. They have all the details for a component, have a look here <a href="http://www.resistors-and-diodes-and-picchips-oh-my.co.uk/wp-content/uploads/2011/03/4510-data-sheet.pdf">4510 datasheet</a> and here <a href="http://www.resistors-and-diodes-and-picchips-oh-my.co.uk/wp-content/uploads/2011/03/4028-data-sheet.pdf">4028 datasheet</a>  for the data sheets I used in my counting circuits. It has the maximum and minimum working conditions, dimensions, logic diagrams and truth tables, with this information it&#8217;s easy to work out how to build a circuit and also to work out why it might not be working.</p>
<p>The last tool in my arsenal of analysis is to always keep in mind your circuits inputs, processes and outputs. If you power up a circuit and your LED doesn&#8217;t light up/flash then the best thing to do is to start by looking at the inputs. Is your power supply working and in the right range? Are all your connections to the process portion of your circuit correct and continuous? If everything here is working then move on to the processes, is your chip in the right way round is probably the best one to start with, then check the connections, you can look at the signals going into and coming out of your chip with a oscilloscope to see if they are what you would expect (you can also match them up to the signal diagrams in the chips datasheet). Lastly if everything else is working it must be your output. This is alot more productive than randomly testing portions of your circuit and lamenting that &#8216;It should be working!&#8217;.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.resistors-and-diodes-and-picchips-oh-my.co.uk/?feed=rss2&#038;p=935</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Keypad &#8211; Malfunction!</title>
		<link>http://www.resistors-and-diodes-and-picchips-oh-my.co.uk/?p=241</link>
		<comments>http://www.resistors-and-diodes-and-picchips-oh-my.co.uk/?p=241#comments</comments>
		<pubDate>Thu, 18 Nov 2010 20:59:22 +0000</pubDate>
		<dc:creator><![CDATA[Lullabel]]></dc:creator>
				<category><![CDATA[Design Process]]></category>
		<category><![CDATA[Analysing Circuits]]></category>
		<category><![CDATA[Circuits]]></category>

		<guid isPermaLink="false">http://www.resistors-and-diodes-and-picchips-oh-my.co.uk/?p=241</guid>
		<description><![CDATA[Aahhhhhh! it&#8217;s stopped working! After painstakingly putting the kit together and testing it, my contrary PIC chip has decided to stop working. Today I plugged it in to find that only some of the keypad keys are working, the LED won&#8217;t flash and the buzzer is making a constant low level bzzzzzzzzzzzzzzzzzzzzzzzzzz (very annoying when [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>Aahhhhhh! it&#8217;s stopped working!</p>
<p>After painstakingly putting the kit together and testing it, my contrary PIC chip has decided to stop working. Today I plugged it in to find that only some of the keypad keys are working, the LED won&#8217;t flash and the buzzer is making a constant low level bzzzzzzzzzzzzzzzzzzzzzzzzzz (very annoying when you&#8217;re trying to find out what&#8217;s wrong with it). None of my connections are loose, I&#8217;ve got no solder bridges and no crossed connections, time to ask for help from a higher power&#8230;. Dean, are you free?&#8230;.</p>
<p>OK, time to run some diagnostics, after discussing my problem with Dean he has reccomended that we use an oscilloscope (such a cool name) to try and see what is going on inside my circuit. The oscilloscope will track any signals being sent from the legs of my PIC to the outputs on my board, the blip on the screen should jump up for a live signal or remain flat for no signal. Or in the case of my key pad it should jump up and down rapidly to indicate the PIC is scanning each of the output rows in turn.</p>
<p>Once I had taped over the buzzer (there&#8217;s only so long you can listen to it going bzzzzzzzzzzzzzzzzz without having serious thoughts about destroying it in an inventive fashion) we got down to investigating. Using the circuit diagram (see below) we tested each output in turn, it didn&#8217;t take long to see that outputs 7 and 12 had swapped places, the constant high/low signal that was supposed to be scanning one of the keypad rows was what was causing the buzzer to be so irritating. We&#8217;re still not sure what caused this to occur as the only thing that had happened to the board is that I had carried it home and back to the workshop, the only explanation we can come up with is that it suffered a static shock from the box I was keeping it in and it scrambled the programme. Right, keeping it in a static proof bag now&#8230;</p>
<p><a href="http://www.resistors-and-diodes-and-picchips-oh-my.co.uk/wp-content/uploads/2010/11/circuit-diagram.jpg"><img class="alignnone size-full wp-image-392" title="circuit diagram" src="http://www.resistors-and-diodes-and-picchips-oh-my.co.uk/wp-content/uploads/2010/11/circuit-diagram.jpg" alt="" width="543" height="253" /></a></p>
<p>One rapid reprogramme later and I&#8217;m back to having a working board, only 3/4 of a day lost&#8230; <img src="http://www.resistors-and-diodes-and-picchips-oh-my.co.uk/wp-includes/images/smilies/icon_sad.gif" alt=":(" class="wp-smiley" /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.resistors-and-diodes-and-picchips-oh-my.co.uk/?feed=rss2&#038;p=241</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
