<?xml version="1.0" encoding="utf-8" ?>

<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   >
<channel>
    <title>Reconn's World Project Log - Electronics Projects</title>
    <link>http://www.reconnsworld.com/plog/</link>
    <description>ongoing projects updated incrementally</description>
    <dc:language>en</dc:language>
    <generator>Serendipity 1.3 - http://www.s9y.org/</generator>
    
    <image>
        <url>http://www.reconnsworld.com/plog/templates/rw_yellow_blue/img/s9y_banner_small.png</url>
        <title>RSS: Reconn's World Project Log - Electronics Projects - ongoing projects updated incrementally</title>
        <link>http://www.reconnsworld.com/plog/</link>
        <width>100</width>
        <height>21</height>
    </image>

<item>
    <title>OscopeCapture: Reverse Engineering the USB Protocol?</title>
    <link>http://www.reconnsworld.com/plog/archives/10-OscopeCapture-Reverse-Engineering-the-USB-Protocol.html</link>
            <category>Oscilloscope Capture Program</category>
    
    <comments>http://www.reconnsworld.com/plog/archives/10-OscopeCapture-Reverse-Engineering-the-USB-Protocol.html#comments</comments>
    <wfw:comment>http://www.reconnsworld.com/plog/wfwcomment.php?cid=10</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.reconnsworld.com/plog/rss.php?version=2.0&amp;type=comments&amp;cid=10</wfw:commentRss>
    

    <author>nospam@example.com (Andrew)</author>
    <content:encoded>
    Ideally I could use the USB port on my oscilloscope instead of the RS-232 port.  Why?  Because USB is much more commonplace, and it&#039;s probably faster.&lt;br /&gt;
&lt;br /&gt;
What&#039;s the problem then?  I don&#039;t know how to interface to the oscilloscope.&lt;br /&gt;
&lt;br /&gt;
GDS-820C uses an FTDI serial-&gt;USB converter chip for USB connectivity.  It &lt;strong&gt;should&lt;/strong&gt; be as easy as installing the drivers, and connecting via USB.&lt;br /&gt;
&lt;br /&gt;
The latest Virtual Com Port (VCP) drivers should be available for you here: http://www.ftdichip.com/Drivers/VCP.htm&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;&lt;a href=&quot;http://www.reconnsworld.com/plog/archives/10-OscopeCapture-Reverse-Engineering-the-USB-Protocol.html#extended&quot;&gt;Continue reading &quot;OscopeCapture: Reverse Engineering the USB Protocol?&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Thu, 20 Mar 2008 17:05:15 -0700</pubDate>
    <guid isPermaLink="false">http://www.reconnsworld.com/plog/archives/10-guid.html</guid>
    
</item>
<item>
    <title>OscopeCapture : Installing Environment</title>
    <link>http://www.reconnsworld.com/plog/archives/9-OscopeCapture-Installing-Environment.html</link>
            <category>Oscilloscope Capture Program</category>
    
    <comments>http://www.reconnsworld.com/plog/archives/9-OscopeCapture-Installing-Environment.html#comments</comments>
    <wfw:comment>http://www.reconnsworld.com/plog/wfwcomment.php?cid=9</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.reconnsworld.com/plog/rss.php?version=2.0&amp;type=comments&amp;cid=9</wfw:commentRss>
    

    <author>nospam@example.com (Andrew)</author>
    <content:encoded>
    I decided to write this program using python, as I&#039;ve heard many great things about python.&lt;br /&gt;
&lt;br /&gt;
Here are the packages I&#039;m using:&lt;br /&gt;
 - pyserial http://pyserial.sourceforge.net/&lt;br /&gt;
 - matplotlib http://matplotlib.sourceforge.net/&lt;br /&gt;
 - enstaller  http://code.enthought.com/enstaller/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I grabbed pserial from the project page.&lt;br /&gt;
