<?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>ATTiny &#8211; ABNielsen.com</title>
	<atom:link href="https://abnielsen.com/category/projects/attiny/feed/" rel="self" type="application/rss+xml" />
	<link>https://abnielsen.com</link>
	<description>Anders Braüner Nielsen</description>
	<lastBuildDate>Tue, 20 Nov 2018 16:08:39 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.1</generator>
	<item>
		<title>Business card ATTiny84 USBasp programmer!</title>
		<link>https://abnielsen.com/2018/11/20/business-card-attiny84-usbasp-programmer/</link>
					<comments>https://abnielsen.com/2018/11/20/business-card-attiny84-usbasp-programmer/#comments</comments>
		
		<dc:creator><![CDATA[Anders]]></dc:creator>
		<pubDate>Tue, 20 Nov 2018 15:56:13 +0000</pubDate>
				<category><![CDATA[ATTiny]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[ATTiny84]]></category>
		<category><![CDATA[TPI]]></category>
		<category><![CDATA[usbasp]]></category>
		<category><![CDATA[vusb]]></category>
		<guid isPermaLink="false">https://abnielsen.com/?p=94</guid>

					<description><![CDATA[I like my chinese USBasp clone very much. It&#8217;s got a semi dodgy USB-connector, it&#8217;s a little bit dusty and it doesn&#8217;t didn&#8217;t even have the &#8220;new&#8221; 2011-firmware, but I [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>I like my chinese USBasp clone very much. It&#8217;s got a semi dodgy USB-connector, it&#8217;s a little bit dusty and it <s>doesn&#8217;t</s> didn&#8217;t even have the &#8220;new&#8221; 2011-firmware, but I still like it. But what if it died? What would take it&#8217;s place? <a href="https://abnielsen.com/2018/10/02/business-card-rf24-ws2812b-attiny84-usb/">My business card</a> of course!</p>
<p>Of course there&#8217;s the minor problem that USBasp is designed for ATMega8/88 and to run at 12mhz but since <a href="https://github.com/cpldcpu/USBasp-t">it can run on an ATTiny85</a> I figured it couldn&#8217;t be that hard to port it to the ATTiny84, since both my business card and USBasp uses <a href="https://www.obdev.at/products/vusb/">vUSB</a>.</p>
<p>Turns out: It wasn&#8217;t bad at all. And in case my USBasp dies some day, my bizcard is now self replicating.</p>
<p>So. If you&#8217;re missing a programmer for ISP or TPI and you only have an ATTiny84 lying around, the code I <a href="https://github.com/AndersBNielsen/USBasp-t">just put on github</a> should do the trick.</p>
<p>The downside, compared to my USBasp clone, is that it doesn&#8217;t support 3.3V, but the upside is that it&#8217;s actually more handy because of the micro usb connector, so I no longer need a USB extender cable or long jumper wires. And of course the BOM is hardly more expensive than the price of a chinese USBasp clone.</p>
<p>Also &#8211; I used it to finally upgrade the firmware on my old USBasp clone so that it now supports TPI. Expect to see some projects featuring the ATTiny10 soon <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f609.png" alt="😉" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<p>Have anything to say? Please leave a comment.</p>
<p><a href="https://abnielsen.com/wp-content/uploads/2018/11/20181114_0055.jpg"><img fetchpriority="high" decoding="async" class="hunnar alignleft wp-image-137 size-large" src="https://abnielsen.com/wp-content/uploads/2018/11/20181114_0055-1024x633.jpg" alt="" width="640" height="396" srcset="https://abnielsen.com/wp-content/uploads/2018/11/20181114_0055-1024x633.jpg 1024w, https://abnielsen.com/wp-content/uploads/2018/11/20181114_0055-300x185.jpg 300w, https://abnielsen.com/wp-content/uploads/2018/11/20181114_0055-768x475.jpg 768w" sizes="(max-width: 640px) 100vw, 640px" /></a></p>
<p><a href="https://abnielsen.com/wp-content/uploads/2018/11/20181114_0070.jpg"><img decoding="async" class="hunnar alignleft wp-image-122 size-large" src="https://abnielsen.com/wp-content/uploads/2018/11/20181114_0070-1024x633.jpg" alt="" width="640" height="396" srcset="https://abnielsen.com/wp-content/uploads/2018/11/20181114_0070-1024x633.jpg 1024w, https://abnielsen.com/wp-content/uploads/2018/11/20181114_0070-300x185.jpg 300w, https://abnielsen.com/wp-content/uploads/2018/11/20181114_0070-768x475.jpg 768w" sizes="(max-width: 640px) 100vw, 640px" /></a><a href="https://abnielsen.com/wp-content/uploads/2018/11/20181114_0027.jpg"><img decoding="async" class="hunnar alignleft wp-image-165 size-large" src="https://abnielsen.com/wp-content/uploads/2018/11/20181114_0027-1024x683.jpg" alt="" width="640" height="427" srcset="https://abnielsen.com/wp-content/uploads/2018/11/20181114_0027-1024x683.jpg 1024w, https://abnielsen.com/wp-content/uploads/2018/11/20181114_0027-300x200.jpg 300w, https://abnielsen.com/wp-content/uploads/2018/11/20181114_0027-768x512.jpg 768w" sizes="(max-width: 640px) 100vw, 640px" /></a></p>
<p><a href="https://abnielsen.com/wp-content/uploads/2018/11/20181114_0024.jpg"><img loading="lazy" decoding="async" class="hunnar alignleft wp-image-168 size-large" src="https://abnielsen.com/wp-content/uploads/2018/11/20181114_0024-1024x768.jpg" alt="" width="640" height="480" srcset="https://abnielsen.com/wp-content/uploads/2018/11/20181114_0024-1024x768.jpg 1024w, https://abnielsen.com/wp-content/uploads/2018/11/20181114_0024-300x225.jpg 300w, https://abnielsen.com/wp-content/uploads/2018/11/20181114_0024-768x576.jpg 768w" sizes="auto, (max-width: 640px) 100vw, 640px" /></a><a href="https://abnielsen.com/wp-content/uploads/2018/11/20181114_0021.jpg"><img loading="lazy" decoding="async" class="hunnar alignleft wp-image-171 size-large" title="Programming one bizcard with another" src="https://abnielsen.com/wp-content/uploads/2018/11/20181114_0021-1024x768.jpg" alt="" width="640" height="480" srcset="https://abnielsen.com/wp-content/uploads/2018/11/20181114_0021-1024x768.jpg 1024w, https://abnielsen.com/wp-content/uploads/2018/11/20181114_0021-300x225.jpg 300w, https://abnielsen.com/wp-content/uploads/2018/11/20181114_0021-768x576.jpg 768w" sizes="auto, (max-width: 640px) 100vw, 640px" /></a><a href="https://abnielsen.com/wp-content/uploads/2018/11/20181114_0015.jpg"><img loading="lazy" decoding="async" class="hunnar alignleft wp-image-101 size-large" title="Pogo pin programming tool" src="https://abnielsen.com/wp-content/uploads/2018/11/20181114_0015-1024x576.jpg" alt="" width="640" height="360" srcset="https://abnielsen.com/wp-content/uploads/2018/11/20181114_0015-1024x576.jpg 1024w, https://abnielsen.com/wp-content/uploads/2018/11/20181114_0015-300x169.jpg 300w, https://abnielsen.com/wp-content/uploads/2018/11/20181114_0015-768x432.jpg 768w" sizes="auto, (max-width: 640px) 100vw, 640px" /></a><a href="https://abnielsen.com/wp-content/uploads/2018/11/20181114_0011.jpg"><img loading="lazy" decoding="async" class="hunnar alignleft wp-image-105 size-large" title="ATTiny84 bizcard and pogo pin 2.54mm pitch programming adapter" src="https://abnielsen.com/wp-content/uploads/2018/11/20181114_0011-1024x576.jpg" alt="" width="640" height="360" srcset="https://abnielsen.com/wp-content/uploads/2018/11/20181114_0011-1024x576.jpg 1024w, https://abnielsen.com/wp-content/uploads/2018/11/20181114_0011-300x169.jpg 300w, https://abnielsen.com/wp-content/uploads/2018/11/20181114_0011-768x432.jpg 768w" sizes="auto, (max-width: 640px) 100vw, 640px" /></a></p>
]]></content:encoded>
					
					<wfw:commentRss>https://abnielsen.com/2018/11/20/business-card-attiny84-usbasp-programmer/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>Programming an AVR without taking up board space</title>
		<link>https://abnielsen.com/2018/10/02/programming-an-avr-without-taking-up-board-space/</link>
					<comments>https://abnielsen.com/2018/10/02/programming-an-avr-without-taking-up-board-space/#comments</comments>
		
		<dc:creator><![CDATA[Anders]]></dc:creator>
		<pubDate>Tue, 02 Oct 2018 14:19:55 +0000</pubDate>
				<category><![CDATA[ATTiny]]></category>
		<category><![CDATA[Projects]]></category>
		<guid isPermaLink="false">https://abnielsen.com/?p=56</guid>

					<description><![CDATA[Arduino&#8217;s are usually just programmed via a USB to serial connection. While this is easy for beginners and makes prototyping easy, it stops pretty fast when you want to make [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>Arduino&#8217;s are usually just programmed via a USB to serial connection. While this is easy for beginners and makes prototyping easy, it stops pretty fast when you want to make your own hardware and want to make it cheap. Of course you could just burn a bootloader onto your chip before soldering it on, but this becomes problematic when your chip hardly has enough room for a bootloader &#8211; let&#8217;s say the ATTiny24.</p>
<p>I&#8217;m not saying I have the final answer as for what is right for you, but here are the ways I&#8217;ve tried and the experiences I&#8217;ve gathered.</p>
<h3>1) Program your chip before soldering it in</h3>
<p>When working with though hole IC&#8217;s it&#8217;s easy to program them on a breadboard before soldering them into your project(or a socket in your project) but when switching to SMD, this becomes a problem since sockets are no longer an option and this takes away the option to reprogram the chip without desoldering it.<br />
Pros: Good for THT IC&#8217;s in sockets<br />
Cons: Bad for SMD IC&#8217;s</p>
<h3>2) Add an ISP-header to your project.</h3>
<p>Since you&#8217;re reading this page and you haven&#8217;t turned away yet, you&#8217;ve probably seen the 6 pin ISCP header on the Arduino UNO. It&#8217;s the AVR for programming the ATMega328p directly, without using the bootloader and programming it over serial.</p>
<p>Pros: Easy to use, standard layout<br />
Cons: Takes up board space and you&#8217;ll need to do extra soldering</p>
<h3>3) Use a test probe clip</h3>
<figure style="width: 500px" class="wp-caption alignleft"><a href="https://www.pomonaelectronics.com/products/test-clips/soic-clip-14-pin"><img loading="lazy" decoding="async" class="size-large" src="https://www.pomonaelectronics.com/sites/default/files/styles/product_image__500px_x_450px_/public/5251_0.jpg?itok=k3G3YUeH" width="500" height="450" /></a><figcaption class="wp-caption-text">SOIC-14 probe clip from Pomona</figcaption></figure>
<p>If you program the same kind of chip a lot, these clips are handy. You just connect jumper wires and clip it onto the IC. I have one of these for SOIC-14 and it worked great the first couple of times, but after a while I&#8217;d gotten the pins bent a bit and it got harder and harder to make a good connection.</p>
<p>Pros: Doesn&#8217;t take up board space, also good for testing<br />
Cons: Not always easy to clip on correctly, wears out over time, not good when IC&#8217;s are hand soldered and might have excessive solder(like some of mine &#8211; whoops).</p>
<p>&nbsp;</p>
<h3>4) Pogo pins and pads or vias</h3>
<p>I saved my personal favourite for last. This is an alternative to the &#8220;bed of nails&#8221; method where you make another board that fits on top of your own and makes connections the right places.</p>
<figure id="attachment_22" aria-describedby="caption-attachment-22" style="width: 640px" class="wp-caption alignright"><a href="https://abnielsen.com/wp-content/uploads/2018/10/20181001_0112.jpg"><img loading="lazy" decoding="async" class="wp-image-22 size-large" src="https://abnielsen.com/wp-content/uploads/2018/10/20181001_0112-1024x694.jpg" alt="" width="640" height="434" srcset="https://abnielsen.com/wp-content/uploads/2018/10/20181001_0112-1024x694.jpg 1024w, https://abnielsen.com/wp-content/uploads/2018/10/20181001_0112-300x203.jpg 300w, https://abnielsen.com/wp-content/uploads/2018/10/20181001_0112-768x521.jpg 768w" sizes="auto, (max-width: 640px) 100vw, 640px" /></a><figcaption id="caption-attachment-22" class="wp-caption-text">Example of an unpopulated ISP header that&#8217;s easy to program with pogo pins.</figcaption></figure>
<p>These needlepoint pogo pins are easy to make a connection with, even if your programming pads are relatively small. I haven&#8217;t testet it, but I expect you could use this method with something as small as an uncovered via. The next time I design a board that needs to be programmed fast I will probably just make circular pads half a mm in diameter 2.54mm(.1&#8243;) apart, which means it will be easy to put traces or maybe even components between them.</p>
<p>Pros: Easy to connect, hardly takes up any board space</p>
<figure id="attachment_11" aria-describedby="caption-attachment-11" style="width: 640px" class="wp-caption alignright"><img loading="lazy" decoding="async" class="wp-image-11 size-large" src="https://abnielsen.com/wp-content/uploads/2018/10/20181001_0142-1024x576.jpg" alt="" width="640" height="360" srcset="https://abnielsen.com/wp-content/uploads/2018/10/20181001_0142-1024x576.jpg 1024w, https://abnielsen.com/wp-content/uploads/2018/10/20181001_0142-300x169.jpg 300w, https://abnielsen.com/wp-content/uploads/2018/10/20181001_0142-768x432.jpg 768w" sizes="auto, (max-width: 640px) 100vw, 640px" /><figcaption id="caption-attachment-11" class="wp-caption-text">My custom pogo pin programming interface</figcaption></figure>
<p>Cons: You have to hold the pins down while programming</p>
<p>For my <a href="https://abnielsen.com/2018/10/02/business-card-rf24-ws2812b-attiny84-usb/">PCB Business card</a> I used this method and it works great &#8211; even though the ISP pads on the board are waaay bigger than they have to be. I simply soldered the pins onto female dupont jumper wire terminators and then soldered them into a perfboard. That way I have something to hold on to and the spacing between the pins is easy to get right.</p>
<p>&nbsp;</p>
<p>Did I forget a smart way of programming an AVR? Questions? Please leave a comment.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<div class="mceTemp"></div>
<div class="mceTemp"></div>
]]></content:encoded>
					
					<wfw:commentRss>https://abnielsen.com/2018/10/02/programming-an-avr-without-taking-up-board-space/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>ATTiny84 USB-capable business card featuring 2.4Ghz wireless and WS2812B&#8217;s</title>
		<link>https://abnielsen.com/2018/10/02/business-card-rf24-ws2812b-attiny84-usb/</link>
					<comments>https://abnielsen.com/2018/10/02/business-card-rf24-ws2812b-attiny84-usb/#comments</comments>
		
		<dc:creator><![CDATA[Anders]]></dc:creator>
		<pubDate>Tue, 02 Oct 2018 14:04:15 +0000</pubDate>
				<category><![CDATA[ATTiny]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Arduino]]></category>
		<category><![CDATA[ATTiny84]]></category>
		<category><![CDATA[nRF24L01+]]></category>
		<category><![CDATA[V-USB]]></category>
		<category><![CDATA[WS2812b]]></category>
		<guid isPermaLink="false">https://abnielsen.com/?p=52</guid>

					<description><![CDATA[This is my business card. It works as a USB-HID device, takes input from a 2.4Ghz transceiver and it also comes with some flashy RGB LED&#8217;s and a prototyping header. [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><a href="https://abnielsen.com/wp-content/uploads/2018/10/20181001_0077.jpg"><img loading="lazy" decoding="async" class="alignright wp-image-31 size-large" src="https://abnielsen.com/wp-content/uploads/2018/10/20181001_0077-1024x576.jpg" alt="" width="640" height="360" srcset="https://abnielsen.com/wp-content/uploads/2018/10/20181001_0077-1024x576.jpg 1024w, https://abnielsen.com/wp-content/uploads/2018/10/20181001_0077-300x169.jpg 300w, https://abnielsen.com/wp-content/uploads/2018/10/20181001_0077-768x432.jpg 768w" sizes="auto, (max-width: 640px) 100vw, 640px" /></a></p>
<p>This is my business card. It works as a USB-HID device, takes input from a 2.4Ghz transceiver and it also comes with some flashy RGB LED&#8217;s and a prototyping header. Oh.. And it has my contact information.</p>
<p>Spoiler: This is also on <a href="https://github.com/AndersBNielsen/v-usb-businesscard">Github</a> if you just want to skip to code and PCB files. If you want to know more, read on.</p>
<h3>Why?</h3>
<p>After seeing a couple of PCB business cards on hackaday.com, I knew I had make my own. But how do I make it stand out? What should it do? How expensive can I get away with?</p>
<p>For this little project I decided to squeeze as much as possible out of a cheap ATTiny84. I chose the T84 because it&#8217;s dirt cheap (&lt;1$), I&#8217;ve been through it&#8217;s datasheet more than just a few times, and I wanted to see exactly how much it&#8217;s possible to squeeze into the 8192 bytes available.</p>
<p>Turns out the answer is: A lot!</p>
<p>I have a lot of individually addressable RGB WS2812B&#8217;s LED&#8217;s &#8211; aka NeoPixels &#8211; spread around my home(and about 850 left on a reel) that I&#8217;ve been controlling with prototypes made up of ATMega32u4&#8217;s and ATMega328p&#8217;s with 2.4Ghz nRF24L01+ tranceivers and a Raspberry Pi with the same tranceiver so I can control it from my phone. To justify spending more than a few cents per business card you need it to actually do something useful. Controlling RGB-LED&#8217;s was a start.</p>
<p>Attiny84 √</p>
<p>WS2812B&#8217;s √</p>
<p>nRF24L01+ √ (though i suspect pretty much everything out of China is actually SI24r1)</p>
<p>&nbsp;</p>
<p><a href="https://abnielsen.com/wp-content/uploads/2018/10/20181001_0085.jpg"><img loading="lazy" decoding="async" class="alignleft size-large wp-image-30" src="https://abnielsen.com/wp-content/uploads/2018/10/20181001_0085-1024x576.jpg" alt="" width="640" height="360" srcset="https://abnielsen.com/wp-content/uploads/2018/10/20181001_0085-1024x576.jpg 1024w, https://abnielsen.com/wp-content/uploads/2018/10/20181001_0085-300x169.jpg 300w, https://abnielsen.com/wp-content/uploads/2018/10/20181001_0085-768x432.jpg 768w" sizes="auto, (max-width: 640px) 100vw, 640px" /></a>I also added a 20 pin header that makes it easy to use this board for prototyping with the 14pin ATTiny&#8217;s. Easy access to every pin(and a few extra power pins) means you can easily solder sensors etc. directly onto the pins &#8211; or add male header pins and push it into a breadboard.</p>
<h3>How about USB?</h3>
<p>One of my annoyances when designing prototypes has always been that it&#8217;s really hard to make anything USB-capable(not to speak of compliant) for less than 5$. It is possible though, if you don&#8217;t follow the usual path. OBDev&#8217;s <a href="https://www.obdev.at/products/vusb/index.html">V-USB</a> (with a little bit of help from Adafruit&#8217;s TrinketHidCombo library) made it possible to squeeze some  USB capability into this project without adding much more extra hardware than two zener&#8217;s and three resistors.</p>
<h2>Software</h2>
<p>I have to be honest. I like the Arduino IDE for prototyping. Slapping a couple of libraries together doesn&#8217;t usually result in the most efficient code but when you want to put something together that showcases a lot of features fast &#8211; as in: a few hours &#8211; the vast amount of libraries for interfacing with every popular IC makes it hard no to take the easy route.<br />
Everything didn&#8217;t work straight out of the box though. The RF24 library needed pin definitions changed for the ATTiny84(since the USI&#8217;s DO/DI are reversed compared to MISO and MOSI and this hasn&#8217;t been fixed in the current version) and Adafruit&#8217;s TrinketHidCombo library also needed some tweaking to work with the T84. I also went with the Adafruit NeoPixel library  for controlling the WS2812b&#8217;s, even though it&#8217;s relatively huge for a tiny chip, but somehow I managed to fit the basic functionality into the 8k of flash anyway. It does however, use every single byte available and the debug functions won&#8217;t fit unless something else is disabled.</p>
<p>I thought about using the smaller <a href="https://github.com/sonyhome/FAB_LED">FAB_LED</a> library for driving the LED&#8217;s to leave more space for HID-stuff, but it doesn&#8217;t really play nice with the 10ms USB-polling when controlling more than one LED at a time so I went the easy way with the NeoPixel library and limited the HID capability to just pressing media keys (start/pause, volume up, volume down and stop). I pride myself in making software that&#8217;s good enough for doing the job without too much &#8220;gold plating&#8221;.</p>
<p>So for now, all it does is work as a 2.4Ghz USB-dongle for media keys along with controlling flashy flashy LED&#8217;s. Pretty good for 5$, gold plated board included, though.</p>
<h3>PCB Design</h3>
<p>So h<a href="https://abnielsen.com/wp-content/uploads/2018/10/Skærmbillede-2018-10-06-kl.-12.55.03.png"><img loading="lazy" decoding="async" class="alignleft size-large wp-image-79" src="https://abnielsen.com/wp-content/uploads/2018/10/Skærmbillede-2018-10-06-kl.-12.55.03-1024x558.png" alt="" width="640" height="349" srcset="https://abnielsen.com/wp-content/uploads/2018/10/Skærmbillede-2018-10-06-kl.-12.55.03-1024x558.png 1024w, https://abnielsen.com/wp-content/uploads/2018/10/Skærmbillede-2018-10-06-kl.-12.55.03-300x163.png 300w, https://abnielsen.com/wp-content/uploads/2018/10/Skærmbillede-2018-10-06-kl.-12.55.03-768x418.png 768w" sizes="auto, (max-width: 640px) 100vw, 640px" /></a>ow do you make a PCB business card look cool? The easy way to make it would&#8217;ve been some silkscreen text with contact information etc. but to me the typically low resolution silkscreen text wasn&#8217;t good enough so I went with making a big ground plane and putting the text and logo on the solder mask layer. The font in KiCAD isn&#8217;t my favourite either, so I went with making a footprint of the text from a bitmap instead.<br />
For the surface plating I could&#8217;ve gone with the cheaper options but I really believe the immersion gold(ENIG) makes too much of a difference to skip.<br />
I chose 0.8mm board thickness because it&#8217;s enough not to break unintentionally and also fits in a standard credit card slot of a wallet &#8211; without components that is.</p>
<p>&nbsp;</p>
<h3>How do you program it?</h3>
<p>At first I thought I would just skip the programming interface and use a test probe clip(<a href="https://www.pomonaelectronics.com/products/test-clips/soic-clip-14-pin">like this one from Pomona</a>) to program it.</p>
<p><img loading="lazy" decoding="async" class="alignright wp-image-8 size-large" src="https://abnielsen.com/wp-content/uploads/2018/10/20181001_0146-576x1024.jpg" alt="" width="576" height="1024" srcset="https://abnielsen.com/wp-content/uploads/2018/10/20181001_0146-576x1024.jpg 576w, https://abnielsen.com/wp-content/uploads/2018/10/20181001_0146-169x300.jpg 169w, https://abnielsen.com/wp-content/uploads/2018/10/20181001_0146-768x1366.jpg 768w, https://abnielsen.com/wp-content/uploads/2018/10/20181001_0146.jpg 1129w" sizes="auto, (max-width: 576px) 100vw, 576px" /></p>
<p>But since I have a feeling I will be using this as a protoboard many times, I decided to find a better solution. Of course I could just hold down jumper wires to the 20-pin header or solder them on &#8211; but in my opinion that would either be a hassle for fast prototyping or ruin the look.<br />
Instead I decided to experiment a little bit with programming pads(J2 if you take a look at the schematic), since I already had some pogo pins on the way from China when I ordered this. I didn&#8217;t have exact specs for how big the pads needed to be, so I went with a footprint meant for an SMD male header. When I got the pogo pins I soldered them onto female dupont wire terminators and then onto a perfboard. You can see the final result on the right, together with my overused USBasp. This is a solution I can really recommend, but the next time I make an interface like this I will most likely just use tiny pads 2.54mm(.1&#8243; standard header) apart and as small as possible. With the thickness of the solder mask, the pins slide right into place. The only downside is you need to apply a tiny bit of pressure while programming the device, but I prefer this to connecting jumper wires any day.</p>
<p>If you want to read more about this subject, take a look at my post about <a href="https://abnielsen.com/2018/10/02/programming-an-avr-without-taking-up-board-space/">programming an AVR without taking up board space</a>.</p>
<p>&nbsp;</p>
<h3>Want to make your own PCB Business card?</h3>
<p>The point of a business card is to share it with other people, so I&#8217;ve uploaded this whole project to <a href="https://github.com/AndersBNielsen/v-usb-businesscard">Github</a>. Feel free to fork it and put your own spin on it.</p>
<p>Leave a comment if you have any questions, suggestions etc. Any feedback &#8211; good or bad &#8211; is very welcome <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<p>&nbsp;</p>
<p><a href="https://abnielsen.com/wp-content/uploads/2018/10/20181001_0087.jpg"><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-29" src="https://abnielsen.com/wp-content/uploads/2018/10/20181001_0087-1024x576.jpg" alt="" width="640" height="360" srcset="https://abnielsen.com/wp-content/uploads/2018/10/20181001_0087-1024x576.jpg 1024w, https://abnielsen.com/wp-content/uploads/2018/10/20181001_0087-300x169.jpg 300w, https://abnielsen.com/wp-content/uploads/2018/10/20181001_0087-768x432.jpg 768w" sizes="auto, (max-width: 640px) 100vw, 640px" /></a></p>
]]></content:encoded>
					
					<wfw:commentRss>https://abnielsen.com/2018/10/02/business-card-rf24-ws2812b-attiny84-usb/feed/</wfw:commentRss>
			<slash:comments>4</slash:comments>
		
		
			</item>
	</channel>
</rss>
