<?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>John's Junk Drawer - Experimenting</title>
    <link>http://www.johnrepici.com/serendipity/</link>
    <description>A place to put the clutter</description>
    <dc:language>en</dc:language>
    <generator>Serendipity 2.1.6 - http://www.s9y.org/</generator>
    <pubDate>Sun, 17 May 2015 22:49:41 GMT</pubDate>

    <image>
    <url>http://www.johnrepici.com/serendipity/templates/competition/img/s9y_banner_small.png</url>
    <title>RSS: John's Junk Drawer - Experimenting - A place to put the clutter</title>
    <link>http://www.johnrepici.com/serendipity/</link>
    <width>100</width>
    <height>21</height>
</image>

<item>
    <title>Open vs FreeBSD -- Night and Day</title>
    <link>http://www.johnrepici.com/serendipity/archives/190-Open-vs-FreeBSD-Night-and-Day.html</link>
            <category>Experimenting</category>
            <category>Programming</category>
            <category>Science &amp; Tech</category>
    
    <comments>http://www.johnrepici.com/serendipity/archives/190-Open-vs-FreeBSD-Night-and-Day.html#comments</comments>
    <wfw:comment>http://www.johnrepici.com/serendipity/wfwcomment.php?cid=190</wfw:comment>

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

    <author>nospam@example.com (John)</author>
    <content:encoded>
    &lt;br /&gt;&lt;br /&gt;
&lt;center&gt;&lt;br /&gt;
&lt;img src=&quot;http://johnrepici.com/Res/Blog/OpenVsFreeBSD01.jpg&quot;&gt;&lt;br /&gt;
&lt;/center&gt;&lt;br /&gt;
&lt;br /&gt;
I have switched to FreeBSD after spending a few months banging my head against OpenBSD.  OpenBSD is a nice O.S., and I really didn&#039;t want to switch, but now that I&#039;m trying FreeBSD, here are some first impressions of the differences.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight:bold&quot;&gt;Reasons to Choose &lt;span style=&quot;text-decoration:underline&quot;&gt;Free&lt;/span&gt;BSD&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
  &lt;li&gt; Would you like clear, well-written user documentation, instead of curt citations of man pages, and faq entries?  You want FreeBSD.
        &lt;p&gt;
  &lt;li&gt; Would you like to experiment with hosting MS-Windows (or Linux, or another BSD, etc.) as a guest O.S. in a virtual machine, right out of the box?  You probably want FreeBSD.
        &lt;p&gt;
  &lt;li&gt; You have an older machine with only 1/2 gig of ram, and you think you should be able to run firefox without hitting the swap file?  Free is the O.S. for you.
        &lt;p&gt;
  &lt;li&gt; You have an older computer that runs at just under 1 gighz, and you think it&#039;s reasonable to expect an O.S. to deliver decent performance from that? You need FreeBSD
        &lt;p&gt;
  &lt;li&gt; You&#039;ve invested a lot of time switching from MS-Office to OpenOffice and you don&#039;t want to have to now learn the latest other OTHER office suite?  Definitely, you want FreeBSD.
       &lt;p&gt;
  &lt;li&gt; You&#039;re an experimenter who wants to install BSD on your Raspberry Pi?  Most seem to agree, FreeBSD is a better fit for you.

&lt;/ul&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight:bold&quot;&gt;Reasons to Choose &lt;span style=&quot;text-decoration:underline&quot;&gt;Open&lt;/span&gt;BSD&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
  &lt;li&gt; You think PF (Packet Filter) is a really cool piece of software and you want to run it? OpenBSD is for you.
&lt;/ul&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight:bold&quot;&gt;And Now, for Something Completely Different&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
  &lt;li&gt; Are you a masochist who is excited by the idea of being beaten to a pulp, and left naked in the middle of the ethical, legal, and financial mine-field that is the GPL?. . . You want linux.
&lt;/ul&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 
    </content:encoded>

    <pubDate>Thu, 19 Mar 2015 13:36:00 +0000</pubDate>
    <guid isPermaLink="false">http://www.johnrepici.com/serendipity/archives/190-guid.html</guid>
    
</item>
<item>
    <title>Water Level Indicator</title>
    <link>http://www.johnrepici.com/serendipity/archives/156-Water-Level-Indicator.html</link>
            <category>Experimenting</category>
    
    <comments>http://www.johnrepici.com/serendipity/archives/156-Water-Level-Indicator.html#comments</comments>
    <wfw:comment>http://www.johnrepici.com/serendipity/wfwcomment.php?cid=156</wfw:comment>

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

    <author>nospam@example.com (John)</author>
    <content:encoded>
    An experimenter in a facebook group that I&#039;m a member of put up the following schematic. They asked for group members&#039; help to give a simple explanation of the circuit. I&#039;ve put the schematic here, so that I can give some feedback with a little space and some links.&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align:center&quot;&gt;&lt;br /&gt;