&lt;br /&gt;
Matplotlib is a little different, I opted to download a package from Enthought (the enstaller) which will give me a graphical front end to install some handy python modules.&lt;br /&gt;
&lt;br /&gt;
I followed the &quot;Quick Installation Instructions&quot; @ http://code.enthought.com/enstaller/ &lt;br /&gt;
&lt;br /&gt;
Making sure to add the appropriate python directories to my environment path in windows:&lt;br /&gt;
&lt;img width=&#039;357&#039; height=&#039;151&#039; border=&#039;0&#039; hspace=&#039;5&#039; src=&#039;http://www.reconnsworld.com/plog/uploads/addingPythonToPath.png&#039; alt=&#039;&#039; /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&#039;http://www.reconnsworld.com/plog/uploads/enstallerGUI.png&#039;&gt;&lt;img width=&#039;110&#039; height=&#039;88&#039; border=&#039;0&#039; hspace=&#039;5&#039; align=&#039;right&#039; src=&#039;http://www.reconnsworld.com/plog/uploads/enstallerGUI.thumb.png&#039; alt=&#039;&#039; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
After that, load up a command line window and type &#039;enstaller&#039;&lt;br /&gt;
&lt;br /&gt;
this should load the gui&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;code&gt;&lt;br /&gt;
C:\Users\andrew&gt;echo %PATH%&lt;br /&gt;
C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;c:\Python25;c:\Python25\scripts&lt;br /&gt;
&lt;br /&gt;
C:\Users\andrew&gt;&lt;br /&gt;
C:\Users\andrew&gt;enstaller&lt;br /&gt;
enstaller - version 2.2.0b3 on Python 2.5&lt;br /&gt;
&lt;br /&gt;
Reading http://code.enthought.com/enstaller/eggs/windows/xp...Starting the Enstaller GUI...&lt;br /&gt;
&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
At this step I selected to install the following packages: &lt;br /&gt;
- matplotlib&lt;br /&gt;
- numpy&lt;br /&gt;
- scipy&lt;br /&gt;
- wxPython&lt;br /&gt;
&lt;br /&gt;
Afterthought: it may be better to install these packages manually..&lt;br /&gt;
&lt;br /&gt;
 
    </content:encoded>

    <pubDate>Tue, 18 Mar 2008 20:57:00 -0700</pubDate>
    <guid isPermaLink="false">http://www.reconnsworld.com/plog/archives/9-guid.html</guid>
    
</item>
<item>
    <title>Oscilloscope Waveform Capture Program Intro</title>
    <link>http://www.reconnsworld.com/plog/archives/8-Oscilloscope-Waveform-Capture-Program-Intro.html</link>
            <category>Oscilloscope Capture Program</category>
    
    <comments>http://www.reconnsworld.com/plog/archives/8-Oscilloscope-Waveform-Capture-Program-Intro.html#comments</comments>
    <wfw:comment>http://www.reconnsworld.com/plog/wfwcomment.php?cid=8</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.reconnsworld.com/plog/rss.php?version=2.0&amp;type=comments&amp;cid=8</wfw:commentRss>
    

    <author>nospam@example.com (Andrew)</author>
    <content:encoded>
    &lt;b&gt;Open Source SCPI Capture, Oscilloscope Display Program!&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Now..  What is the point of this project??&lt;br /&gt;
