<?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>Hotsolder &#187; electronics</title>
	<atom:link href="http://www.hotsolder.com/category/electronics/feed" rel="self" type="application/rss+xml" />
	<link>http://www.hotsolder.com</link>
	<description>Electronics and other geeky pursuits!</description>
	<lastBuildDate>Sat, 31 Jul 2010 04:10:43 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Rigol DS1052E and DS1102E Delayed Trigger</title>
		<link>http://www.hotsolder.com/2010/04/rigol-ds1052e-and-ds1102e-delayed-trigger.html</link>
		<comments>http://www.hotsolder.com/2010/04/rigol-ds1052e-and-ds1102e-delayed-trigger.html#comments</comments>
		<pubDate>Tue, 27 Apr 2010 02:05:18 +0000</pubDate>
		<dc:creator>wd5gnr</dc:creator>
				<category><![CDATA[Oscilloscopes]]></category>
		<category><![CDATA[Rigol]]></category>
		<category><![CDATA[electronics]]></category>

		<guid isPermaLink="false">http://www.hotsolder.com/?p=846</guid>
		<description><![CDATA[I have an old Tek scope. A great 50MHz analog beast that was surely the envy of every engineer &#8212; well every engineer in 1976 anyway.
Of course, its a Tek so it is built like a tank and has the usual great features &#8212; for a 1976-vintage analog scope. One thing it has that is [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_847" class="wp-caption alignleft" style="width: 310px"><a href="http://www.hotsolder.com/wp-content/uploads/2010/04/screenshot_027.png"><img class="size-medium wp-image-847" title="Delayed Sweep" src="http://www.hotsolder.com/wp-content/uploads/2010/04/screenshot_027-300x222.png" alt="Delayed Sweep &quot;zooms in&quot; on part of a displayed waveform" width="300" height="222" /></a><p class="wp-caption-text">Delayed Sweep &quot;zooms in&quot; on part of a displayed waveform</p></div>
<p>I have an old Tek scope. A great 50MHz analog beast that was surely the envy of every engineer &#8212; well every engineer in 1976 anyway.</p>
<p>Of course, its a Tek so it is built like a tank and has the usual great features &#8212; for a 1976-vintage analog scope. One thing it has that is very cool is &#8220;delayed sweep.&#8221; The idea is that the scope will trigger as normal and then you can pick a fixed time delay and a different time base to actually drive the display. Huh? All that means is that while watching a regular wave form you can &#8220;zoom&#8221; in on a section of it. The delay tells you how far into the original screen to start, and the faster sweep gives you the zoom factor. The user interface for this is comical but effective. The scope has a special mode where the time delay and &#8220;zoomed&#8221; time base makes the trace very bright. So you twist the knobs until the part you want to zoom in on is bright and then you can zoom in.</p>
<p>The Rigol DS1102E (or is it a DS1052E? I forget) has the same capability, but being digital it is very simple and the user interface is much more effective. See the screen shot? The top trace shows a 32kHz PWM signal (about 4%) generated, of course, from a <a href="http://www.awce.com/gp3.htm" target="_blank">GP3</a>. The bottom trace is the &#8220;zoom in&#8221; &#8212; you can pick delayed sweep from the menus or if you are lazy just click the horizontal scale knob (did you know if you press and hold any button you&#8217;ll get help &#8212; unless you&#8217;ve uploaded unofficial firmware).</p>
<p>Once you turn on delayed sweep you get blue bars on the top that show you the part of the wave you are zooming. You can move the trace with the horizontal position knob and change the zoom level using the horizontal scale. Note that the main window (top trace) is at 10uS/division (you can read that near the bottom of the screen). But the zoomed in part is 500nS/division (right under the enlarged pulse).</p>
<p>When you have seen enough, just click the horizontal scale knob again and you are back to &#8220;undelayed trigger&#8221; or whatever you want to call it. This can be really handy when you are navigating a long buffer. The top view shows you where points of interest in the buffer are, but the bottom view shows you the detail you want.</p>
<p>What would all of this been worth in 1976? My Tek retailed for about US$2500 in its day. Amazing.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hotsolder.com/2010/04/rigol-ds1052e-and-ds1102e-delayed-trigger.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Analog Chart Recorder in Shell Script</title>
		<link>http://www.hotsolder.com/2010/04/analog-chart-recorder-in-shell-script.html</link>
		<comments>http://www.hotsolder.com/2010/04/analog-chart-recorder-in-shell-script.html#comments</comments>
		<pubDate>Sun, 25 Apr 2010 21:16:20 +0000</pubDate>
		<dc:creator>wd5gnr</dc:creator>
				<category><![CDATA[electronics]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.hotsolder.com/?p=843</guid>
		<description><![CDATA[Linux has a long history of stringing together data and processing to get new features. With the GP-3 interface board analog and digital &#8220;real world&#8221; data just become another piece of data to process using the Linux tools.
This article shows you how to string together a GP-3, some fancy shell script, a Perl script found [...]]]></description>
			<content:encoded><![CDATA[<p><div id="attachment_844" class="wp-caption alignleft" style="width: 310px"><a href="http://www.hotsolder.com/wp-content/uploads/2010/04/gp3gnuplot1.png"><img class="size-medium wp-image-844" title="Plotting the GP3" src="http://www.hotsolder.com/wp-content/uploads/2010/04/gp3gnuplot1-300x234.png" alt="GNU Plot streams data" width="300" height="234" /></a><p class="wp-caption-text">GNU Plot streaming GP3 data &quot;live&quot;</p></div>
<p>Linux has a long history of stringing together data and processing to get new features. With the <A href=http://www.awce.com/gp3.htm>GP-3</a> interface board analog and digital &#8220;real world&#8221; data just become another piece of data to process using the Linux tools.
<p><A href=http://www.awce.com/gp3gnuplot.htm>This article shows you how to string together a GP-3, some fancy shell script, a Perl script found on the Internet, and GNU Plot to make a data recorder that is flexible without writing any actual code.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hotsolder.com/2010/04/analog-chart-recorder-in-shell-script.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>GP3 Videos and a New Board On its Way</title>
		<link>http://www.hotsolder.com/2010/04/gp3-videos-and-a-new-board-on-its-way.html</link>
		<comments>http://www.hotsolder.com/2010/04/gp3-videos-and-a-new-board-on-its-way.html#comments</comments>
		<pubDate>Sat, 24 Apr 2010 04:55:44 +0000</pubDate>
		<dc:creator>wd5gnr</dc:creator>
				<category><![CDATA[electronics]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.hotsolder.com/?p=839</guid>
		<description><![CDATA[If you&#8217;ve been reading my posts about the Rigol scope you&#8217;ve probably noticed I use the GP-3 board to generate odd test signals. We have made these for a long time and they are in the most amazing number of things all over the world. But over the years we&#8217;ve heard customers ask for new [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;ve been reading my posts about the Rigol scope you&#8217;ve probably noticed I use the <a href="http://www.awce.com/gp3.htm" target="_blank">GP-3 board</a> to generate odd test signals. We have made these for a long time and they are in the most amazing number of things all over the world. But over the years we&#8217;ve heard customers ask for new or different options and we&#8217;ve thought of a few things ourselves. So within the next month there will be a new PCB option for the GP-3. The new board will have the option to be easily wired for RS232, USB, or both. It also has provisions for &#8220;regular&#8221; LEDs, screw terminals that can double as feet, and all signals brought out to the terminals. A dedicated jumper lets you set the GP3EZ program status, an improved reset switch, and provisions for a resonator or a crystal are just some of the new features you can expect.</p>
<p>These new boards will be even better for tough industrial applications and have a quieter A/D layout than the old boards. But the older boards will still be available. They cost less, are easier to work with on a solderless breadboard, and they are much smaller so they squeeze into tight spots better. But choice is good, right?</p>
<p>If you want to watch some videos about the GP3:</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="350" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="src" value="http://www.youtube.com/v/N0F-EwbCNaw" /><embed type="application/x-shockwave-flash" width="425" height="350" src="http://www.youtube.com/v/N0F-EwbCNaw"></embed></object></p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="350" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="src" value="http://www.youtube.com/v/4CbQp73t7bw" /><embed type="application/x-shockwave-flash" width="425" height="350" src="http://www.youtube.com/v/4CbQp73t7bw"></embed></object></p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="350" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="src" value="http://www.youtube.com/v/ooAmbNsl33g" /><embed type="application/x-shockwave-flash" width="425" height="350" src="http://www.youtube.com/v/ooAmbNsl33g"></embed></object></p>
<p>Oh and by the way. We&#8217;ve always supported Linux with a variety of libraries. But the GP3EZ software now runs under Linux too. If you haven&#8217;t seen GP3EZ, check out the videos.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hotsolder.com/2010/04/gp3-videos-and-a-new-board-on-its-way.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rigol Scope &#8211; Alternate Triggering</title>
		<link>http://www.hotsolder.com/2010/04/rigol-scope-alternate-triggering.html</link>
		<comments>http://www.hotsolder.com/2010/04/rigol-scope-alternate-triggering.html#comments</comments>
		<pubDate>Sat, 24 Apr 2010 04:44:59 +0000</pubDate>
		<dc:creator>wd5gnr</dc:creator>
				<category><![CDATA[Oscilloscopes]]></category>
		<category><![CDATA[Rigol]]></category>
		<category><![CDATA[electronics]]></category>

		<guid isPermaLink="false">http://www.hotsolder.com/?p=834</guid>
		<description><![CDATA[Another Rigol triggering mode is the so called &#8220;Alternate&#8221; Triggering. This reminds me of the old analog scopes with two channels, but better. In those days the time swept by and something was going to get drawn. You had your choice of &#8220;alternate&#8221; or &#8220;chop&#8221; mode. In alternate mode, each trigger caused one of your [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.hotsolder.com/wp-content/uploads/2010/04/alt.jpg"><img class="alignleft size-medium wp-image-835" title="Alternate Triggering" src="http://www.hotsolder.com/wp-content/uploads/2010/04/alt-300x219.jpg" alt="" width="300" height="219" /></a>Another Rigol triggering mode is the so called &#8220;Alternate&#8221; Triggering. This reminds me of the old analog scopes with two channels, but better. In those days the time swept by and something was going to get drawn. You had your choice of &#8220;alternate&#8221; or &#8220;chop&#8221; mode. In alternate mode, each trigger caused one of your channels to draw. The next trigger would draw the second channel. That made the traces nice and solid but you weren&#8217;t really looking at the same time on each trace. If the signals repeated together at the trigger point, it didn&#8217;t matter much. But if the signals were not exactly coordinated it could drive you crazy. Chop mode didn&#8217;t look as good, but you saw both signals at the same time because the scope would draw a little bit of channel 1 and then a little bit of channel 2 and then back up to 1 and so on.</p>
<p>Well with a digital scope there&#8217;s no need for chop mode at all. You just acquire both channels and display both on the screen which, after all, is really a random access device. So what&#8217;s alternate mode? Well suppose you are looking at two signals that don&#8217;t really have anything to do with one another. What you really want is two scopes, right? One to trigger on one signal and another to trigger on the other. You might not even want the same time scale for each channel. That&#8217;s what alternate triggering does. It splits the screen in half and each half is like an independent scope.</p>
<p>For example, see the picture at the head of this article. The top signal is another <a href="http://www.awce.com/gp3.htm" target="_blank">GP3</a> JavaScript creation. This one is a good candidate for pulse width triggering. Here&#8217;s the code:</p>
<pre>io=createGP3();</pre>
<pre>io.openPort("/dev/ttyS0");</pre>
<pre>io.setLow(6);</pre>
<pre>while (1)</pre>
<pre>{</pre>
<pre>  io.pulseOut(6,100);</pre>
<pre>  io.pulseOut(6,50);</pre>
<pre>}</pre>
<pre><span style="font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif; line-height: 19px; white-space: normal; font-size: 13px;">Just a long pulse and a short pulse over and over again. That's the top signal and a perfect candidate for pulse triggering.</span></pre>
<pre><span style="font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif; line-height: 19px; white-space: normal; font-size: 13px;">The bottom half of the screen is just the scope's 1kHz calibration signal. No worries using edge trigger there. If you trigger on either signal alone, the other one will go crazy. Notice each half is even using its own time base (200uS/div up top and 1mS/div at the bottom).  But with alternate triggering its like getting two one channel scopes out of your dual channel scope. Of course, you lose some functions (notably delayed trace, a topic I'll cover some other time). But you gain the ability to see two unrelated signals at the same time. </span></pre>
]]></content:encoded>
			<wfw:commentRss>http://www.hotsolder.com/2010/04/rigol-scope-alternate-triggering.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rigol DS1000E Pulse Triggering</title>
		<link>http://www.hotsolder.com/2010/04/rigol-ds1000e-pulse-triggering.html</link>
		<comments>http://www.hotsolder.com/2010/04/rigol-ds1000e-pulse-triggering.html#comments</comments>
		<pubDate>Sat, 24 Apr 2010 00:28:44 +0000</pubDate>
		<dc:creator>wd5gnr</dc:creator>
				<category><![CDATA[Oscilloscopes]]></category>
		<category><![CDATA[Rigol]]></category>
		<category><![CDATA[electronics]]></category>

		<guid isPermaLink="false">http://www.hotsolder.com/?p=828</guid>
		<description><![CDATA[The Rigol DS1102E/DS1052E has several interesting features and I thought I&#8217;d try to do a few blog posts highlighting the ones I found most interesting. This time, I&#8217;m going to show you &#8220;pulse triggering&#8221;.
If you are used to an analog scope, triggering is pretty simple. The idea is that when the scope sees the voltage [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_829" class="wp-caption alignleft" style="width: 310px"><a href="http://www.hotsolder.com/wp-content/uploads/2010/04/pwm-pulse-trig.jpg"><img class="size-medium wp-image-829" title="Captured PWM Pulse Train" src="http://www.hotsolder.com/wp-content/uploads/2010/04/pwm-pulse-trig-300x219.jpg" alt="Captured PWM Pulse Train" width="300" height="219" /></a><p class="wp-caption-text">Captured PWM Pulse Train</p></div>
<p>The Rigol DS1102E/DS1052E has several interesting features and I thought I&#8217;d try to do a few blog posts highlighting the ones I found most interesting. This time, I&#8217;m going to show you &#8220;pulse triggering&#8221;.</p>
<p>If you are used to an analog scope, triggering is pretty simple. The idea is that when the scope sees the voltage go above (or below if you select negative slope) some trigger level voltage, the scope starts its sweep. Once it starts, its going to go to the end. With a digital scope like the Rigol, the instrument buffers traces all the time and when the trigger event occurs, it marks some point in the buffer and then fills in the rest of the buffer. So nominally that trigger point is the center. You can look backwards at what happened before the trigger and forward to what happened after the trigger.</p>
<p>With a digital instrument you can more fun kinds of triggers. So here&#8217;s an example of where &#8220;normal&#8221; triggering isn&#8217;t really adequate. Pulse width modulation (PWM) varies a pulse train to have a particular duty cycle. For example, a 50% PWM signal might be &#8220;on&#8221; for 10uS and &#8220;off&#8221; for 10uS. This can be used to control a motor&#8217;s speed or a lamp&#8217;s brightness efficiently, among other things.</p>
<p>The <a href="http://www.awce.com/gp3.htm" target="_blank">GP3</a> board is an economical way to convert a serial port (or a USB port with a serial adapter)) into an analog and digital I/O port. There&#8217;s 8 digital I/O, 5 analog inputs, a counter, and &#8212; what I&#8217;m interested in right now &#8212; a hardware PWM output. You can actually output &#8220;bursts&#8221; of PWM on any of the digital ports, but the hardware output just keeps making a PWM signal until you reprogram it or tell it to stop.</p>
<p>You can control the GP3 with most any programming language. There are libraries for C/C++, ActiveX (VB, VBA, etc.), Java, and even more obscure languages. There is also a &#8220;point and click&#8221; interface (<a href="http://www.awce.com/gp3ez" target="_blank">GP3EZ</a>) if you don&#8217;t want to do any programming. But for the purposes of this test, I&#8217;m going to use the Java library which includes a test program that executes JavaScript. Here&#8217;s my JavaScript program:</p>
<pre>// Make a PWM "transistion" to show off Rigol pulse trigger
io=createGP3();
io.openPort("/dev/ttyS0"); // this is under Linux, like COM1 on Windows</pre>
<pre>// hardware pwm</pre>
<pre>while (1)</pre>
<pre>{</pre>
<pre>io.pwm(26,20000);  // about 10% at 20kHz</pre>
<pre>pause(500);  // wait 1/2 second</pre>
<pre>io.pwm(191,20000); // about 75% at 20kHz</pre>
<pre>pause(500);</pre>
<pre>}</pre>
<p>Pretty simple. First the board will kick out a chain of very short pulses and then switch to some very long pulses. Your job, should you decide to accept it, is to examine the time of transition &#8212; what happens when the board switches?</p>
<p>Its easy to set this up with the Rigol&#8217;s trigger:</p>
<div id="attachment_830" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.hotsolder.com/wp-content/uploads/2010/04/trig.png"><img class="size-medium wp-image-830" title="Trigger Settings" src="http://www.hotsolder.com/wp-content/uploads/2010/04/trig-300x220.png" alt="Trigger Settings" width="300" height="220" /></a><p class="wp-caption-text">Trigger Settings</p></div>
<p>The 9.47uS isn&#8217;t critical. It just needs to be bigger than the small pulses and smaller than the wide pulses. Then push the down arrow and select Single for the sweep type. This will cause the scope to get one trigger, record the data, and stop.</p>
<p>If the Run/Stop button is red then the scope has already triggered (not likely in this case). It should be green, so if it is red, push it so that it is green. Now you can run the JavaScript program (assuming your CLASSPATH is set right, <span style="text-decoration: underline;">java GP3Script pwmtest.js</span> will do it.</p>
<p>You can see the result at the start of this post. The Run/Stop button turns red and you should see something like the picture. Notice that the trigger point is marked with the T flag. It occurs AFTER it sees a pulse greater than 9.47uS. You can see that the pulse before that was in fact very narrow (the 10% pulse; about 4uS wide). So we did actually capture the exact moment that the board switched from 10% to 75%. Of course there is plenty of data to the left and the right of the trigger if you want to see more of either width pulse.</p>
<p>Don&#8217;t forget when using pulse triggering you still need to set the trigger level or the results can be unstable. You want the level high enough up the pulse to keep noise near ground level from triggering it, it seems.</p>
<p>You can select lots of options on the pulse trigger, including when a pulse is greater than a certain width, less than a certain width or equal to a certain width. You can also pick positive or negative pulses. This is a great way to let the scope watch your data instead of having to collect a lot of samples and then try to find the interesting part.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hotsolder.com/2010/04/rigol-ds1000e-pulse-triggering.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rigol Ultrascope under Linux with VirtualBox</title>
		<link>http://www.hotsolder.com/2010/04/rigol-ultrascope-under-linux-with-virtualbox.html</link>
		<comments>http://www.hotsolder.com/2010/04/rigol-ultrascope-under-linux-with-virtualbox.html#comments</comments>
		<pubDate>Fri, 23 Apr 2010 12:11:53 +0000</pubDate>
		<dc:creator>wd5gnr</dc:creator>
				<category><![CDATA[electronics]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.hotsolder.com/?p=820</guid>
		<description><![CDATA[I recently bought a Rigol DS1102E (um, well&#8230; maybe it was a DS1052E and I own a serial cable).
Being a Linux user, I wondered if Rigol&#8217;s software, Ultrascope, would work somehow on Linux. The device is USB and it shows up perfectly well as a usbtmc device, so if you want to write your own [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_822" class="wp-caption alignleft" style="width: 310px"><a href="http://www.hotsolder.com/wp-content/uploads/2010/04/ultrascope1.png"><img class="size-medium wp-image-822" title="Ultrascope in Action" src="http://www.hotsolder.com/wp-content/uploads/2010/04/ultrascope1-300x168.png" alt="Ultrascope in Action" width="300" height="168" /></a><p class="wp-caption-text">Ultrascope in Action</p></div>
<p>I recently bought a Rigol DS1102E (um, well&#8230; maybe it was a DS1052E and I <a href="http://www.eevblog.com/2010/03/31/eevblog-70-turn-your-rigol-ds1052e-oscilloscope-into-a-100mhz-ds1102e/" target="_blank">own a serial cable</a>).</p>
<p>Being a Linux user, I wondered if Rigol&#8217;s software, Ultrascope, would work somehow on Linux. The device is USB and it shows up perfectly well as a usbtmc device, so if you want to write your own software on Linux, that&#8217;s pretty easy.  But it also means not much chance of Wine running Ultrascope (although maybe with the serial cable; I didn&#8217;t try that). However, I have XP running under VirtualBox for just this sort of thing.</p>
<p>I installed the drivers and Ultrascope off the CD. Big mistake. The CD has the service manual on it and the operator&#8217;s manual, so don&#8217;t throw it away. But don&#8217;t install any software off of it either. Here&#8217;s what you need:</p>
<p>1) Latest NI Drivers: <a href="http://joule.ni.com/nidu/cds/view/p/id/1605/lang/en" target="_blank">http://joule.ni.com/nidu/cds/view/p/id/1605/lang/en</a></p>
<p>2) The Rigol USB drivers have the wrong USB ID or something on Linux is changing the ID (vendor=1ab1,pid=0588 in Linux/VirtualBox, the Rigol.inf file vendor=0400,PID=05dc). Of course, I was so smart, I changed the INF file and got it mostly working. <strong>WRONG</strong>. Use the NI driver. What that means is in Device manager, it should say &#8220;USB Test and Measurement Device&#8221; <strong><span style="text-decoration: underline;">NOT</span></strong> &#8220;Rigol USB Test and Measurement Device&#8221;. If you already have the Rigol drive installed, do an update driver, tell it to Install from a list and &#8220;Don&#8217;t search I will choose the driver to install.&#8221; If you have the NI stuff installed you should see two choices: Rigol USB Test and Measurement Device and USB Test and Measurement Device. You want the one <strong>WITHOUT</strong> Rigol in the name.</p>
<p>3) The VISA version of Ultrascope (this was my big mistake, using the &#8220;regular&#8221; version). See <a href="http://www.rigol.com/templates/T_Support_en/resources.aspx?nodeid=639&amp;contentid=1582" target="_blank">http://www.rigol.com/templates/T_Support_en/resources.aspx?nodeid=639&amp;contentid=1582</a>. Even on a &#8220;plain&#8221; Vista install the regular version had small issues.</p>
<p>Of course, for Virtualbox, you need to go to the Devices menu and &#8220;connect&#8221; the Rigol USB device (this one will say Rigol and that&#8217;s ok). You can also change your setup to add it automatically, but I&#8217;m going to assume you know how to do that.</p>
<p>And the results? Well, Ultrascope is probably of marginal value anyway. You can always dump data files and images to a USB drive right on the scope. I guess if you had a lot of setups, or wanted to use the measurement pass/fail feature. The Memory waveform will let you open the WFM files the scope dumps of waveforms, so I guess that&#8217;s something too.</p>
<p>Oh. And I haven&#8217;t tried it, but the fact that it is just using the NI VISA drivers tells me it ought to feed LabView with no problems. Of course, you could probably run that directly under Linux too.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hotsolder.com/2010/04/rigol-ultrascope-under-linux-with-virtualbox.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Velleman PCS500 Oscilloscope under Linux</title>
		<link>http://www.hotsolder.com/2009/12/velleman-pcs500-oscilloscope-under-linux.html</link>
		<comments>http://www.hotsolder.com/2009/12/velleman-pcs500-oscilloscope-under-linux.html#comments</comments>
		<pubDate>Tue, 29 Dec 2009 18:07:25 +0000</pubDate>
		<dc:creator>wd5gnr</dc:creator>
				<category><![CDATA[Oscilloscopes]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[electronics]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.hotsolder.com/?p=795</guid>
		<description><![CDATA[I like my Velleman PCS500. Its not perfect, but it does a good job and has been my &#8220;bench scope&#8221; for awhile now edging out my old faithful Tek scope for all but the most demanding jobs. However, there are two things I definitely don&#8217;t like about it. It uses a parallel port which many [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_796" class="wp-caption alignnone" style="width: 310px"><a href="http://www.hotsolder.com/wp-content/uploads/2009/12/screenshot_006.png"><img class="size-medium wp-image-796" title="screenshot_006" src="http://www.hotsolder.com/wp-content/uploads/2009/12/screenshot_006.png" alt="Velleman Software on Linux" width="300" height="234" /></a><p class="wp-caption-text">Velleman Software on Linux</p></div>
<p>I like my Velleman PCS500. Its not perfect, but it does a good job and has been my &#8220;bench scope&#8221; for awhile now edging out my old faithful Tek scope for all but the most demanding jobs. However, there are two things I definitely don&#8217;t like about it. It uses a parallel port which many of my computers no longer have and the software doesn&#8217;t run under Linux.</p>
<p>When I built my last computer I stuck a cheap PCI parallel card in it. Of course, the PCI bus puts it at some wacky address like 0xE000 and most software can&#8217;t find it. I read this article: http://www.lafraze.net/nbernard/doc/misc_tips/velleman.html but it didn&#8217;t help either since the I/O wrapper won&#8217;t work on &#8220;high ports.&#8221; For the longest time I&#8217;ve just used an old Windows laptop as my &#8220;scope&#8221; and that&#8217;s worked ok.</p>
<p>But today I finally cracked the code to running the software under Linux (see the picture). Here&#8217;s what I did:</p>
<p>1) Set the permissions on the /dev/parport0 device to 666 (or you could add your user ID to the lp group and set it to 664 or 660):<br />
sudo chmod 666 /dev/parport0</p>
<p>2) Create a new wine prefix:<br />
WINEPREFIX=~/pcs500 winecfg</p>
<p>3) Inside winecfg set the default operating system to Win98. Close winecfg.</p>
<p>4) Run the wine regedit program. Create a key under HKEY_CURRENT_USER named <tt>Software\Wine\VDM\ppdev. Create a string value named 378 and make the value /dev/parport0. This must be under Current User and not System!<br />
</tt></p>
<p>5) Download the PCLab2000SE software from Velleman and run setup like this:<br />
WINEPREFIX=~/pcs500 wine setup.exe</p>
<p>6) Finish the install then run pcs500.exe from the ~/pcs500/drive_c/Program Files/Velleman/PcLab2000SE directory:<br />
WINEPREFIX=~/pcs500 wine pcs500.exe</p>
<p>7) If you like, make a shortcut in your desktop software to launch this automatically.</p>
<p>I have noticed the software occasionally hangs up under Wine &#8212; don&#8217;t know if it is a problem with Wine or a problem with the software, but it doesn&#8217;t happen enough to be a problem.</p>
<p>Update: I can&#8217;t prove it, but it seems it mostly hangs when you switch away from the main window and then switch back (but not necessarily every time you switch). It actually doesn&#8217;t hang per se. You still get a trace, but you can&#8217;t work any of the controls. Sometimes if you play around it will respond again but mostly not. Again, I can&#8217;t prove it, but setting the main window to always be on top (or &#8220;Above Others&#8221; depending on your window manager) seems to improve the situation. It doesn&#8217;t eliminate the hangs but it seems to make them less frequent.</p>
<p>Hope that works for you!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hotsolder.com/2009/12/velleman-pcs500-oscilloscope-under-linux.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Homemade hot air pencil</title>
		<link>http://www.hotsolder.com/2008/02/homemade-hot-air-pencil.html</link>
		<comments>http://www.hotsolder.com/2008/02/homemade-hot-air-pencil.html#comments</comments>
		<pubDate>Sat, 16 Feb 2008 14:33:00 +0000</pubDate>
		<dc:creator>wd5gnr</dc:creator>
				<category><![CDATA[electronics]]></category>
		<category><![CDATA[smd]]></category>

		<guid isPermaLink="false">http://www.hotsolder.com/blog/2008/02/16/homemade-hot-air-pencil/</guid>
		<description><![CDATA[I&#8217;ve been lucky enough to own two hot air stations. An Edsyn Atmoscope which I loved to use but had some limitations on larger parts and a Aoyue hot air station which is more flexible, but not the build quality of the Edsyn.
However, because I like to tinker I&#8217;ve also tried a few home-grown solutions. [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.hotsolder.com/wp-content/uploads/2008/02/hotair1.jpg" title="Homemade hot air pencil"><img src="http://www.hotsolder.com/wp-content/uploads/2008/02/hotair1.jpg" style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer" alt="Homemade hot air pencil" height="269" width="358" /></a>I&#8217;ve been lucky enough to own two hot air stations. An Edsyn Atmoscope which I loved to use but had some limitations on larger parts and a Aoyue hot air station which is more flexible, but not the build quality of the Edsyn.</p>
<p>However, because I like to tinker I&#8217;ve also tried a few home-grown solutions. Most of these center on an aquarium pump for air and steel wool for a heat exchanger. I haven&#8217;t had good luck with these &#8212; maybe because I don&#8217;t have the right components or maybe because I&#8217;m &#8220;spoiled&#8221; with real tools.</p>
<p>The truth is, the best &#8220;cheap&#8221; results I&#8217;ve had have been with an $20 embossing gun I got on sale for $10 at Hobby Lobby. If you are handy enough with metal working to get it to accept they cheap Aoyue tips, I think it would be good enough for just about everything and they are cheap enough to replace if you burn one up.</p>
<p><a href="http://alfred73electronics.blogspot.com/2007/03/home-made-smt-desoldering-station.html">Here&#8217;s a homebrew station that looks promising though</a>. It uses part of an old hair dryer and a soda bottle for the air source. I haven&#8217;t tried it, but surely it would produce more air flow than what I&#8217;ve done in the past.</p>
<p>Another idea is to hack up a &#8220;heat gun&#8221;. <a href="http://www.instructables.com/id/INSANELY-HOT-DIY-Hot-Air-Soldering-iron-@-15-Volts">Here&#8217;s at least one </a>(plenty of other homebrew SMD irons on the same site).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hotsolder.com/2008/02/homemade-hot-air-pencil.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Random Electronic Projects</title>
		<link>http://www.hotsolder.com/2007/02/random-electronic-projects.html</link>
		<comments>http://www.hotsolder.com/2007/02/random-electronic-projects.html#comments</comments>
		<pubDate>Sun, 04 Feb 2007 16:53:00 +0000</pubDate>
		<dc:creator>wd5gnr</dc:creator>
				<category><![CDATA[electronics]]></category>

		<guid isPermaLink="false">http://www.hotsolder.com/blog/2007/02/04/random-electronic-projects/</guid>
		<description><![CDATA[A few pictures I ran across of some old projects.
I really like the Radio Shack boards that are laid out like a solderless breadboard. This is a &#8220;game show&#8221; style controller produced for a client with a Basic Stamp. The only downside to these boards is that they are one sided and the copper will [...]]]></description>
			<content:encoded><![CDATA[<p>A few pictures I ran across of some old projects.</p>
<p><a href="http://www.hotsolder.com/uploaded_images/gameshow-760930.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img src="http://www.hotsolder.com/uploaded_images/gameshow-753510.jpg" style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer" border="0" /></a>I really like the Radio Shack boards that are laid out like a solderless breadboard. This is a &#8220;game show&#8221; style controller produced for a client with a Basic Stamp. The only downside to these boards is that they are one sided and the copper will very easily delaminate if you get it too hot.</p>
<p><a href="http://www.hotsolder.com/uploaded_images/h-bridge-783375.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img src="http://www.hotsolder.com/uploaded_images/h-bridge-775620.jpg" style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer" border="0" /></a>Another client project, this one is an H-bridge for motor control, driven by a Basic Stamp and <a href="http://www.awce.com/pak5.htm">PAK PWM controller</a>.</p>
<p><a href="http://www.hotsolder.com/uploaded_images/mucha-board-752126.JPG" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img src="http://www.hotsolder.com/uploaded_images/mucha-board-749192.JPG" style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer" border="0" /></a>A board to control HVAC equipment.</p>
<p><a href="http://www.hotsolder.com/uploaded_images/starfire-706253.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img src="http://www.hotsolder.com/uploaded_images/starfire-703993.jpg" style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer" border="0" /></a></p>
<p><a href="http://www.hotsolder.com/uploaded_images/starfireasm-700719.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img src="http://www.hotsolder.com/uploaded_images/starfireasm-792828.jpg" style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer" border="0" /></a></p>
<p style="text-align: left">This StarFire board (bare and assembled) was a PIC processor used to gather, store, and transmit model rocketry telemetry. I volunteer with a group that lets high school kids learn about engineering by building <a href="http://www.asa-houston.org/">quite large rockets</a>. The PIC is riding in a socket that allows an in circuit emulator to attach. Note the two <a href="http://www.awce.com/rs1.htm">RS-1 serial boards</a> attached to produce RS232 ports. One was socketed, so the board could hook to a PC during development, but a TTL-level GPS in flight, if I recall.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hotsolder.com/2007/02/random-electronic-projects.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SMDs with the New Iron</title>
		<link>http://www.hotsolder.com/2007/02/smds-with-the-new-iron.html</link>
		<comments>http://www.hotsolder.com/2007/02/smds-with-the-new-iron.html#comments</comments>
		<pubDate>Sat, 03 Feb 2007 06:53:00 +0000</pubDate>
		<dc:creator>wd5gnr</dc:creator>
				<category><![CDATA[electronics]]></category>
		<category><![CDATA[smd]]></category>

		<guid isPermaLink="false">http://www.hotsolder.com/blog/2007/02/03/smds-with-the-new-iron/</guid>
		<description><![CDATA[Still working on the best techniques with the new solder paste, so this needs a little work. But not bad. Oh, the pictures (at 10x, 60x, and 200x) were taken with a QX-5 USB microscope. Not essential for SMD work, but nice to have.



]]></description>
			<content:encoded><![CDATA[<p>Still working on the best techniques with the new solder paste, so this needs a little work. But not bad. Oh, the pictures (at 10x, 60x, and 200x) were taken with a <a href="http://www.amazon.com/gp/redirect.html?ie=UTF8&amp;location=http%3A%2F%2Fwww.amazon.com%2FPRIME-ENTERTAINMENT-QX5-QX-5-Microscope%2Fdp%2FB0002HLKI2%2Fsr%3D8-1%2Fqid%3D1170485859%3Fie%3DUTF8%26s%3Dtoys-and-games&amp;tag=alwilliams&amp;linkCode=ur2&amp;camp=1789&amp;creative=9325">QX-5 USB microscope</a>. Not essential for SMD work, but nice to have.</p>
<p><a href="http://www.hotsolder.com/uploaded_images/sx-10x-750743.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img src="http://www.hotsolder.com/uploaded_images/sx-10x-742833.jpg" style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer" border="0" /></a></p>
<p><a href="http://www.hotsolder.com/uploaded_images/sx-60x-722790.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img src="http://www.hotsolder.com/uploaded_images/sx-60x-720241.jpg" style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer" border="0" /></a></p>
<p><a href="http://www.hotsolder.com/uploaded_images/sx-200x-727176.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img src="http://www.hotsolder.com/uploaded_images/sx-200x-725605.jpg" style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer" border="0" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.hotsolder.com/2007/02/smds-with-the-new-iron.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