&lt;img width=&quot;95%&quot; src=&quot;http://johnrepici.com/Res/Blog/LevelMeterSm.jpg&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
The above circuit is a fluid level meter that converts the level in the container on the left into a single-digit number, from 0-9 on a seven-segment display. In this case, 0 (zero) represents the lowest level, and 9 (nine) is the highest level.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight:bold&quot;&gt;. . . . . . .&lt;br /&gt;
The Sensor&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
On the left, the level sensor is a set of ten conductors. Nine of the conductors are held high using high-resistance (560K) pull-up resistors, and one is connected directly to ground. When the water reaches a certain level it conducts between the respective conductor and ground.&lt;br /&gt;
&lt;br /&gt;
Water, in its pure form, is an insulator, but most water (including drinking water) has impurities that make it slightly conductive. It is still not a good conductor, and this is why the pull-up resistors need to have relatively high resistances. In this case, when the water covers a given conductor, the conduction path to the ground pin is enough to pull the voltage down from high to low.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight:bold&quot;&gt;. . . . . . .&lt;br /&gt;
74147 (74&lt;span style=&quot;text-decoration:underline&quot;&gt;HC&lt;/span&gt;147)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Chip name: 10-Line Decimal to 4-Line BCD (10-Line to 4-Line Priority Encoder)&lt;br /&gt;
&lt;br /&gt;
This is a 74xxx (say: &quot;Seventy-Four Hundred Series&quot;) chip that converts the &quot;level&quot; signal on its 10 input lines to a binary number representing the highest line active.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-style:italic&quot;&gt;&lt;span style=&quot;font-weight:bold&quot;&gt;Important:&lt;/span&gt;&lt;/span&gt; The inputs are &quot;active low&quot; meaning a low value (near ground) represents an active (true) line, while a high level (near 5v) represents false.&lt;br /&gt;
&lt;br /&gt;
As the water rises, it covers higher and higher pins, grounding each one it covers. Remember that, normally, these were held high by very high-value resistors. When the water provides a conductor to ground, it pulls the line down close to zero.&lt;br /&gt;
&lt;br /&gt;
Again. the 74147 places a binary number on its output, which represents the number of the highest of its input pins that are at ground. You can see this in the truth tables, here:&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.ti.com/lit/ds/symlink/sn74ls147.pdf&quot; target=&quot;_blank&quot; class=&quot;bb-url&quot;&gt;[pdf] 74147 (74HC147) datasheet&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight:bold&quot;&gt;. . . . . . .&lt;br /&gt;
What is &#039;HC&#039;?&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
The 74xxx series of chips were originally a very popular series of &lt;span style=&quot;font-style:italic&quot;&gt;&lt;a title=&quot;Glossary definition of TTL&quot; target=&quot;_blank&quot; href=&quot;http://StandOutPublishing.com/g/TTL.html&quot;&gt;TTL&lt;/a&gt;&lt;/span&gt; (Transistor-Transistor-Logic) chips. These chips, their pin-outs, and their functions have since been remade using High-speed CMOS. This is what the HC in the number signifies.  It is the old TTL chip&#039;s function and pin-out, just implemented with CMOS technology.&lt;br /&gt;
&lt;br /&gt;
Though the logic functionality and pin-outs are exactly the same as the old &lt;span style=&quot;font-style:italic&quot;&gt;&lt;a title=&quot;Glossary definition of TTL&quot; target=&quot;_blank&quot; href=&quot;http://StandOutPublishing.com/g/TTL.html&quot;&gt;TTL&lt;/a&gt;&lt;/span&gt; logic chip, the HC may be important in this circuit. This is because one advantage of &lt;span style=&quot;font-style:italic&quot;&gt;&lt;a title=&quot;Glossary definition of CMOS&quot; target=&quot;_blank&quot; href=&quot;http://StandOutPublishing.com/g/CMOS.html&quot;&gt;CMOS&lt;/a&gt;&lt;/span&gt; is that it has very high input impedance, and that may be needed to make this particular circuit work with the high resistances provided by water-conduction.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight:bold&quot;&gt;. . . . . . .&lt;br /&gt;
The Transistors and Pull-Up Resistors&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
As far as I can tell these four transistors (T1-T4) are merely used as inverters, and in this circuit, they can probably be replaced with inverters.  Essentially, the 74147 chip has an active low output (see datasheet linked above), meaning that 0 represents true. &lt;br /&gt;
&lt;br /&gt;
For example: in active-high (what most would consider &#039;normal&#039;) representations, the binary output &#039;1100&#039; is a binary representation of the decimal number &#039;12&#039; (8+4). In active-low logic, the low signal (0) is the number, so &#039;1100&#039; represents 3 (2+1).&lt;br /&gt;
&lt;br /&gt;
The input to the next chip is active-high (i.e., &#039;normal&#039;), so the output lines have to be inverted. This is the purpose served by the transistors and 33K pull-up resistors.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight:bold&quot;&gt;. . . . . . .&lt;br /&gt;
CD4511&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
This chip converts the BCD encoded number on its input to proper patterns needed to drive each segment LED in a 7-segment, common cathode (common ground) display.&lt;br /&gt;
&lt;br /&gt;
Not only does this chip convert the BCD input to the correct set of segments for each digit, it also provides high current on its outputs, in order to drive the LEDs. The resistors are current limiters and serve to protect the chip from short-circuit conditions.&lt;br /&gt;
&lt;br /&gt;
This chip is also implemented in CMOS (Complimentary Metal Oxide Silicon). Here is the data-sheet:&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.ti.com/lit/ds/symlink/cd4511b.pdf&quot; target=&quot;_blank&quot; class=&quot;bb-url&quot;&gt;[pdf] CD4511B datasheet&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight:bold&quot;&gt;. . . . . . .&lt;br /&gt;
Caveats&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
I&#039;ve not built this circuit. I&#039;ve just produced this quick analysis, by eye-balling the diagram, so that I could answer my fellow experimenter&#039;s call for feedback about it. Again: This is quick and dirty. I have not tested the circuit or my advice about it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 -djr&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;font size=&quot;-3&quot;&gt;&lt;i&gt;2012-11-01 11:09&lt;/i&gt;&lt;/font&gt;&lt;br /&gt;
 
    </content:encoded>

    <pubDate>Wed, 11 Sep 2013 15:09:00 +0000</pubDate>
    <guid isPermaLink="false">http://www.johnrepici.com/serendipity/archives/156-guid.html</guid>
    
</item>
<item>
    <title>Update on the $80 Oscilloscope</title>
    <link>http://www.johnrepici.com/serendipity/archives/153-Update-on-the-80-Oscilloscope.html</link>
            <category>Experimenting</category>
    
    <comments>http://www.johnrepici.com/serendipity/archives/153-Update-on-the-80-Oscilloscope.html#comments</comments>
    <wfw:comment>http://www.johnrepici.com/serendipity/wfwcomment.php?cid=153</wfw:comment>

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

    <author>nospam@example.com (John)</author>
    <content:encoded>
    &lt;br /&gt;&lt;br /&gt;
Finally got the intensity problem fixed on the new (used) scope. It was a couple of bad diodes and some supporting components. I tried to get the originals, but that was not going to happen in any decent time frame. &lt;br /&gt;
&lt;br /&gt;
&lt;center&gt;&lt;br /&gt;
&lt;img width=&quot;70%&quot; src=&quot;http://johnrepici.com/Res/Blog/OScopeUpdate.jpg&quot;&gt;&lt;br /&gt;
&lt;/center&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight:bold&quot;&gt;. . . . . . .&lt;br /&gt;
The Fix.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Trusty ol&#039; 1N4004 diodes don&#039;t have the fancy low-capacitance, high-switching-speed of the original diodes, but they have more than enough reverse voltage and power handling. . . Hmmm. . . would they work? YES! The scope is all calibrated now, and works like a charm. Now that the brightness works I can see what the whole Inten&#039;D thing is for (my old Heathkit scope didn&#039;t have delayed triggering). Pretty cool!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight:bold&quot;&gt;. . . . . . .&lt;br /&gt;
Summary: $80 + a little elbow grease = 35 MHz Dual Trace Scope&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
The $80 price includes the shipping cost!&lt;br /&gt;
&lt;br /&gt;
Model: JDR Instruments 3500&lt;br /&gt;
&lt;br /&gt;
Found and downloaded a free manual (images scanned into a PDF). It was needed for the schematics to fix the intensity problem, but it also included the calibration procedures.&lt;br /&gt;
&lt;br /&gt;
The guy who sold it was a bit of a sleaze bag (imo). He said, directly, that he wasn&#039;t aware of any problems, though he took a picture of it with the traces showing pulses. To me, that means he would have fiddled with the focus and intensity controls and seen that the intensity control had no effect. &lt;br /&gt;
&lt;br /&gt;
So, it had a problem with the intensity that turned out to be two different diodes in the intensity circuit (go figure).&lt;br /&gt;
&lt;br /&gt;
Now I&#039;ve got a scope that probably cost &gt;$1K new, and would cost $200-500 used in good working condition today. Not too shabby.&lt;br /&gt;
&lt;br /&gt;
 -djr&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 
    </content:encoded>

    <pubDate>Wed, 16 Nov 2011 14:18:22 +0000</pubDate>
    <guid isPermaLink="false">http://www.johnrepici.com/serendipity/archives/153-guid.html</guid>
    
</item>
<item>
    <title>A New (well, for me) Oscilloscope for the Bench!</title>
    <link>http://www.johnrepici.com/serendipity/archives/152-A-New-well,-for-me-Oscilloscope-for-the-Bench!.html</link>
            <category>Experimenting</category>
            <category>Science &amp; Tech</category>
    
    <comments>http://www.johnrepici.com/serendipity/archives/152-A-New-well,-for-me-Oscilloscope-for-the-Bench!.html#comments</comments>
    <wfw:comment>http://www.johnrepici.com/serendipity/wfwcomment.php?cid=152</wfw:comment>

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

    <author>nospam@example.com (John)</author>
    <content:encoded>
    The scope has arrived!&lt;br /&gt;
&lt;br /&gt;
It came in the mail yesterday. A used, JDR Instruments, 35 MHz, dual trace scope for $80.00 (Shipping included) on eBay!&lt;br /&gt;
&lt;br /&gt;
&lt;center&gt;&lt;br /&gt;
&lt;img width=&quot;70%&quot; src=&quot;http://johnrepici.com/Res/Blog/ScopeOnBench2.jpg&quot;&gt;&lt;br /&gt;
&lt;/center&gt;&lt;br /&gt;
&lt;br /&gt;
It had two obvious problems.&lt;br /&gt;
&lt;br /&gt;
&lt;ol&gt;
    &lt;li&gt; &lt;span style=&quot;font-weight:bold&quot;&gt;No horizontal positioning&lt;/span&gt; &amp;mdash; I was able to fix that by following wires and traces back from the front panel.&lt;p /&gt;&lt;/li&gt;

    &lt;li&gt;  &lt;span style=&quot;font-weight:bold&quot;&gt;The brightness is at full all the time&lt;/span&gt; &amp;mdash; not able to fix that without schematics.&lt;/li&gt;
&lt;/ol&gt;&lt;br /&gt;
I spent a bit of time with it, and while it needs some calibration, I haven&#039;t been able to find anything else wrong. Also cool, it has a Z input in the back, which means I&#039;ll be able to play asteroids on it &lt;img src=&quot;http://www.johnrepici.com/serendipity/templates/default/img/emoticons/smile.png&quot; alt=&quot;:-)&quot; class=&quot;emoticon&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 -djr&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 
    </content:encoded>

    <pubDate>Thu, 27 Oct 2011 16:31:10 +0000</pubDate>
    <guid isPermaLink="false">http://www.johnrepici.com/serendipity/archives/152-guid.html</guid>
    
</item>
<item>
    <title>Another Inch Out of the Ditch</title>
    <link>http://www.johnrepici.com/serendipity/archives/149-Another-Inch-Out-of-the-Ditch.html</link>
            <category>Experimenting</category>
            <category>Home Improvement</category>
    
    <comments>http://www.johnrepici.com/serendipity/archives/149-Another-Inch-Out-of-the-Ditch.html#comments</comments>
    <wfw:comment>http://www.johnrepici.com/serendipity/wfwcomment.php?cid=149</wfw:comment>

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

    <author>nospam@example.com (John)</author>
    <content:encoded>
    Finally managed to slosh enough junk around to clear the table in the foreground and then clean off the old workbench. The last time it was out from under a quarter inch of dust you needed a t-square to produce PCB layouts (see it there). The old scope smoked out as soon as I turned it on. It smelled up the whole basement.&lt;br /&gt;
&lt;br /&gt;
&lt;center&gt;&lt;br /&gt;
&lt;img src=&quot;http://johnrepici.com/Res/Blog/WorkBenchSm.jpg&quot;&gt;&lt;br /&gt;
&lt;/center&gt;&lt;br /&gt;
&lt;br /&gt;
All the bread-boarding sockets had been left completely uncovered under all the dust and in the dampness for the entire time. Nonetheless, I decided to assemble &lt;a href=&quot;http://standoutpublishing.com/Blog/archives/78-True-Random-Number-Generator-Using-Only-Logic-Gates.html&quot; target=&quot;_blank&quot; class=&quot;bb-url&quot;&gt;a small, experimental, logic circuit&lt;/a&gt; on the old breadboards and surprisingly, the circuit worked!&lt;br /&gt;
&lt;br /&gt;
So, what does it mean if, while other guys are spending time and money building man-caves, you start building a maker cave?  Well, you might just be a geek my friend. &lt;img src=&quot;http://www.johnrepici.com/serendipity/templates/default/img/emoticons/smile.png&quot; alt=&quot;:-)&quot; class=&quot;emoticon&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 
    </content:encoded>

    <pubDate>Thu, 08 Sep 2011 12:18:15 +0000</pubDate>
    <guid isPermaLink="false">http://www.johnrepici.com/serendipity/archives/149-guid.html</guid>
    
</item>

</channel>
</rss>