&lt;br /&gt;
I have an Instek Digital Storage Oscilloscope (GDS-820C) which has a USB &amp;amp; RS-232 serial connection.  It came with software to capture waveforms &amp;amp; other data over USB or RS-232 (communicating with the SCPI spec).  The problem is: the software sucks. So I decided &quot;Hey, there&#039;s an API for this oscilloscope... &lt;strong&gt;I&lt;/strong&gt; could write a better capture program.&quot;&lt;br /&gt;
&lt;br /&gt;
And that&#039;s exactly what I&#039;m doing.&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;&lt;br /&gt;
background&lt;br /&gt;
Ok, so what the hell is SCPI?  SCPI is an organization&amp;specification for electronics testing equipment.  The goal is to make different pieces of testing equipment talk the same language to the outside world.  Such as the engineer&#039;s computer that is trying to pull the data.  If all testing equipment uses the same language to send/receive data, then you could have one program that talks to &lt;strong&gt;all&lt;/strong&gt; of your pieces of equipment.  Which is really convenient.  There is more info at http://www.scpiconsortium.org/&lt;br /&gt;
&lt;/blockquote&gt;&lt;br /&gt;
&lt;br /&gt;
Tools used:&lt;br /&gt;
 - python&lt;br /&gt;
 - open source python modules&lt;br /&gt;
 - oscilloscope that supports the SCPI protocol&lt;br /&gt;
 
    </content:encoded>

    <pubDate>Tue, 18 Mar 2008 20:27:35 -0700</pubDate>
    <guid isPermaLink="false">http://www.reconnsworld.com/plog/archives/8-guid.html</guid>
    
</item>
<item>
    <title>PIC Code, Verified</title>
    <link>http://www.reconnsworld.com/plog/archives/7-PIC-Code,-Verified.html</link>
            <category>Stepper Motor Driver</category>
    
    <comments>http://www.reconnsworld.com/plog/archives/7-PIC-Code,-Verified.html#comments</comments>
    <wfw:comment>http://www.reconnsworld.com/plog/wfwcomment.php?cid=7</wfw:comment>

    <slash:comments>2</slash:comments>
    <wfw:commentRss>http://www.reconnsworld.com/plog/rss.php?version=2.0&amp;type=comments&amp;cid=7</wfw:commentRss>
    

    <author>nospam@example.com (Andrew)</author>
    <content:encoded>
    Well, the PIC18F2550 wasn&#039;t working for me so I changed to the PIC18F2520.&lt;br /&gt;
&lt;br /&gt;
I don&#039;t know why it was giving me problems, but it essentially was not letting me set the clockrate fuses correctly (and I seemed to be missing pieces out of my 18F2550.h file, compared to other people&#039;s projects I found on the net.)  The only thing I&#039;m really missing is the USB-capability of the 2550, but I wasn&#039;t going to use it anyway.&lt;br /&gt;
&lt;br /&gt;
I have completed the PIC code to read from the analog-to-digital converter, as presented in my last post.  I have also verified the duty cycle on my &lt;a href=&quot;http://www.reconnsworld.com/plog/archives/1-Instek-GDS-820C-Oscilloscope.html&quot;&gt;GDS-820C oscilloscope.&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;&lt;a href=&quot;http://www.reconnsworld.com/plog/archives/7-PIC-Code,-Verified.html#extended&quot;&gt;Continue reading &quot;PIC Code, Verified&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Wed, 05 Jul 2006 19:08:30 -0700</pubDate>
    <guid isPermaLink="false">http://www.reconnsworld.com/plog/archives/7-guid.html</guid>
    
</item>
<item>
    <title>Speed Control Dial</title>
    <link>http://www.reconnsworld.com/plog/archives/6-Speed-Control-Dial.html</link>
            <category>Stepper Motor Driver</category>
    
    <comments>http://www.reconnsworld.com/plog/archives/6-Speed-Control-Dial.html#comments</comments>
    <wfw:comment>http://www.reconnsworld.com/plog/wfwcomment.php?cid=6</wfw:comment>

    <slash:comments>1</slash:comments>
    <wfw:commentRss>http://www.reconnsworld.com/plog/rss.php?version=2.0&amp;type=comments&amp;cid=6</wfw:commentRss>
    

    <author>nospam@example.com (Andrew)</author>
    <content:encoded>
    While the stepper motor could be completely computer-controlled, I&#039;d like to be able to change the speed of the motor by turning a dial.  for this i&#039;m using a linear potentiometer from radioshack (10kohm, RadioShack #271-1715.)  I&#039;ll read the voltage off of the middle pin -- turning the potentiometer will cause this middle-pin voltage to swing from ground to +Vcc (5v in my case).  I will read this voltage in via the PIC&#039;s analog-to-digital converter and control the motor&#039;s speed accordingly.&lt;br /&gt;
