<?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; Personal Projects</title>
	<atom:link href="http://www.youritronics.com/category/personal-projects/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>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>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>
		<item>
		<title>ST1S10 calculator</title>
		<link>http://www.youritronics.com/st1s10-calculator/</link>
		<comments>http://www.youritronics.com/st1s10-calculator/#comments</comments>
		<pubDate>Sat, 30 Oct 2010 14:35:11 +0000</pubDate>
		<dc:creator>Florin</dc:creator>
				<category><![CDATA[DIY]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Personal Projects]]></category>
		<category><![CDATA[dc-dc]]></category>
		<category><![CDATA[Power]]></category>
		<category><![CDATA[SMPS]]></category>
		<category><![CDATA[ST1S10]]></category>

		<guid isPermaLink="false">http://www.youritronics.com/?p=3454</guid>
		<description><![CDATA[Since I was working with the ST1S10 for an upcoming project I decided to publish this little calculator. The ST1S10 is one of the cheapest if not the cheapest 3 A, 900 kHz, monolithic synchronous step-down regulator. The high frequency switching allows the use of tiny SMD components so the board space taken by this regulator [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.youritronics.com/wp-content/uploads/2010/10/ST1S10-calculator.png"><img class="alignnone size-full wp-image-3457" title="ST1S10 calculator" src="http://www.youritronics.com/wp-content/uploads/2010/10/ST1S10-calculator.png" alt="ST1S10 calculator" width="632" height="347" /></a></p>
<p>Since I was working with the <a href="http://www.st.com/stonline/books/pdf/docs/13844.pdf">ST1S10</a> for an upcoming project I decided to publish this little calculator. The ST1S10 is one of the cheapest if not the cheapest 3 A, 900 kHz, monolithic synchronous step-down regulator. The high frequency switching allows the use of tiny SMD components so the board space taken by this regulator its pretty tight. The calculator is written in OpenOffice Calc and saved as XLS, so you can open it with both MS Office and OpenOffice. The calculator works for Vout &gt; 2.5V. You have to enter the requested values on brown boxes and you&#8217;ll get the result in the yellow boxes. If you notice any mistake in the formulas please let me know.</p>
<p>Download here:<strong> <a href="http://www.youritronics.com/wp-content/uploads/2010/10/ST1S10-calculator-open-office.zip">ST1S10 calculator</a></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.youritronics.com/st1s10-calculator/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Magnetic-Less Ethernet</title>
		<link>http://www.youritronics.com/magnetic-less-ethernet/</link>
		<comments>http://www.youritronics.com/magnetic-less-ethernet/#comments</comments>
		<pubDate>Tue, 26 Oct 2010 06:16:48 +0000</pubDate>
		<dc:creator>Florin</dc:creator>
				<category><![CDATA[DIY]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Personal Projects]]></category>
		<category><![CDATA[ethernet]]></category>
		<category><![CDATA[Magnetic]]></category>
		<category><![CDATA[Transformer]]></category>

		<guid isPermaLink="false">http://www.youritronics.com/?p=3418</guid>
		<description><![CDATA[I wanted to test if its possible to have a magnetic-less ethernet connection for an upcoming project. Why magnetic-less? you might ask, well space &#38; weight is critical for my application and since both devices will be present on the same PCB, why not skip the magnetics and reduce space &#38; weight. I have to [...]]]></description>
			<content:encoded><![CDATA[<p>I wanted to test if its possible to have a <strong>magnetic-less</strong> ethernet connection for an upcoming project. Why magnetic-less? you might ask, well space &amp; weight is critical for my application and since both devices will be present on the same PCB, why not skip the magnetics and reduce space &amp; weight. I have to admit it was allot easier than I imagined it would be. When I first thought about it I imagined I would need to simulate the impedance of the transformer with some inductors, this way before I did any reading on the subject.</p>
<p>Thankfully I had a friend who helped me with some network switches from his junk box. The switches were running ok but its clear that they once had some reliability issues which got them into the junk box, but it was enough for my little experiment. I decided to use the following configuration to test the magnetic-less connection:</p>
<ul>
<li>both switches will have the transformers removed from one of the ports.</li>
<li>computer1 connects to switch1 with standard connection.</li>
<li>switch1 connects to switch2 with magnetic-less connection(no transformer).</li>
<li>computer2 connects to switch2 with standard connection.</li>
</ul>
<p>After the setup is made and link is up I would ping computer2 from computer1 and if the link is ok the result should be obvious.</p>
<p><img class="alignnone size-full wp-image-3430" title="network switch test configuration" src="http://www.youritronics.com/wp-content/uploads/2010/10/switch-test-configuration.jpg" alt="network switch test configuration" width="527" height="280" /></p>
<p>Now, at this step I still haven&#8217;t done any reading on magnetic-less ethernet connections, so I took the bad choice of connecting the two magnetic-less ports wire to wire, &#8220;wire coupling&#8221; <img src='http://www.youritronics.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  . I knew i had slim chances to make it work, but I said nothing can go wrong. I hooked the two ports, and nothing happened, no link, no LED turned on. Probably somewhere in this process I damaged the two network switches(<strong>RTL8309SB</strong>) because they were both working before I did surgery on them, and they were both not working when I finished the surgery <img src='http://www.youritronics.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  So directly coupling the two interfaces is a bad idea, it should of ringed a bell the first time I thought about it but it didn&#8217;t, I learned it the hard way.</p>
<p><a href="http://www.youritronics.com/wp-content/uploads/2010/10/DSC08324-Large.jpg"><img class="size-thumbnail wp-image-3419 alignleft" title="two 10/100 ethernet switches" src="http://www.youritronics.com/wp-content/uploads/2010/10/DSC08324-Large-150x150.jpg" alt="two 10/100 ethernet switches" width="150" height="150" /></a><a href="http://www.youritronics.com/wp-content/uploads/2010/10/DSC08327-Large.jpg"><img class="size-thumbnail wp-image-3420  alignleft" title="removed magnetic transformer from ethernet line" src="http://www.youritronics.com/wp-content/uploads/2010/10/DSC08327-Large-150x150.jpg" alt="removed magnetic transformer from ethernet line" width="150" height="150" /></a><a href="http://www.youritronics.com/wp-content/uploads/2010/10/DSC08331-Large.jpg"><img class="alignnone size-thumbnail wp-image-3421" title="removed magnetic transformer from ethernet line" src="http://www.youritronics.com/wp-content/uploads/2010/10/DSC08331-Large-150x150.jpg" alt="removed magnetic transformer from ethernet line" width="150" height="150" /></a></p>
<p>This is where I knew I had to do some reading on the subject. Luckily every manufacturer of ethernet interfaces such as <a title="ATT ethernet " href="http://business.att.com/enterprise/Family/network-services/ethernet" target="_blank">ATT ethernet</a> services has an application note on how to couple them magnetic-less for exactly the same situation that I have: both chips on the same pcb. I picked up another 2 switches and opened them up. Since they both had Realtek controllers I used this <a title="magnetic-less ethernet connection application note Realtek" href="http://www.youritronics.com/wp-content/uploads/2010/10/RTL8305SC_UTP2UTP_App_Note_1.0.pdf">application note</a> from Realtek. The app note provides a simple solution, <strong>capacitive coupling</strong>.</p>
<p><a href="http://www.youritronics.com/wp-content/uploads/2010/10/schematic-for-magnetic-less-ethernet-1.png"><img class="alignnone size-full wp-image-3437" title="schematic for magnetic-less ethernet (1)" src="http://www.youritronics.com/wp-content/uploads/2010/10/schematic-for-magnetic-less-ethernet-1.png" alt="schematic for magnetic-less ethernet" width="596" height="379" /></a></p>
<p>I got to work, once again I removed 1 transformer from each network switch but this time I used capacitive coupling. I soldered wires to where the transformer used to be and I connected those wires to a mini breadboard. The resistors+capacitor pair which sit between the lines on the schematic are still on the board, they&#8217;re needed with or without the magnetic transformer. All I had to add was one 0.1uF capacitor on each line. I didn&#8217;t even used the pull-up 1.8V as suggested by the app-note. I did the connections as mentioned above, the link activity LED&#8217;s signaled immediately, I assigned the computers some ip addresses and success I had the link up &amp; working in no time. I only did a ping test which resulted in under 1ms replies. Perhaps I should of tested the bandwidth too, but I don&#8217;t think it suffered from the change.</p>
<p><a href="http://www.youritronics.com/wp-content/uploads/2010/10/DSC08338-Large.jpg"><img class="alignnone size-thumbnail wp-image-3425" title="wires going from the port to the breadboard and on to the next switch" src="http://www.youritronics.com/wp-content/uploads/2010/10/DSC08338-Large-150x150.jpg" alt="wires going from the port to the breadboard and on to the next switch" width="150" height="150" /></a><a href="http://www.youritronics.com/wp-content/uploads/2010/10/DSC08337-Large.jpg"><img class="alignnone size-thumbnail wp-image-3424" title="wires going from the port to the breadboard and on to the next switch" src="http://www.youritronics.com/wp-content/uploads/2010/10/DSC08337-Large-150x150.jpg" alt="wires going from the port to the breadboard and on to the next switch" width="150" height="150" /></a><a href="http://www.youritronics.com/wp-content/uploads/2010/10/DSC08335-Large.jpg"><img class="alignnone size-thumbnail wp-image-3422" title="removed magnetic transformers and replaced with capacitive coupling" src="http://www.youritronics.com/wp-content/uploads/2010/10/DSC08335-Large-150x150.jpg" alt="removed magnetic transformers and replaced with capacitive coupling" width="150" height="150" /></a><a href="http://www.youritronics.com/wp-content/uploads/2010/10/less-than-1ms-link.png"><img class="alignnone size-thumbnail wp-image-3427" title="less than 1ms link with magnetic-less ethernet link" src="http://www.youritronics.com/wp-content/uploads/2010/10/less-than-1ms-link-150x150.png" alt="less than 1ms link with magnetic-less ethernet link" width="150" height="150" /></a></p>
<p>&nbsp;</p>
<p>Now that I know its working I can save space &amp; weight by implementing the real thing.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.youritronics.com/magnetic-less-ethernet/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>TPS54232 constant current source</title>
		<link>http://www.youritronics.com/tps54232-constant-current-source/</link>
		<comments>http://www.youritronics.com/tps54232-constant-current-source/#comments</comments>
		<pubDate>Fri, 15 Oct 2010 18:55:03 +0000</pubDate>
		<dc:creator>Florin</dc:creator>
				<category><![CDATA[DIY]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[LED]]></category>
		<category><![CDATA[Personal Projects]]></category>
		<category><![CDATA[constant current]]></category>
		<category><![CDATA[Power]]></category>
		<category><![CDATA[TPS54232]]></category>

		<guid isPermaLink="false">http://www.youritronics.com/?p=3391</guid>
		<description><![CDATA[In this article I continue my project where I needed a constant current source. In the previous article I talked about the first approach the LM317 constant current source which didn&#8217;t worked out that well but could of been improved as suggested by some of my readers in the comments. So I decided to use [...]]]></description>
			<content:encoded><![CDATA[<p>In this article I continue my project where I needed a <strong>constant current source</strong>. In the previous article I talked about the first approach the <a href="http://www.youritronics.com/lm317-constant-current-source/">LM317 constant current source</a> which didn&#8217;t worked out that well but could of been improved as suggested by some of my readers in the comments. So I decided to use a dc-dc converter and turn it into a constant current source. Since I&#8217;m using the <a href="http://focus.ti.com/lit/ds/symlink/tps54232.pdf">TPS54232</a> in another project and I have it around I decided to use it. This technique can also be applied to other dc-dc converters with a bit of reading on the subject.</p>
<p>I&#8217;ve started by reading <a title="TPS54160 60-V, Step-Down LED Driver Design Guide" href="http://focus.ti.com/lit/an/slva374/slva374.pdf">SLVA374</a> app report from TI which is a Step-Down LED Driver Design Guide based on the <strong>TPS54160</strong> dc-dc converter, normally used as a buck voltage regulator. The schematic from the app report can be easily adapted to our device with a few changes like adding a sense resistor and an output capacitor:</p>
<p><a href="http://www.youritronics.com/wp-content/uploads/2010/10/TPS24232-constant-current-source-schematic.png"><img class="alignnone size-medium wp-image-3402" title="TPS24232 constant current source schematic" src="http://www.youritronics.com/wp-content/uploads/2010/10/TPS24232-constant-current-source-schematic-300x123.png" alt="TPS24232 constant current source schematic" width="300" height="123" /></a><a href="http://www.youritronics.com/wp-content/uploads/2010/10/TPS24232-constant-current-source-board.png"><img class="alignnone size-medium wp-image-3401" title="TPS24232 constant current source board" src="http://www.youritronics.com/wp-content/uploads/2010/10/TPS24232-constant-current-source-board-300x135.png" alt="TPS24232 constant current source board" width="270" height="122" /></a></p>
<p>If you remember from my last post I needed 1.12 A to power the two led packs that I&#8217;ve  build connected in parallel. We have a simple equation that we use to find out the feedback resistor value: <strong>R=Vref/Io </strong>In our case Vref is 0.8V taken from TPS54232 datasheet, Io is our desired current of 1.12 A. Doing the math we get the R value = 0.71 ohms. This is not a standard value, but we can use two 1.5 ohms resistors in parallel(R1 and R2) to get 0.75 ohms which is pretty close. With 0.75 ohms feedback resistor I have 1.06A at the output which divided by 56(the number of white LED&#8217;s) means 18.9 mA for each white led.</p>
<p>We must consider the <strong>power dissipation for this resistor</strong> and we can calculate it : <strong>Pdis = Vref^2/R</strong> In our case we have Pdis = 0.8^2/0.75 = 0.85W. The only 1.5 ohms resistors that I could find locally were 5 W so I had to work with a bigger package. The EN pin is used to enable and adjust the Undervoltage Lockout but I&#8217;m not going to use that feature since my input voltage is always gonna be high enough not to cause any problems. The resistors are placed on the pcb anyways so you could use those pads and soldere the necessary resistors.</p>
<p>We also must consider the <strong>power dissipation in the low side diode</strong>. During the converter on time, the output current is provided by the internal switching FET. During the off time, the output current flows through the catch diode. The average power in the diode is given by: <strong>Pdiode = (1-Voled/Vin) * Vfd * Io , </strong>where: Vfd is the led forward voltage, Voled is the supplied output voltage and is approximated by: Voled = Nled * VLed + Vref where : Nled = number of LEDs, Vled = forward voltage drop of each LED. In my case Pdiode = (1-(4.2/12))*0.75*1.06=0.51W so I used a 2A 40V schottky diode part number CDBA240-G.</p>
<p>You would also have to consider the inductor and the input and output capacitors, but you can read all about that in the datasheet of the <strong>TPS54232</strong> or in the app report mentioned above. After I had all of my circuit figured out, I routed the board and etched it using my <a title="diy photo etching technique for pcb" href="http://www.youritronics.com/diy-printed-circuit-board-using-photo-etching-method/">photo etching technique</a>. For such a small board its not worth taking out the solder paste so I soldered it using the soldering iron, as you can see its a mix of through hole and surface mount parts but they fit together quite nice.</p>
<p><a href="http://www.youritronics.com/wp-content/uploads/2010/10/DSC08303-Large.jpg"><img class="alignnone size-large wp-image-3406" title="TPS54232 LED constant current source " src="http://www.youritronics.com/wp-content/uploads/2010/10/DSC08303-Large-1024x768.jpg" alt="TPS54232 LED constant current source pcb assembled" width="342" height="242" /></a><img class="alignnone size-large wp-image-3407" title="TPS54232 constant current source pcb" src="http://www.youritronics.com/wp-content/uploads/2010/10/DSC08304-Large-1024x768.jpg" alt="TPS54232 constant current source pcb back side" width="333" height="242" /></p>
<p>The solder drops that you can see on the back of the board are a sort of DIY thermal vias. I&#8217;m not sure how efficient they are but I gave them a try with this board, probably because I had too much time available <img src='http://www.youritronics.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> . First when I designed the board I included a area of copper in the top layer right beside the resistors. Next I drilled some 0.7 mm holes and I placed 0.7 copper wire in the wholes securing it by soldering on both sides. The trick is to make the solder joint as small as possible so it doesn&#8217;t spaces your component from the board. As I&#8217;ve said I don&#8217;t know their efficiency but I think they work, I can feel the heat transferring from one side to the other faster. If you like them you can try them.</p>
<p>The testing went smooth, the LED&#8217;s light up perfectly, no problems at all. During the testing I noticed one bug though: if the input wires are not firmly attached or secured and there is an imperfect contact the converter will tend to output less current than the programmed 1.02A. I&#8217;m not sure why this is happening, it might have something to do with the Undervoltage Lockout feature that I skipped on but I&#8217;m not sure. Anyway its not that much of a problem since once in place the power source will have the cables firmly attached so no worries. That&#8217;s why I used the cable connectors on the PCB in the first place, I knew it would save me some trouble later.</p>
<p><a href="http://www.youritronics.com/wp-content/uploads/2010/10/DSC08314-Large.jpg"><img class="alignnone size-large wp-image-3395" title="56 white LED " src="http://www.youritronics.com/wp-content/uploads/2010/10/DSC08314-Large-1024x768.jpg" alt="56 white LED " width="645" height="484" /></a></p>
<p>Now I had one last thing to do. Since this circuit is going to be operated in the outdoors the corrosion would set in pretty quickly so I improvised once again. I had this idea for quite a long time but never actually tried it. So I used my Bison universal hobby glue, which is transparent, and covered the copper traces on the PCB in glue. After it hardened, it looks like you could dip these board into water and nothing would happen to them. Well, except from the terminals which stick out of the PCB <img src='http://www.youritronics.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> . Nonetheless I think these boards will run no problems even after a few years. If you&#8217;re wondering where the bubbles come from, they form when the glue dries out <img src='http://www.youritronics.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> .</p>
<p><a href="http://www.youritronics.com/wp-content/uploads/2010/10/DSC08310-Large.jpg"><img class="alignnone size-medium wp-image-3393" title="TPS54232 constant current source covered in glue" src="http://www.youritronics.com/wp-content/uploads/2010/10/DSC08310-Large-300x225.jpg" alt="TPS54232 constant current source covered in glue" width="300" height="225" /></a><a href="http://www.youritronics.com/wp-content/uploads/2010/10/DSC08309-Large.jpg"><img class="alignnone size-medium wp-image-3392" title="white led packs pcb's covered in glue" src="http://www.youritronics.com/wp-content/uploads/2010/10/DSC08309-Large-300x225.jpg" alt="white led packs pcb's covered in glue" width="300" height="225" /></a></p>
<p>I&#8217;m pretty happy how this project ended up and I feel like I know more about LED&#8217;s and ways to power them. I&#8217;ll definitely need to experiment more with some high power LED&#8217;s, maybe use them to light my workbench. As for the efficiency of this circuit I don&#8217;t know if I&#8217;m calculating the right way because I&#8217;m using the equations from page 16 of TPS54232 datasheet, and those are clearly stated to be used only under continuous conduction mode. Since the circuit has been modified to act as a constant current source I&#8217;m not sure the same equations apply. But I did the math anyway and I got an efficiency of 75.36% and according to the same equation if I would connect the two led packs in series I would get an efficiency of 79.01%. Once again I&#8217;m not sure these calculations are correct and I ask the readers to comment on these.</p>
<p>There is more that you can do to improve the efficiency of this circuit. It turns out you can reduce the power losses in the current sense resistor by lowering the voltage across the resistor. The solution is to inject a bias voltage, but I&#8217;m not going to try this solution since I&#8217;m already happy with my design. You can read more about it in <a title="Extending Battery Life With the TPS61040 White Light LED Driver" href="http://focus.ti.com/lit/an/slea004/slea004.pdf">SLEA004</a> app report from TI.</p>
<p>Downloads:</p>
<ul>
<li><a href="http://www.youritronics.com/wp-content/uploads/2010/10/TPS54232-constant-current-source1.zip">TPS54232 constant current source Eagle files</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.youritronics.com/tps54232-constant-current-source/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
	</channel>
</rss>

