<?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>open hardware Archives - ClickedyClick</title>
	<atom:link href="https://gergely.imreh.net/blog/tag/open-hardware/feed/" rel="self" type="application/rss+xml" />
	<link>https://gergely.imreh.net/blog/tag/open-hardware/</link>
	<description>Life in real, complex and digital.</description>
	<lastBuildDate>Sat, 22 Aug 2015 14:55:47 +0000</lastBuildDate>
	<language>en-GB</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>My first non-trivial hardware: PCIeDuino</title>
		<link>https://gergely.imreh.net/blog/2015/08/pcieduino/</link>
					<comments>https://gergely.imreh.net/blog/2015/08/pcieduino/#comments</comments>
		
		<dc:creator><![CDATA[Gergely Imreh]]></dc:creator>
		<pubDate>Fri, 21 Aug 2015 14:17:10 +0000</pubDate>
				<category><![CDATA[Maker]]></category>
		<category><![CDATA[arduino]]></category>
		<category><![CDATA[hardware design]]></category>
		<category><![CDATA[open hardware]]></category>
		<category><![CDATA[Tindie]]></category>
		<guid isPermaLink="false">https://gergely.imreh.net/blog/?p=1993</guid>

					<description><![CDATA[<p>Just a bit more than a year ago I&#8217;ve started to work on a hardware idea as a challenge &#8211; a mini-PCIe form factor Arduino clone, the PCIeDuino.  The inspiration was working with a bunch of embedded boards, especially the VIA VAB-600 Springboard, that had a mini-PCIe connector, but not that many accessories that can [&#8230;]</p>
<p>The post <a href="https://gergely.imreh.net/blog/2015/08/pcieduino/">My first non-trivial hardware: PCIeDuino</a> appeared first on <a href="https://gergely.imreh.net/blog">ClickedyClick</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Just a bit more than a year ago I&#8217;ve started to work on a hardware idea as a challenge &#8211; a mini-PCIe form factor <a href="https://www.arduino.cc/">Arduino</a> clone, the <a href="https://www.tindie.com/products/imrehg/pcieduino/">PCIeDuino</a>.  The inspiration was working with a bunch of embedded boards, especially the <a href="http://www.viaembedded.com/en/boards/pico-itx/vab-600/">VIA VAB-600 Springboard</a>, that had a mini-PCIe connector, but not that many accessories that can go in there. (Disclaimer, I work at VIA at the moment, though this wasn&#8217;t a work project). I thought it would be cool to put an embedded-grade microcontroller on these boards, mostly to expand the I/O capabilities.</p>
<h2>Idea</h2>
<figure id="attachment_2034" aria-describedby="caption-attachment-2034" style="width: 720px" class="wp-caption aligncenter"><img fetchpriority="high" decoding="async" class="size-large wp-image-2034" src="https://gergely.imreh.net/blog/wp-content/uploads/2015/08/LabBook1-min-1024x715.jpg" alt="The original PCIeDuino sketch in my lab book" width="720" height="503" srcset="https://gergely.imreh.net/blog/wp-content/uploads/2015/08/LabBook1-min-1024x715.jpg 1024w, https://gergely.imreh.net/blog/wp-content/uploads/2015/08/LabBook1-min-500x349.jpg 500w, https://gergely.imreh.net/blog/wp-content/uploads/2015/08/LabBook1-min-768x536.jpg 768w" sizes="(max-width: 720px) 100vw, 720px" /><figcaption id="caption-attachment-2034" class="wp-caption-text">The original PCIeDuino sketch in my lab book</figcaption></figure>
<p>Looking at the mini-PCIe specs, the connector has mandatory USB 2.0 lines so communication was solved. The area available, roughly 5.1 x 3.0 cm, is not too bad  -more than how big the <a href="https://www.arduino.cc/en/Main/ArduinoBoardNano">Arduino Nano</a> is in comparison. The biggest challenge probably was that there are only 3.3V power lines available, and most example designs use 5V power supply.</p>
<p><span id="more-1993"></span></p>
<p>Fortunately Arduino is released under quite permissive <a href="https://creativecommons.org/licenses/by-sa/3.0/">Creative Commons CC-BY-SA</a> license, which means whoever makes an Arduino clone, also has to release it under the same license. This gave a lot of interesting designs to scout and learn from.</p>
<p>The original plan was using a similar Bill of Materials as the Nano, based around the <a href="http://www.atmel.com/devices/atmega328p.aspx">ATmega328P</a>, but two things happened to change it. First, I&#8217;ve changed my mind that I didn&#8217;t want to use the FTDI FT232 chip they used for USB-to-UART conversion. Second, my clever electronics friend Niko figured out that the tiny bit more advanced <a href="http://www.atmel.com/devices/atmega328p.aspx">ATmega32U4</a> microcontroller would also work at 3.3V and since it speaks USB natively, could cut a bunch of components (that&#8217;s always good). The trade-off is a bit of clock speed (running at 8MHz), but that&#8217;s acceptable.</p>
<h2>Design</h2>
<p>I did find clone with these parameters (3.3V power and ATmega32U4), the <a href="https://www.sparkfun.com/products/12587">SparkFun Pro Micro 3.3V</a>.  Took that basic design, replaced some components, added a Power LED,  and broke out the pins differently. Done in <a href="http://www.kicad-pcb.org/">KiCad</a>, the result is this PCIeDuino design below (or check the <a href="https://github.com/moonpunchorg/pcieduino/blob/master/pcieduino.pdf">PDF version)</a>.</p>
<figure id="attachment_2055" aria-describedby="caption-attachment-2055" style="width: 604px" class="wp-caption aligncenter"><a href="https://gergely.imreh.net/blog/wp-content/uploads/2015/08/pcieduino_schematic.png"><img decoding="async" class="size-large wp-image-2055" src="https://gergely.imreh.net/blog/wp-content/uploads/2015/08/pcieduino_schematic-1024x724.png" alt="PCIeDuino Schematic (click for full size)" width="604" height="427" srcset="https://gergely.imreh.net/blog/wp-content/uploads/2015/08/pcieduino_schematic-1024x724.png 1024w, https://gergely.imreh.net/blog/wp-content/uploads/2015/08/pcieduino_schematic-500x354.png 500w, https://gergely.imreh.net/blog/wp-content/uploads/2015/08/pcieduino_schematic-768x543.png 768w" sizes="(max-width: 604px) 100vw, 604px" /></a><figcaption id="caption-attachment-2055" class="wp-caption-text">PCIeDuino Schematic (click for full size)</figcaption></figure>
<p>The next step was fitting all these components onto a mini-PCIe card. The board size was sketched in detail in the specs, though somehow all the dimensions were described in a way that it was quite inconvenient for making a board outline. Nothing that an hour of math cannot fix&#8230;</p>
<figure id="attachment_2061" aria-describedby="caption-attachment-2061" style="width: 641px" class="wp-caption aligncenter"><a href="https://gergely.imreh.net/blog/wp-content/uploads/2015/08/miniPCIe_full.png"><img decoding="async" class="size-full wp-image-2061" src="https://gergely.imreh.net/blog/wp-content/uploads/2015/08/miniPCIe_full.png" alt="Full sized mini-PCIe card dimensions" width="641" height="400" srcset="https://gergely.imreh.net/blog/wp-content/uploads/2015/08/miniPCIe_full.png 641w, https://gergely.imreh.net/blog/wp-content/uploads/2015/08/miniPCIe_full-500x312.png 500w" sizes="(max-width: 641px) 100vw, 641px" /></a><figcaption id="caption-attachment-2061" class="wp-caption-text">Full sized mini-PCIe card dimensions</figcaption></figure>
<p>Actually, had to do the board layout twice, because for the first prototype (that I actually got printed) somehow had a crystal footprint that doesn&#8217;t correspond to any available 8Mhz crystal that I needed &#8211; so had to start again a bit. I took that chance to reorganize the board bit, and that extra round of design did a lot of good to the quality! More logical layout, better component grouping, simplified arrangement.</p>
<p>The biggest challenge at this stage was wiring the output pins. That part was done with a few tries of autorouting with <a href="https://github.com/nikropht/FreeRouting/">FreeRouting</a>. The idea being that it&#8217;s a low frequency, small board so likely not too demanding design-wise, and getting it printed is more important that fine-tuning it to death. The USB line was hand-matched, though, and the LEDs were arranged to face the same way for easier mounting, so not all just auto-optimize.</p>
<p>The tape-out happened in May, about 9 months after getting started (and about 4 months downtime in between). The resulting board looks like this:</p>
<figure id="attachment_2056" aria-describedby="caption-attachment-2056" style="width: 604px" class="wp-caption aligncenter"><a href="https://gergely.imreh.net/blog/wp-content/uploads/2015/08/seeed_20150524_top_small_functional_white.png"><img loading="lazy" decoding="async" class="size-large wp-image-2056" src="https://gergely.imreh.net/blog/wp-content/uploads/2015/08/seeed_20150524_top_small_functional_white-1002x1024.png" alt="Functional Diagram (click to enlarge)" width="604" height="617" srcset="https://gergely.imreh.net/blog/wp-content/uploads/2015/08/seeed_20150524_top_small_functional_white-1002x1024.png 1002w, https://gergely.imreh.net/blog/wp-content/uploads/2015/08/seeed_20150524_top_small_functional_white-489x500.png 489w, https://gergely.imreh.net/blog/wp-content/uploads/2015/08/seeed_20150524_top_small_functional_white-768x785.png 768w, https://gergely.imreh.net/blog/wp-content/uploads/2015/08/seeed_20150524_top_small_functional_white.png 1164w" sizes="auto, (max-width: 604px) 100vw, 604px" /></a><figcaption id="caption-attachment-2056" class="wp-caption-text">Functional Diagram (click to enlarge)</figcaption></figure>
<p>I&#8217;ve submitted the board to <a href="http://www.seeedstudio.com/service/index.php?r=pcb">Seeed Studio&#8217;s Fusion PCB service</a>, and got it back in about 2 weeks. In the meantime the components were ordered from <a href="http://www.mouser.tw/Home.aspx">Mouser</a>, the parts for 10 boards (equal to the number of PCBs printed)  just being above the minimum threshold for free shipping.</p>
<h2>Alive</h2>
<p>Then came the assembly &#8211; hand soldered surface mount components can be really frustrating, but I really got to like them by now. If only my left hand was better (I&#8217;m right handed &#8211; solder in right hand, tweezers supposed to be in left). The assembly took about 1 hour altogether.</p>
<figure id="attachment_2057" aria-describedby="caption-attachment-2057" style="width: 604px" class="wp-caption aligncenter"><a href="https://gergely.imreh.net/blog/wp-content/uploads/2015/08/PCIeDuino_magnifying.jpg"><img loading="lazy" decoding="async" class="size-large wp-image-2057" src="https://gergely.imreh.net/blog/wp-content/uploads/2015/08/PCIeDuino_magnifying-1024x576.jpg" alt="Under the magnifying glass (early prototype)" width="604" height="340" srcset="https://gergely.imreh.net/blog/wp-content/uploads/2015/08/PCIeDuino_magnifying-1024x576.jpg 1024w, https://gergely.imreh.net/blog/wp-content/uploads/2015/08/PCIeDuino_magnifying-500x281.jpg 500w, https://gergely.imreh.net/blog/wp-content/uploads/2015/08/PCIeDuino_magnifying-768x432.jpg 768w" sizes="auto, (max-width: 604px) 100vw, 604px" /></a><figcaption id="caption-attachment-2057" class="wp-caption-text">Under the magnifying glass (early prototype)</figcaption></figure>
<p>Now it&#8217;s time for waking the board up. Fortunately SparkFun&#8217;s <a href="https://github.com/sparkfun/SF32u4_boards">Pro Micro firmware</a> fits nicely onto the PCIeDuino too. Using an <a href="https://learn.adafruit.com/usbtinyisp/overview">USBTinyISP</a> clone (from eBay), a bunch of <a href="http://www.mouser.tw/Search/ProductDetail.aspx?R=0922-0-15-20-75-14-11-0virtualkey57510000virtualkey575-922015">pogo pins</a>, and the ISP headers on the board I could flash the firmware.</p>
<p>Plug it into the the embedded board and powering up, the blinking D13 LED showed that everything should be pretty close to alright!</p>
<figure id="attachment_2058" aria-describedby="caption-attachment-2058" style="width: 604px" class="wp-caption aligncenter"><a href="https://gergely.imreh.net/blog/wp-content/uploads/2015/08/PCIeDuino_spark.jpg"><img loading="lazy" decoding="async" class="wp-image-2058 size-large" src="https://gergely.imreh.net/blog/wp-content/uploads/2015/08/PCIeDuino_spark-1024x576.jpg" alt="The spark of life" width="604" height="340" srcset="https://gergely.imreh.net/blog/wp-content/uploads/2015/08/PCIeDuino_spark-1024x576.jpg 1024w, https://gergely.imreh.net/blog/wp-content/uploads/2015/08/PCIeDuino_spark-500x281.jpg 500w, https://gergely.imreh.net/blog/wp-content/uploads/2015/08/PCIeDuino_spark-768x432.jpg 768w" sizes="auto, (max-width: 604px) 100vw, 604px" /></a><figcaption id="caption-attachment-2058" class="wp-caption-text">The spark of life &#8211; PCIeDuino in a Springboard</figcaption></figure>
<p>Since then I&#8217;ve assembled altogether 7 of the boards (still takes about 1 hour each by hand, but I&#8217;m getting better). Had a few failures, but now I also know how to diagnose those issues better.</p>
<p>(If curious, so far had &#8220;magic smoke&#8221;, cold joint, shorted microcontroller pins, and now a board with a short somewhere that triggered the fuse. Ah, the learning!)</p>
<h2>Advanced</h2>
<p>Now the <a href="https://www.tindie.com/products/imrehg/pcieduino/">PCIeDuino is available on Tindie</a> (whenever I have a bit of time to assemble more). It a great experience trying to make a compelling maker project that other people want to use too! Having better documentation, more explanation, better software, better communication, and actually going out finding people who are interested in this could be pretty much full time work!</p>
<p>I got my first <a href="http://hackaday.com/2015/07/24/arduino-pci-express/">Hackaday feature</a> too, not that it was a great article, but the discussion was very illuminating and helped me to polish my own idea regarding this project.</p>
<p>All the <a href="https://github.com/moonpunchorg/pcieduino">KiCAd source and Gerber files</a> are available on Github with CC-BY-SA license, so others can take this design to places too!</p>
<h2>Future</h2>
<p>The PCIeDuino is still very much a prototype project, more suitable probably for advanced users who are not put off when not every path is well worn out. I have to test it a lot more too, and <strong>find interesting use cases</strong>!</p>
<p>It looks like that the SparkFun <strong>firmware</strong> is not very well maintained, and it could be useful to look for alternatives. <a href="https://github.com/Optiboot/optiboot">Optiboot</a> seems to be interesting, but it also needs some work for the ATmega32U4 chip. Software support is super important, though, so this got to be a high priority improvement.</p>
<p>The original idea was to use this on embedded boards, that are mostly ARM systems. It should also be easy to use, Arduino IDE compatible project. The problem is, that the two parts are at odds with each other. The <strong>Arduino IDE doesn&#8217;t quite work well on ARM</strong> yet, so it&#8217;s mostly command line operation at the moment. Not a breaking change, but still a fail that needs to be remedied somehow.</p>
<p>The board is designed to conform to the mini-PCIe board specs. It fulfills the full-sized board variation&#8217;s requirements: the board outline, 1.0mm PCB thickness, connector pins,  mounting, keep out zones, &#8230;. It does not do the beveled cut at the connector (45º bevel cut needed, but seems to work regardless). To help other people to design mini-PCIe boards, I&#8217;ve put together a <strong>bare board starter kit</strong> in KiCad, <a href="https://github.com/moonpunchorg/baseboards">available on Github</a>, which includes the connector schematic, board outline, pin placement, and top-end mounting holes. Would be good to make a half-sized board variation design as well in the future, though at the moment it&#8217;s not a priority (pull requests welcome!)</p>
<figure id="attachment_2069" aria-describedby="caption-attachment-2069" style="width: 604px" class="wp-caption aligncenter"><a href="https://github.com/moonpunchorg/baseboards"><img loading="lazy" decoding="async" class="size-large wp-image-2069" src="https://gergely.imreh.net/blog/wp-content/uploads/2015/08/baseboard-1024x671.png" alt="Mini PCIe baseboard in KiCad (click for source)" width="604" height="396" srcset="https://gergely.imreh.net/blog/wp-content/uploads/2015/08/baseboard-1024x671.png 1024w, https://gergely.imreh.net/blog/wp-content/uploads/2015/08/baseboard-500x327.png 500w, https://gergely.imreh.net/blog/wp-content/uploads/2015/08/baseboard-768x503.png 768w, https://gergely.imreh.net/blog/wp-content/uploads/2015/08/baseboard.png 1139w" sizes="auto, (max-width: 604px) 100vw, 604px" /></a><figcaption id="caption-attachment-2069" class="wp-caption-text">Mini PCIe baseboard in KiCad (click for source)</figcaption></figure>
<p>This project also gave me a lot of <strong>ideas for future devices</strong>: similar mini-PCIe designs with ATXmega or ARM Cortex-M microcontrollers, and other Arduino clones with special functionality, e.g. built around the <a href="http://www.atmel.com/devices/ATMEGA2564RFR2.aspx">ATmega2564RF2</a> for  <a href="https://en.wikipedia.org/wiki/IEEE_802.15.4">802.15.4</a> mesh networking&#8230; But first, take this design to its full potential&#8230;</p>
<p>If you like this idea, check out the <a href="https://www.tindie.com/products/imrehg/pcieduino/">PCIeDuino on Tindie</a>, and would love to hear any kind of feedback or comment too! There&#8217;s a lot to improve, even if this is really the most complex electronics design I made so far&#8230; Now back to the drawing board and to soldering!</p>
<p>The post <a href="https://gergely.imreh.net/blog/2015/08/pcieduino/">My first non-trivial hardware: PCIeDuino</a> appeared first on <a href="https://gergely.imreh.net/blog">ClickedyClick</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://gergely.imreh.net/blog/2015/08/pcieduino/feed/</wfw:commentRss>
			<slash:comments>5</slash:comments>
		
		
			</item>
		<item>
		<title>Taiwan&#8217;s Open Hardware movement gets a boost</title>
		<link>https://gergely.imreh.net/blog/2013/08/open-hardware/</link>
					<comments>https://gergely.imreh.net/blog/2013/08/open-hardware/#respond</comments>
		
		<dc:creator><![CDATA[Gergely Imreh]]></dc:creator>
		<pubDate>Sun, 11 Aug 2013 03:09:08 +0000</pubDate>
				<category><![CDATA[Maker]]></category>
		<category><![CDATA[Taiwan]]></category>
		<category><![CDATA[event]]></category>
		<category><![CDATA[open hardware]]></category>
		<category><![CDATA[presentation]]></category>
		<category><![CDATA[review]]></category>
		<guid isPermaLink="false">https://gergely.imreh.net/blog/?p=1582</guid>

					<description><![CDATA[<p>I was invited to an Open Hardware event to give a talk introducing the Taipei Hackerspace, and met a bunch of really innovative and interesting people.</p>
<p>The post <a href="https://gergely.imreh.net/blog/2013/08/open-hardware/">Taiwan&#8217;s Open Hardware movement gets a boost</a> appeared first on <a href="https://gergely.imreh.net/blog">ClickedyClick</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>I sure felt different yesterday morning waiting for my turn to give my 30 minutes talk, but in retrospect I&#8217;m really glad to have been invited to the Boost Open Source Hardware Movement event, organized by the <a title="CTIMES home page" href="http://www.ctimes.com.tw/">CTIMES</a> magazine over here in Taiwan. It was the second time try, after <a title="Barometric recording of Typhoon Soulik" href="https://gergely.imreh.net/blog/2013/07/typhoon-soulik/">Typhoon Soulik</a> cancelled the original event.</p>
<figure id="attachment_1584" aria-describedby="caption-attachment-1584" style="width: 500px" class="wp-caption aligncenter"><img loading="lazy" decoding="async" class="size-full wp-image-1584" alt="CTIMES personnel introducing the Boost Open Source Hardware Movement event " src="https://gergely.imreh.net/blog/wp-content/uploads/2013/08/oshw_start.jpg" width="500" height="333" /><figcaption id="caption-attachment-1584" class="wp-caption-text">Kicking off the event early Saturday morning</figcaption></figure>
<p>There were 8 speakers scheduled from different companies and background: <a title="RS Components" href="http://uk.rs-online.com/">RS Components</a>, <a title="ViaTech" href="http://www.via.com.tw/en/index.jsp">Via</a>, <a title="Broadcom" href="http://www.broadcom.com/">Broadcom</a>, <a title="Motoduino homepage" href="http://www.motoduino.com/">Motoduino</a>, <a title="TMI Holding homepage" href="http://tmi.vc/">TMI Holding</a>&#8230;. and me from Taipei Hackerspace. First I was wondering how do I fit in there, and maybe my talk *was* out of place a bit. Most talks were in Chinese so I could grasp only basic stuff from them, although the slides helped &#8211; most people made slides following the &#8220;slides are my notes&#8221; style, which is not my style, but was welcome this time. It was also great to see seasoned speakers like Richard from Via, and Lucas from TMI giving fun (and informative!) talks.</p>
<p>I did feel I&#8217;m in the right company, though. Open Source Hardware is becoming more and more of my focus &#8211; or maybe I&#8217;m just realizing it now that what I do is called such. Part of the audience were industry professionals and part enthusiastic hobbyists &amp; students, and I had some great chat in the breaks with both kind of people.</p>
<p>I heard about the National Science Fair here (what? I got to check that out!), and how much interesting work people do with interactive hardware and elementary/high school kids. There is waaaay more going on that I can imagine, and there&#8217;s a lot more potential to tap into.</p>
<p>Had a chance to gather some industry experience too. Naren from Broadcom, who was responsible for getting <a title="Raspberry Pi homepage" href="http://www.raspberrypi.org/">Raspberry Pi</a> into production was telling the story how they were expecting only 10,000 orders altogether and got 350,000 on the first day (sold 1.8 million to date), so they had to scramble an entire new supply chain. Thought that came to me was that maybe that&#8217;s one of the biggest value of  <a title="Kickstarter" href="http://kickstarter.com/">Kickstarter</a>/<a title="Indiegogo" href="http://www.indiegogo.com/">Indiegogo</a> is to be able to get an order of magnitude estimate of the demand.</p>
<p>Also heard about Via&#8217;s experience in pursuing new design and materials with their <a title="APC homepage" href="http://apc.io/">APC platform</a> (such as using paper for housing), and interacting with their community. Heard a lot from RS Components how they are building tools for their community, and building the community itself. The demo was fought with technical difficulties (first rule of presenting is not to assume a working/fast internet connection), but it was inspiring nonetheless, and gave me some big (and difficult) ideas for my project: have to see if there&#8217;s any good community for scientific/laboratory electronics and hardware building, and if there isn&#8217;t then build one.</p>
<figure id="attachment_1585" aria-describedby="caption-attachment-1585" style="width: 500px" class="wp-caption aligncenter"><img loading="lazy" decoding="async" class="size-full wp-image-1585" alt="View of the room during the break time" src="https://gergely.imreh.net/blog/wp-content/uploads/2013/08/oshw_gopro.jpg" width="500" height="375" /><figcaption id="caption-attachment-1585" class="wp-caption-text">Break time between the talks, everyone&#8217;s scrambling for chat and cakes</figcaption></figure>
<p>One of my favorite part in these events though to meet friends&#8217; friends. This time was no exception, even if there was too little time to talk, I left with quite a few people in mind who I will need to contact soon, because they are doing something awesome and connected to my area of interest, either in hardware or in startups. This is one reason I&#8217;m trying to be really generous with my time and making introductions between people who I recon would hit it off well: I was the recepient of that so many times that I got to give back too.</p>
<h3>My talk</h3>
<p>I was scheduled in the middle of the afternoon just before tea break, and I was one of two people who used English for their talk (out of the 8 speakers). I was more nervous</p>
<p><iframe loading="lazy" title="Hackerspaces from around the world to Taiwan" width="580" height="326" src="https://www.youtube.com/embed/8ut4QAeVINg?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe></p>
<p>I&#8217;ve uploaded the <a title="Slideshare slides for Hackerspaces from around the world to Taiwan" href="http://www.slideshare.net/imrehg/hackerspaces-from-around-the-world-to-taiwan">slides used for the talk</a> in advance as well, so now it&#8217;s all out in the open.</p>
<p>My favorite part writing this talk was probably the attempt to summarize the philosophy and values of the maker movement, in a way that would inspire others. Some bits:</p>
<ul>
<li>Don&#8217;t accept crappy &#8211; everything can be changed and improved upon.</li>
<li>Aim for collaborative creation. Celebrate the weird. Don&#8217;t mock.</li>
<li>Do and then share the results for everyone to learn from it.</li>
<li>For things to happen, you have to show up. Don&#8217;t wait for someone else to start, build up and inner motivation</li>
<li>Everyone&#8217;s values are different, a &#8216;space is often a different canvas for everyone.</li>
</ul>
<p>So far the feedback I got about the talk is that I should have mentioned the projects people were working on in the &#8216;space, and upcoming events. That would have made a better ending for sure, and I had an extra 5 minutes or so to do that. Definitely going to emphasize the practical aspect next time.</p>
<p>Another thing I noticed listening to (a bit of) the video is that I need to use much less &#8220;ehm&#8221; and &#8220;ahm&#8221;&#8230; I certainly don&#8217;t remember using any, and consciously trying to avoid it in my talks in the recent years, I guess I need to listen more carefully (and prepare better).</p>
<p>Any more suggestions? What else wasn&#8217;t good? Bring it on, I want to become better at this.</p>
<p>More about the Taipei Hackerspace is on the <a title="Taipei Hackerspace mailing list" href="https://groups.google.com/forum/#!forum/taipeihackerspace">mailing list</a>, which is open for everyone to sign up, ask questions, show their projects, and hear more about what&#8217;s up.</p>
<p>The post <a href="https://gergely.imreh.net/blog/2013/08/open-hardware/">Taiwan&#8217;s Open Hardware movement gets a boost</a> appeared first on <a href="https://gergely.imreh.net/blog">ClickedyClick</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://gergely.imreh.net/blog/2013/08/open-hardware/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Smartphone headphone to laptop adapter</title>
		<link>https://gergely.imreh.net/blog/2013/08/headphone-adapter/</link>
					<comments>https://gergely.imreh.net/blog/2013/08/headphone-adapter/#comments</comments>
		
		<dc:creator><![CDATA[Gergely Imreh]]></dc:creator>
		<pubDate>Mon, 05 Aug 2013 09:34:53 +0000</pubDate>
				<category><![CDATA[Maker]]></category>
		<category><![CDATA[audio]]></category>
		<category><![CDATA[hackerspace]]></category>
		<category><![CDATA[open hardware]]></category>
		<guid isPermaLink="false">https://gergely.imreh.net/blog/?p=1553</guid>

					<description><![CDATA[<p>I wanted to use my smartphone headphones and mic with my laptop computer, so I made an adapter cable to achieve that.</p>
<p>The post <a href="https://gergely.imreh.net/blog/2013/08/headphone-adapter/">Smartphone headphone to laptop adapter</a> appeared first on <a href="https://gergely.imreh.net/blog">ClickedyClick</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>My involvement in the Taipei Hackerspace so far had two very beneficial effect on my thinking: first I have much more ideas what new things to create, then I have much higher probability of seeing those projects through to completion. This post is a write-up of a recent project, illustrating both of these points.</p>
<p>About two weeks ago, I have <a title="Writeup of the headphone fixing" href="http://taipeihackerspace.github.io/blog/2013/07/16/fixing-a-headphone-jack/">fixed a headphone</a> for a friend: the wire near the jack was broken and needed replacement. It was a relatively straightforward project, but needed a bit of digging into audio wires and jack connections. I was really proud of the result (fixing things have this effect, I highly recommend doing more of that!), and kept thinking if I can come up with any other audio-related project where I can use the knowledge I learned, and this is what I have came up with:</p>
<p>I bring my laptop almost everywhere with me, and started to use my smartphone headset to listen to music since it sounds great and much lighter to bring with me than the large headphones. It also has a built in microphone, so if I can use that, then really don&#8217;t need any other equipment to make Skype/Google+ Hangout calls. Those are 4-conductor headphones for Left/Right/Ground/Microphone channels, but computers (PCs) can only use the 3-conductor Left/Right/Ground and Mic/Mic/Ground connectors. Let&#8217;s make an adapter so I can break out the audio lines and mic lines to the appropriate laptop connectors!</p>
<h3>Hardware setup</h3>
<p>The parts needed:</p>
<ul>
<li><span style="line-height: 16px;">1pc 4-conductor input socket</span></li>
<li>2pc 3-conductor output jack</li>
<li>1pc 1-signal (mono) audio wire (signal + ground lines), about 15cm per finished adapter</li>
<li>1pc 2-signal (stereo) audio wire (2 signals + ground), same length</li>
</ul>
<p>The <a title="Guanghua Digital Plaza on Wikipedia" href="http://en.wikipedia.org/wiki/Guang_Hua_Digital_Plaza">Guanghua Computer Market</a> and its neighbourhood has a lot of electronics stores. The appropriate output 3-conductor jacks were really easy to find, as were the audio cables. Those didn&#8217;t look as good as the Bose headphone that I repaired, but it&#8217;s good for a prototype. The hardest part was the 4-conductor input socket: they had some that should be mounted on a printed circuit board, and tried that one for the first prototype, but then they found me some better one that I can use with the cables. That was the most expensive part at about 20TWD ($0.70).</p>
<figure id="attachment_1554" aria-describedby="caption-attachment-1554" style="width: 500px" class="wp-caption aligncenter"><img loading="lazy" decoding="async" class="size-full wp-image-1554" alt="Wiring diagram showing the internals of the adaptor" src="https://gergely.imreh.net/blog/wp-content/uploads/2013/08/mic-jack-wiring_500.png" width="500" height="263" /><figcaption id="caption-attachment-1554" class="wp-caption-text">Wiring diagram of the whole cable, M=microphone, G=ground, R=right, L=left</figcaption></figure>
<p>Above is the circuit schematic, probably a bit of a mess, but tried to keep it simple. Then aim of the whole setup is to get the G (ground) + M (mic) lines to one jack (the mono audio, thinner cable), and G + L (left) + R (right) to another (stereo audio, ticker cable).</p>
<p>One complication is that the order of M-G-R-L seems to be the &#8220;Apple Way&#8221;, that my HTC headphone adopted as well, while others have a more logical (and easier to solder) G-M-R-L series (eg. the Sony PSP headphones as I found searching for it). Thus this adapter would not work for every headphone. Maybe version 3 should have a switch to swap the Mic and Ground lines at the input socket?</p>
<figure id="attachment_1555" aria-describedby="caption-attachment-1555" style="width: 500px" class="wp-caption aligncenter"><img loading="lazy" decoding="async" class="size-full wp-image-1555" alt="Parts for the first version of the adapter" src="https://gergely.imreh.net/blog/wp-content/uploads/2013/08/adapter1.jpg" width="500" height="375" /><figcaption id="caption-attachment-1555" class="wp-caption-text">Version 1 of the adapter: 2 pieces of 3-ring jacks, 1 piece 1-line wire (that is signal + ground), 1 piece 2-line wire (2 signal + ground). The input jack is different for the final version, and heatshrink will not be needed.</figcaption></figure>
<p>After all the parts are collected, there&#8217;s some micro-surgery. Strip the audio wires carefully, and don&#8217;t have to leave much out, just enough to get to the jack electrodes, and such that the thick outside cover fits into the cramp that is there to hold things in place.</p>
<p>For the microphone wire, connect the two output channels (the tip and the 2nd ring), and the ground goes to the base one. For the audio output, the tip is the left channel, the 2nd ring is the right, and the base is ground. The audio wire I got was a bit thick to cramp, but it&#8217;s not too bad if the metal cuts into the plastic cover, as long as it doesn&#8217;t cut through it.</p>
<figure id="attachment_1556" aria-describedby="caption-attachment-1556" style="width: 500px" class="wp-caption aligncenter"><img loading="lazy" decoding="async" class="size-full wp-image-1556" alt="The output jack image" src="https://gergely.imreh.net/blog/wp-content/uploads/2013/08/adapter2.jpg" width="500" height="375" /><figcaption id="caption-attachment-1556" class="wp-caption-text">Soldering one of the output jack</figcaption></figure>
<p>The input socket was quite a bit trickier to solder, because the electrodes were so tiny. They are arranged in a 4 directions, going around clockwise as &#8220;tip &#8211; 2nd ring &#8211; 3rd ring &#8211; base&#8221;. Had to use some magnifying glass and one spare unsoldered jack to make sure I connect the right things to the right places, but it works &#8211; mostly. The hardest part is not to melt the individual wire insulation (they are not enameled wired as inside the manufactured headphones). Also, cramping the two wire together is tougher, had to cut off the sleeve of the socket so the wires fit within the plastic cover of the socket.</p>
<figure id="attachment_1557" aria-describedby="caption-attachment-1557" style="width: 500px" class="wp-caption aligncenter"><img loading="lazy" decoding="async" class="size-full wp-image-1557" alt="Soldering the input socket of the final version" src="https://gergely.imreh.net/blog/wp-content/uploads/2013/08/adapter3.jpg" width="500" height="375" /><figcaption id="caption-attachment-1557" class="wp-caption-text">Soldering the input socket of the final version, that&#8217;s pretty tight for the two wires, have to make sure not to burn off the plastic cover or them</figcaption></figure>
<p>This second version was done within about 15-20 minutes, though, since I had all most of the research done previously. Had to do some careful inspection that no shorts developed within the device because of the soldering, and then connect everything up.</p>
<figure id="attachment_1559" aria-describedby="caption-attachment-1559" style="width: 500px" class="wp-caption aligncenter"><img loading="lazy" decoding="async" class="size-full wp-image-1559" alt="The final design plugged into a laptop with headphones" src="https://gergely.imreh.net/blog/wp-content/uploads/2013/08/adapter41.jpg" width="500" height="375" /><figcaption id="caption-attachment-1559" class="wp-caption-text">The final design together with HTC Butterfly headphones, with the microphone visible on the left</figcaption></figure>
<p>The listening sound quality is pretty good, though I guess it could be improved with better soldering (which includes using a finer tip soldering iron), and more patient cabling work. The mic is pretty nice, my recordings sound much better than before, and it&#8217;s convenient to use too. Much less thing to carry around and definitely better than my laptop&#8217;s built in mic. This might even get me to make more calls (sorry Mum and Dad that I haven&#8217;t been phoning too much lately!)</p>
<h3>Taking it further</h3>
<p>The electronic markets here in Taiwan are full of gadgets, and I looked but couldn&#8217;t really see any commercial adapter that did the same thing. This made me think that maybe it could be interesting to make this into an actual product. First find some local factories that could make it, as I keep hearing my business-related friends manufacturing a lot of things. Then set up a <a title="Kickstarter website" href="http://www.kickstarter.com/">Kickstarter</a>/<a title="Indiegogo website" href="http://www.indiegogo.com/">Indiegogo</a> project with some reasonable (let&#8217;s call it hobby-level) financial goal, and see whether people would be interested.</p>
<p>This would need quite a bit of preparation, and what&#8217;s putting me off is the simplicity of the project (what&#8217;s too simple for Kickstarter?), and that a Chinese factory could rip it off faster then you can say <em>Shenzhen</em>. Still, it might worth it for the experience and contacts, will do some research, and in the meantime keep making stuff that interests me.</p>
<p><em>Update 8/6:</em> as a commenter pointed out, these things exists already e.g. on Amazon, <a title="Amazon search link" href="http://www.amazon.com/s/ref=nb_sb_noss?url=search-alias%3Daps&amp;field-keywords=smartphone%20headset%20pc%20adapter">searching for &#8220;smartphone headset pc adapter&#8221;</a>. I guess that simplifies the future a bit, have more time for better projects.</p>
<p>The post <a href="https://gergely.imreh.net/blog/2013/08/headphone-adapter/">Smartphone headphone to laptop adapter</a> appeared first on <a href="https://gergely.imreh.net/blog">ClickedyClick</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://gergely.imreh.net/blog/2013/08/headphone-adapter/feed/</wfw:commentRss>
			<slash:comments>3</slash:comments>
		
		
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/?utm_source=w3tc&utm_medium=footer_comment&utm_campaign=free_plugin

Object Caching 16/33 objects using APC
Page Caching using Disk: Enhanced 
Lazy Loading (feed)

Served from: gergely.imreh.net @ 2026-06-02 15:57:35 by W3 Total Cache
-->