<?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>Tool Archives - Digital Me</title>
	<atom:link href="https://ba0sh1.com/tag/tool/feed/" rel="self" type="application/rss+xml" />
	<link>https://ba0sh1.com/tag/tool/</link>
	<description>Electronics, Computers at leisure time</description>
	<lastBuildDate>Sun, 30 Dec 2012 15:07:30 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.1.1</generator>
	<item>
		<title>Saleae Logic PWM generator</title>
		<link>https://ba0sh1.com/2012/12/30/saleae-pwm-generator/</link>
					<comments>https://ba0sh1.com/2012/12/30/saleae-pwm-generator/#comments</comments>
		
		<dc:creator><![CDATA[Baoshi]]></dc:creator>
		<pubDate>Sun, 30 Dec 2012 15:07:30 +0000</pubDate>
				<category><![CDATA[Project]]></category>
		<category><![CDATA[Logic Analyzer]]></category>
		<category><![CDATA[PWM]]></category>
		<category><![CDATA[Saleae]]></category>
		<category><![CDATA[Tool]]></category>
		<guid isPermaLink="false">https://www.ba0sh1.com/?p=526</guid>

					<description><![CDATA[<p>In a recent project I need a 3.3V PWM signal generator. Initially I think the fastest  way to do it is using an Arduino and write a simple program with analogWrite() function....</p>
<p>The post <a rel="nofollow" href="https://ba0sh1.com/2012/12/30/saleae-pwm-generator/">Saleae Logic PWM generator</a> appeared first on <a rel="nofollow" href="https://ba0sh1.com">Digital Me</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>In a recent project I need a 3.3V PWM signal generator. Initially I think the fastest  way to do it is using an Arduino and write a simple program with analogWrite() function. But I&#8217;m too lazy to setup the breadboard&#8230; so I tried google.</p>
<p>Soon I come across a free software called &#8220;<a title="PWM Logic" href="http://www.brrrbaybay.com/index.php/pwm-logic/about" target="_blank" rel="noopener">PWM Logic</a>&#8220;. Supposedly it will turn Saleae Logic Analyzer into a PWM generator. An original Saleae Logic is somewhat too steep for my pocket right now. But I do have a cheap Chinese clone lying aroung. So I hook it up. Not surprisingly it does not work.<span id="more-526"></span></p>
<figure id="attachment_527" aria-describedby="caption-attachment-527" style="width: 600px" class="wp-caption aligncenter"><img decoding="async" class="thumbnail size-full wp-image-527" alt="Salea Logic clone" src="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2012/12/a4c97-salea-logic-clone.jpg" width="600" height="450" srcset="https://ba0sh1.com/wp-content/uploads/2012/12/a4c97-salea-logic-clone.jpg 600w, https://ba0sh1.com/wp-content/uploads/2012/12/a4c97-salea-logic-clone-300x225.jpg 300w" sizes="(max-width: 600px) 100vw, 600px" /><figcaption id="caption-attachment-527" class="wp-caption-text">Salea Logic clone</figcaption></figure>
<p>Knowing that Saleae Logic hardware is nothing but a Cypress CY68013A chip (that is why it is so easy to clone),  I decide to take a further step to reverse engineer the board and check why.</p>
<p>Some more googling leads me to the schematic of a cloned USBEE AX. USBEE AX is basically the same as Saleae except for two analog channels with limited function. On the schematic there is a 74LCV245 octal bus transceiver in between the testing terminals and CY68013A. The direction pin is connected to &#8220;DIR&#8221; net, but does not seems to link to anywhere else.</p>
<figure id="attachment_529" aria-describedby="caption-attachment-529" style="width: 300px" class="wp-caption aligncenter"><a class="thumbnail" href="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2012/12/ecbb7-schematic.jpg"><img decoding="async" loading="lazy" class="size-medium wp-image-529" alt="USBEE AX (clone) schematic" src="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2012/12/ecbb7-schematic.jpg?w=300&#038;h=157" width="300" height="157" srcset="https://ba0sh1.com/wp-content/uploads/2012/12/ecbb7-schematic.jpg 960w, https://ba0sh1.com/wp-content/uploads/2012/12/ecbb7-schematic-300x157.jpg 300w, https://ba0sh1.com/wp-content/uploads/2012/12/ecbb7-schematic-768x402.jpg 768w" sizes="(max-width: 300px) 100vw, 300px" /></a><figcaption id="caption-attachment-529" class="wp-caption-text">USBEE AX (clone) schematic</figcaption></figure>
<p>Tracing the board, the culprit is found immediately. On my Saleae clone, the 74245 direction pin is grounded, which means it can only receive signal from the terminals, not output to them. While examine the original Saleae <a href="http://electronicsjunk.com/?p=27" target="_blank" rel="noopener">teardown</a>, there is no 74245 at all, the terminals are directly connected to CY68013A (with some schottky barrier, maybe). So the Chinese copycat actually did some &#8220;innovation&#8221; to include a buffer chip, for protection?</p>
<p>Since the reason is found, the next step is simple: break the 74245 direction pin and install a jumper to select input/output function.</p>
<figure id="attachment_530" aria-describedby="caption-attachment-530" style="width: 600px" class="wp-caption aligncenter"><img decoding="async" loading="lazy" class="thumbnail size-full wp-image-530" alt="Jumper added (front)" src="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2012/12/9998e-added-jumper-front.jpg" width="600" height="450" srcset="https://ba0sh1.com/wp-content/uploads/2012/12/9998e-added-jumper-front.jpg 600w, https://ba0sh1.com/wp-content/uploads/2012/12/9998e-added-jumper-front-300x225.jpg 300w" sizes="(max-width: 600px) 100vw, 600px" /><figcaption id="caption-attachment-530" class="wp-caption-text">Jumper added (front)</figcaption></figure>
<figure id="attachment_531" aria-describedby="caption-attachment-531" style="width: 600px" class="wp-caption aligncenter"><img decoding="async" loading="lazy" class="thumbnail size-full wp-image-531" alt="Jumper added (back)" src="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2012/12/06f73-added-jumper-back.jpg" width="600" height="450" srcset="https://ba0sh1.com/wp-content/uploads/2012/12/06f73-added-jumper-back.jpg 600w, https://ba0sh1.com/wp-content/uploads/2012/12/06f73-added-jumper-back-300x225.jpg 300w" sizes="(max-width: 600px) 100vw, 600px" /><figcaption id="caption-attachment-531" class="wp-caption-text">Jumper added (back)</figcaption></figure>
<figure id="attachment_534" aria-describedby="caption-attachment-534" style="width: 600px" class="wp-caption aligncenter"><img decoding="async" loading="lazy" class="thumbnail size-full wp-image-534" alt="Finished LA/PWM box" src="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2012/12/63b74-la_pwm.jpg" width="600" height="450" srcset="https://ba0sh1.com/wp-content/uploads/2012/12/63b74-la_pwm.jpg 600w, https://ba0sh1.com/wp-content/uploads/2012/12/63b74-la_pwm-300x225.jpg 300w" sizes="(max-width: 600px) 100vw, 600px" /><figcaption id="caption-attachment-534" class="wp-caption-text">Finished LA/PWM box</figcaption></figure>
<p>Now I have a dual function Logic Analyzer / PWM Generator <img src="https://s.w.org/images/core/emoji/14.0.0/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<figure id="attachment_535" aria-describedby="caption-attachment-535" style="width: 510px" class="wp-caption aligncenter"><img decoding="async" loading="lazy" class="thumbnail size-full wp-image-535" alt="PWM Logic screen shot" src="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2012/12/56b2b-pwm-logic-sc.jpg" width="510" height="418" srcset="https://ba0sh1.com/wp-content/uploads/2012/12/56b2b-pwm-logic-sc.jpg 510w, https://ba0sh1.com/wp-content/uploads/2012/12/56b2b-pwm-logic-sc-300x246.jpg 300w" sizes="(max-width: 510px) 100vw, 510px" /><figcaption id="caption-attachment-535" class="wp-caption-text">PWM Logic screen shot</figcaption></figure>
<p>P.S. CY68013A based logic analyzer is as good as its companion software does. Saleae have put a lot of efforts into its Logic software. Buying a clone and pirate the original software is not legal.</p>
<p>Update 28/09/2013: The PWM Logic homepage seems to be down at the moment. I have a local mirror here: <a href="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2013/09/d0409-pwmlogicsetup_1_0_1_3.zip">PwmLogicSetup 1.0.1.3</a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>The post <a rel="nofollow" href="https://ba0sh1.com/2012/12/30/saleae-pwm-generator/">Saleae Logic PWM generator</a> appeared first on <a rel="nofollow" href="https://ba0sh1.com">Digital Me</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://ba0sh1.com/2012/12/30/saleae-pwm-generator/feed/</wfw:commentRss>
			<slash:comments>11</slash:comments>
		
		
			</item>
		<item>
		<title>Shopping bag</title>
		<link>https://ba0sh1.com/2012/07/18/shopping-bag/</link>
					<comments>https://ba0sh1.com/2012/07/18/shopping-bag/#respond</comments>
		
		<dc:creator><![CDATA[Baoshi]]></dc:creator>
		<pubDate>Wed, 18 Jul 2012 01:17:15 +0000</pubDate>
				<category><![CDATA[Diary]]></category>
		<category><![CDATA[iPad]]></category>
		<category><![CDATA[Shopping]]></category>
		<category><![CDATA[Tool]]></category>
		<category><![CDATA[Workbench]]></category>
		<guid isPermaLink="false">https://ba0sh1.com/?p=264</guid>

					<description><![CDATA[<p>In Singapore where hobbyist are generally understood as Gundam models collectors or Tamiya cars racers, Sim Lim Tower is probably the only market place for electronics lovers. With four stories of retro-style...</p>
<p>The post <a rel="nofollow" href="https://ba0sh1.com/2012/07/18/shopping-bag/">Shopping bag</a> appeared first on <a rel="nofollow" href="https://ba0sh1.com">Digital Me</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>In Singapore where hobbyist are generally understood as Gundam models collectors or Tamiya cars racers, Sim Lim Tower is probably the only market place for electronics lovers. With four stories of retro-style retail shops which essentially selling the same vintage, it never fails to bring me back to the good old days. I sometimes do wonder how these shops survived. Maybe because of our curriculum for the final year project never changes since 1985, or our consumers are nostalgic by nature. But one thing for sure is that the shop owners are able to turn mediocrity into magnificence. When a LED light is selling at chocolate bar&#8217;s price, it is not too hard to understand how this market works.<span id="more-264"></span> Don&#8217;t get me wrong. I didn&#8217;t mean that there is no bargain in the market. I do shop there frequently for some connectors or tools. But when I am quoted S$380 for a Chinese made hot air rework station, I&#8217;m totally turned off.</p>
<p>In the quest for alternatives I&#8217;ve tried Element14, RS Components, DigiKey, Robot-r-us, and some random ebay shops. All have their pros and cons. My personal favourite goes to China&#8217;s taobao.com. To those who are not familiar with Chinese B2C/C2C, this website is a Chinese fusion of amazon and ebay. There are millions of manufactures and private sellers setting up store front there. Virtually anything can be found, and usually without  minimal quantity. The only thing prevents overseas users from buying from taobao is you need a Chinese Alipay (copycat of paypal) account and a China mainland address. Obviously you must understand Chinese too to be able to browse the website and communicate with sellers. Dealextreme.com ventured into the communication gap. They collect orders and divert them to respective taobao suppliers, with a pretty decent margin, of course. In the early years SingPost has also looked into this market. They setup VPost, a concierge service which provides a virtual China address for delivery and then they forward to you using their SpeedPost service, at Fedex-alike charge. I used to use this often but feel too expensive for bulky items and usually I do not need the parts in a hurry.</p>
<p>With the huge influx of Chinese immigrants these years, other small concierge services pop up. And I finally found my playground&#8230; Oh sorry this is supposed to be a blog not a shopping guide. So today I collected my recent shipment from 65daigou.com. Here is a partial list:</p>
<p>ATTEN AT8586 2-in-1 SMD rework station with TONS of freebies at RMB275 (S$57). I used to have an AOYUE 8032A portable hot air gun but it has serious heat controlling problem. I hesitated between AT8586 and AT858D (as recommended by EEVBlog, again), and finally choose AT8586 because it is more compact for my limited work space. Although I&#8217;m not a fan of ATTEN brand due to the incident of their reckless copying of Rigol digital scope, their soldering equipment seems to be pretty decent quality among Chinese products.</p>
<figure id="attachment_265" aria-describedby="caption-attachment-265" style="width: 360px" class="wp-caption aligncenter"><img decoding="async" loading="lazy" class=" wp-image-265 " title="Atten Rework Station AT8586" src="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2012/07/477b6-rework-station.jpg" alt="Atten Rework Station AT8586" width="360" height="270" srcset="https://ba0sh1.com/wp-content/uploads/2012/07/477b6-rework-station.jpg 600w, https://ba0sh1.com/wp-content/uploads/2012/07/477b6-rework-station-300x225.jpg 300w" sizes="(max-width: 360px) 100vw, 360px" /><figcaption id="caption-attachment-265" class="wp-caption-text">Atten Rework Station AT8586</figcaption></figure>
<p>A LCD bracket at RMB109 (S$21.8). As I mentioned in <a title="New workbench setup" href="https://ba0sh1.com/new-workbench-setup/">previous blog</a> I&#8217;m not totally satisfied with the iPad clip. The flex arm is too stiff to be bent into the shape I wanted. So I get this LCD wall mount bracket. After some modifications I&#8217;m able to mount the iPad clip onto the ball head and now I have a super steady iPad mounting solution.</p>

<a href='https://ba0sh1.com/wp-content/uploads/2012/07/ba31b-tv-bracket.jpg'><img width="150" height="150" src="https://ba0sh1.com/wp-content/uploads/2012/07/ba31b-tv-bracket-150x150.jpg" class="attachment-thumbnail size-thumbnail" alt="TV bracket" decoding="async" loading="lazy" /></a>
<a href='https://ba0sh1.com/wp-content/uploads/2012/07/de01d-bracket-adaptor.jpg'><img width="150" height="150" src="https://ba0sh1.com/wp-content/uploads/2012/07/de01d-bracket-adaptor-150x150.jpg" class="attachment-thumbnail size-thumbnail" alt="iPad clip adaptor" decoding="async" loading="lazy" /></a>
<a href='https://ba0sh1.com/wp-content/uploads/2012/07/89be8-new-ipad-clip.jpg'><img width="150" height="150" src="https://ba0sh1.com/wp-content/uploads/2012/07/89be8-new-ipad-clip-150x150.jpg" class="attachment-thumbnail size-thumbnail" alt="Wall mount iPad clip" decoding="async" loading="lazy" /></a>
<a href='https://ba0sh1.com/wp-content/uploads/2012/07/f8cd3-workbench.jpg'><img width="150" height="150" src="https://ba0sh1.com/wp-content/uploads/2012/07/f8cd3-workbench-150x150.jpg" class="attachment-thumbnail size-thumbnail" alt="New workbench setup" decoding="async" loading="lazy" /></a>

<p>Some SMSC USB2514 chips at RMB10 (S$2) each to repair the USB hub on my Dell U2211 monitor.</p>
<p>100 pieces PCB heat transfer paper at RMB30 (S$6).</p>
<p>6000x50mm cooper plated kapton tape for making flex PCB, at RMB25 (S$5).</p>
<p>Some small USB connectors, at RMB0.2 (S$0.04) each.</p>
<p>A set of small spudger tools, two rolls of Kapton tape and some solder mask oil at RMB62.5 (S$12.5).</p>
<p>Everything weights up to 6.5KG, and I paid S$127 for the products, S$13 for agent fee and S$26 for shipping by sea. It only takes 1 week to reach Singapore, same as normal airmail (woot!)</p>
<p>So next time I know where to shop.</p>
<p>&nbsp;</p>
<p>The post <a rel="nofollow" href="https://ba0sh1.com/2012/07/18/shopping-bag/">Shopping bag</a> appeared first on <a rel="nofollow" href="https://ba0sh1.com">Digital Me</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://ba0sh1.com/2012/07/18/shopping-bag/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
