<?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>Diary Archives - Digital Me</title>
	<atom:link href="https://ba0sh1.com/category/diary/feed/" rel="self" type="application/rss+xml" />
	<link>https://ba0sh1.com/category/diary/</link>
	<description>Electronics, Computers at leisure time</description>
	<lastBuildDate>Sat, 18 Jul 2015 10:55:35 +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>Maker Faire, Yearly Review, and Rant</title>
		<link>https://ba0sh1.com/2015/07/18/maker-faire-yearly-review-rant/</link>
					<comments>https://ba0sh1.com/2015/07/18/maker-faire-yearly-review-rant/#comments</comments>
		
		<dc:creator><![CDATA[Baoshi]]></dc:creator>
		<pubDate>Sat, 18 Jul 2015 10:55:35 +0000</pubDate>
				<category><![CDATA[Diary]]></category>
		<category><![CDATA[ESP8266]]></category>
		<category><![CDATA[Makefile]]></category>
		<guid isPermaLink="false">https://www.ba0sh1.com/?p=1113</guid>

					<description><![CDATA[<p>Well I&#8217;ve been bit lapse. This post is supposed to written in July. Another year, another Maker Faire. Yes! for this year it is nolonger &#8220;Mini Maker Faire&#8221;, we&#8217;ve just upgraded to...</p>
<p>The post <a rel="nofollow" href="https://ba0sh1.com/2015/07/18/maker-faire-yearly-review-rant/">Maker Faire, Yearly Review, and Rant</a> appeared first on <a rel="nofollow" href="https://ba0sh1.com">Digital Me</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><em>Well I&#8217;ve been bit lapse. This post is supposed to written in July.</em></p>
<p>Another year, another Maker Faire. Yes! for this year it is nolonger &#8220;Mini Maker Faire&#8221;, we&#8217;ve just upgraded to the full fledged &#8220;Maker Faire&#8221; event. As Singapore Maker Faire has grown 10 times compare to 3 year ago, I am not able to cover every single booth or exhibit in the event. I only write about those I&#8217;m interested in.<span id="more-1113"></span></p>
<p>An Augmented Reality Sandbox is a perfect application of Kinect. Originate at <a title="Augmented Reality Sandbox" href="http://idav.ucdavis.edu/~okreylos/ResDev/SARndbox/" target="_blank" rel="noopener">UC Davis</a>, this construction is made by the students from <span style="color:#141823;">Temasek Secondary School.</span></p>
<figure id="attachment_1115" aria-describedby="caption-attachment-1115" style="width: 600px" class="wp-caption aligncenter"><a class="thumbnail" href="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2015/07/31485-augmented-reality-sandbox.png" target="_blank" rel="noopener"><img decoding="async" loading="lazy" class="wp-image-1115" src="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2015/07/31485-augmented-reality-sandbox.png" alt="Augmented Reality Sandbox" width="600" height="398" srcset="https://ba0sh1.com/wp-content/uploads/2015/07/31485-augmented-reality-sandbox.png 800w, https://ba0sh1.com/wp-content/uploads/2015/07/31485-augmented-reality-sandbox-300x199.png 300w, https://ba0sh1.com/wp-content/uploads/2015/07/31485-augmented-reality-sandbox-768x510.png 768w" sizes="(max-width: 600px) 100vw, 600px" /></a><figcaption id="caption-attachment-1115" class="wp-caption-text">Augmented Reality Sandbox</figcaption></figure>
<p>Benjamin Low and &#8220;<a href="http://artmakesus.com/" target="_blank" rel="noopener">Art makes us</a>&#8221; team, who made the &#8220;Synesthete’s Music Machine&#8221; last year, have came back with “Neobombe”, a simulation of   Turing machine inspired by the movie “The Imitation Game”. This setup contains 11 Arduinos driving 36 step motors. The motors spin according to the enigma decipher algorithm running at backend. Since I&#8217;m too late to write his, Ben has already published his &#8220;making-of&#8221; article <a href="http://lohjianhui.com/2015/07/19/the-making-of-the-neobombe-prototype/" target="_blank" rel="noopener">here</a>.</p>
<figure id="attachment_1116" aria-describedby="caption-attachment-1116" style="width: 600px" class="wp-caption aligncenter"><a class="thumbnail" href="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2015/07/6b6b3-neobombe.png" target="_blank" rel="noopener"><img decoding="async" loading="lazy" class="wp-image-1116" src="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2015/07/6b6b3-neobombe.png" alt="Neobombe" width="600" height="384" /></a><figcaption id="caption-attachment-1116" class="wp-caption-text">Neobombe</figcaption></figure>
<p>Leon Lim, who is the &#8220;go-to&#8221; person for DIY PCB etching in the community, bought us two day&#8217;s worth of live etching and soldering workshop. Participants have experienced PCB etching using household suppliers, drilling and soldering. The end product is a cardboard dome with colorful LED lighting, very nice!</p>
<figure id="attachment_1117" aria-describedby="caption-attachment-1117" style="width: 600px" class="wp-caption aligncenter"><a class="thumbnail" href="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2015/07/704b9-omg-asm.png" target="_blank" rel="noopener"><img decoding="async" loading="lazy" class="wp-image-1117" src="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2015/07/704b9-omg-asm.png" alt="Live etching-soldering workshop" width="600" height="526" /></a><figcaption id="caption-attachment-1117" class="wp-caption-text">Live etching-soldering workshop</figcaption></figure>
<p>This ball shaped robot is developed by IDA Labs. It travels on the ground and also in water. But I really do want to see a BB-8 leh. Maybe next year?</p>
<figure id="attachment_1118" aria-describedby="caption-attachment-1118" style="width: 600px" class="wp-caption aligncenter"><a class="thumbnail" href="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2015/07/61de7-ball-robot.png" target="_blank" rel="noopener"><img decoding="async" loading="lazy" class="wp-image-1118" src="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2015/07/61de7-ball-robot.png" alt="Ball Robot" width="600" height="450" /></a><figcaption id="caption-attachment-1118" class="wp-caption-text">Ball Robot</figcaption></figure>
<p>Here comes some heavy weight electronics project. Design by Adnan of <a href="http://www.2wattelements.com/" target="_blank" rel="noopener">2-Watt Elements,</a>  Chippy is an <del>&#8220;Intel Edison powered USB hub&#8221;</del> Intel Edison breakout board that helps developer to access Edison peripherals much much easier. Interested people please take note, Chippy is coming to market coming September.</p>
<figure id="attachment_1119" aria-describedby="caption-attachment-1119" style="width: 600px" class="wp-caption aligncenter"><a class="thumbnail" href="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2015/07/00d08-chippy.png" target="_blank" rel="noopener"><img decoding="async" loading="lazy" class="wp-image-1119" src="https://www.ba0sh1.com/wp-content/uploads/2015/07/Chippy-767x1024.png" alt="Chippy" width="600" height="800" /></a><figcaption id="caption-attachment-1119" class="wp-caption-text">Chippy</figcaption></figure>
<p>More interesting projects from local and overseas guest are better capture using video format:</p>
<p><iframe loading="lazy" title="Singapore Maker Faire 2015" width="640" height="360" src="https://www.youtube.com/embed/3S40kSZ_YzM?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe></p>
<h2>Yearly Review</h2>
<p>As I said Maker Faire is like a new year’s day to me. The past year is an exciting year, that I am able to monetize my project. I designed an <a href="https://www.ba0sh1.com/esp8266-breakout-board-im-tindie/" target="_blank" rel="noopener">ESP8266 breakout board</a> and start selling on <a href="https://www.tindie.com/products/Ba0sh1/esp8266-esp-0712-full-io-breadboard-adapter/" target="_blank" rel="noopener">Tindie</a> since February. As of today, I sold total 332 boards across 29 countries.  And this is mainly why I have not been updating this blog too frequently, because I totally underestimated the effort went into the production and sales of these boards. My initial idea was just to sell some extra pieces from my prototype lot and recover part of the cost. But in the process it becomes so welcomed that my I can hardly fulfill orders. I&#8217;ve not able to write too much code for ESP8266 either, which is a great pity.</p>
<p>A &#8220;good&#8221; news is ever since Adafruit, OLIMEX and Sparkfun start to produce their versions of ESP8266 development board, my sales drops like brick wall. But this gives me more time to work on the software side and do some new projects, stay tuned <img src="https://s.w.org/images/core/emoji/14.0.0/72x72/1f609.png" alt="😉" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<p>And since I&#8217;ve done so much on ESP8266, I can&#8217;t help bring a project to Maker Faire. So this is my selfie with ESP8266 clock. The clock synchronize time from NTP, gather temperature/humidity and push to a MQTT broker, and display MQTT messages from my webpage (more on this in the following posts).</p>
<figure id="attachment_1127" aria-describedby="caption-attachment-1127" style="width: 450px" class="wp-caption aligncenter"><img decoding="async" loading="lazy" class="wp-image-1127" src="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2015/08/32e98-esp8266-clock.png" alt="Baoshi &amp; ESP8266 MQTT Clock" width="450" height="600" srcset="https://ba0sh1.com/wp-content/uploads/2015/08/32e98-esp8266-clock.png 600w, https://ba0sh1.com/wp-content/uploads/2015/08/32e98-esp8266-clock-225x300.png 225w" sizes="(max-width: 450px) 100vw, 450px" /><figcaption id="caption-attachment-1127" class="wp-caption-text">Baoshi &amp; ESP8266 MQTT Clock</figcaption></figure>
<p>A big THANKS to Mr Teo Swee Ann and Espressif Systems to make this possible.</p>
<h2>Rant</h2>
<p>I hesitated a bit before write this part. It will hurt someone, for sure.</p>
<p>ARDUINO IS NOT ELECTRONICS!</p>
<p>I have been talking to some makers, attending some events, and people seems to mistake Arduino as the only electronics platform.</p>
<p>ARDUINO IS NOT ELECTRONICS!</p>
<p>I have to admit Arduino helps to lower the entrance barrier, bring people onboard electronics, which is fantastic. But do not claim you understand electronics because you can follow some online tutorials and create some Arduino projects.</p>
<p>The same applies to Raspberry Pi, Banana Pi, Beagle Bone, etc.</p>
<p>I don&#8217;t know whole lot of electronics either.</p>
<p>I come across the Nah&#8217;s family who present this electronics learning kit in the Maker Faire. I personally give them the best project award.</p>
<figure id="attachment_1129" aria-describedby="caption-attachment-1129" style="width: 600px" class="wp-caption aligncenter"><a href="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2015/08/eac72-electronics-learning-kit.jpg" target="_blank" rel="noopener"><img decoding="async" loading="lazy" class="wp-image-1129" src="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2015/08/eac72-electronics-learning-kit.jpg?w=1024&#038;h=768" alt="Electronics Learning Kit" width="600" height="450" /></a><figcaption id="caption-attachment-1129" class="wp-caption-text">Electronics Learning Kit</figcaption></figure>
<p>This basic components block kit immediately reminds me of the Radioshark laboratory kit (clone) I started with. There is no shortcut to learning electronics. You still have to start with basic components and Ohm&#8217;s law.</p>
<p>For more expert advise, I highly recommend this eevBLAB episode.</p>
<p><iframe loading="lazy" title="eevBLAB #10 - Why Learn Basic Electronics?" width="640" height="360" src="https://www.youtube.com/embed/zyuRcsM0gjI?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe></p>
<p>/Rant over.</p>
<p>The post <a rel="nofollow" href="https://ba0sh1.com/2015/07/18/maker-faire-yearly-review-rant/">Maker Faire, Yearly Review, and Rant</a> appeared first on <a rel="nofollow" href="https://ba0sh1.com">Digital Me</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://ba0sh1.com/2015/07/18/maker-faire-yearly-review-rant/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>Macbook Bluetooth upgrade for LightBlue Bean</title>
		<link>https://ba0sh1.com/2015/01/15/bluetooth-upgrade-lightblue-bean/</link>
					<comments>https://ba0sh1.com/2015/01/15/bluetooth-upgrade-lightblue-bean/#comments</comments>
		
		<dc:creator><![CDATA[Baoshi]]></dc:creator>
		<pubDate>Wed, 14 Jan 2015 16:18:45 +0000</pubDate>
				<category><![CDATA[Diary]]></category>
		<category><![CDATA[Project]]></category>
		<category><![CDATA[BCM94360CS2]]></category>
		<category><![CDATA[BLE]]></category>
		<category><![CDATA[Bluetooth 4.0]]></category>
		<category><![CDATA[LightBlue Bean]]></category>
		<category><![CDATA[Macbook Air]]></category>
		<guid isPermaLink="false">https://www.ba0sh1.com/?p=1024</guid>

					<description><![CDATA[<p>During last year&#8217;s blackfriday sale I was introduced to the epic Lightblue Bean &#8220;Cheaper than a turkey&#8221; promotion. I grabbed two beans during a group buy spree. A week later&#8217;s The AmpHour interview with...</p>
<p>The post <a rel="nofollow" href="https://ba0sh1.com/2015/01/15/bluetooth-upgrade-lightblue-bean/">Macbook Bluetooth upgrade for LightBlue Bean</a> appeared first on <a rel="nofollow" href="https://ba0sh1.com">Digital Me</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>During last year&#8217;s blackfriday sale I was introduced to the epic L<a title="Lightblue Bean" href="https://punchthrough.com/bean/" target="_blank" rel="noopener">ightblue Bean</a> &#8220;Cheaper than a turkey&#8221; promotion. I grabbed two beans during a group buy spree. A week later&#8217;s The AmpHour <a title="The AmpHour EP226" href="http://www.theamphour.com/226-an-interview-with-colin-karpfinger-blendling-bean-brio/" target="_blank" rel="noopener">interview with Colin Karpfinger</a> justifies that my purchase is not purely impulsive. However I did make a mistake. I was under the impression that a Mac computer is sufficient to program the bean, but actually only recently Macs are supported, whereas my &#8220;Late 2010&#8221; Macbook Air is on the exclusion list due to the lack of Bluetooth 4.0 / Low Energy profile.</p>
<p><span id="more-1024"></span></p>
<p>Digging into BLE upgrade for Macbook Air Late 2010 results in many solutions. The best resource seems to be the &#8220;<a title="Continuity-Activation-Tool" href="https://github.com/dokterdok/Continuity-Activation-Tool/" target="_blank" rel="noopener">Continuity-Activation-Tool</a>&#8221; project, which is made to enable &#8220;Continuity&#8221; feature on old Mac computers. Since &#8220;Continuity&#8221; depends on BLE, I suppose this will work with Lightblue Bean. For my model of Macbook, the suggestion is either to add a USB dongle or replace the Airport Extreme card. My poor Macbook only has two USB ports, so replace the Airport Extreme card seems to be the way to go.</p>
<p>The suitable replacement Airport Extreme card with BLE is BCM94360CS2. It can be purchased from eBay or Taobao at reasonable price (~US$20). The kind seller also included a Pentalobe screw driver in the package, which proves to be a life saver later.</p>
<figure id="attachment_1025" aria-describedby="caption-attachment-1025" style="width: 600px" class="wp-caption aligncenter"><a class="thumbnail" href="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2015/01/abf13-bcm94360cs2.jpg" target="_blank" rel="noopener"><img decoding="async" loading="lazy" class="wp-image-1025" src="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2015/01/abf13-bcm94360cs2.jpg" alt="BCM94360CS2" width="600" height="450" srcset="https://ba0sh1.com/wp-content/uploads/2015/01/abf13-bcm94360cs2.jpg 800w, https://ba0sh1.com/wp-content/uploads/2015/01/abf13-bcm94360cs2-300x225.jpg 300w, https://ba0sh1.com/wp-content/uploads/2015/01/abf13-bcm94360cs2-768x576.jpg 768w" sizes="(max-width: 600px) 100vw, 600px" /></a><figcaption id="caption-attachment-1025" class="wp-caption-text">BCM94360CS2</figcaption></figure>
<p>For record purpose here are the screenshot of Bluetooth and WiFi page in &#8220;System Information&#8221; before replacement:</p>
<figure id="attachment_1026" aria-describedby="caption-attachment-1026" style="width: 600px" class="wp-caption aligncenter"><a class="thumbnail" href="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2015/01/3065a-bt-after-replacement.png" target="_blank" rel="noopener"><img decoding="async" loading="lazy" class="wp-image-1026" src="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2015/01/3065a-bt-after-replacement.png" alt="Bluetooth before card replacement" width="600" height="439" srcset="https://ba0sh1.com/wp-content/uploads/2015/01/3065a-bt-after-replacement.png 863w, https://ba0sh1.com/wp-content/uploads/2015/01/3065a-bt-after-replacement-300x220.png 300w, https://ba0sh1.com/wp-content/uploads/2015/01/3065a-bt-after-replacement-768x562.png 768w" sizes="(max-width: 600px) 100vw, 600px" /></a><figcaption id="caption-attachment-1026" class="wp-caption-text">Bluetooth before card replacement</figcaption></figure>
<figure id="attachment_1027" aria-describedby="caption-attachment-1027" style="width: 600px" class="wp-caption aligncenter"><a class="thumbnail" href="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2015/01/62664-wifi-before-replacement.png" target="_blank" rel="noopener"><img decoding="async" loading="lazy" class="wp-image-1027" src="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2015/01/62664-wifi-before-replacement.png" alt="WiFi before card replacement" width="600" height="439" srcset="https://ba0sh1.com/wp-content/uploads/2015/01/62664-wifi-before-replacement.png 863w, https://ba0sh1.com/wp-content/uploads/2015/01/62664-wifi-before-replacement-300x220.png 300w, https://ba0sh1.com/wp-content/uploads/2015/01/62664-wifi-before-replacement-768x562.png 768w" sizes="(max-width: 600px) 100vw, 600px" /></a><figcaption id="caption-attachment-1027" class="wp-caption-text">WiFi before card replacement</figcaption></figure>
<p>Open the back cover of Macbook Air *REQUIRES* the pentalobe screw driver, and never assume a multi-head screw driver set will contain one.</p>
<p>The original Airport Extreme card has a mouthful BCM943224PCIEBT2 model number. There are two ipx antenna connectors on board, assuming one for Bluetooth and one for WiFi.</p>
<figure id="attachment_1028" aria-describedby="caption-attachment-1028" style="width: 600px" class="wp-caption aligncenter"><a class="thumbnail" href="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2015/01/99fd6-bcm943224pciebt2.jpg" target="_blank" rel="noopener"><img decoding="async" loading="lazy" class="wp-image-1028" src="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2015/01/99fd6-bcm943224pciebt2.jpg" alt="BCM943224PCIEBT2" width="600" height="450" srcset="https://ba0sh1.com/wp-content/uploads/2015/01/99fd6-bcm943224pciebt2.jpg 800w, https://ba0sh1.com/wp-content/uploads/2015/01/99fd6-bcm943224pciebt2-300x225.jpg 300w, https://ba0sh1.com/wp-content/uploads/2015/01/99fd6-bcm943224pciebt2-768x576.jpg 768w" sizes="(max-width: 600px) 100vw, 600px" /></a><figcaption id="caption-attachment-1028" class="wp-caption-text">BCM943224PCIEBT2</figcaption></figure>
<p>My Macbook Air has 11 inch screen. The card placement is different from most online pictures which are for 13inch model. On the 13 inch model the card has longer edge parallel to the casing, but for 11 inch it is perpendicular. It is also reported on many online resources that the antenna cable has to be rerouted to reach the new card. It seems unnecessary for my 11 inch model. I can easily fit the two cables.</p>
<figure id="attachment_1030" aria-describedby="caption-attachment-1030" style="width: 600px" class="wp-caption aligncenter"><a class="thumbnail" href="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2015/01/5312b-bcm94360cs2-replaced.jpg" target="_blank" rel="noopener"><img decoding="async" loading="lazy" class="wp-image-1030" src="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2015/01/5312b-bcm94360cs2-replaced.jpg" alt="BCM94360CS2 replaced" width="600" height="450" srcset="https://ba0sh1.com/wp-content/uploads/2015/01/5312b-bcm94360cs2-replaced.jpg 800w, https://ba0sh1.com/wp-content/uploads/2015/01/5312b-bcm94360cs2-replaced-300x225.jpg 300w, https://ba0sh1.com/wp-content/uploads/2015/01/5312b-bcm94360cs2-replaced-768x576.jpg 768w" sizes="(max-width: 600px) 100vw, 600px" /></a><figcaption id="caption-attachment-1030" class="wp-caption-text">BCM94360CS2 replaced</figcaption></figure>
<p>At the moment I have no idea which antenna is to fit into which socket. But my random connecting seems to be working. Also noted that the new card is longer than the old one, so the mounting hole is no longer fit. However the socket is tight enough to keep the card in place.</p>
<p>I assemble the back cover and turn on power. Not surprisingly everything &#8220;just works&#8221;. No error and no &#8220;install driver&#8221; kinds of message at all. Even the Wireless LAN password and Bluetooth paired devices list are preserved. Here are the system information after replacement:</p>
<figure id="attachment_1031" aria-describedby="caption-attachment-1031" style="width: 600px" class="wp-caption aligncenter"><a class="thumbnail" href="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2015/01/82561-bt-after-replacement1.png" target="_blank" rel="noopener"><img decoding="async" loading="lazy" class="wp-image-1031" src="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2015/01/82561-bt-after-replacement1.png" alt="Bluetooth after card replacement" width="600" height="439" srcset="https://ba0sh1.com/wp-content/uploads/2015/01/82561-bt-after-replacement1.png 863w, https://ba0sh1.com/wp-content/uploads/2015/01/82561-bt-after-replacement1-300x220.png 300w, https://ba0sh1.com/wp-content/uploads/2015/01/82561-bt-after-replacement1-768x562.png 768w" sizes="(max-width: 600px) 100vw, 600px" /></a><figcaption id="caption-attachment-1031" class="wp-caption-text">Bluetooth after card replacement</figcaption></figure>
<figure id="attachment_1032" aria-describedby="caption-attachment-1032" style="width: 600px" class="wp-caption aligncenter"><a class="thumbnail" href="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2015/01/9fc22-wifi-after-replacement.png" target="_blank" rel="noopener"><img decoding="async" loading="lazy" class="wp-image-1032" src="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2015/01/9fc22-wifi-after-replacement.png" alt="WiFi after card replacement" width="600" height="439" srcset="https://ba0sh1.com/wp-content/uploads/2015/01/9fc22-wifi-after-replacement.png 863w, https://ba0sh1.com/wp-content/uploads/2015/01/9fc22-wifi-after-replacement-300x220.png 300w, https://ba0sh1.com/wp-content/uploads/2015/01/9fc22-wifi-after-replacement-768x562.png 768w" sizes="(max-width: 600px) 100vw, 600px" /></a><figcaption id="caption-attachment-1032" class="wp-caption-text">WiFi after card replacement</figcaption></figure>
<p>The Bean Loader seems to be happy with the new card as well.</p>
<figure id="attachment_1033" aria-describedby="caption-attachment-1033" style="width: 600px" class="wp-caption aligncenter"><a class="thumbnail" href="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2015/01/a2282-bean-loader.png" target="_blank" rel="noopener"><img decoding="async" loading="lazy" class="wp-image-1033" src="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2015/01/a2282-bean-loader.png" alt="Bean Loader" width="600" height="369" srcset="https://ba0sh1.com/wp-content/uploads/2015/01/a2282-bean-loader.png 686w, https://ba0sh1.com/wp-content/uploads/2015/01/a2282-bean-loader-300x185.png 300w" sizes="(max-width: 600px) 100vw, 600px" /></a><figcaption id="caption-attachment-1033" class="wp-caption-text">Bean Loader</figcaption></figure>
<p>As a &#8220;side effect&#8221;, the &#8220;Continuity&#8221; feature works without any tweaking, together with the &#8220;AirDrop&#8221; functionality. The replacement worth every cents of it!</p>
<p>&nbsp;</p>
<p>The post <a rel="nofollow" href="https://ba0sh1.com/2015/01/15/bluetooth-upgrade-lightblue-bean/">Macbook Bluetooth upgrade for LightBlue Bean</a> appeared first on <a rel="nofollow" href="https://ba0sh1.com">Digital Me</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://ba0sh1.com/2015/01/15/bluetooth-upgrade-lightblue-bean/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>Happy New Year from ESP8266</title>
		<link>https://ba0sh1.com/2014/12/31/happy-new-year/</link>
					<comments>https://ba0sh1.com/2014/12/31/happy-new-year/#comments</comments>
		
		<dc:creator><![CDATA[Baoshi]]></dc:creator>
		<pubDate>Wed, 31 Dec 2014 13:33:39 +0000</pubDate>
				<category><![CDATA[Diary]]></category>
		<category><![CDATA[Project]]></category>
		<category><![CDATA[ESP8266]]></category>
		<category><![CDATA[OLED]]></category>
		<category><![CDATA[SSD1306]]></category>
		<guid isPermaLink="false">https://www.ba0sh1.com/?p=1016</guid>

					<description><![CDATA[<p>Happy New Year! The application is made with ESP8266 RTOS SDK. SSD1306 based OLED panel is connected on GPIO4/5 using software emulated I2C. I rushed this out last night and the code...</p>
<p>The post <a rel="nofollow" href="https://ba0sh1.com/2014/12/31/happy-new-year/">Happy New Year from ESP8266</a> appeared first on <a rel="nofollow" href="https://ba0sh1.com">Digital Me</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Happy New Year!</p>
<p><span id="more-1016"></span></p>
<p><iframe loading="lazy" title="Happy New Year" width="640" height="360" src="https://www.youtube.com/embed/h-lI6ucDg8M?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe></p>
<p>The application is made with ESP8266<a title="esp_iot_rtos_sdk" href="https://github.com/espressif/esp_iot_rtos_sdk"> RTOS SDK</a>. SSD1306 based OLED panel is connected on GPIO4/5 using software emulated I2C. I rushed this out last night and the code is in a mess now.To prevent bad influence I&#8217;ll release the code after I reorganize them.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>The post <a rel="nofollow" href="https://ba0sh1.com/2014/12/31/happy-new-year/">Happy New Year from ESP8266</a> appeared first on <a rel="nofollow" href="https://ba0sh1.com">Digital Me</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://ba0sh1.com/2014/12/31/happy-new-year/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>Season&#8217;s Greeting from VFDuino</title>
		<link>https://ba0sh1.com/2014/12/24/seasons-greeting-vfduino/</link>
					<comments>https://ba0sh1.com/2014/12/24/seasons-greeting-vfduino/#respond</comments>
		
		<dc:creator><![CDATA[Baoshi]]></dc:creator>
		<pubDate>Wed, 24 Dec 2014 13:52:16 +0000</pubDate>
				<category><![CDATA[Diary]]></category>
		<category><![CDATA[Project]]></category>
		<category><![CDATA[Arduino]]></category>
		<category><![CDATA[VFD]]></category>
		<guid isPermaLink="false">https://www.ba0sh1.com/?p=1011</guid>

					<description><![CDATA[<p>To all my readers: Wish you a very Merry Christmas. VFDuino, Arduino compatible Vacuum Fluorescent Display module. Open source release imminent.</p>
<p>The post <a rel="nofollow" href="https://ba0sh1.com/2014/12/24/seasons-greeting-vfduino/">Season&#8217;s Greeting from VFDuino</a> appeared first on <a rel="nofollow" href="https://ba0sh1.com">Digital Me</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>To all my readers:</p>
<p>Wish you a very Merry Christmas.</p>
<p><span id="more-1011"></span></p>
<p><iframe loading="lazy" title="Wish everyone a very Merry Christmas." width="640" height="360" src="https://www.youtube.com/embed/aww5O6wBgbw?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe></p>
<p>VFDuino, Arduino compatible Vacuum Fluorescent Display module. Open source release imminent.</p>
<p>The post <a rel="nofollow" href="https://ba0sh1.com/2014/12/24/seasons-greeting-vfduino/">Season&#8217;s Greeting from VFDuino</a> appeared first on <a rel="nofollow" href="https://ba0sh1.com">Digital Me</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://ba0sh1.com/2014/12/24/seasons-greeting-vfduino/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Singapore Mini Maker Faire 2014, from Visitor to Maker</title>
		<link>https://ba0sh1.com/2014/07/31/singapore-mini-maker-faire-2014-visitor-maker/</link>
					<comments>https://ba0sh1.com/2014/07/31/singapore-mini-maker-faire-2014-visitor-maker/#comments</comments>
		
		<dc:creator><![CDATA[Baoshi]]></dc:creator>
		<pubDate>Thu, 31 Jul 2014 15:56:38 +0000</pubDate>
				<category><![CDATA[Diary]]></category>
		<category><![CDATA[Maker Faire]]></category>
		<guid isPermaLink="false">https://www.ba0sh1.com/?p=963</guid>

					<description><![CDATA[<p>Singapore Mini Maker Faire has entered into the 3rd year. Being at the right time (long weekend) and right location (community club), the turn out is overwhelming. Same overwhelming is the wide range of...</p>
<p>The post <a rel="nofollow" href="https://ba0sh1.com/2014/07/31/singapore-mini-maker-faire-2014-visitor-maker/">Singapore Mini Maker Faire 2014, from Visitor to Maker</a> appeared first on <a rel="nofollow" href="https://ba0sh1.com">Digital Me</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Singapore Mini Maker Faire has entered into the 3rd year. Being at the right time (long weekend) and right location (community club), the turn out is overwhelming. Same overwhelming is the wide range of exhibits, which are far beyond what I can put into words.</p>
<p><span id="more-963"></span></p>
<p>Giant cardboard structures have become the signature for almost all Singapore maker events. This time we are welcomed by a friendly LED T-Rex.  Interested to see the making of it? Do watch the <a title="Science Festival 2014 : Cardboard T-rex Buildup" href="https://www.youtube.com/watch?v=l1mEwdSsiCI" target="_blank" rel="noopener">time lapse video</a> by it&#8217;s creator <a title="Bart" href="https://www.facebook.com/butternomilk" target="_blank" rel="noopener">Bartholomew Ting</a>.</p>
<figure id="attachment_966" aria-describedby="caption-attachment-966" style="width: 640px" class="wp-caption aligncenter"><a href="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2014/07/9ce19-cardboard-trex.png" target="_blank" rel="noopener"><img decoding="async" loading="lazy" class="thumbnail wp-image-966" src="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2014/07/9ce19-cardboard-trex.png" alt="Cardboard T-Rex" width="640" height="425" srcset="https://ba0sh1.com/wp-content/uploads/2014/07/9ce19-cardboard-trex.png 800w, https://ba0sh1.com/wp-content/uploads/2014/07/9ce19-cardboard-trex-300x199.png 300w, https://ba0sh1.com/wp-content/uploads/2014/07/9ce19-cardboard-trex-768x510.png 768w" sizes="(max-width: 640px) 100vw, 640px" /></a><figcaption id="caption-attachment-966" class="wp-caption-text">Cardboard T-Rex</figcaption></figure>
<p>The presence of <a title="SL2" href="http://www.sl2square.org/" target="_blank" rel="noopener">Sustainable Living Lab</a> in the Maker faire had been growing each year. I give my personal &#8220;best project&#8221; award to the Mech Pong by David Teo and team. Watch the video to see how well it is constructed.</p>
<p><iframe loading="lazy" title="Mech Pong by SL2" width="640" height="360" src="https://www.youtube.com/embed/Aw4M9-BLV5M?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe></p>
<p>For the first time Colin of the Destruction Squad put up a non-stopping live tear down show. Kids love it. Remember I first took grandpa&#8217;s drawer locker apart, and trying to put back&#8230; What a mind-opening exploration&#8230; (~~ don&#8217;t turn it on, take it apart ~~)</p>
<figure id="attachment_977" aria-describedby="caption-attachment-977" style="width: 640px" class="wp-caption aligncenter"><a href="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2014/07/002e4-teardown-at-smmf14.png" target="_blank" rel="noopener"><img decoding="async" loading="lazy" class="thumbnail wp-image-977" src="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2014/07/002e4-teardown-at-smmf14.png" alt="Teardown at SMMF14" width="640" height="425" srcset="https://ba0sh1.com/wp-content/uploads/2014/07/002e4-teardown-at-smmf14.png 800w, https://ba0sh1.com/wp-content/uploads/2014/07/002e4-teardown-at-smmf14-300x199.png 300w, https://ba0sh1.com/wp-content/uploads/2014/07/002e4-teardown-at-smmf14-768x510.png 768w" sizes="(max-width: 640px) 100vw, 640px" /></a><figcaption id="caption-attachment-977" class="wp-caption-text">Teardown at SMMF14</figcaption></figure>
<p>Maker <a title="Leon Lim" href="http://gylim78.blogspot.sg/" target="_blank" rel="noopener">Leon Lim</a> a.k.a circuit board man brought us a Christmas bag with bling bling electronics. Check the &#8220;double layer&#8221; construction.</p>
<figure id="attachment_980" aria-describedby="caption-attachment-980" style="width: 639px" class="wp-caption aligncenter"><a href="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2014/07/6299e-sewable-electronics.png" target="_blank" rel="noopener"><img decoding="async" loading="lazy" class="thumbnail wp-image-980" src="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2014/07/6299e-sewable-electronics.png" alt="Sewable electronics bag" width="639" height="426" srcset="https://ba0sh1.com/wp-content/uploads/2014/07/6299e-sewable-electronics.png 800w, https://ba0sh1.com/wp-content/uploads/2014/07/6299e-sewable-electronics-300x200.png 300w, https://ba0sh1.com/wp-content/uploads/2014/07/6299e-sewable-electronics-768x512.png 768w" sizes="(max-width: 639px) 100vw, 639px" /></a><figcaption id="caption-attachment-980" class="wp-caption-text">Sewable electronics bag</figcaption></figure>
<p>Of course circuit board man always comes with circuit boards. He is also doing live demonstration of PCB etching using household products. And he just wrote a very nice <a title="The DIY PCB making guide" href="http://gylim78.blogspot.sg/2014/07/the-diy-pcb-making-guide.html" target="_blank" rel="noopener">guide</a>!</p>
<figure id="attachment_981" aria-describedby="caption-attachment-981" style="width: 640px" class="wp-caption aligncenter"><a href="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2014/07/06573-home-etching-pcb.png" target="_blank" rel="noopener"><img decoding="async" loading="lazy" class="thumbnail wp-image-981" src="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2014/07/06573-home-etching-pcb.png" alt="Home etching PCB" width="640" height="426" srcset="https://ba0sh1.com/wp-content/uploads/2014/07/06573-home-etching-pcb.png 800w, https://ba0sh1.com/wp-content/uploads/2014/07/06573-home-etching-pcb-300x200.png 300w, https://ba0sh1.com/wp-content/uploads/2014/07/06573-home-etching-pcb-768x512.png 768w" sizes="(max-width: 640px) 100vw, 640px" /></a><figcaption id="caption-attachment-981" class="wp-caption-text">Home etching PCB</figcaption></figure>
<p>Another project which has particular interest to me is the &#8220;Synesthete&#8217;s Music Machine&#8221; by Benjamin Low and team. The machine captures images and synthesis sound based on the colour. Listening it for a while and gradually you can imaging the colour just from the sound. Sorry it may sound dull from engineer&#8217;s description. &#8220;Art Makes Us&#8221; is Ben&#8217;s slogan, and yes designing such a project is art, and implementation is just minor engineering efforts.</p>
<figure id="attachment_983" aria-describedby="caption-attachment-983" style="width: 640px" class="wp-caption aligncenter"><a href="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2014/07/c99b3-synesthetes-music-machine.png" target="_blank" rel="noopener"><img decoding="async" loading="lazy" class="thumbnail wp-image-983" src="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2014/07/c99b3-synesthetes-music-machine.png" alt="Synesthete's music machine" width="640" height="425" srcset="https://ba0sh1.com/wp-content/uploads/2014/07/c99b3-synesthetes-music-machine.png 800w, https://ba0sh1.com/wp-content/uploads/2014/07/c99b3-synesthetes-music-machine-300x199.png 300w, https://ba0sh1.com/wp-content/uploads/2014/07/c99b3-synesthetes-music-machine-768x510.png 768w" sizes="(max-width: 640px) 100vw, 640px" /></a><figcaption id="caption-attachment-983" class="wp-caption-text">Synesthete&#8217;s music machine</figcaption></figure>
<p>I like two types of projects, that are particularly complex, or that are particularly  clever. The <a title="Homopolar motor" href="http://en.wikipedia.org/wiki/Homopolar_motor" target="_blank" rel="noopener">Homopolar Motor</a> is the later. Originally invented by Michael Faraday almost 200 years ago, it still amazes me.</p>
<p><iframe loading="lazy" title="Homopolar motor" width="640" height="480" src="https://www.youtube.com/embed/PIagNV7L0ws?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe></p>
<p>More amazing founding is from the Centre for Quantum Technologies of NUS. Mr Nick Lewty shows us Magnetic levitation of superconductor.</p>
<p><iframe loading="lazy" title="Magnetic levitation of superconductor" width="640" height="360" src="https://www.youtube.com/embed/_4yYXaANOe0?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe></p>
<p>Just like previous two years, 3D printer takes a huge stage of the exhibits. While I&#8217;m a bit tired of the stereotyped RepRap derivatives, this year we have a locally designed 3D printer AMaker3D. This is a totally production level printer with well designed enclosure, nice touch interface and superb output quality (0.2mm resolution). Both mechanics and electronics are redesigned. And most impressively all the work are done by two lady engineers Shu Fen and Siew Hong within one year&#8217;s time! Please check their <a title="AMaker3D" href="https://www.amaker3d.com/" target="_blank" rel="noopener">website</a> and their successful KickStarter <a title="AMaker3D" href="https://www.kickstarter.com/projects/amaker3d/amaker-worlds-first-dual-arm-open-source-3d-printe" target="_blank" rel="noopener">campaign</a>. Support the local initiatives.</p>
<figure id="attachment_986" aria-describedby="caption-attachment-986" style="width: 640px" class="wp-caption aligncenter"><a href="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2014/07/ac56a-amaker3d.png" target="_blank" rel="noopener"><img decoding="async" loading="lazy" class="thumbnail wp-image-986" src="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2014/07/ac56a-amaker3d.png?w=1024&#038;h=680" alt="AMaker3D" width="640" height="425" srcset="https://ba0sh1.com/wp-content/uploads/2014/07/ac56a-amaker3d.png 2144w, https://ba0sh1.com/wp-content/uploads/2014/07/ac56a-amaker3d-300x199.png 300w, https://ba0sh1.com/wp-content/uploads/2014/07/ac56a-amaker3d-1024x680.png 1024w, https://ba0sh1.com/wp-content/uploads/2014/07/ac56a-amaker3d-768x510.png 768w, https://ba0sh1.com/wp-content/uploads/2014/07/ac56a-amaker3d-1536x1020.png 1536w, https://ba0sh1.com/wp-content/uploads/2014/07/ac56a-amaker3d-2048x1360.png 2048w, https://ba0sh1.com/wp-content/uploads/2014/07/ac56a-amaker3d-1568x1041.png 1568w" sizes="(max-width: 640px) 100vw, 640px" /></a><figcaption id="caption-attachment-986" class="wp-caption-text">AMaker3D</figcaption></figure>
<p>And let me have the shameless self-promoting in the end. This year I finally participated Maker Faire as a Maker. Together with Ridwan, Astrid and See Tho, we put up a project named B.en.G &#8211; Bicycle Energy Generator. We use a traditional bicycle dynamo and transform the output into a handphone charger. We also collect statistics data such as power generated, rider&#8217;s speed and total travelling distance. After two days of exhibition our bicycle has travelled more than 300km, and generated about 10wh of energy for charging. Although the amount of power is barely enough to charge 2 handphones, we wanted to deliver the message that energy is precious resource, and harvesting energy from routine activities is both necessary and convenient.</p>
<figure id="attachment_989" aria-describedby="caption-attachment-989" style="width: 640px" class="wp-caption aligncenter"><a href="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2014/07/6b23b-beng.png" target="_blank" rel="noopener"><img decoding="async" loading="lazy" class="thumbnail wp-image-989" src="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2014/07/6b23b-beng.png?w=1024&#038;h=768" alt="B.en.G" width="640" height="480" srcset="https://ba0sh1.com/wp-content/uploads/2014/07/6b23b-beng.png 2560w, https://ba0sh1.com/wp-content/uploads/2014/07/6b23b-beng-300x225.png 300w, https://ba0sh1.com/wp-content/uploads/2014/07/6b23b-beng-1024x768.png 1024w, https://ba0sh1.com/wp-content/uploads/2014/07/6b23b-beng-768x576.png 768w, https://ba0sh1.com/wp-content/uploads/2014/07/6b23b-beng-1536x1152.png 1536w, https://ba0sh1.com/wp-content/uploads/2014/07/6b23b-beng-2048x1536.png 2048w, https://ba0sh1.com/wp-content/uploads/2014/07/6b23b-beng-1568x1176.png 1568w" sizes="(max-width: 640px) 100vw, 640px" /></a><figcaption id="caption-attachment-989" class="wp-caption-text">B.en.G</figcaption></figure>
<p>I don&#8217;t know how you feel, but I feel Maker Faire is like a new year&#8217;s day to me. This is the time when I look into the past and check what I&#8217;ve achieved. I would say the best thing I did last year was to step out of my room and participate in many community events, also made a lot of friends. For the blog site I wrote 6 new articles, of which some are quoted directly or indirectly by Hackaday, Dangerous Prototypes, freetronics, or other sources. My site has accumulated 36,942 visits, averaging 105 visits/day as of 2014, increased from 55 visits/day of 2013. This year is of tremendous fun.</p>
<p>&nbsp;</p>
<p>The post <a rel="nofollow" href="https://ba0sh1.com/2014/07/31/singapore-mini-maker-faire-2014-visitor-maker/">Singapore Mini Maker Faire 2014, from Visitor to Maker</a> appeared first on <a rel="nofollow" href="https://ba0sh1.com">Digital Me</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://ba0sh1.com/2014/07/31/singapore-mini-maker-faire-2014-visitor-maker/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>FlappyDuino &#8211; Arduino Day 2014 celebration</title>
		<link>https://ba0sh1.com/2014/03/29/flappyduino-arduino-day-2014-celebration/</link>
					<comments>https://ba0sh1.com/2014/03/29/flappyduino-arduino-day-2014-celebration/#comments</comments>
		
		<dc:creator><![CDATA[Baoshi]]></dc:creator>
		<pubDate>Fri, 28 Mar 2014 16:01:25 +0000</pubDate>
				<category><![CDATA[Diary]]></category>
		<category><![CDATA[Project]]></category>
		<category><![CDATA[Arduino]]></category>
		<category><![CDATA[Distance Sensor]]></category>
		<category><![CDATA[TFT]]></category>
		<guid isPermaLink="false">https://www.ba0sh1.com/?p=915</guid>

					<description><![CDATA[<p>March 29 2014 is Arduino&#8217;s 10 years birthday, also the World&#8217;s Arduino Day. In conjunction with the global celebration, SG Makers in partnership with IDA is organizing a whole series of events for Singapore Arduino lovers....</p>
<p>The post <a rel="nofollow" href="https://ba0sh1.com/2014/03/29/flappyduino-arduino-day-2014-celebration/">FlappyDuino &#8211; Arduino Day 2014 celebration</a> appeared first on <a rel="nofollow" href="https://ba0sh1.com">Digital Me</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>March 29 2014 is Arduino&#8217;s 10 years birthday, also the World&#8217;s Arduino Day. In conjunction with the global celebration, <a title="SGMakers" href="http://sgmakers.com/" target="_blank" rel="noopener">SG Makers</a> in partnership with <a title="IDA" href="http://www.ida.gov.sg/" target="_blank" rel="noopener">IDA</a> is organizing a whole series of events for Singapore Arduino lovers. And I was invited to showcase some Arduino projects.<span id="more-915"></span></p>
<p>Being not too much dedicated to Arduino, I have to quickly put up something demo-able. And since I&#8217;ve been playing with display devices often, I decided to make an Arduino graphics project. After two weeks, I finished my first Arduino game &#8212; FlappyDuino (thanks SG Makers William Hooi for inventing the name).</p>
<p>The project hardware is really simple. It only contains an Arduino Pro Mini, a ST7735 SPI TFT panel and a distance sensor (Sharp GP2Y0A21YK0F, which I used before in <a title="Project Crystal (Part 1)" href="https://www.ba0sh1.com/project-crystal-part-1/" target="_blank" rel="noopener">Project Crystal</a>). I have put the KiCAD schematic, PCB and Arduino sketch code at <a title="FlappyDuino" href="https://github.com/baoshi/FlappyDuino" target="_blank" rel="noopener">https://github.com/baoshi/FlappyDuino</a>. Feel free to download and criticise my code.</p>
<p>Lazy me also think a video is worth thousands of words.</p>
<p><iframe loading="lazy" title="FlappyDuino" width="640" height="360" src="https://www.youtube.com/embed/uOS7CkUbVWU?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe></p>
<p>Happy Birthday Arduino!</p>
<p>The post <a rel="nofollow" href="https://ba0sh1.com/2014/03/29/flappyduino-arduino-day-2014-celebration/">FlappyDuino &#8211; Arduino Day 2014 celebration</a> appeared first on <a rel="nofollow" href="https://ba0sh1.com">Digital Me</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://ba0sh1.com/2014/03/29/flappyduino-arduino-day-2014-celebration/feed/</wfw:commentRss>
			<slash:comments>5</slash:comments>
		
		
			</item>
		<item>
		<title>JTAG adapter for Arduino Micro</title>
		<link>https://ba0sh1.com/2013/12/31/jtag-adapter-arduino-micro/</link>
					<comments>https://ba0sh1.com/2013/12/31/jtag-adapter-arduino-micro/#comments</comments>
		
		<dc:creator><![CDATA[Baoshi]]></dc:creator>
		<pubDate>Tue, 31 Dec 2013 14:55:14 +0000</pubDate>
				<category><![CDATA[Diary]]></category>
		<category><![CDATA[Project]]></category>
		<category><![CDATA[Arduino]]></category>
		<category><![CDATA[AVR]]></category>
		<category><![CDATA[JTAG]]></category>
		<category><![CDATA[JTAGICE3]]></category>
		<guid isPermaLink="false">https://www.ba0sh1.com/?p=848</guid>

					<description><![CDATA[<p>For the holiday season I get myself an AVR JTAGICE3. Holding the new shiny emulator and a bunch of Arduino boards, what shall I do? Of course to hop onto the all-hail...</p>
<p>The post <a rel="nofollow" href="https://ba0sh1.com/2013/12/31/jtag-adapter-arduino-micro/">JTAG adapter for Arduino Micro</a> appeared first on <a rel="nofollow" href="https://ba0sh1.com">Digital Me</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>For the holiday season I get myself an AVR JTAGICE3. Holding the new shiny emulator and a bunch of Arduino boards, what shall I do? Of course to hop onto the all-hail Atmel Studio and ditch the toy-alike Arduino software. Reason being? Debugging Arduino code with serial console is no fun. I need my single steps, breakpoints and watches back. In fact the Arduino boards seems to be more valuable (to me) without the software. The onboard ISP connector seems to be standard and it &#8220;just works&#8221; with JTAGICE3. Well, I had this &#8220;just works&#8221; impression until I tried it on the new Arduino Micro board&#8230;<span id="more-848"></span></p>
<p>Make the story straight. The Atmel ISP connector combines SPI bus and RESET signal. SPI is used for downloading program, and RESET implements Atmel&#8217;s &#8220;debugWire&#8221; on-chip debug system. debugWire OCD is a very fancy protocol that uses only one RESET pin to debug. ATmega328p supports debugWire, and hence the ISP connector on Arduino UNO can be used for debugging. Arduino Micro uses a newer ATmega32U4 chip. Surprisingly debugWire is missing from the product datasheet, instead JTAG is listed. JTAG uses 4 I/O pins,  from Arduino Micro schematic we can see the JTAG pins (TDI/TDO/TMS/TCK) are multiplexed with analog pin A0-A3. It appears I have to sacrifice these analog pins for the JTAG interface.</p>
<figure id="attachment_854" aria-describedby="caption-attachment-854" style="width: 288px" class="wp-caption aligncenter"><img decoding="async" loading="lazy" class="size-full wp-image-854  " title="JTAG pins on Arduino Micro" alt="JTAG pins on Arduino Micro" src="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2013/12/c611b-atmega32u4-jtag.png" width="288" height="196" /><figcaption id="caption-attachment-854" class="wp-caption-text">JTAG pins on Arduino Micro</figcaption></figure>
<p>JTAGICE3 comes with a 10-pin JTAG header, with the definition as follows:</p>
<figure id="attachment_855" aria-describedby="caption-attachment-855" style="width: 133px" class="wp-caption aligncenter"><img decoding="async" loading="lazy" class="size-full wp-image-855 " title="JTAG header" alt="JTAG header" src="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2013/12/863a1-jtag-header.png" width="133" height="135" /><figcaption id="caption-attachment-855" class="wp-caption-text">JTAGICE3 JTAG Pinout</figcaption></figure>
<p>All I need to do is to make an adapter connecting these pins:</p>
<figure id="attachment_857" aria-describedby="caption-attachment-857" style="width: 462px" class="wp-caption aligncenter"><a class="thumbnail" href="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2013/12/590aa-arduino-micro-jtag.png" target="_blank" rel="noopener"><img decoding="async" loading="lazy" class=" wp-image-857  " title="JTAG on Arduino Micro" alt="JTAG on Arduino Micro" src="https://www.ba0sh1.com/wp-content/uploads/2013/12/Arduino-Micro-JTAG-1024x423.png" width="462" height="191" /></a><figcaption id="caption-attachment-857" class="wp-caption-text">JTAG on Arduino Micro</figcaption></figure>
<p>The actual construction is done on a perf board. I made it Arduino &#8220;Shield&#8221; type so they can be simply stacked together.</p>
<figure id="attachment_859" aria-describedby="caption-attachment-859" style="width: 600px" class="wp-caption aligncenter"><a class="thumbnail" href="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2013/12/756bb-arduino-micro-jtag-shield.png"><img decoding="async" loading="lazy" class="size-full wp-image-859" alt="Arduino Micro JTAG Shield" src="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2013/12/756bb-arduino-micro-jtag-shield.png" width="600" height="450" srcset="https://ba0sh1.com/wp-content/uploads/2013/12/756bb-arduino-micro-jtag-shield.png 600w, https://ba0sh1.com/wp-content/uploads/2013/12/756bb-arduino-micro-jtag-shield-300x225.png 300w" sizes="(max-width: 600px) 100vw, 600px" /></a><figcaption id="caption-attachment-859" class="wp-caption-text">Arduino Micro JTAG Shield</figcaption></figure>
<p>I admit it looks quite dangerous when stacked up <img src="https://s.w.org/images/core/emoji/14.0.0/72x72/1f62e.png" alt="😮" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<figure id="attachment_861" aria-describedby="caption-attachment-861" style="width: 600px" class="wp-caption aligncenter"><a class="thumbnail" href="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2013/12/74d25-arduino-micro-with-jtag.png" target="_blank" rel="noopener"><img decoding="async" loading="lazy" class="size-full wp-image-861 " alt="JTAG connected" src="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2013/12/74d25-arduino-micro-with-jtag.png" width="600" height="450" srcset="https://ba0sh1.com/wp-content/uploads/2013/12/74d25-arduino-micro-with-jtag.png 600w, https://ba0sh1.com/wp-content/uploads/2013/12/74d25-arduino-micro-with-jtag-300x225.png 300w" sizes="(max-width: 600px) 100vw, 600px" /></a><figcaption id="caption-attachment-861" class="wp-caption-text">JTAG connected</figcaption></figure>
<p>I hook up JTAGICE3 and choose JTAG interface in Atmel Studio. And no surprise. Murphy gets me everytime! &#8220;[ERROR] No JTAG devices detected.&#8221; is the only reply I get. I Scratch my head several hours then to realize how stupid I were. Since the pins PF4-PF7 have been used as analog inputs for Arduino, how can JTAG establish connection with these pins! And the resolution is simple: connect using ISP header and enable the JTAGEN fuse bit. Now I feel the usefulness of ISP connector.</p>
<figure id="attachment_862" aria-describedby="caption-attachment-862" style="width: 560px" class="wp-caption aligncenter"><a class="thumbnail" href="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2013/12/2863d-enable-jtagen.png" target="_blank" rel="noopener"><img decoding="async" loading="lazy" class=" wp-image-862  " alt="Enable JTAGEN Fuse" src="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2013/12/2863d-enable-jtagen.png" width="560" height="480" srcset="https://ba0sh1.com/wp-content/uploads/2013/12/2863d-enable-jtagen.png 700w, https://ba0sh1.com/wp-content/uploads/2013/12/2863d-enable-jtagen-300x257.png 300w" sizes="(max-width: 560px) 100vw, 560px" /></a><figcaption id="caption-attachment-862" class="wp-caption-text">Enable JTAGEN Fuse</figcaption></figure>
<p>I can finally talk to ATmega32U4 using JTAG and do some debugging. The coming year will be interesting <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>
<p>&nbsp;</p>
<p>The post <a rel="nofollow" href="https://ba0sh1.com/2013/12/31/jtag-adapter-arduino-micro/">JTAG adapter for Arduino Micro</a> appeared first on <a rel="nofollow" href="https://ba0sh1.com">Digital Me</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://ba0sh1.com/2013/12/31/jtag-adapter-arduino-micro/feed/</wfw:commentRss>
			<slash:comments>7</slash:comments>
		
		
			</item>
		<item>
		<title>FT230X charger detection investigation</title>
		<link>https://ba0sh1.com/2013/11/08/ft230x-charger-detection-investigation/</link>
					<comments>https://ba0sh1.com/2013/11/08/ft230x-charger-detection-investigation/#comments</comments>
		
		<dc:creator><![CDATA[Baoshi]]></dc:creator>
		<pubDate>Fri, 08 Nov 2013 15:28:41 +0000</pubDate>
				<category><![CDATA[Diary]]></category>
		<category><![CDATA[Project]]></category>
		<category><![CDATA[Charger]]></category>
		<category><![CDATA[FT230X]]></category>
		<category><![CDATA[FT230XS]]></category>
		<category><![CDATA[USB Power]]></category>
		<guid isPermaLink="false">https://www.ba0sh1.com/?p=786</guid>

					<description><![CDATA[<p>I bought some FT230X (FT230XS) USB-USART bridge chip recently for a new design.  FT230X is not only cheaper than the traditional FT232RL, but also offers a new fancy &#8220;USB charger detection&#8221; function....</p>
<p>The post <a rel="nofollow" href="https://ba0sh1.com/2013/11/08/ft230x-charger-detection-investigation/">FT230X charger detection investigation</a> appeared first on <a rel="nofollow" href="https://ba0sh1.com">Digital Me</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>I bought some FT230X (FT230XS) USB-USART bridge chip recently for a new design.  FT230X is not only cheaper than the traditional FT232RL, but also offers a new fancy &#8220;USB charger detection&#8221; function. This interests me because I&#8217;m quickly running out of desk space and power socket. I wish the new device to be solely powered by USB and/or battery.</p>
<p><span id="more-786"></span>Designing a proper USB powered device is no simple task, this is because:</p>
<ol>
<li>If the device needs more the 100mA current, it is only allowed to draw that amount after requesting from host during USB enumeration. Some USB hosts, for example the down stream port on a bus-powered USB hub, is only able to provide maximum 100mA. So the device must be intelligent enough to differentiate the host types.</li>
<li>USB sleep mode current limitation must be considered as well.</li>
<li>I also wish the device to operate autonomously without a PC. That means it must accept power from &#8220;dummy&#8221; USB hosts such as a USB charger.</li>
</ol>
<p>Clearly point (3) conflicts with points (1) and (2) because USB charger cannot be enumerated and does not have sleep mode. And this is why I&#8217;m interested in FT230XS&#8217;s &#8220;USB charger detection&#8221; function.</p>
<p>A thorough test is still needed. According to the datasheet, FT230XS supports detection of battery charger which conforms to the USB <a title="USB Battery Charging Specification" href="http://www.usb.org/developers/devclass_docs/BCv1.2_011912.zip" target="_blank" rel="noopener">BC1.2</a> specification. AFAIK many USB chargers, notably those made by Apple, are not BC1.2 compatible. Whether FT230XS can detect those chargers is not specified in the datasheet.</p>
<p>A quick background about USB power supply and USB charging: the original USB specification limits the USB downstream current to 500mA (after enumeration).  However 500mA is too low to charge battery powered devices such as a smartphone. <a title="USB Battery Charging Specification" href="http://www.usb.org/developers/devclass_docs/BCv1.2_011912.zip" target="_blank" rel="noopener">BC1.2</a> was then specified, which introduced &#8220;Charging Downstream Port (CDP)&#8221; and &#8220;Decicated Charging Port (DCP)&#8221;. A DCP internally shorts &#8220;D+&#8221; and &#8220;D-&#8221; together. When DCP is detected, the device may draw as much as 1.8A from the port. Identification for CDP is much complicated and outside the scope of my interest  (because I have no CDP compliant host), more readings can be found <a title="The Basics of USB Battery Charging: A Survival Guide" href="http://www.maximintegrated.com/app-notes/index.mvp/id/4803" target="_blank" rel="noopener">here</a>.</p>
<p>While looks simple on paper, the actual USB charging situation is much more complicated. Reason being that USB charging specification came too late and vendors have been inventing their own charging protocols. Notably:</p>
<ol>
<li>Apple has been inventing USB charging protocol since iPod days (check out the hardwork <a title="iCharging" href="http://learn.adafruit.com/minty-boost/icharging" target="_blank" rel="noopener">here</a>). The charger&#8217;s capability is identified by the voltages on D+ and D- lines, as:
<ul>
<li>(D+,D-) = (2.0V, 2.0V) -&gt; 500mA (iPod charger)</li>
<li>(D+,D-) = (2.8V, 2.0V) -&gt; 1A (iPhone charger)</li>
<li>(D+,D-) = (2.0V, 2.8V) -&gt; 2A (iPad charger)</li>
</ul>
</li>
<li>Chinese standard <a title="Chinese USB Charging Standards" href="http://www.digikey.com/Web%20Export/Supplier%20Content/PI_596/PDF/PowerInt_ChinaUSB.pdf?redirected=1" target="_blank" rel="noopener">YD/T 1591-2006</a>. Which is basically the same as BC 1.2, shorting D+ and D-.</li>
<li>European smartphone charging standards says a 200Ω resister must be connected in-between D+ and D- to identify a charger.</li>
</ol>
<p>FT230XS is very easy to use. I made a simple testing board using a SSOP-16 breakout adaptor. The contact was was plucked from a USB header and glued to the breakout adaptor. Chip under test is FT230XS, Rev D, date code 1243.</p>
<figure id="attachment_795" aria-describedby="caption-attachment-795" style="width: 360px" class="wp-caption aligncenter"><a class="thumbnail" href="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2013/10/f0aba-ft230xs-breakout.png" target="_blank" rel="noopener"><img decoding="async" loading="lazy" class=" wp-image-795 " alt="FT230XS breakout board" src="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2013/10/f0aba-ft230xs-breakout.png" width="360" height="359" srcset="https://ba0sh1.com/wp-content/uploads/2013/10/f0aba-ft230xs-breakout.png 600w, https://ba0sh1.com/wp-content/uploads/2013/10/f0aba-ft230xs-breakout-300x300.png 300w, https://ba0sh1.com/wp-content/uploads/2013/10/f0aba-ft230xs-breakout-150x150.png 150w" sizes="(max-width: 360px) 100vw, 360px" /></a><figcaption id="caption-attachment-795" class="wp-caption-text">FT230XS breakout board</figcaption></figure>
<p>I further mount the adaptor onto a breadboard and connect 3 LEDs onto the CBUS pins. The configuration of the colors are:</p>
<ul>
<li>Yellow &#8211; BCD#, should light up when charger is detected.</li>
<li>Red &#8211; PWEN#, indicates required power negotiated.</li>
<li>Green &#8211; SLEEP#, should light up when USB enters sleep mode (host suspend).</li>
</ul>
<figure id="attachment_796" aria-describedby="caption-attachment-796" style="width: 360px" class="wp-caption aligncenter"><a class="thumbnail" href="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2013/10/915af-ft230xs-breadboard.png" target="_blank" rel="noopener"><img decoding="async" loading="lazy" class=" wp-image-796 " alt="FT230XS on breadboard" src="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2013/10/915af-ft230xs-breadboard.png" width="360" height="270" srcset="https://ba0sh1.com/wp-content/uploads/2013/10/915af-ft230xs-breadboard.png 600w, https://ba0sh1.com/wp-content/uploads/2013/10/915af-ft230xs-breadboard-300x225.png 300w" sizes="(max-width: 360px) 100vw, 360px" /></a><figcaption id="caption-attachment-796" class="wp-caption-text">FT230XS on breadboard</figcaption></figure>
<p>The chip is programmed using official FT_Prog utility. Power required is set to 500mA. I would skip all the testing procedures and note down the results here:</p>
<p><strong>Testing with PC USB port</strong></p>
<p>Scenario 1. Connect to a PC USB port when PC is running: Green LED (SLEEP#) lit up then all LEDs turn off shortly. Windows start to find driver. Red LED (PWEN#) lit up when Windows starts to download driver from Windows Update. Red LED stays on after driver installed.</p>
<p>Scenario 2. While FT230XS still connected, put Windows into sleep mode: Red LED (PWEN#) off and Green LED (SLEEP#) lit up, indicating sleep mode.</p>
<p>Scenario 3. Resume windows: Green LED off, Red LED lit up, indicating power enable.</p>
<p>Scenario 4. Unplug FT230XS, put Windows into sleep mode and plug the FT230XS: Red LED off, Green LED lit up, indicating sleep mode.</p>
<p>Scenario 5. While FT230XS is still connected, shutdown PC: Green LED still on, indicating sleep mode.</p>
<p>Scenario 6. Unplug FT230xS, shutdown PC and plug FT230XS back: Green LED lit up, indicating sleep mode.</p>
<p><strong>Testing with PC USB through a self-powered USB hub:</strong></p>
<p>Same as previous results.</p>
<p><strong>Testing with PC USB through a bus-powered USB hub:</strong></p>
<p>Unfortunately all my USB hubs report themselves as self-powered even if they are not. I had to modify a hub into bus-powered. Bus-powered hub can be identified in Windows Device Manager as:</p>
<figure id="attachment_799" aria-describedby="caption-attachment-799" style="width: 254px" class="wp-caption aligncenter"><a class="thumbnail" href="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2013/10/9452d-usb-bus-powered-hub.png" target="_blank" rel="noopener"><img decoding="async" loading="lazy" class=" wp-image-799 " alt="USB bus-powered hub" src="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2013/10/9452d-usb-bus-powered-hub.png" width="254" height="281" srcset="https://ba0sh1.com/wp-content/uploads/2013/10/9452d-usb-bus-powered-hub.png 423w, https://ba0sh1.com/wp-content/uploads/2013/10/9452d-usb-bus-powered-hub-271x300.png 271w" sizes="(max-width: 254px) 100vw, 254px" /></a><figcaption id="caption-attachment-799" class="wp-caption-text">USB bus-powered hub</figcaption></figure>
<p>Scenario 1. Connect to bus-powered hub: Green LED (SLEEP#) lit up then all LEDs turn off shortly, Windows show the following message. All the LEDs stays off. It shows that Windows failed to configure the device because the USB port cannot supply enough current (500mA).</p>
<figure id="attachment_800" aria-describedby="caption-attachment-800" style="width: 544px" class="wp-caption aligncenter"><a class="thumbnail" href="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2013/10/e06cc-usb-power-exceed.png" target="_blank" rel="noopener"><img decoding="async" loading="lazy" class="size-full wp-image-800 " alt="USB power exceeded" src="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2013/10/e06cc-usb-power-exceed.png" width="544" height="214" srcset="https://ba0sh1.com/wp-content/uploads/2013/10/e06cc-usb-power-exceed.png 544w, https://ba0sh1.com/wp-content/uploads/2013/10/e06cc-usb-power-exceed-300x118.png 300w" sizes="(max-width: 544px) 100vw, 544px" /></a><figcaption id="caption-attachment-800" class="wp-caption-text">USB power exceeded</figcaption></figure>
<p>Scenario 2. While FT230XS still connected, put Windows into sleep mode: Green LED (SLEEP#) lit up, indicating sleep mode.</p>
<p>Scenario 3. Resume windows: All LEDs turn off.</p>
<p>Scenario 4. Unplug FT230XS, put Windows into sleep mode and plug the FT230XS: Green LED lit up, indicating sleep mode.</p>
<p>Scenario 5. While FT230XS still connected, shutdown PC: Green LED stays up, indicating sleep mode.</p>
<p>Scenario 6. Unplug FT230xS, shutdown PC and plug FT230XS back: Green LED lit up, indicating sleep mode.</p>
<p><strong>Test with USB chargers</strong></p>
<p>I tested 4 different chargers, as shown in the picture</p>
<figure id="attachment_817" aria-describedby="caption-attachment-817" style="width: 378px" class="wp-caption aligncenter"><a class="thumbnail" href="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2013/11/13687-usb-chargers.jpg" target="_blank" rel="noopener"><img decoding="async" loading="lazy" class=" wp-image-817  " alt="USB chargers under test" src="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2013/11/13687-usb-chargers.jpg" width="378" height="251" srcset="https://ba0sh1.com/wp-content/uploads/2013/11/13687-usb-chargers.jpg 630w, https://ba0sh1.com/wp-content/uploads/2013/11/13687-usb-chargers-300x199.jpg 300w" sizes="(max-width: 378px) 100vw, 378px" /></a><figcaption id="caption-attachment-817" class="wp-caption-text">USB chargers under test</figcaption></figure>
<p>Scenario A, plug FT230XS into a USB power adaptor from TPLink router (D+/D- shorted). Yellow LED (BCD#) lit up, indicating charger detected.</p>
<p>Scenario B, plug FT230XS into a USB charger for amazon Kindle (D+/D- shorted). Yellow LED (BCD#) lit up, indicating charger detected.</p>
<p>Scenario C, plug FT230XS into Apple iPhone charger (5V/1A), Yellow LED (BCD#) lit up, indicating charger detected.</p>
<p>Scenario D, plug FT230XS into Apple iPad charger (5V/2A), <span style="color:#ff0000;">Green LED (SLEEP#) lit up, indicating sleep.</span></p>
<p>Scenario E, since I do not have a Apple iPod charger (my iPod charger is Firewire charger), I connect FT230XS to 5V supply and supply D+/D- with 2V from voltage divider. <span style="color:#ff0000;">Green LED (SLEEP#) lit up, indicating sleep.</span></p>
<p>Scenario F, Connect FT230XS to 5V power supply (floating D+, D-),<span style="color:#ff0000;"> Green LED (SLEEP#) lit up, indicating sleep.</span></p>
<p>Summarize the findings, here is the result matrix: (On means asserted)</p>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top" width="310"></td>
<td valign="top" width="102">
<p align="center">PWEN#</p>
</td>
<td valign="top" width="102">
<p align="center">SLEEP#</p>
</td>
<td valign="top" width="102">
<p align="center">BCD#</p>
</td>
</tr>
<tr>
<td valign="top" width="310">USB Host/Self-powered Hub (Power on)</td>
<td width="102">
<p align="center">On</p>
</td>
<td width="102">
<p align="center">Off</p>
</td>
<td width="102">
<p align="center">Off</p>
</td>
</tr>
<tr>
<td valign="top" width="310">USB Host/Self-powered Hub (Power off)</td>
<td width="102">
<p align="center">Off</p>
</td>
<td width="102">
<p align="center">On</p>
</td>
<td width="102">
<p align="center">Off</p>
</td>
</tr>
<tr>
<td valign="top" width="310">USB Host/Self-powered Hub (Sleep)</td>
<td width="102">
<p align="center">Off</p>
</td>
<td width="102">
<p align="center">On</p>
</td>
<td width="102">
<p align="center">Off</p>
</td>
</tr>
<tr>
<td valign="top" width="310">Bus-powered Hub (Power on)</td>
<td width="102">
<p align="center">Off</p>
</td>
<td width="102">
<p align="center">Off</p>
</td>
<td width="102">
<p align="center">Off</p>
</td>
</tr>
<tr>
<td valign="top" width="310">Bus-powered Hub (Power off)</td>
<td width="102">
<p align="center">Off</p>
</td>
<td width="102">
<p align="center">On</p>
</td>
<td width="102">
<p align="center">Off</p>
</td>
</tr>
<tr>
<td valign="top" width="310">Bus-powered Hub (Sleep)</td>
<td width="102">
<p align="center">Off</p>
</td>
<td width="102">
<p align="center">On</p>
</td>
<td width="102">
<p align="center">Off</p>
</td>
</tr>
<tr>
<td valign="top" width="310">USB Charger (Chinese/BC1.2)</td>
<td width="102">
<p align="center">Off</p>
</td>
<td width="102">
<p align="center">Off</p>
</td>
<td width="102">
<p align="center">On</p>
</td>
</tr>
<tr>
<td valign="top" width="310">Apple iPhone charger (1A. D+/D- = 2.8, 2.0V)</td>
<td width="102">
<p align="center">Off</p>
</td>
<td width="102">
<p align="center">Off</p>
</td>
<td width="102">
<p align="center">On</p>
</td>
</tr>
<tr>
<td valign="top" width="310">Apple iPad charger (2A. D+/D- = 2.0, 2.8V)</td>
<td width="102">
<p align="center">Off</p>
</td>
<td width="102">
<p align="center">On</p>
</td>
<td width="102">
<p align="center">Off</p>
</td>
</tr>
<tr>
<td valign="top" width="310">Apple iPod charger (500mA, D+/D0 = 2.0, 2.0V)</td>
<td width="102">
<p align="center">Off</p>
</td>
<td width="102">
<p align="center">On</p>
</td>
<td width="102">
<p align="center">Off</p>
</td>
</tr>
<tr>
<td valign="top" width="310">Dummy USB (D+/D- floating)</td>
<td width="102">
<p align="center">Off</p>
</td>
<td width="102">
<p align="center">On</p>
</td>
<td width="102">
<p align="center">Off</p>
</td>
</tr>
</tbody>
</table>
<div></div>
<div>I could use (PWEN or BCD) to turn on the device power, and use (SLEEP) to put device into low power mode. However, such logic is not working for iPad charger, iPod charger or dummy USB port, because FT230XS is not able to differentiate them from a bus-power USB hub.</div>
<div></div>
<div>So the verdict? I need more intelligence from FT230X  for proper USB power management <img src="https://s.w.org/images/core/emoji/14.0.0/72x72/1f641.png" alt="🙁" class="wp-smiley" style="height: 1em; max-height: 1em;" /></div>
<div></div>
<div></div>
<p></p>
<p>The post <a rel="nofollow" href="https://ba0sh1.com/2013/11/08/ft230x-charger-detection-investigation/">FT230X charger detection investigation</a> appeared first on <a rel="nofollow" href="https://ba0sh1.com">Digital Me</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://ba0sh1.com/2013/11/08/ft230x-charger-detection-investigation/feed/</wfw:commentRss>
			<slash:comments>11</slash:comments>
		
		
			</item>
		<item>
		<title>Singapore Mini Maker Faire, 2nd year</title>
		<link>https://ba0sh1.com/2013/08/21/singapore-mini-maker-faire-2nd-year/</link>
					<comments>https://ba0sh1.com/2013/08/21/singapore-mini-maker-faire-2nd-year/#comments</comments>
		
		<dc:creator><![CDATA[Baoshi]]></dc:creator>
		<pubDate>Wed, 21 Aug 2013 06:02:15 +0000</pubDate>
				<category><![CDATA[Diary]]></category>
		<category><![CDATA[Arduino]]></category>
		<category><![CDATA[Maker Faire]]></category>
		<guid isPermaLink="false">https://www.ba0sh1.com/?p=740</guid>

					<description><![CDATA[<p>Well I should have written this earlier since the Singapore Mini Maker Faire 2013 (#SMMF13) has passed for weeks. This is the second year of the event and the venue was relocated...</p>
<p>The post <a rel="nofollow" href="https://ba0sh1.com/2013/08/21/singapore-mini-maker-faire-2nd-year/">Singapore Mini Maker Faire, 2nd year</a> appeared first on <a rel="nofollow" href="https://ba0sh1.com">Digital Me</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Well I should have written this earlier since the Singapore Mini Maker Faire 2013 (#SMMF13) has passed for weeks.</p>
<p>This is the second year of the event and the venue was relocated from the remote (to me) Science Center to Singapore&#8217;s busiest Orchard area. And it is free entry for all <img src="https://s.w.org/images/core/emoji/14.0.0/72x72/1f600.png" alt="😀" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<p><span id="more-740"></span> If anything would dominate the theme of the whole faire, that is 3D printer. This year we see less MakerBots, more self-built devices.</p>
<figure id="attachment_741" aria-describedby="caption-attachment-741" style="width: 408px" class="wp-caption aligncenter"><a class="thumbnail" href="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2013/08/1cfcc-smmf13-3d-printer-huge.jpg" target="_blank" rel="noopener"><img decoding="async" loading="lazy" class=" wp-image-741 " alt="Huge 3D printer" src="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2013/08/1cfcc-smmf13-3d-printer-huge.jpg" width="408" height="614" srcset="https://ba0sh1.com/wp-content/uploads/2013/08/1cfcc-smmf13-3d-printer-huge.jpg 680w, https://ba0sh1.com/wp-content/uploads/2013/08/1cfcc-smmf13-3d-printer-huge-199x300.jpg 199w" sizes="(max-width: 408px) 100vw, 408px" /></a><figcaption id="caption-attachment-741" class="wp-caption-text">Huge 3D printer</figcaption></figure>
<p>The huge printer &#8220;B.O.B&#8221; by romscraj (<a href="http://romscraj.com/">http://romscraj.com</a>). Its gigantic metal frame makes every other printer looks like a toy. But it is not printing by the time I reach there. Printing huge object will take a long while, I guess&#8230;</p>
<figure id="attachment_743" aria-describedby="caption-attachment-743" style="width: 614px" class="wp-caption aligncenter"><a class="thumbnail" href="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2013/08/2a16a-smmf13-3d-printer-wood.jpg" target="_blank" rel="noopener"><img decoding="async" loading="lazy" class=" wp-image-743 " alt="Wood 3D printer" src="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2013/08/2a16a-smmf13-3d-printer-wood.jpg" width="614" height="408" srcset="https://ba0sh1.com/wp-content/uploads/2013/08/2a16a-smmf13-3d-printer-wood.jpg 1024w, https://ba0sh1.com/wp-content/uploads/2013/08/2a16a-smmf13-3d-printer-wood-300x199.jpg 300w, https://ba0sh1.com/wp-content/uploads/2013/08/2a16a-smmf13-3d-printer-wood-768x510.jpg 768w" sizes="(max-width: 614px) 100vw, 614px" /></a><figcaption id="caption-attachment-743" class="wp-caption-text">Wood 3D printer</figcaption></figure>
<p>An unfinished wooden 3D printer (mill? laser cutter?) silently sits beside a MakerBot Replactor 2, but certainly catches more attention. The wood framework is as sturdy as it looks. The booth is within the Sustainable Living Lab (SL2) platform, nobody was there at the moment, pity <img src="https://s.w.org/images/core/emoji/14.0.0/72x72/1f641.png" alt="🙁" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<figure id="attachment_742" aria-describedby="caption-attachment-742" style="width: 408px" class="wp-caption aligncenter"><a class="thumbnail" href="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2013/08/0fe25-smmf13-3d-printer-delta-3d.jpg" target="_blank" rel="noopener"><img decoding="async" loading="lazy" class=" wp-image-742 " alt="Delta 3D printer" src="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2013/08/0fe25-smmf13-3d-printer-delta-3d.jpg" width="408" height="614" srcset="https://ba0sh1.com/wp-content/uploads/2013/08/0fe25-smmf13-3d-printer-delta-3d.jpg 680w, https://ba0sh1.com/wp-content/uploads/2013/08/0fe25-smmf13-3d-printer-delta-3d-199x300.jpg 199w" sizes="(max-width: 408px) 100vw, 408px" /></a><figcaption id="caption-attachment-742" class="wp-caption-text">Delta 3D printer</figcaption></figure>
<p>This is the first time I saw the &#8220;Rostock Delta 3D&#8221; driving mechanism. Watching the three step motors running mad to keep the extrude platform flat == nerd porn.</p>
<figure id="attachment_751" aria-describedby="caption-attachment-751" style="width: 408px" class="wp-caption aligncenter"><a class="thumbnail" href="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2013/08/c3166-smmf13-ultrasonic.jpg" target="_blank" rel="noopener"><img decoding="async" loading="lazy" class=" wp-image-751 " title="Ultrasonic water purifier" alt="Ultrasonic water purifier" src="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2013/08/c3166-smmf13-ultrasonic.jpg" width="408" height="614" srcset="https://ba0sh1.com/wp-content/uploads/2013/08/c3166-smmf13-ultrasonic.jpg 680w, https://ba0sh1.com/wp-content/uploads/2013/08/c3166-smmf13-ultrasonic-199x300.jpg 199w" sizes="(max-width: 408px) 100vw, 408px" /></a><figcaption id="caption-attachment-751" class="wp-caption-text">Ultrasonic water purifier</figcaption></figure>
<p>Singapore Academy of Young Engineers &amp; Scientists (SAYES, wonderful name) brought us ultrasonic water purifier. It (supposedly) uses high power ultrasonic wave to break dusts. The water in the photo may not look clear at the moment but half minute before a handful bunch of sands were just dropped in. BTW it effectively cleaned by glasses as well <img src="https://s.w.org/images/core/emoji/14.0.0/72x72/1f600.png" alt="😀" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<figure id="attachment_752" aria-describedby="caption-attachment-752" style="width: 614px" class="wp-caption aligncenter"><a class="thumbnail" href="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2013/08/e4362-smmf13-mood-indicator.jpg" target="_blank" rel="noopener"><img decoding="async" loading="lazy" class=" wp-image-752 " title="Mood indicator" alt="Mood indicator" src="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2013/08/e4362-smmf13-mood-indicator.jpg" width="614" height="408" srcset="https://ba0sh1.com/wp-content/uploads/2013/08/e4362-smmf13-mood-indicator.jpg 1024w, https://ba0sh1.com/wp-content/uploads/2013/08/e4362-smmf13-mood-indicator-300x199.jpg 300w, https://ba0sh1.com/wp-content/uploads/2013/08/e4362-smmf13-mood-indicator-768x510.jpg 768w" sizes="(max-width: 614px) 100vw, 614px" /></a><figcaption id="caption-attachment-752" class="wp-caption-text">Mood indicator</figcaption></figure>
<p>Mood indicator by Media Lab LASALLE. It aggregates twitter messages and trying to detect sender&#8217;s mood by indexing keywords. A map is then plotted showing the mood of the people around the world. Is Singapore the world&#8217;s unhappiest nation?</p>
<figure id="attachment_753" aria-describedby="caption-attachment-753" style="width: 614px" class="wp-caption aligncenter"><a class="thumbnail" href="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2013/08/b6cec-smmf13-temperature-feeling.jpg" target="_blank" rel="noopener"><img decoding="async" loading="lazy" class=" wp-image-753" title="Temperature recoder" alt="Temperature recoder" src="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2013/08/b6cec-smmf13-temperature-feeling.jpg" width="614" height="408" srcset="https://ba0sh1.com/wp-content/uploads/2013/08/b6cec-smmf13-temperature-feeling.jpg 1024w, https://ba0sh1.com/wp-content/uploads/2013/08/b6cec-smmf13-temperature-feeling-300x199.jpg 300w, https://ba0sh1.com/wp-content/uploads/2013/08/b6cec-smmf13-temperature-feeling-768x510.jpg 768w" sizes="(max-width: 614px) 100vw, 614px" /></a><figcaption id="caption-attachment-753" class="wp-caption-text">Temperature recorder</figcaption></figure>
<p style="text-align:left;">Temperature recorder by the same Lab. It has integrated temperature sensor (of course), a GPS module and a dial letting people to choose if they feel cold/cool/perfect/warm. The data are then aggregated to map the temperature across the island. Very practical crowd sourcing application.</p>
<figure id="attachment_758" aria-describedby="caption-attachment-758" style="width: 408px" class="wp-caption aligncenter"><a class="thumbnail" href="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2013/08/194b8-smmf13-soundscape.jpg" target="_blank" rel="noopener"><img decoding="async" loading="lazy" class=" wp-image-758 " title="Immersive soundscape" alt="Immersive soundscape" src="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2013/08/194b8-smmf13-soundscape.jpg" width="408" height="614" srcset="https://ba0sh1.com/wp-content/uploads/2013/08/194b8-smmf13-soundscape.jpg 680w, https://ba0sh1.com/wp-content/uploads/2013/08/194b8-smmf13-soundscape-199x300.jpg 199w" sizes="(max-width: 408px) 100vw, 408px" /></a><figcaption id="caption-attachment-758" class="wp-caption-text">Immersive soundscape</figcaption></figure>
<p>This Soundscape application (available on Andriod Market) creates 3D sound effects. Its bigger speaker brother (to the left side, sorry for the truncating) further demonstrates highly directional capability, definitely great for public events so the neighbours can stop complaining. These young startups has a website http://www.immersivesoundscape.com/ Please do checkout their cool inventions.</p>
<figure id="attachment_757" aria-describedby="caption-attachment-757" style="width: 408px" class="wp-caption aligncenter"><a class="thumbnail" href="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2013/08/3e966-smmf13-arduino-email.jpg" target="_blank" rel="noopener"><img decoding="async" loading="lazy" class=" wp-image-757 " alt="Email prank" src="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2013/08/3e966-smmf13-arduino-email.jpg" width="408" height="614" srcset="https://ba0sh1.com/wp-content/uploads/2013/08/3e966-smmf13-arduino-email.jpg 680w, https://ba0sh1.com/wp-content/uploads/2013/08/3e966-smmf13-arduino-email-199x300.jpg 199w" sizes="(max-width: 408px) 100vw, 408px" /></a><figcaption id="caption-attachment-757" class="wp-caption-text">Email prank</figcaption></figure>
<p>You will never see shortage of Arduino on a Maker Faire. This Email prank thingy contains an Arduino and a WiFi shield. It sends out an automated email when the button is pressed. May I have email notification when my coffee is ready?</p>
<p>Talking about coffee, these two coffee machines brew super strong coffee without electricity or hot watermark. Everything back to nature (future?).</p>
<figure id="attachment_762" aria-describedby="caption-attachment-762" style="width: 408px" class="wp-caption aligncenter"><a class="thumbnail" href="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2013/08/ae6cb-smmf13-coffee-machine-1.jpg" target="_blank" rel="noopener"><img decoding="async" loading="lazy" class=" wp-image-762 " alt="Coffee machine" src="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2013/08/ae6cb-smmf13-coffee-machine-1.jpg" width="408" height="614" srcset="https://ba0sh1.com/wp-content/uploads/2013/08/ae6cb-smmf13-coffee-machine-1.jpg 680w, https://ba0sh1.com/wp-content/uploads/2013/08/ae6cb-smmf13-coffee-machine-1-199x300.jpg 199w" sizes="(max-width: 408px) 100vw, 408px" /></a><figcaption id="caption-attachment-762" class="wp-caption-text">Coffee machine</figcaption></figure>
<figure id="attachment_763" aria-describedby="caption-attachment-763" style="width: 408px" class="wp-caption aligncenter"><a class="thumbnail" href="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2013/08/105d6-smmf13-coffee-machine-2.jpg"><img decoding="async" loading="lazy" class=" wp-image-763 " alt="Fancier coffee machine" src="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2013/08/105d6-smmf13-coffee-machine-2.jpg" width="408" height="614" srcset="https://ba0sh1.com/wp-content/uploads/2013/08/105d6-smmf13-coffee-machine-2.jpg 680w, https://ba0sh1.com/wp-content/uploads/2013/08/105d6-smmf13-coffee-machine-2-199x300.jpg 199w" sizes="(max-width: 408px) 100vw, 408px" /></a><figcaption id="caption-attachment-763" class="wp-caption-text">Fancier coffee machine</figcaption></figure>
<p>This piano staircase leads up to the stage. But the sound is too weak to attract much attentions. How about a 100W Class-D Amp next time?</p>
<figure id="attachment_764" aria-describedby="caption-attachment-764" style="width: 408px" class="wp-caption aligncenter"><a class="thumbnail" href="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2013/08/547b7-smmf13-piano-stair.jpg" target="_blank" rel="noopener"><img decoding="async" loading="lazy" class=" wp-image-764 " title="Piano staircase" alt="Piano staircase" src="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2013/08/547b7-smmf13-piano-stair.jpg" width="408" height="614" srcset="https://ba0sh1.com/wp-content/uploads/2013/08/547b7-smmf13-piano-stair.jpg 680w, https://ba0sh1.com/wp-content/uploads/2013/08/547b7-smmf13-piano-stair-199x300.jpg 199w" sizes="(max-width: 408px) 100vw, 408px" /></a><figcaption id="caption-attachment-764" class="wp-caption-text">Piano staircase</figcaption></figure>
<p>For the Arduino community <a title="3E Gadgets" href="http://3egadgets.com/" target="_blank" rel="noopener">3E gadgets</a> has brought in the little lovely TinyDuino board. Within the tiny 20x20mm square a full Adruino Pro Mini (ATMega328P/8Mhz) equivalent circuit is setup. There are also bunch of tiny shields available so user will have no difficulty to deal with the miniature connector. Another good news to the Makers here in Singapore is that 3E Gadgets is now an official distributor of <a title="http://www.adafruit.com" href="http://www.adafruit.com" target="_blank" rel="noopener">Adafruit Industrie</a>s. That means we do not need to pay the $8 mailing fee and wait extended days to get hands onto Adafruit products!</p>
<figure id="attachment_783" aria-describedby="caption-attachment-783" style="width: 480px" class="wp-caption aligncenter"><a class="thumbnail" href="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2013/09/5aae8-smmf13-3egadgets.jpg"><img decoding="async" loading="lazy" class=" wp-image-783  " title="3EGadgets" alt="3EGadgets" src="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2013/09/5aae8-smmf13-3egadgets.jpg" width="480" height="480" srcset="https://ba0sh1.com/wp-content/uploads/2013/09/5aae8-smmf13-3egadgets.jpg 1000w, https://ba0sh1.com/wp-content/uploads/2013/09/5aae8-smmf13-3egadgets-300x300.jpg 300w, https://ba0sh1.com/wp-content/uploads/2013/09/5aae8-smmf13-3egadgets-150x150.jpg 150w, https://ba0sh1.com/wp-content/uploads/2013/09/5aae8-smmf13-3egadgets-768x768.jpg 768w" sizes="(max-width: 480px) 100vw, 480px" /></a><figcaption id="caption-attachment-783" class="wp-caption-text">3EGadgets (Courtesy of Mr. Ferris Kwok)</figcaption></figure>
<p>This is the second year I met Mr Jolyon Caplin. He is demonstrating a remote controlled toy excavator. With his modification this $80 toy almost became a robot dancer!</p>
<figure id="attachment_768" aria-describedby="caption-attachment-768" style="width: 614px" class="wp-caption aligncenter"><a class="thumbnail" href="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2013/08/c5f2b-smmf13-excavator.jpg" target="_blank" rel="noopener"><img decoding="async" loading="lazy" class=" wp-image-768 " alt="Remote controlled excavator" src="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2013/08/c5f2b-smmf13-excavator.jpg" width="614" height="408" srcset="https://ba0sh1.com/wp-content/uploads/2013/08/c5f2b-smmf13-excavator.jpg 1024w, https://ba0sh1.com/wp-content/uploads/2013/08/c5f2b-smmf13-excavator-300x199.jpg 300w, https://ba0sh1.com/wp-content/uploads/2013/08/c5f2b-smmf13-excavator-768x510.jpg 768w" sizes="(max-width: 614px) 100vw, 614px" /></a><figcaption id="caption-attachment-768" class="wp-caption-text">Remote controlled excavator</figcaption></figure>
<p>And as usual his signature light rods. Talking about the circuit, it is powered by an old school PIC16F84 (still available in Simlim Tower :-o) Getting most out of a chip is definitely the art of electronics design.</p>
<figure id="attachment_767" aria-describedby="caption-attachment-767" style="width: 408px" class="wp-caption aligncenter"><a class="thumbnail" href="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2013/08/5fec6-smmf13-light-rod.jpg" target="_blank" rel="noopener"><img decoding="async" loading="lazy" class=" wp-image-767 " alt="Remote controlled light rod" src="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2013/08/5fec6-smmf13-light-rod.jpg" width="408" height="614" srcset="https://ba0sh1.com/wp-content/uploads/2013/08/5fec6-smmf13-light-rod.jpg 680w, https://ba0sh1.com/wp-content/uploads/2013/08/5fec6-smmf13-light-rod-199x300.jpg 199w" sizes="(max-width: 408px) 100vw, 408px" /></a><figcaption id="caption-attachment-767" class="wp-caption-text">Remote controlled light rod</figcaption></figure>
<p>If Ian of Dangerousprototypes is the celebrity last year, this year we have Bunnie Huang. He gave a talk &#8220;Singapore better than United States for hardware makers&#8221;. Full report of his talk is <a title="Singapore better than United States for hardware makers: Bunnie Huang" href="http://sgentrepreneurs.com/2013/07/29/singapore-a-better-than-silicon-valley-for-hardware-makers-bunnie-huang/" target="_blank" rel="noopener">here</a>.</p>
<figure id="attachment_770" aria-describedby="caption-attachment-770" style="width: 614px" class="wp-caption aligncenter"><a class="thumbnail" href="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2013/08/05bcf-smmf13-bunnie.jpg" target="_blank" rel="noopener"><img decoding="async" loading="lazy" class=" wp-image-770 " alt="Bunnie and me" src="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2013/08/05bcf-smmf13-bunnie.jpg" width="614" height="461" srcset="https://ba0sh1.com/wp-content/uploads/2013/08/05bcf-smmf13-bunnie.jpg 1024w, https://ba0sh1.com/wp-content/uploads/2013/08/05bcf-smmf13-bunnie-300x225.jpg 300w, https://ba0sh1.com/wp-content/uploads/2013/08/05bcf-smmf13-bunnie-768x576.jpg 768w" sizes="(max-width: 614px) 100vw, 614px" /></a><figcaption id="caption-attachment-770" class="wp-caption-text">Bunnie and me</figcaption></figure>
<p>I shall end this post by introducing this wonderful lady engineer Michelle and her projects at <a title="AIS CUBE" href="http://www.aiscube.com/" target="_blank" rel="noopener">AIS CUBE</a>.</p>
<figure id="attachment_771" aria-describedby="caption-attachment-771" style="width: 614px" class="wp-caption aligncenter"><a class="thumbnail" href="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2013/08/8328e-smmf13-forum-aiscube.jpg" target="_blank" rel="noopener"><img decoding="async" loading="lazy" class=" wp-image-771 " alt="Michelle from AIS Cube" src="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2013/08/8328e-smmf13-forum-aiscube.jpg" width="614" height="408" srcset="https://ba0sh1.com/wp-content/uploads/2013/08/8328e-smmf13-forum-aiscube.jpg 1024w, https://ba0sh1.com/wp-content/uploads/2013/08/8328e-smmf13-forum-aiscube-300x199.jpg 300w, https://ba0sh1.com/wp-content/uploads/2013/08/8328e-smmf13-forum-aiscube-768x510.jpg 768w" sizes="(max-width: 614px) 100vw, 614px" /></a><figcaption id="caption-attachment-771" class="wp-caption-text">Michelle from AIS Cube</figcaption></figure>
<p>With a team of 2 they managed to implement a BASIC virtual machine inside PIC32 micro controller, together will a full development platform named &#8220;Sonata&#8221;. This is a tremendous meaningful project that opens the door for kids to learn electronics. I would compare it with the Raspberry Pi project, but this is much more low level yet easier to hand on.</p>
<p>And yes I&#8217;m the lucky bastard who grabbed one of these tiny twik^2 dev boards. At first glance it contains a PIC32 MCU, a 3 axis accelerometer  and a tiny RGB OLED screen (which is nice!) Please expect more to come about this little board.</p>
<figure id="attachment_773" aria-describedby="caption-attachment-773" style="width: 614px" class="wp-caption aligncenter"><a class="thumbnail" href="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2013/08/d25f4-smmf13-twik.jpg" target="_blank" rel="noopener"><img decoding="async" loading="lazy" class=" wp-image-773 " title="twik^2 dev board" alt="twik^2 dev board" src="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2013/08/d25f4-smmf13-twik.jpg" width="614" height="444" srcset="https://ba0sh1.com/wp-content/uploads/2013/08/d25f4-smmf13-twik.jpg 1024w, https://ba0sh1.com/wp-content/uploads/2013/08/d25f4-smmf13-twik-300x217.jpg 300w, https://ba0sh1.com/wp-content/uploads/2013/08/d25f4-smmf13-twik-768x555.jpg 768w" sizes="(max-width: 614px) 100vw, 614px" /></a><figcaption id="caption-attachment-773" class="wp-caption-text">twik^2 dev board</figcaption></figure>
<p>Final words:</p>
<p>The maker movement definitely increases the talent pool. It is true even in a crowded island like Singapore where everyone is busy making ends meet. I hope those who sitting high above can hear it. Instead of bring talent in, why not incubate own talents? (quote from Bennie)</p>
<p><span style="color:#888888;">PS: No Raspberry Pi this year, why?</span></p>
<p>The post <a rel="nofollow" href="https://ba0sh1.com/2013/08/21/singapore-mini-maker-faire-2nd-year/">Singapore Mini Maker Faire, 2nd year</a> appeared first on <a rel="nofollow" href="https://ba0sh1.com">Digital Me</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://ba0sh1.com/2013/08/21/singapore-mini-maker-faire-2nd-year/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>Poorman&#8217;s OLED test jig</title>
		<link>https://ba0sh1.com/2013/03/07/oled-test-jig/</link>
					<comments>https://ba0sh1.com/2013/03/07/oled-test-jig/#comments</comments>
		
		<dc:creator><![CDATA[Baoshi]]></dc:creator>
		<pubDate>Thu, 07 Mar 2013 05:01:42 +0000</pubDate>
				<category><![CDATA[Diary]]></category>
		<category><![CDATA[Project]]></category>
		<category><![CDATA[OLED]]></category>
		<category><![CDATA[Pogo pin]]></category>
		<category><![CDATA[SSD1305]]></category>
		<guid isPermaLink="false">https://www.ba0sh1.com/?p=572</guid>

					<description><![CDATA[<p>During last (Chinese) year end shopping frenzy I grabbed some OLED display panels, hoping to boost the presentation of my projects.  The panel model is UG-2864ASGGG14, made by &#8220;WiseChip Semiconductor Inc.&#8221; in Taiwan. Unlike typical...</p>
<p>The post <a rel="nofollow" href="https://ba0sh1.com/2013/03/07/oled-test-jig/">Poorman&#8217;s OLED test jig</a> appeared first on <a rel="nofollow" href="https://ba0sh1.com">Digital Me</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>During last (Chinese) year end shopping frenzy I grabbed some OLED display panels, hoping to boost the presentation of my projects.  The panel model is <a href="http://www.wisechip.com.tw/english/Products_02-20.asp">UG-2864ASGGG14</a>, made by &#8220;WiseChip Semiconductor Inc.&#8221; in Taiwan. Unlike typical LCD modules with complete interface board and 0.1 inch pitch pin headers,  this is a bare panel comes with only the glass and flex PCB connectors. <span id="more-572"></span></p>
<p>I made an <a href="http://dangerousprototypes.com/forum/viewtopic.php?f=19&amp;t=5071">inquiry</a> on Dangerous Prototypes forum asking for an ideas about how to make a test jig for the panel. Less than a hour later I received a replay from matseng. He suggested me to use pogopins to make a jig. And Ian also showed me a photo of test jig he bought from Shenzhen. And then started my journey to make a poorman&#8217;s version of test jig.</p>
<p>I defined the specification of the jig as:</p>
<ol>
<li><span style="line-height:13px;">As minimalism as possible.</span></li>
<li>Can plug into breadboard.</li>
<li>Incorporate all necessary circuitries for the panel including 13V VCC supply.</li>
</ol>
<p>I used to jump into making stuffs without much planning, and it resulted in tons of junks under my collection. So this time I try to design everything first. Thanks to the Chinese new year holiday I had a luxury of time to spare. And here comes my final design.</p>
<figure id="attachment_581" aria-describedby="caption-attachment-581" style="width: 600px" class="wp-caption aligncenter"><img decoding="async" loading="lazy" class="thumbnail size-full wp-image-581" alt="3D design of OLED test jig" src="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2013/03/09c58-jig_design.jpg" width="600" height="364" srcset="https://ba0sh1.com/wp-content/uploads/2013/03/09c58-jig_design.jpg 600w, https://ba0sh1.com/wp-content/uploads/2013/03/09c58-jig_design-300x182.jpg 300w" sizes="(max-width: 600px) 100vw, 600px" /><figcaption id="caption-attachment-581" class="wp-caption-text">3D design of OLED test jig</figcaption></figure>
<p>With proper 3D sketching I&#8217;m able to design the PCB with precise hole positions. The schematic basically contains a DC-DC boost controller (based on LT1930, story later), some passive components and pin headers. To save space I try use surface mount components this time, hence it poses higher demand for MF70 pcb milling.</p>
<figure id="attachment_577" aria-describedby="caption-attachment-577" style="width: 600px" class="wp-caption aligncenter"><img decoding="async" loading="lazy" class="thumbnail size-full wp-image-577" alt="Surface mount PCB milling" src="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2013/03/09541-jig_pcb.jpg" width="600" height="800" srcset="https://ba0sh1.com/wp-content/uploads/2013/03/09541-jig_pcb.jpg 600w, https://ba0sh1.com/wp-content/uploads/2013/03/09541-jig_pcb-225x300.jpg 225w" sizes="(max-width: 600px) 100vw, 600px" /><figcaption id="caption-attachment-577" class="wp-caption-text">Surface mount PCB milling</figcaption></figure>
<p>I also cut two acrylics, one for the base (left) and the other the guide (right) for solder pogo pins.</p>
<figure id="attachment_575" aria-describedby="caption-attachment-575" style="width: 600px" class="wp-caption aligncenter"><img decoding="async" loading="lazy" class="thumbnail size-full wp-image-575" alt="Milled base plate &amp; support" src="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2013/03/0640c-jig_base.jpg" width="600" height="450" srcset="https://ba0sh1.com/wp-content/uploads/2013/03/0640c-jig_base.jpg 600w, https://ba0sh1.com/wp-content/uploads/2013/03/0640c-jig_base-300x225.jpg 300w" sizes="(max-width: 600px) 100vw, 600px" /><figcaption id="caption-attachment-575" class="wp-caption-text">Milled base plate &amp; support</figcaption></figure>
<p>With the guide I&#8217;m able to solder the pogo pins straight.</p>
<figure id="attachment_578" aria-describedby="caption-attachment-578" style="width: 600px" class="wp-caption aligncenter"><img decoding="async" loading="lazy" class="thumbnail size-full wp-image-578" alt="Back of PCB" src="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2013/03/70bca-jig_pcb_pins.jpg" width="600" height="351" srcset="https://ba0sh1.com/wp-content/uploads/2013/03/70bca-jig_pcb_pins.jpg 600w, https://ba0sh1.com/wp-content/uploads/2013/03/70bca-jig_pcb_pins-300x176.jpg 300w" sizes="(max-width: 600px) 100vw, 600px" /><figcaption id="caption-attachment-578" class="wp-caption-text">Back of PCB</figcaption></figure>
<p>Assemble everything together, the pogo pins seems nicely fit onto the gold contacts of the OLED panel</p>
<figure id="attachment_579" aria-describedby="caption-attachment-579" style="width: 600px" class="wp-caption aligncenter"><img decoding="async" loading="lazy" class="thumbnail size-full wp-image-579" alt="Pogo pins" src="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2013/03/f08cf-jig_pogopins.jpg" width="600" height="280" srcset="https://ba0sh1.com/wp-content/uploads/2013/03/f08cf-jig_pogopins.jpg 600w, https://ba0sh1.com/wp-content/uploads/2013/03/f08cf-jig_pogopins-300x140.jpg 300w" sizes="(max-width: 600px) 100vw, 600px" /><figcaption id="caption-attachment-579" class="wp-caption-text">Pogo pins</figcaption></figure>
<p>The panel uses SSD1305 controller. It is similar to the commonly seen SSD1306 but with some additional functions (I will update these in future blog). As for now, I simply modify on top of <a href="https://github.com/adafruit/Adafruit_SSD1306">Adafruit&#8217;s SSD1306 Arduino library</a>.</p>
<figure id="attachment_580" aria-describedby="caption-attachment-580" style="width: 600px" class="wp-caption aligncenter"><img decoding="async" loading="lazy" class="thumbnail size-full wp-image-580" alt="OLED testing in action" src="http://blog.ba0sh1.com/wordpress/wp-content/uploads/2013/03/01efc-jig_testing.jpg" width="600" height="299" srcset="https://ba0sh1.com/wp-content/uploads/2013/03/01efc-jig_testing.jpg 600w, https://ba0sh1.com/wp-content/uploads/2013/03/01efc-jig_testing-300x150.jpg 300w" sizes="(max-width: 600px) 100vw, 600px" /><figcaption id="caption-attachment-580" class="wp-caption-text">OLED testing in action</figcaption></figure>
<p>And IT JUST WORKS.</p>
<p>&nbsp;</p>
<p>P.S.</p>
<p>About LT1930: My initial choice of DC-DC boost converter was LT1613. The reason why it was choosen is that I found a taobao.com dealer sells LT1613 at RMB2 (&lt;$0.3) per piece. I though it was a bargain and grabbed 10 pieces from him. They come in cutting tapes like original. <del>But </del>And not surprisingly it does not work. I admit I only tried 2 of them but the failure rate is already 20%. After much despair I ordered some LT1930 from proper channel. Supposedly it is pin-to-pin compatible with LT1613. Finally it works. Phew!</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>The post <a rel="nofollow" href="https://ba0sh1.com/2013/03/07/oled-test-jig/">Poorman&#8217;s OLED test jig</a> appeared first on <a rel="nofollow" href="https://ba0sh1.com">Digital Me</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://ba0sh1.com/2013/03/07/oled-test-jig/feed/</wfw:commentRss>
			<slash:comments>11</slash:comments>
		
		
			</item>
	</channel>
</rss>