&lt;br /&gt;
&lt;center&gt;&lt;img src=&quot;/stepper_driver/board_and_potentiometer.jpg&quot; width=346 height=250 alt=&quot;pic development board with potentiometer mounted&quot; /&gt;&lt;/center&gt; &lt;br /&gt;&lt;a href=&quot;http://www.reconnsworld.com/plog/archives/6-Speed-Control-Dial.html#extended&quot;&gt;Continue reading &quot;Speed Control Dial&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Wed, 28 Jun 2006 16:37:26 -0700</pubDate>
    <guid isPermaLink="false">http://www.reconnsworld.com/plog/archives/6-guid.html</guid>
    
</item>
<item>
    <title>Beginning of Stepper Driver</title>
    <link>http://www.reconnsworld.com/plog/archives/4-Beginning-of-Stepper-Driver.html</link>
            <category>Stepper Motor Driver</category>
    
    <comments>http://www.reconnsworld.com/plog/archives/4-Beginning-of-Stepper-Driver.html#comments</comments>
    <wfw:comment>http://www.reconnsworld.com/plog/wfwcomment.php?cid=4</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.reconnsworld.com/plog/rss.php?version=2.0&amp;type=comments&amp;cid=4</wfw:commentRss>
    

    <author>nospam@example.com (Andrew)</author>
    <content:encoded>
    So today I started on a pic-based stepper motor interface board.  This project is designed to interface with a seperate motor controller circuit for the actual motor control, and monitor the rpm&#039;s via a sensor -- creating a nice closed loop system.  The feedback will be via a hall effect sensor or led reflective/breakbeam setup.  I&#039;m not sure yet.  Also, eventually I will make my own motor controller circuit, but right now I&#039;m using the &lt;b&gt;BSD-02&lt;/b&gt; motor controller from &lt;a href=&quot;http://www.interinar.com/&quot;&gt;Interinar&lt;/a&gt;.  This controller will let me control a bipolar stepper motor, up to 50V @ 2amps.  Pretty nice.  I can also full-step, half-step, quarter-step, and eight-step.&lt;br /&gt;
&lt;br /&gt;
&lt;center&gt;&lt;img src=&quot;/stepper_driver/pic_and_stepper.jpg&quot; width=493 height=282 alt=&quot;PIC and stepper motor&quot; /&gt;&lt;/center&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;u&gt;System Components:&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;PIC Microcontroller:&lt;/b&gt; I&#039;m using the PIC18F2550 with an Olimex development board.  The pic will sent the control signal to the motor driver circuit.  The pic will also monitor the feedback circuit to determine the &lt;b&gt;real&lt;/b&gt; rpm.  Furthermore, the PIC will monitor a potentiometer that will be used for speed control.  Additionally the PIC will have a serial interface to a PC to display rpm, and possibly accept settings from.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Potentiometer:&lt;/b&gt; the potentiometer will control the rpm of the stepper motor.  This setting will be read by the A-to-D on the PIC.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Stepper Motor:&lt;/b&gt;  I picked up from stepper motors for cheap from my friend John at &lt;a href=&quot;http://www.engineeringhobbyist.com/&quot;&gt;engineeringhobbyist.com&lt;/a&gt; and will be using the PowerMax II stepper motors.  These suckers are rated for 1.75A operation.  1.8degree full steps.  Model #: P21NSXC-LSS-NS-03.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Stepper Motor Controller:&lt;/b&gt; like I said, I&#039;m using the Interinar BSD-02 motor controller, and may roll my own later down the road. 
    </content:encoded>

    <pubDate>Tue, 27 Jun 2006 20:12:21 -0700</pubDate>
    <guid isPermaLink="false">http://www.reconnsworld.com/plog/archives/4-guid.html</guid>
    
</item>

</channel>
</rss>