<?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>YourITronics &#187; Electronics</title>
	<atom:link href="http://www.youritronics.com/category/electronics/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.youritronics.com</link>
	<description>DIY, Electronics, IT, Gadgets</description>
	<lastBuildDate>Fri, 16 Dec 2011 19:22:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Digilent Cerebot MC7</title>
		<link>http://www.youritronics.com/digilent-cerebot-mc7/</link>
		<comments>http://www.youritronics.com/digilent-cerebot-mc7/#comments</comments>
		<pubDate>Thu, 06 Oct 2011 19:57:41 +0000</pubDate>
		<dc:creator>Florin</dc:creator>
				<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Microcontroller]]></category>
		<category><![CDATA[Digilent]]></category>
		<category><![CDATA[DSP]]></category>
		<category><![CDATA[dsPIC33]]></category>
		<category><![CDATA[MC7]]></category>

		<guid isPermaLink="false">http://www.youritronics.com/?p=3805</guid>
		<description><![CDATA[Digilent just launched the Cerebot MC7 development board. It is based on the Microchip powerful dsPIC33FJ128MC706A digital signal processor and it features 4 onboard half bridges circuits rated for up to 25V 4A. Compared to their previous development boards based on Microchip microcontrollers like the PIC32 this one has a dedicated DSP which should improve [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a href="http://www.youritronics.com/digilent-cerebot-mc7/"><img src="http://img.youtube.com/vi/jmCmdSakFqw/default.jpg" width="130" height="97" border=0></a></p>
<p>Digilent just launched the Cerebot MC7 development board. It is based on the Microchip powerful dsPIC33FJ128MC706A digital signal processor and it features 4 onboard half bridges circuits rated for up to 25V 4A. Compared to their previous development boards based on Microchip microcontrollers like the PIC32 this one has a dedicated DSP which should improve your performance when doing digital signal processing. The board is currently priced at $119.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.youritronics.com/digilent-cerebot-mc7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>7400 Logic Competition</title>
		<link>http://www.youritronics.com/7400-logic-competition/</link>
		<comments>http://www.youritronics.com/7400-logic-competition/#comments</comments>
		<pubDate>Wed, 05 Oct 2011 16:26:10 +0000</pubDate>
		<dc:creator>Florin</dc:creator>
				<category><![CDATA[DIY]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Personal Projects]]></category>
		<category><![CDATA[7400]]></category>
		<category><![CDATA[contest]]></category>
		<category><![CDATA[Sponsor]]></category>

		<guid isPermaLink="false">http://www.youritronics.com/?p=3800</guid>
		<description><![CDATA[Youritronics is a proud sponsor of the 7400 Logic Competition. We are giving away: CP2103 serial to USB adapter with GPIO TMP275 Digital Temperature Sensor MPL115A2 pressure sensor breakout  If you have a project based on 74XX logic circuits you should register for the competition. There&#8217;s about 3 weeks left before judging begins on October 21, [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.youritronics.com/wp-content/uploads/2011/10/7400-ic-dark-w600.png"><img class="alignnone size-full wp-image-3801" title="7400-ic-dark-w600" src="http://www.youritronics.com/wp-content/uploads/2011/10/7400-ic-dark-w600.png" alt="" width="600" height="400" /></a></p>
<p>Youritronics is a proud sponsor of the <a href="http://dangerousprototypes.com/open-7400-logic-competition/">7400 Logic Competition</a>. We are giving away:</p>
<ul>
<li><a title="cp2103 serial to usb adapter with gpio" href="http://www.youritronics.com/shop/cp2103-serial-to-usb-adapter-with-gpio-p-15.html">CP2103 serial to USB adapter with GPIO</a></li>
<li><a title="tmp275 digital temperature sensor breakout board" href="http://www.youritronics.com/shop/tmp275-digital-temperature-sensor-p-7.html">TMP275 Digital Temperature Sensor</a></li>
<li><a title="mpl115a2 pressure sensor breakout" href="http://www.youritronics.com/shop/mpl115a2-pressure-sensor-breakout-p-13.html">MPL115A2 pressure sensor breakout </a></li>
</ul>
<p>If you have a project based on 74XX logic circuits you should register for the competition. There&#8217;s about 3 weeks left before judging begins on October 21, still plenty of time for new entries and there are allot of prizes available.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.youritronics.com/7400-logic-competition/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>tinyIMU V.2 with 6 DOF from MMA7455 and ITG3200</title>
		<link>http://www.youritronics.com/tinyimu-v-2-with-6-dof-from-mma7455-and-itg3200/</link>
		<comments>http://www.youritronics.com/tinyimu-v-2-with-6-dof-from-mma7455-and-itg3200/#comments</comments>
		<pubDate>Fri, 16 Sep 2011 16:59:21 +0000</pubDate>
		<dc:creator>Florin</dc:creator>
				<category><![CDATA[DIY]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Personal Projects]]></category>
		<category><![CDATA[ITG3200]]></category>
		<category><![CDATA[MMA7455]]></category>
		<category><![CDATA[Sensor]]></category>
		<category><![CDATA[tinyIMU]]></category>

		<guid isPermaLink="false">http://www.youritronics.com/?p=3680</guid>
		<description><![CDATA[tinyIMU V2 is a sensor unit useful for building quadrocopters or other platforms where you need to know the orientation of the given platform. It uses the MMA7455 3-axis accelerometer from Freescale with 10 bit output and the ITG3200 3-axis gyroscope from Invensense with 16 bit output. The PCB was designed to be as small [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a href="http://www.youritronics.com/wp-content/uploads/2011/09/tinyIMUv2.png"><img class="size-full wp-image-3682 aligncenter" title="tinyIMU v2 inertial measurement unit" src="http://www.youritronics.com/wp-content/uploads/2011/09/tinyIMUv2.png" alt="tinyIMU v2 inertial measurement unit" width="400" height="310" /></a></p>
<p>tinyIMU V2 is a sensor unit useful for building quadrocopters or other platforms where you need to know the orientation of the given platform. It uses the <strong>MMA7455</strong> 3-axis accelerometer from Freescale with 10 bit output and the <strong>ITG3200</strong> 3-axis gyroscope from Invensense with 16 bit output. The PCB was designed to be as small as possible to save weight and space (both important parameters when flying). There is only a 4 pin header present on the PCB for power and I2C lines. The schematics and PCB was designed in Eagle and I&#8217;m releasing it under CC BY-NC-SA 3.0 (download link bellow).</p>
<p>This sensor unit has already been used successfully with <a href="http://aeroquad.com/">AeroQuad</a> software and its just a matter of having the right drivers for the sensors to use it with other platforms as well.</p>
<p><center>here is a video with tinyIMU connected to AeroQuad:<br />
<a href="http://www.youritronics.com/tinyimu-v-2-with-6-dof-from-mma7455-and-itg3200/"><img src="http://img.youtube.com/vi/r_cwNpYFc5g/default.jpg" width="130" height="97" border=0></a></p>
<p><a title="tinyIMU" href="http://www.youritronics.com/wp-content/uploads/2011/09/tinyIMU-v2.zip"><strong>tinyIMU V2 schematics + PCB</strong></a></center></p>
]]></content:encoded>
			<wfw:commentRss>http://www.youritronics.com/tinyimu-v-2-with-6-dof-from-mma7455-and-itg3200/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>74HC4051 Analog Multiplexer</title>
		<link>http://www.youritronics.com/74hc4051-analog-multiplexer/</link>
		<comments>http://www.youritronics.com/74hc4051-analog-multiplexer/#comments</comments>
		<pubDate>Wed, 14 Sep 2011 12:08:26 +0000</pubDate>
		<dc:creator>Florin</dc:creator>
				<category><![CDATA[DIY]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Microcontroller]]></category>
		<category><![CDATA[Personal Projects]]></category>
		<category><![CDATA[74hc4051]]></category>
		<category><![CDATA[Analog]]></category>
		<category><![CDATA[mux]]></category>
		<category><![CDATA[NTC]]></category>
		<category><![CDATA[thermistor]]></category>

		<guid isPermaLink="false">http://www.youritronics.com/?p=3671</guid>
		<description><![CDATA[This was actually the first time I ever needed to multiplex analog channels so it was a good opportunity to learn how to use them. My task was to measure the temperature of 32 thermistors (NTC) with a microcontroller and later process that data. Obviously you cant find that much analog input channels on your common microcontroller [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.youritronics.com/wp-content/uploads/2011/09/74hc4051-mux.png"><img class="alignnone size-full wp-image-3672" title="74hc4051 mux" src="http://www.youritronics.com/wp-content/uploads/2011/09/74hc4051-mux.png" alt="74hc4051 mux" width="594" height="331" /></a></p>
<p>This was actually the first time I ever needed to multiplex analog channels so it was a good opportunity to learn how to use them. My task was to measure the temperature of 32 thermistors (NTC) with a microcontroller and later process that data. Obviously you cant find that much analog input channels on your common microcontroller so you need to multiplex the signals. First I looked for large analog multiplexers with 16 input channels but those are way too expensive. As it turns out its cheaper to use more smaller 8ch multiplexers(example Digikey pricing: 2pcs 16:1 mux from TI is $7.84 while 3pcs of 8:1 mux from TI is $1.53). I was able to get the <a href="http://www.nxp.com/documents/data_sheet/74HC_HCT4051.pdf">74HC4051</a> at a good price so I started creating the design around it.</p>
<p>With just four 74HC4051 I can multiplex 32 input channels to 4 outputs. The 74HC4051 has 3 select lines A,B,C and one enable line E. These 4 lines are used for control and they can be tied together like I did for controlling all 4 chips with the same 4 lines. By a combination of state (high/low) for A,B and C you can control which input gets connected to the output. In the schematic you will also find a table with the address select concerning the 3 pins A,B and C. The enable pin is used to disconnect all internal switches (when high) or allow connection (when low) by selecting the appropriate address. Each 74HC4051 got its own 0.1uF decoupling cap close to its supply pins and if you&#8217;re design is very sensitive to noise you can further optimize the layout and place more filtering on the supply lines.</p>
<p>To get a more stable reading at the output of the thermistor(actually at the output of the multiplexer) I also placed a low pass filter which later on after assembling and testing turned out to be unnecessary even creating problems because I was switching the lines faster than it took the filter to settle so I left the filter components out during assembly.</p>
<p>The PCB was manufactured at home hence the big vias and it was designed to allow a second board with the microcontroller to be stacked on top of it. Everything was tested on an Arduino and it works perfectly. The schematics and board file are released under CC-BY-SA and can be downloaded from the link bellow.</p>
<p><a href="http://www.youritronics.com/wp-content/uploads/2011/09/mux-74hc4051.png"><img class="alignnone size-full wp-image-3673" title="mux 74hc4051" src="http://www.youritronics.com/wp-content/uploads/2011/09/mux-74hc4051.png" alt="mux 74hc4051" width="493" height="309" /></a></p>
<p><strong>Downloads:</strong></p>
<p><a title="74hc4051 analog multiplexer schematic" href="http://www.youritronics.com/wp-content/uploads/2011/09/74hc4051-mux.zip">Eagle schematic and board file.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.youritronics.com/74hc4051-analog-multiplexer/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
		<item>
		<title>Include math.h for C32</title>
		<link>http://www.youritronics.com/include-math-h-for-c32/</link>
		<comments>http://www.youritronics.com/include-math-h-for-c32/#comments</comments>
		<pubDate>Sat, 06 Aug 2011 08:59:57 +0000</pubDate>
		<dc:creator>Florin</dc:creator>
				<category><![CDATA[DIY]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Microcontroller]]></category>
		<category><![CDATA[C32]]></category>
		<category><![CDATA[math]]></category>
		<category><![CDATA[Pic32]]></category>

		<guid isPermaLink="false">http://www.youritronics.com/?p=3664</guid>
		<description><![CDATA[I spent the past 3 hours debugging my code that was absolutely fine. So just a quick note for everybody who&#8217;s working on pic32&#8242;s, if you&#8217;re using any math functions you have to include math.h; it is not enough to include the peripheral library (plib.h). The compiler won&#8217;t complain but you will get garbage out [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.youritronics.com/wp-content/uploads/2011/08/microchip-pic32.bmp"><img class="alignnone size-full wp-image-3665" title="microchip pic32" src="http://www.youritronics.com/wp-content/uploads/2011/08/microchip-pic32.bmp" alt="microchip pic32" width="305" height="244" /></a></p>
<p>I spent the past 3 hours debugging my code that was absolutely fine. So just a quick note for everybody who&#8217;s working on pic32&#8242;s, if you&#8217;re using any math functions you have to include math.h; it is not enough to include the peripheral library (plib.h). The compiler won&#8217;t complain but you will get garbage out of your math functions.</p>
<p>And if you&#8217;re wondering what I was doing with all that math is just computing the temperature for a thermistor using the <a href="http://en.wikipedia.org/wiki/Steinhart%E2%80%93Hart_equation">Steinhart–Hart</a> equation.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.youritronics.com/include-math-h-for-c32/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Adding auto turn-off to a cheap multimeter</title>
		<link>http://www.youritronics.com/adding-auto-turn-off-to-a-cheap-multimeter/</link>
		<comments>http://www.youritronics.com/adding-auto-turn-off-to-a-cheap-multimeter/#comments</comments>
		<pubDate>Wed, 27 Jul 2011 09:59:53 +0000</pubDate>
		<dc:creator>Florin</dc:creator>
				<category><![CDATA[DIY]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Microcontroller]]></category>
		<category><![CDATA[ET-870C]]></category>
		<category><![CDATA[Minipa]]></category>
		<category><![CDATA[multimeter]]></category>
		<category><![CDATA[timer]]></category>
		<category><![CDATA[tiny25]]></category>

		<guid isPermaLink="false">http://www.youritronics.com/?p=3626</guid>
		<description><![CDATA[I bought this multimeter(Minipa ET-870C) a while ago for $17, great value. I got it because its nice to have around multiple meters for when you wanna measure both input and output voltage/current. I believe it was advertised to have an auto-off feature for 15 mins but it didn&#8217;t. This eventually lead to many drained [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a href="http://www.youritronics.com/wp-content/uploads/2011/07/Minipa_ET-870C_13.jpg"><img class="size-medium wp-image-3627 aligncenter" title="Minipa_ET-870C_13" src="http://www.youritronics.com/wp-content/uploads/2011/07/Minipa_ET-870C_13-204x300.jpg" alt="Minipa_ET-870C" width="204" height="300" /></a></p>
<p>I bought this multimeter(<strong>Minipa ET-870C)</strong> a while ago for $17, great value. I got it because its nice to have around multiple meters for when you wanna measure both input and output voltage/current. I believe it was advertised to have an auto-off feature for 15 mins but it didn&#8217;t. This eventually lead to many drained batteries because I often forgot to turn it off after using it. So during a boring weekend when the weather outside was bad I decided to add this nice feature to the meter. I knew it had to be a small circuit to be able to fit inside the multimeter so I picked the tiny25 the smallest micro I had around.</p>
<p>I quickly put together a simple schematic in Eagle, just the mcu, a voltage regulator a npn transistor and the associated capacitors and resistors. The circuit is powered from the multimeter 9V battery and cuts off the ground path to the meter to turn off its power. No ISP connector was placed on the board to save space but extra long pads were added so I can solder some wires for programming the mcu.</p>
<p><a href="http://www.youritronics.com/wp-content/uploads/2011/07/tiny25-timer-switch-sch.png"><img class="alignnone size-medium wp-image-3629" title="tiny25-timer-switch-schematic" src="http://www.youritronics.com/wp-content/uploads/2011/07/tiny25-timer-switch-sch-300x217.png" alt="tiny25-timer-switch-schematic" width="300" height="217" /></a><a href="http://www.youritronics.com/wp-content/uploads/2011/07/tiny25-timer-switch-brd.png"><img class="alignnone size-medium wp-image-3628" title="tiny25-timer-switch-board" src="http://www.youritronics.com/wp-content/uploads/2011/07/tiny25-timer-switch-brd-300x230.png" alt="tiny25-timer-switch-board" width="300" height="217" /></a></p>
<p>The npn transistor has its base pulled down so when there is no signal coming from the mcu the transistor is off. The pcb was made using the<a href="http://www.youritronics.com/diy-printed-circuit-board-using-photo-etching-method/"> photo etching technique</a> and it was assembled with some solder paste and hot air gun. I also soldered some wires to connect to my MKII programmer and I started writing the code.</p>
<p>To keep track of the time I used Timer0 to generate an overflow interrupt. Knowing the CPU frequency and the prescaler we can find out how often that interrupt will occur. Knowing how often the interrupt will occur we know how many times we need that interrupt to trigger to account for a given time in seconds. This is all calculated inside main.h where you can also specify the time in seconds.</p>
<p>To start the counting process I&#8217;m using a tact switch connected on INT0. When the button is pressed the level changed interrupt will trigger on INT0 and we change some flags to start counting as well as turning on the transistor to turn on the multimeter. When the counting reaches the setpoint, the flags reset and the transistor is turned off, thus turning off the meter. At this step the code was running ok except that for a 15 mins period there is ~12s error. I suspect this is because I&#8217;m using the internal oscillator which is not very precise.</p>
<p>Since the circuit was intended for extending the battery life, itself had to consume as little as possible. All measurements were made right before the voltage regulator at the battery leads. With no optimization the current draw at 9V was 3.67mA. The tiny25 has 3 sleep modes: Idle, ADC Noise Reduction and Power-down mode. The Idle mode would be good for when we are counting until the setpoint is reached, and the power-down mode for when we are waiting for the button to be pressed(INT0 interrupt trigger). So I&#8217;ve added some new lines of code to set the processor into Idle mode when the button is pressed, and to set it to power-down mode the the setpoint is reached and the transistor is turned off.</p>

<div class="wp_syntax"><div class="code"><pre class="csharp" style="font-family:monospace;"><span style="color: #008080; font-style: italic;">// Prepare for sleep mode in Idle mode so Timer0 can continue working and providing interrupts</span>
set_sleep_mode<span style="color: #008000;">&#40;</span>SLEEP_MODE_IDLE<span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span></pre></div></div>

<p>and</p>

<div class="wp_syntax"><div class="code"><pre class="csharp" style="font-family:monospace;">set_sleep_mode<span style="color: #008000;">&#40;</span>SLEEP_MODE_PWR_DOWN<span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>	<span style="color: #008080; font-style: italic;">// Prepare for sleep mode in Power Down mode</span></pre></div></div>

<p>With these new settings the numbers are: in Idle mode the current draw is 3.57mA(only 0.1mA saved) but in power-down mode the current draw is only 17.9 uA(a whopping 3.652mA saved). This will ensure the battery life is not affected by the small timer circuit.</p>
<p>Now that everything was finished all I had to do is mount the small pcb inside the meter. Luckily there was plenty of space between the LCD and the logic board. I attached the pcb with some double sided sticky tape and drilled a hole for the tact switch in a pre marked place(this was probably the place designated for an original on/off-standby button that would of reset the internal auto-turn off feature). The tact switch was fixed in place with some hot glue. The wires were carefully routed on the side of the case and everything was assembled back together.</p>
<p>Now I know what you&#8217;re thinking, this mod makes the meter more dangerous with all the wires running so close to the high voltage input jacks but this meter did not have much protection to start with. Only basic 250mA fuse on the small current scale so I don&#8217;t think I&#8217;ve made it more dangerous than it already was. I really don&#8217;t recommend getting this meter if you&#8217;re working with high voltages or currents. This is only suitable for small currents/voltages where the input protection isn&#8217;t going to make a big difference.</p>
<p>Also you should know that the mod will certainly void your warranty if there is one. I certainly didn&#8217;t had any real warranty with this meter.</p>
<p>The source code and Eagle schematics are accessible on github <a title="multimeter auto off timer" href="https://github.com/youritronics/multimeter-auto-off-timer">here</a>. As you can see this was also a nice opportunity to get me started with using a code repository. And here are some pictures from the construction/assembly process:</p>

<a href='http://www.youritronics.com/adding-auto-turn-off-to-a-cheap-multimeter/tiny25-timer-switch-sch/' title='tiny25-timer-switch-schematic'><img width="150" height="150" src="http://www.youritronics.com/wp-content/uploads/2011/07/tiny25-timer-switch-sch-150x150.png" class="attachment-thumbnail" alt="tiny25-timer-switch-schematic" title="tiny25-timer-switch-schematic" /></a>
<a href='http://www.youritronics.com/adding-auto-turn-off-to-a-cheap-multimeter/tiny25-timer-switch-brd/' title='tiny25-timer-switch-board'><img width="150" height="150" src="http://www.youritronics.com/wp-content/uploads/2011/07/tiny25-timer-switch-brd-150x150.png" class="attachment-thumbnail" alt="tiny25-timer-switch-board" title="tiny25-timer-switch-board" /></a>
<a href='http://www.youritronics.com/adding-auto-turn-off-to-a-cheap-multimeter/minipa_et-870c_1/' title='Minipa_ET-870C_1'><img width="150" height="150" src="http://www.youritronics.com/wp-content/uploads/2011/07/Minipa_ET-870C_1-150x150.jpg" class="attachment-thumbnail" alt="Minipa_ET-870C_1" title="Minipa_ET-870C_1" /></a>
<a href='http://www.youritronics.com/adding-auto-turn-off-to-a-cheap-multimeter/minipa_et-870c_5/' title='Minipa_ET-870C_5'><img width="150" height="150" src="http://www.youritronics.com/wp-content/uploads/2011/07/Minipa_ET-870C_5-150x150.jpg" class="attachment-thumbnail" alt="Minipa_ET-870C_5" title="Minipa_ET-870C_5" /></a>
<a href='http://www.youritronics.com/adding-auto-turn-off-to-a-cheap-multimeter/minipa_et-870c_4/' title='Minipa_ET-870C_4'><img width="150" height="150" src="http://www.youritronics.com/wp-content/uploads/2011/07/Minipa_ET-870C_4-150x150.jpg" class="attachment-thumbnail" alt="Minipa_ET-870C_4" title="Minipa_ET-870C_4" /></a>
<a href='http://www.youritronics.com/adding-auto-turn-off-to-a-cheap-multimeter/minipa_et-870c_3/' title='Minipa_ET-870C_3'><img width="150" height="150" src="http://www.youritronics.com/wp-content/uploads/2011/07/Minipa_ET-870C_3-150x150.jpg" class="attachment-thumbnail" alt="Minipa_ET-870C_3" title="Minipa_ET-870C_3" /></a>
<a href='http://www.youritronics.com/adding-auto-turn-off-to-a-cheap-multimeter/minipa_et-870c_6/' title='Minipa_ET-870C_6'><img width="150" height="150" src="http://www.youritronics.com/wp-content/uploads/2011/07/Minipa_ET-870C_6-150x150.jpg" class="attachment-thumbnail" alt="Minipa_ET-870C_6" title="Minipa_ET-870C_6" /></a>
<a href='http://www.youritronics.com/adding-auto-turn-off-to-a-cheap-multimeter/minipa_et-870c_2/' title='Minipa_ET-870C_2'><img width="150" height="150" src="http://www.youritronics.com/wp-content/uploads/2011/07/Minipa_ET-870C_2-150x150.jpg" class="attachment-thumbnail" alt="Minipa_ET-870C_2" title="Minipa_ET-870C_2" /></a>
<a href='http://www.youritronics.com/adding-auto-turn-off-to-a-cheap-multimeter/minipa_et-870c_7/' title='Minipa_ET-870C_7'><img width="150" height="150" src="http://www.youritronics.com/wp-content/uploads/2011/07/Minipa_ET-870C_7-150x150.jpg" class="attachment-thumbnail" alt="Minipa_ET-870C_7" title="Minipa_ET-870C_7" /></a>
<a href='http://www.youritronics.com/adding-auto-turn-off-to-a-cheap-multimeter/minipa_et-870c_8/' title='Minipa_ET-870C_8'><img width="150" height="150" src="http://www.youritronics.com/wp-content/uploads/2011/07/Minipa_ET-870C_8-150x150.jpg" class="attachment-thumbnail" alt="Minipa_ET-870C_8" title="Minipa_ET-870C_8" /></a>
<a href='http://www.youritronics.com/adding-auto-turn-off-to-a-cheap-multimeter/minipa_et-870c_9/' title='Minipa_ET-870C_9'><img width="150" height="150" src="http://www.youritronics.com/wp-content/uploads/2011/07/Minipa_ET-870C_9-150x150.jpg" class="attachment-thumbnail" alt="Minipa_ET-870C_9" title="Minipa_ET-870C_9" /></a>
<a href='http://www.youritronics.com/adding-auto-turn-off-to-a-cheap-multimeter/minipa_et-870c_10/' title='Minipa_ET-870C_10'><img width="150" height="150" src="http://www.youritronics.com/wp-content/uploads/2011/07/Minipa_ET-870C_10-150x150.jpg" class="attachment-thumbnail" alt="Minipa_ET-870C_10" title="Minipa_ET-870C_10" /></a>
<a href='http://www.youritronics.com/adding-auto-turn-off-to-a-cheap-multimeter/minipa_et-870c_11/' title='Minipa_ET-870C_11'><img width="150" height="150" src="http://www.youritronics.com/wp-content/uploads/2011/07/Minipa_ET-870C_11-150x150.jpg" class="attachment-thumbnail" alt="Minipa_ET-870C_11" title="Minipa_ET-870C_11" /></a>
<a href='http://www.youritronics.com/adding-auto-turn-off-to-a-cheap-multimeter/minipa_et-870c_13/' title='Minipa_ET-870C_13'><img width="150" height="150" src="http://www.youritronics.com/wp-content/uploads/2011/07/Minipa_ET-870C_13-150x150.jpg" class="attachment-thumbnail" alt="Minipa_ET-870C" title="Minipa_ET-870C_13" /></a>
<a href='http://www.youritronics.com/adding-auto-turn-off-to-a-cheap-multimeter/minipa_et-870c_12/' title='Minipa_ET-870C_12'><img width="150" height="150" src="http://www.youritronics.com/wp-content/uploads/2011/07/Minipa_ET-870C_12-150x150.jpg" class="attachment-thumbnail" alt="Minipa_ET-870C_12" title="Minipa_ET-870C_12" /></a>

]]></content:encoded>
			<wfw:commentRss>http://www.youritronics.com/adding-auto-turn-off-to-a-cheap-multimeter/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Bus Pirate case</title>
		<link>http://www.youritronics.com/bus-pirate-case/</link>
		<comments>http://www.youritronics.com/bus-pirate-case/#comments</comments>
		<pubDate>Mon, 18 Jul 2011 07:14:40 +0000</pubDate>
		<dc:creator>Florin</dc:creator>
				<category><![CDATA[DIY]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Personal Projects]]></category>
		<category><![CDATA[Bus Pirate]]></category>
		<category><![CDATA[case]]></category>
		<category><![CDATA[Microchip]]></category>

		<guid isPermaLink="false">http://www.youritronics.com/?p=3616</guid>
		<description><![CDATA[I was looking around for a small case to put by Bus Pirate in and I found these Microchip sample bins in which the Bus Pirate fits just nice. No need to make any openings cause I&#8217;ll only be using it for storage probably. Checkout the pics below.]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.youritronics.com/wp-content/uploads/2011/07/bus_pirate_case_1.jpg"><img class="size-medium wp-image-3617 aligncenter" title="bus_pirate_case_1" src="http://www.youritronics.com/wp-content/uploads/2011/07/bus_pirate_case_1-300x225.jpg" alt="bus_pirate_case" width="300" height="225" /></a></p>
<p>I was looking around for a small case to put by Bus Pirate in and I found these Microchip sample bins in which the Bus Pirate fits just nice. No need to make any openings cause I&#8217;ll only be using it for storage probably. Checkout the pics below.</p>

<a href='http://www.youritronics.com/bus-pirate-case/bus_pirate_case_1/' title='bus_pirate_case_1'><img width="150" height="150" src="http://www.youritronics.com/wp-content/uploads/2011/07/bus_pirate_case_1-150x150.jpg" class="attachment-thumbnail" alt="bus_pirate_case" title="bus_pirate_case_1" /></a>
<a href='http://www.youritronics.com/bus-pirate-case/bus_pirate_case_2/' title='bus_pirate_case_2'><img width="150" height="150" src="http://www.youritronics.com/wp-content/uploads/2011/07/bus_pirate_case_2-150x150.jpg" class="attachment-thumbnail" alt="bus_pirate_case_2" title="bus_pirate_case_2" /></a>
<a href='http://www.youritronics.com/bus-pirate-case/bus_pirate_case_3/' title='bus_pirate_case_3'><img width="150" height="150" src="http://www.youritronics.com/wp-content/uploads/2011/07/bus_pirate_case_3-150x150.jpg" class="attachment-thumbnail" alt="bus_pirate_case_3" title="bus_pirate_case_3" /></a>
<a href='http://www.youritronics.com/bus-pirate-case/bus_pirate_case_4/' title='bus_pirate_case_4'><img width="150" height="150" src="http://www.youritronics.com/wp-content/uploads/2011/07/bus_pirate_case_4-150x150.jpg" class="attachment-thumbnail" alt="bus_pirate_case_4" title="bus_pirate_case_4" /></a>

]]></content:encoded>
			<wfw:commentRss>http://www.youritronics.com/bus-pirate-case/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Reading the AK8975 magnetometer with a Bus-Pirate</title>
		<link>http://www.youritronics.com/reading-the-ak8975-magnetometer-with-a-bus-pirate/</link>
		<comments>http://www.youritronics.com/reading-the-ak8975-magnetometer-with-a-bus-pirate/#comments</comments>
		<pubDate>Sat, 16 Jul 2011 08:21:29 +0000</pubDate>
		<dc:creator>Florin</dc:creator>
				<category><![CDATA[DIY]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Personal Projects]]></category>
		<category><![CDATA[AK8975]]></category>
		<category><![CDATA[BMA150]]></category>
		<category><![CDATA[BusPirate]]></category>
		<category><![CDATA[ITG3200]]></category>
		<category><![CDATA[LSM303DLHC]]></category>

		<guid isPermaLink="false">http://www.youritronics.com/?p=3612</guid>
		<description><![CDATA[So in my last post I was telling you how I managed to mess up the ATAVRSBIN1 I got from Atmel during a crash with the quad. After the crash I noticed it didn&#8217;t respond any more so I hooked it to my Bus-Pirate and the result of a search on the bus was not [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.youritronics.com/wp-content/uploads/2011/07/ATAVRSBIN1-and-Bus-Pirate.jpg"><img class="alignnone size-medium wp-image-3613" title="ATAVRSBIN1 and Bus Pirate" src="http://www.youritronics.com/wp-content/uploads/2011/07/ATAVRSBIN1-and-Bus-Pirate-300x225.jpg" alt="ATAVRSBIN1 and Bus Pirate" width="300" height="225" /></a></p>
<p>So in my last post I was telling you how I managed to mess up the <a href="http://store.atmel.com/PartDetail.aspx?q=p:10500250">ATAVRSBIN1</a> I got from Atmel during a crash with the quad. After the crash I noticed it didn&#8217;t respond any more so I hooked it to my <a title="The Bus Pirate" href="http://dangerousprototypes.com/docs/Bus_Pirate">Bus-Pirate</a> and the result of a search on the bus was not pretty, no device found:</p>
<blockquote><p>I2C&gt;(1)<br />
Searching I2C address space. Found devices at:<br />
Warning: *Short or no pull-up</p></blockquote>
<p>But I figured maybe one or two of the chips (ITG3200, AK8975 and BMA150)survived and the other one who got damaged is keeping the bus low, or shorted or whatever. So I decided to de-solder the chips one by one to find if any still works. I started with the ITG3200 gyro, removed it and the same error, no device found, next I continued with the BMA150 accelerometer and success!:</p>
<blockquote><p>I2C&gt;(1)<br />
Searching I2C address space. Found devices at:<br />
0&#215;18(0x0C W) 0&#215;19(0x0C R)</p></blockquote>
<p>When there was only the AK8975 magnetometer left it replied. I also tried soldering back the ITG3200 but it didn&#8217;t work. So I was only left with the AK8975 but that&#8217;s useful for comparing with the other magnetometer that I&#8217;m working with the LSM303DLHC from STmicro. I guess you could call this whole incident a stress test and I&#8217;ve determined that out of the 3 chips only the AK8975 survived in conditions above its maximum ratings <img src='http://www.youritronics.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>
<p>Now for reading something out of the sensors I tried reading the WIA register which holds a fixed value(0&#215;48 as mentioned in the datasheet) set during manufacturing. The WIA register is at 0&#215;00 address so start by writing the address of the register then perform 1 read:</p>
<blockquote><p>I2C&gt;[0x18 0x00]<br />
I2C START BIT<br />
WRITE: 0&#215;18 ACK<br />
WRITE: 0&#215;00 ACK<br />
I2C STOP BIT</p></blockquote>
<p>next perform 1 read:</p>
<blockquote><p>I2C&gt;[0x19 r]<br />
I2C START BIT<br />
WRITE: 0&#215;19 ACK<br />
READ: 0&#215;48<br />
NACK<br />
I2C STOP BIT</p></blockquote>
<p>And the returned value 0&#215;48 matches the one from the datasheet. I&#8217;ve gotta say the BP helped allot during this debug session and it would&#8217;ve been much harder without it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.youritronics.com/reading-the-ak8975-magnetometer-with-a-bus-pirate/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AVR ISP MKII Entering programming mode.. FAILED!</title>
		<link>http://www.youritronics.com/avr-isp-mkii-entering-programming-mode-failed/</link>
		<comments>http://www.youritronics.com/avr-isp-mkii-entering-programming-mode-failed/#comments</comments>
		<pubDate>Sat, 09 Jul 2011 17:28:27 +0000</pubDate>
		<dc:creator>Florin</dc:creator>
				<category><![CDATA[DIY]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Microcontroller]]></category>
		<category><![CDATA[Personal Projects]]></category>
		<category><![CDATA[Robotics]]></category>
		<category><![CDATA[AK8975]]></category>
		<category><![CDATA[ATAVRSBIN1]]></category>
		<category><![CDATA[BMA150]]></category>
		<category><![CDATA[isp MKII]]></category>
		<category><![CDATA[ITG3200]]></category>
		<category><![CDATA[ITG3205]]></category>

		<guid isPermaLink="false">http://www.youritronics.com/?p=3603</guid>
		<description><![CDATA[If you ever get the message &#8220;Entering programming mode.. FAILED!&#8221; while trying to program your AVR device don&#8217;t start messing with your MKII or upgrade its firmware 10 times or messing with the windows drivers like I did, cause that&#8217;s probably not the cause and you risk damaging you&#8217;re perfectly working MKII. As it turns [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.youritronics.com/wp-content/uploads/2011/07/mkII_prog_mode_fail.png"><img class="alignnone size-medium wp-image-3604" title="AVR ISP MKII Entering programming mode failed" src="http://www.youritronics.com/wp-content/uploads/2011/07/mkII_prog_mode_fail-281x300.png" alt="AVR ISP MKII Entering programming mode failed" width="281" height="300" /></a></p>
<p>If you ever get the message &#8220;Entering programming mode.. FAILED!&#8221; while trying to program your AVR device don&#8217;t start messing with your MKII or upgrade its firmware 10 times or messing with the windows drivers like I did, cause that&#8217;s probably not the cause and you risk damaging you&#8217;re perfectly working MKII. As it turns out its just a faulty connection between the programmer and the target board. This is not likely to happen if you only use the programmer occasionally but I used it for like 50+ times a day and that meant inserting and removing the little 6pin connector a bunch of times. I removed the old 6pin connector, crimped a new one and its working again, so long live the MKII because it is a great tool.</p>
<p>You might be wondering why would I need to use that many times, well its because I&#8217;m working on this new project, a quadrocopter based on an atmega64. The microcontroller was chosen because I had a bunch around and ATMEL was kind enough to send me a <a href="http://store.atmel.com/PartDetail.aspx?q=p:10500250">ATAVRSBIN1</a> for my project.</p>
<p><a href="http://www.youritronics.com/wp-content/uploads/2011/07/atavrsbin1.jpg"><img class="size-full wp-image-3605 alignnone" title="atavrsbin1" src="http://www.youritronics.com/wp-content/uploads/2011/07/atavrsbin1.jpg" alt="atavrsbin1" width="269" height="109" /></a></p>
<blockquote><p>The Inertial One System Board delivers a full 9 degree of freedom sensor platform comprising a 3 Axis Magnetometer from AKM (AK8975); 3 Axis Accelerometer from Bosch (BMA150) and a 3 Axis Gyroscope from InvenSense (ITG-3200) connected through an I2C interface.</p></blockquote>
<p>At $54 its probably the most accessible 9DOF breakout out there and it comes with great sensors. Unfortunately I only managed to test and fly with the ITG-3200 gyro before I had a crash(you crash allot when developing from scratch a new firmware for a quad). Because of the crash a short-circuit happened somewhere on my board and it messed up the ATAVRSBIN1 sensors.</p>
<p>The ITG-3200 is a very good gyro with low noise so to replace the damaged ATAVRSBIN1 and to continue flying I got a wii motion plus which has the ITG3205 inside(its supposed to be just an OEM version of ITG3200). I haven&#8217;t done allot of testing with this new ITG3205 but I did notice some problems on the I2C bus, like sometimes the sensor does not respond , which is strange.(maybe the 400KHz freq is too high for the ITG3205 ?).</p>
<p>Anyway enough for now, I&#8217;ll post some updates on the project soon.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.youritronics.com/avr-isp-mkii-entering-programming-mode-failed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Audio Spectrum Analyzer V2.1</title>
		<link>http://www.youritronics.com/audio-spectrum-analyzer-v2-1/</link>
		<comments>http://www.youritronics.com/audio-spectrum-analyzer-v2-1/#comments</comments>
		<pubDate>Sat, 26 Feb 2011 15:13:56 +0000</pubDate>
		<dc:creator>Florin</dc:creator>
				<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Microcontroller]]></category>
		<category><![CDATA[Personal Projects]]></category>
		<category><![CDATA[analyzer]]></category>
		<category><![CDATA[Audio]]></category>
		<category><![CDATA[spectrum]]></category>

		<guid isPermaLink="false">http://www.youritronics.com/?p=3593</guid>
		<description><![CDATA[I&#8217;ve been pretty busy lately working on the latest spectrum analyzer V2.1. Its available in the online shop if you are interested in getting one. Here are some videos bellow with the new blue LED&#8217;s and with a half green/half red display. I have also been working on the new expansion board pictured bellow. The Expansion [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been pretty busy lately working on the latest <a title="audio spectrum analyzer V2.1" href="http://www.youritronics.com/forum/audio-spectrum-analyzer-v2-1-t127.html">spectrum analyzer V2.1</a>. Its available in the <a title="youritronics shop" href="http://www.youritronics.com/shop/">online shop</a> if you are interested in getting one. Here are some videos bellow with the new blue LED&#8217;s and with a half green/half red display.</p>
<a href="http://www.youritronics.com/audio-spectrum-analyzer-v2-1/"><img src="http://img.youtube.com/vi/w9uCCSE4KBo/default.jpg" width="130" height="97" border=0></a>
<a href="http://www.youritronics.com/audio-spectrum-analyzer-v2-1/"><img src="http://img.youtube.com/vi/e9kApA2UbBk/default.jpg" width="130" height="97" border=0></a>
<p>I have also been working on the new expansion board pictured bellow. The Expansion Board was created to help you create bigger custom displays for the Spectrum Analyzer. The Expansion Board works by switching the signals from the spectrum analyzer with the help of high current MOSFET transistors thus giving you the possibility to output higher voltages and currents for your custom setup. You can read more about it on the <a title="expansion board for the audio spectrum analyzer" href="http://www.youritronics.com/forum/expansion-board-v1-0-for-the-audio-spectrum-analyzer-t133.html">forum.</a></p>
<p><a href="http://www.youritronics.com/wp-content/uploads/2011/02/spectrum_analyzer_expansion_board4.jpg"><img class="alignnone size-medium wp-image-3594" title="spectrum_analyzer_expansion_board(4)" src="http://www.youritronics.com/wp-content/uploads/2011/02/spectrum_analyzer_expansion_board4-300x225.jpg" alt="spectrum_analyzer_expansion_board" width="300" height="225" /></a></p>
<p>There is also a <a href="http://www.youritronics.com/forum/audio-spectrum-analyzer-v2-1-assembly-guide-t134.html">new assembly guide</a> for the audio spectrum analyzer V2.1 that will be helpful to those that get the kit unassembled.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.youritronics.com/audio-spectrum-analyzer-v2-1/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>

