<?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>Jaluino</title>
	<atom:link href="http://jaluino.org/feed" rel="self" type="application/rss+xml" />
	<link>http://jaluino.org</link>
	<description>PIC boards for hobbyists and DIYer</description>
	<lastBuildDate>Sun, 29 Apr 2012 10:47:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Building XBee network: part 1</title>
		<link>http://jaluino.org/building-xbee-network-part-1?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=building-xbee-network-part-1</link>
		<comments>http://jaluino.org/building-xbee-network-part-1#comments</comments>
		<pubDate>Sun, 29 Apr 2012 10:43:58 +0000</pubDate>
		<dc:creator>sebastien.lelong</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://jaluino.org/?p=120</guid>
		<description><![CDATA[Xbees are nice small part used to help small stuff, like Jaluino Bee, communicating together. These are wireless modules, implementing ZigBee protocol. This is quite a tough one, luckily using XBees themselves remains something accessible for the mere mortals. While you could use Bluetooth modules, you may still be interesting in using Xbee as they [...]]]></description>
			<content:encoded><![CDATA[<g:plusone href="http://jaluino.org/building-xbee-network-part-1"  size="standard"   ></g:plusone><p>Xbees are nice small part used to help small stuff, like Jaluino Bee, communicating together. These are wireless modules, implementing ZigBee protocol. This is quite a tough one, luckily using XBees themselves remains something accessible for the mere mortals. While you could use Bluetooth modules, you may still be interesting in using Xbee as they can join together to build a multi-point network. That is, having several modules talking each others, not just point-to-point communications.</p>
<p><img class="aligncenter" title="xbee" src="http://dlnmh9ip6v2uc.cloudfront.net/images/products/10415-03-L.jpg" alt="" width="360" height="360" /></p>
<p><span id="more-120"></span></p>
<h1><strong>Xbee in transparent mode</strong></h1>
<p>I&#8217;ve been using two XBees <a title="Building a powermeter with Jaluino Bee" href="http://jaluino.org/building-a-powermeter-with-jaluino-bee">for month</a>, in transparent mode. In this mode, point-to-point is implemented. This is basically a serial over-the-air link, it works very nicely, and most importantly, reliably.</p>
<p>I&#8217;ve been using Xbee series 2 only, as series 1 is becoming deprecated. While series 1 works right out-of-the-box, series 2 requires you upload a specific firmware. I strongly suggest you follow this great <a href="http://lucasfragomeni.com/arduino/wp-content/uploads/2010/09/xbee-setup.pdf">tutorial</a>, explaining all the steps in details. (note this PDF file can be found on many different sites, I wish I could credit the author but nothing except his first name &#8212; or last &#8211;, Cairn). I also strongly suggest you buy two XBee adaptors like the ones Cairn is using, you can find some for few bucks on eBay. And you&#8217;ll save a lot of time in the end.</p>
<p>So, this is transparent mode: in AT mode, a &#8220;Router / End Device&#8221;, typically your Jaluino Bee, is talking to a &#8220;Coordinator&#8221;, typically your PC, collecting data. This is not what we want here, but that&#8217;s a start, and that&#8217;s a first step before going further so make sure you&#8217;ve been able to have your xbees talking each other, through a point-to-point link.</p>
<p>&nbsp;</p>
<h1>Entering XBee API mode</h1>
<p>Now, what if you add a third Xbee ? Well, that&#8217;s what I&#8217;m facing right now, as I want to add another monitoring station, collecting data to some IOT platform like <a href="http://pachube.com">Pachube</a>. So, this third Xbee is going to cause a lot of pain if plugged as-is over your point-to-point link. Basically, Coordinator (PC) will receive characters from the other two xbees, without knowing which is talking. Conflicts, collisions. You could adapt your communication protocol, where the Coordinator would poll others Xbee, but you&#8217;d then implement retry on error, End Devices wouldn&#8217;t be able to talk without being explicitely asked to&#8230;</p>
<p>That&#8217;s what API mode is made for. In the mode, XBees can send data frame to each other, without any risk of collision. In order to achieve this, we need to access XBee through API commands. This isn&#8217;t transparent anymore, this adds complexity, but not much compared to what it brings on the other hand.</p>
<p>So, for this first part, we&#8217;ll make sure our XBees are properly configured. We won&#8217;t use any Jaluino Bees for now, just two XBees connected to a PC.</p>
<h2>Configuring Coordinator</h2>
<p>Plug a XBee on an adaptor, in the same configuration used in previous transparent mode tutorial (see PDF file link above). Wire this adaptor to USB-to-serial adaptor (again, see PDF tutorial).</p>
<p style="text-align: center;"><img class="aligncenter" title="mysetup" src="http://dl.dropbox.com/u/7090003/tutorial_xbee_api_part1/mysetup.jpg" alt="" width="448" height="335" /><em>My setup: on top, USB-to-serial converter, connected to, on bottom, XBee adaptor.</em></p>
<p>Open X-CTU, you should be able to see a USB serial port. Select it (mine is COM4), run &#8220;Test / Query&#8221;, to make sure you&#8217;re able to talk to your Xbee.</p>
<p>Now switch to &#8220;Modem Configuration&#8221; tab, click &#8220;Read&#8221;. In the dropdown list, select &#8220;ZNET 2.5 COORDINATOR API&#8221;. Click &#8220;Write&#8221;.</p>
<p style="text-align: center;"><img class="alignnone" title="writecoord" src="http://dl.dropbox.com/u/7090003/tutorial_xbee_api_part1/write_coord.png" alt="" width="454" height="564" /></p>
<p style="text-align: center;"><em>Selecting Coordinator API firmware</em></p>
<p>Go back to PC settings, run &#8220;Test / Query&#8221;. It fails. Why ? Because now we need to tell X-CTU it should access XBee in API mode. Check &#8220;Enable API&#8221;, and re-run test. It works.</p>
<p><img class="aligncenter" title="apiok" src="http://dl.dropbox.com/u/7090003/tutorial_xbee_api_part1/api_ok.png" alt="" width="451" height="567" /></p>
<p style="text-align: center;"><em>Using &#8220;Enable API&#8221;, we can talk to Xbee again</em></p>
<p>We now need to fine tune Coordinator configuration, specifically setting &#8220;Escape mode&#8221;. Back to &#8220;Modem Configuration&#8221;, click &#8220;Read&#8221;. Scroll down and set &#8220;API enable&#8221; to 2. This means some characters will be escaped, basically those used to form data frame. This ensure there won&#8217;t be collision between user data and API specific chars. Click &#8220;Write&#8221; again. You can also set a &#8220;Node Identifer&#8221; string, like &#8220;COORD&#8221;.</p>
<p style="text-align: center;"><img class="aligncenter" title="writecoorapi" src="http://dl.dropbox.com/u/7090003/tutorial_xbee_api_part1/write_coord_api2.png" alt="" width="451" height="568" /><em>API Enable = 2 means some chars will be escaped. While testing comms on &#8220;PC Settings&#8221; tab, you&#8217;ll need to check &#8220;Enable API&#8221; and &#8220;Use escape chars&#8221; to talk to your XBee !</em></p>
<p>Important: note the following parameters, we&#8217;ll need them later.</p>
<p><span style="text-decoration: underline;">Coordinator</span>:</p>
<ul>
<li><strong>Serial Number High: 13A200</strong></li>
<li><strong>Serial Number Low: 40301109</strong></li>
</ul>
<h2><strong>Configuring End-Device/Router</strong></h2>
<p>We&#8217;ll proceed the same, except we&#8217;ll select &#8220;ZNET 2.5 ROUTER/END DEVICE API&#8221;. Make sure you have &#8220;Enable API&#8221; set to 2.</p>
<p><span style="text-decoration: underline;">End Device/Router:</span></p>
<ul>
<li><strong>Serial Number High: 130200</strong></li>
<li><strong>Serial Number Low: 4054F82F</strong></li>
</ul>
<h2><strong>Testing API Mode</strong></h2>
<p>You have one Coordinator, one End Device. Plug them on their respective adapter. You should now have two Serial USB port, one for each. In the following test, Coordinator will send data to a specific End Device.</p>
<p>We&#8217;ll use the following python script in order to test our setting. These scripts use the excellent python-xbee library, you&#8217;ll need to install it: <a href="http://code.google.com/p/python-xbee/">http://code.google.com/p/python-xbee/</a></p>
<ul>
<li><a href="http://dl.dropbox.com/u/7090003/tutorial_xbee_api_part1/receive_samples.py">receive_samples.py</a></li>
<li><a href="http://dl.dropbox.com/u/7090003/tutorial_xbee_api_part1/send_samples.py">send_samples.py</a></li>
</ul>
<p>Edit &#8220;receive_samples.py&#8221;, and change PORT to whatever your port is. Mine is COM13 for End Device (remember, End Device will receive data).</p>
<p>Now edit &#8220;send_samples.py&#8221;, change serial port as well, and then change the value of DEST_ADDR_LONG. Here&#8217;s mine:</p>
<pre>DEST_ADDR_LONG = "\x00\x13\xA2\x00\x40\x54\xF8\x2F"</pre>
<p>Gasp,what is this ? Well, first, this is the destination address for End Device we want to talk to. That is, its &#8220;serial number high&#8221; concatenated to its &#8220;serial number low&#8221;. Have you noted these values ? Great. This address is 64-bits long, so you may pad values with 0s if needed.</p>
<p>My serial number high is 130200. I need two more bytes to have 32-bits, so that&#8217;s 00130200. My serial number low is 4054F82F. No 0s needed. So, final address is:</p>
<pre>"001302004054F82F"</pre>
<p>This is in hexadecimal format. We need to tell python about this. So we add &#8220;\x&#8221; in front of each byte:</p>
<pre>"\x00\x13\x02\x00\x40\x54\xF8\x2F"</pre>
<p>That&#8217;s it!</p>
<p>Now run the sample on different cmd shell.</p>
<p><img class="alignnone" title="cmd" src="http://dl.dropbox.com/u/7090003/tutorial_xbee_api_part1/comms_api.png" alt="" width="556" height="309" /></p>
<p style="text-align: center;"><em>It works !</em></p>
<p>You can try to switch address to End Device will talk to Coordinator. Plug Coordinator first and run receive sample. Then plug End Device, don&#8217;t run python sample. In this configuration, you&#8217;ll notice something interesting: when End Device is up, Coordinator will receive a data frame about it. Particularly, End Device sends its own address, something interesting to build generic host application where devices auto-register to the Coordinator Xbee.</p>
<p style="text-align: center;"><img class="alignnone" title="register" src="http://dl.dropbox.com/u/7090003/tutorial_xbee_api_part1/register_enddevice.png" alt="" width="665" height="332" /></p>
<p style="text-align: center;"><em>Devices sends information to coordinator about itself when powered up</em></p>
<h2></h2>
<h2>What&#8217;s next ?</h2>
<p>In next part we&#8217;ll see how to plug this on a Jaluino Bee, and make it talk to the PC. A final part will be dedicated to receiving data from PC.</p>
<p>&nbsp;</p>
<p>Any questions ? Join <a href="http://forums.jaluino.org/viewtopic.php?f=12&amp;t=51">Jaluino forums</a>.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://jaluino.org/building-xbee-network-part-1/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Make a wish to support Jaluino</title>
		<link>http://jaluino.org/make-a-wish-to-support-jaluino?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=make-a-wish-to-support-jaluino</link>
		<comments>http://jaluino.org/make-a-wish-to-support-jaluino#comments</comments>
		<pubDate>Sat, 24 Mar 2012 08:51:28 +0000</pubDate>
		<dc:creator>sebastien.lelong</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://jaluino.org/?p=115</guid>
		<description><![CDATA[I made a wish on Seeedstudio&#8217;s Wish platform: have Jaluino Bee board manufactured and listed at Seeedstudio, the next big step for this project. If you want to support Jaluino Bee, vote for this whish, it could come to reality! Cheers, Seb]]></description>
			<content:encoded><![CDATA[<g:plusone href="http://jaluino.org/make-a-wish-to-support-jaluino"  size="standard"   ></g:plusone><p>I made a <a href="http://www.seeedstudio.com/wish/?p=1260">wish </a>on Seeedstudio&#8217;s Wish platform: have Jaluino Bee board manufactured and listed at Seeedstudio, the next big step for this project.</p>
<p>If you want to support Jaluino Bee, vote for this <a href="http://www.seeedstudio.com/wish/?p=1260">whish</a>, it could come to reality!</p>
<p>Cheers, Seb</p>
]]></content:encoded>
			<wfw:commentRss>http://jaluino.org/make-a-wish-to-support-jaluino/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Building Jaluino Bee v2.1</title>
		<link>http://jaluino.org/building-jaluino-bee-v2-1?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=building-jaluino-bee-v2-1</link>
		<comments>http://jaluino.org/building-jaluino-bee-v2-1#comments</comments>
		<pubDate>Thu, 01 Mar 2012 07:01:37 +0000</pubDate>
		<dc:creator>sebastien.lelong</dc:creator>
				<category><![CDATA[Documentation]]></category>
		<category><![CDATA[Jaluino Bee]]></category>

		<guid isPermaLink="false">http://jaluino.org/?p=110</guid>
		<description><![CDATA[New v2.1 PCBs arrived so it was time to build a new board, testing this (not so) new design. This new version is mainly about being able to select widely used part. v2.0 suffered from a rare (or at prohibitive price) SD card holder, this new v2.1 fixes this, as well improving several other little [...]]]></description>
			<content:encoded><![CDATA[<g:plusone href="http://jaluino.org/building-jaluino-bee-v2-1"  size="standard"   ></g:plusone><p>New v2.1 PCBs arrived so it was time to build a new board, testing this (not so) new design. This new version is mainly about being able to select widely used part. v2.0 suffered from a rare (or at prohibitive price) SD card holder, this new v2.1 fixes this, as well improving several other little fixes (see improvement list on this <a href="http://forums.jaluino.org/viewtopic.php?f=5&amp;t=12">post</a>).</p>
<p>Building instructions are very <a title="Building Jaluino Bee v2.0" href="http://jaluino.org/building-jaluino-bee-v2-0">similar </a>to v2.0 so I&#8217;m not going to explain all of this in details, but the only the differences. If you basically follow v2.0 instructions there shouldn&#8217;t be any issue. Here are Jaluino Bee v2.1 related files:</p>
<ul>
<li><a href="http://jaluino.googlecode.com/svn/trunk/bee/jaluino_bee_v2.1_sch.png">Schematic</a></li>
<li><a href="http://jaluino.googlecode.com/svn/trunk/bee/jaluino_bee_v2.1_brd_top.png">Board top view</a></li>
<li><a href="http://jaluino.googlecode.com/svn/trunk/bee/jaluino_bee_v2.1_brd_bottom.png">Board bottom view</a></li>
<li><a href="https://docs.google.com/spreadsheet/pub?hl=en_US&amp;hl=en_US&amp;key=0Atj0cNzcGuUNdG5zclM2OWVKeGN2QzBmbWNyNE50eXc&amp;single=true&amp;gid=1&amp;output=pdf">BOM</a></li>
</ul>
<p style="text-align: center;"><img class="alignnone" title="bee" src="https://lh3.googleusercontent.com/-Z6YYDEh3NrA/T0qAVZPH9YI/AAAAAAAAAjY/XxODi7q9pBs/s400/beev21_1.jpg" alt="" width="400" height="300" /></p>
<p>This is Bee v2.1. Not much differences&#8230; Looking closely on this side, you&#8217;ll notice mini-USB has been replaced with a micro-USB connector (see this forum <a href="http://forums.jaluino.org/viewtopic.php?f=5&amp;t=11">post</a>). There was an issue with this connector, but on the design itself, but on the parts I ordered: they have small bumps, theoritically requiring holes on the PCB, which has none&#8230; So I had to cut those bumps in order to get this connector soldered. Bee user Trev reported he had micro-USB connectors without such bumps, so that&#8217;s really just a matter of selecting the proper part.</p>
<p style="text-align: center;"><img class="alignnone" title="bee" src="https://lh5.googleusercontent.com/-q2WTHB4dkYc/T0qAVp9A0DI/AAAAAAAAAjg/xFZe6YNwaw4/s400/beev21_4.jpg" alt="" width="400" height="300" /></p>
<p style="text-align: left;">Micro-USB connector is a little harder to solder than micro- one, since the pads are smaller. Nothing undoable, pads are well exposed to solder tip, that shouldn&#8217;t be a problem.</p>
<p style="text-align: center;"><img class="alignnone" title="bee" src="https://lh4.googleusercontent.com/-slfE1KWE4BU/T0qAU9oKB0I/AAAAAAAAAjQ/fCxRY2KUV5M/s400/beev21_3.jpg" alt="" width="400" height="300" /></p>
<p>Beside micro-USB, on the left, is C1 a 1µF capacitor, initially designed as a tantalum cap, and finally using a 0805 form factor. v2.1 fixes this by providing smaller soldering pads (note for the curious ones: Bee usually used 1206 SMD form factor, on which you can use both 0805 and 1206 components. I used this to let user choose, in the end, 0805 resistors and capacitors are much cheaper. Still 1206 pads make them easy to solder).</p>
<p style="text-align: center;"><img class="alignnone" title="bee" src="https://lh3.googleusercontent.com/-Rxa6d9oBnNE/T0qAVUGbrGI/AAAAAAAAAjU/ikgdpX4ZHUQ/s400/beev21_2.jpg" alt="" width="400" height="300" /></p>
<p style="text-align: left;">Finally, last main change is SD card holder. This is still <a href="http://forums.jaluino.org/viewtopic.php?f=5&amp;t=9">push-push</a> type one, but it now has pins clearly exposed outside the case (pins were under the case on previous one, make it quite hard to solder). This time, it&#8217;s both easy to solder, and also to source the component.</p>
<p style="text-align: left;">Building Jaluino Bee v2.1 is quite straight forward, no surprise. Tests went pretty well too. I use several test files designed to limit the number of extra components to the minimum (well, none), using onboard LED to notify tester whether it&#8217;s working or not:</p>
<ul>
<li><strong>Blink a LED</strong>: <a href="http://code.google.com/p/jaluino/source/browse/trunk/samples/jaluino_bee_blink.jal">jal</a> &#8211; <a href="http://code.google.com/p/jaluino/source/browse/trunk/samples/hex/jaluino_bee_blink.hex">hex</a> &#8211; <a href="http://www.youtube.com/watch?v=3VnlVNCzHtg">video</a></li>
<li><strong>Real-Time clock</strong>: <a href="http://code.google.com/p/jaluino/source/browse/trunk/samples/jaluino_bee_rtcc_hw.jal">jal</a> &#8211; <a href="http://code.google.com/p/jaluino/source/browse/trunk/samples/hex/jaluino_bee_rtcc_hw.hex">hex</a> &#8211; <a href="http://www.youtube.com/watch?v=ZGDR45ktP2Q">video</a></li>
<li><strong>Serial</strong>: <a href="http://code.google.com/p/jaluino/source/browse/trunk/samples/jaluino_bee_serial_hw_echo.jal">jal</a> &#8211; <a href="http://code.google.com/p/jaluino/source/browse/trunk/samples/hex/jaluino_bee_serial_hw_echo.hex">hex</a></li>
<li><strong>Serial USB</strong>: <a href="http://code.google.com/p/jaluino/source/browse/trunk/samples/jaluino_bee_usb_serial.jal">jal</a> &#8211; <a href="http://code.google.com/p/jaluino/source/browse/trunk/samples/hex/jaluino_bee_usb_serial.hex">hex</a></li>
<li><strong>SD-Card</strong>: <a href="http://code.google.com/p/jaluino/source/browse/trunk/samples/jaluino_bee_sd_card.jal">jal</a> &#8211; <a href="http://code.google.com/p/jaluino/source/browse/trunk/samples/hex/jaluino_bee_sd_card.hex">hex</a> &#8211; <a href="http://www.youtube.com/watch?v=6ynSeto_Ezc">video</a></li>
</ul>
<div>If you&#8217;re building a Bee, I strongly suggest to perform these tests, these are known to work out-of-the-box.</div>
<div>Happy building !</div>
<div>Cheers,</div>
<div>Seb</div>
<div>PS: since it&#8217;s working, I guess few kits could be provided as well&#8230; stay tuned and subcribe to the <a href="http://forums.jaluino.org/">forums</a>.</div>
<p style="text-align: left;">
]]></content:encoded>
			<wfw:commentRss>http://jaluino.org/building-jaluino-bee-v2-1/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New PCBs available (finally)</title>
		<link>http://jaluino.org/new-pcbs-available-finally?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=new-pcbs-available-finally</link>
		<comments>http://jaluino.org/new-pcbs-available-finally#comments</comments>
		<pubDate>Fri, 24 Feb 2012 18:54:22 +0000</pubDate>
		<dc:creator>sebastien.lelong</dc:creator>
				<category><![CDATA[Batch]]></category>
		<category><![CDATA[Jaluino Bee]]></category>

		<guid isPermaLink="false">http://jaluino.org/?p=105</guid>
		<description><![CDATA[&#160; At least new PCBs arrived! Chinese Spring holidays combined with an error in one Gerber files caused this delay. Interested ? Have a look at jaluino forums: Jaluino Bee v2.1 PCBs: here Mini-Crumboard v1.0 PCBs: here Mini-ProtoGrove v1.0 PCBs: here Follow instructions here in order to get some of these. Note: Bee v2.1 and [...]]]></description>
			<content:encoded><![CDATA[<g:plusone href="http://jaluino.org/new-pcbs-available-finally"  size="standard"   ></g:plusone><p style="text-align: center;"><img class="alignnone" title="pcbs" src="https://lh6.googleusercontent.com/-5vb8D7UB9vE/T0fcQDpaFaI/AAAAAAAAAh8/x-viHT-btLU/s400/pcbs_vrac.jpg" alt="" width="400" height="300" /></p>
<p>&nbsp;</p>
<p>At least new PCBs arrived! Chinese Spring holidays combined with an error in one Gerber files caused this delay.</p>
<p>Interested ? Have a look at jaluino forums:</p>
<ul>
<li>Jaluino Bee v2.1 PCBs: <a href="http://forums.jaluino.org/viewtopic.php?f=6&amp;t=29">here</a></li>
<li>Mini-Crumboard v1.0 PCBs: <a href="http://forums.jaluino.org/viewtopic.php?f=6&amp;t=30">here</a></li>
<li>Mini-ProtoGrove v1.0 PCBs: <a href="http://forums.jaluino.org/viewtopic.php?f=6&amp;t=31">here</a></li>
</ul>
<p>Follow instructions <a href="http://forums.jaluino.org/viewtopic.php?f=6&amp;t=25">here</a> in order to get some of these.</p>
<p>Note: Bee v2.1 and ProtoGrove designs aren&#8217;t tested yet (though it usually goes pretty well). Few kits (probably ~$10) should also come soon once tested, stay tuned (and subcribe to Batches forums)</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://jaluino.org/new-pcbs-available-finally/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Batches underway !</title>
		<link>http://jaluino.org/batches-underway?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=batches-underway</link>
		<comments>http://jaluino.org/batches-underway#comments</comments>
		<pubDate>Sat, 14 Jan 2012 15:26:42 +0000</pubDate>
		<dc:creator>sebastien.lelong</dc:creator>
				<category><![CDATA[Batch]]></category>
		<category><![CDATA[Jaluino Bee]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://jaluino.org/?p=99</guid>
		<description><![CDATA[After several month working of Bee improvements, new PCBs for Jaluino Bee v2.1 have been ordered from SeeedStudio. Several other PCBs have been ordered as well: some more Mini-Crumboard, and a new shield, Mini-ProtoGrove. I&#8217;ll post more about all of this when I get PCBs and build new Bees. In the mean time, you can [...]]]></description>
			<content:encoded><![CDATA[<g:plusone href="http://jaluino.org/batches-underway"  size="standard"   ></g:plusone><p><img class="aligncenter" title="bee" src="https://lh4.googleusercontent.com/-vKEsi61Hbw4/TxFBb0S75-I/AAAAAAAAAgQ/3ordoshV_a4/s400/bee_top.png" alt="" width="400" height="240" /><img class="alignnone aligncenter" title="crum" src="https://lh4.googleusercontent.com/-kyduno8SWxk/TxFBjvwo9DI/AAAAAAAAAg4/fuDTkIS3Itc/s400/minicrumboard_top.png" alt="" width="400" height="240" /><img class="alignnone aligncenter" title="grove" src="https://lh3.googleusercontent.com/-2dU1cVckAcY/TxFBg34ejbI/AAAAAAAAAgo/p_xyZxW2seI/s400/miniprotogrove_top.png" alt="" width="400" height="240" /></p>
<p>After several month working of <a href="http://forums.jaluino.org/viewtopic.php?f=5&amp;t=12">Bee improvements</a>, new PCBs for Jaluino Bee v2.1 have been ordered from <a href="http://www.seeedstudio.com/depot/">SeeedStudio</a>. Several other PCBs have been ordered as well: some more Mini-Crumboard, and a new shield, Mini-ProtoGrove. I&#8217;ll post more about all of this when I get PCBs and build new Bees. In the mean time, you can have more details in forums and pre-order PCBs:</p>
<ul>
<li><a href="http://forums.jaluino.org/viewtopic.php?f=6&amp;t=29">Jaluino Bee v2.1</a></li>
<li><a href="http://forums.jaluino.org/viewtopic.php?f=6&amp;t=30&amp;p=91#p91">Mini-Crumboard v1.0</a></li>
<li><a href="http://forums.jaluino.org/viewtopic.php?f=6&amp;t=31">Mini-ProtoGrove v1.0</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://jaluino.org/batches-underway/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Troubleshooting SD memory cards</title>
		<link>http://jaluino.org/troubleshooting-sd-memory-cards?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=troubleshooting-sd-memory-cards</link>
		<comments>http://jaluino.org/troubleshooting-sd-memory-cards#comments</comments>
		<pubDate>Sat, 26 Nov 2011 17:57:09 +0000</pubDate>
		<dc:creator>sebastien.lelong</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://jaluino.org/?p=96</guid>
		<description><![CDATA[This is a recurrent issue: &#8220;my SD card won&#8217;t work, I tried the sample, I triple check hardware, it just won&#8217;t work&#8221;. The main problem here it&#8217;s hard to get feedback and report it to jallib library&#8217;s author (namely Matt). Different issues were previously found: some brands seem to work better than others. For instance, [...]]]></description>
			<content:encoded><![CDATA[<g:plusone href="http://jaluino.org/troubleshooting-sd-memory-cards"  size="standard"   ></g:plusone><p>This is a recurrent issue: &#8220;my SD card won&#8217;t work, I tried the sample, I triple check hardware, it just won&#8217;t work&#8221;. The main problem here it&#8217;s hard to get feedback and report it to <a href="http://jallib.googlecode.com">jallib </a>library&#8217;s author (namely <a href="http://borntechi.com/">Matt</a>). Different issues were previously found:</p>
<ul>
<li>some brands seem to work better than others. For instance, SanDisk is reported to work nice, whereas there seems to have troubles using Kingston&#8217;s.</li>
<li>some SD cards will require pull-up resistors, some won&#8217;t.</li>
<li>and SDHC, high capacity SD card, aren&#8217;t supported.</li>
</ul>
<div><span id="more-96"></span></div>
<p>When experiencing SD card for the first time, it&#8217;s hard to understand where the issue comes from. You first have to check hardware, make sure connections are OK, add pullups resistors on at least on /SS pin. I&#8217;ve recently experienced a hardware issue, whereas I knew for sure it had previously worked. The problem was coming from a non-working connection on microSD socket. Soldering pins again fixed the issue.</p>
<p>Once hardware is checked, you&#8217;ll have to make sure your software is properly written, proved to work. Luckily you&#8217;ll find fully tested HEX files for Jaluino Bee board on project&#8217;s SVN (see <a href="http://code.google.com/p/jaluino/source/browse/#svn%2Ftrunk%2Fsamples%2Fhex">hex files</a>). Check correspoding uncompiled Jal files in order to know what&#8217;s expected. If your board is following standards (same MCU, Xtal,&#8230;), these HEX samples must work. If not, well, check your hardware. If it&#8217;s still doesn&#8217;t work, maybe it&#8217;s coming from your SD card.</p>
<p>You should now run the reporting sample, named &#8220;<a href="http://code.google.com/p/jaluino/source/browse/trunk/samples/hex/jaluino_bee_sd_card_report.hex">jaluino_bee_sd_card_report.hex</a>&#8221; (click on &#8220;View raw file&#8221; to download it). This is a Jaluino Bee sample that will print, through serial (9600 1N8), some debugging informations while initializing SD card. While this won&#8217;t fix your issue, it&#8217;ll at least help understanding where you&#8217;re stuck, helping developpers fixing the bug (hopefully).</p>
<p>Following is an example showing a successful SD card init:</p>
<p><img class="alignnone" title="OK" src="http://farm8.staticflickr.com/7034/6406254653_e36f71f07e_d.jpg" alt="" width="500" height="212" /></p>
<p>Basically, sd_init() is called, it tells the card it&#8217;ll use SPI protocol. It resets the card, and the card replies &#8220;ok&#8221; (0&#215;01). It&#8217;ll then wait the card to be ready. This means until the card doesn&#8217;t reply &#8220;00&#8243;, it&#8217;s not good. In this case, &#8220;00&#8243; was returned after seveteen &#8220;01&#8243;. So far so good, the init is done. More subsequent information is then displayed. Typically, in this case, it&#8217;s been reported by Matt that when the card replies &#8220;FF&#8221; instead of &#8220;01&#8243; after resetting the card, it&#8217;s mostly a hardware issue. I can confirm this from my last experiment <img src='http://jaluino.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>On the other hand, using the same program with a SDHC card gives:</p>
<p><img class="alignnone" title="KO" src="http://farm7.staticflickr.com/6048/6406254557_4eacb7889b_d.jpg" alt="" width="500" height="205" /></p>
<p>Unfortunately in this case, we&#8217;re getting stuck while waiting for the card to be ready. We&#8217;re constantly reading &#8220;01&#8243; as a response, while we should have &#8220;00&#8243;. (careful, don&#8217;t mess up with &#8220;reply&#8221; and &#8220;response&#8221; terms here. &#8220;reply&#8221; is the first returned value after reset, while &#8220;response&#8221; are the returned values while waiting for the card to be ready).</p>
<p>If you&#8217;re experiencing SD card problems, please run this sample on your Jaluino Bee board and report your results. Let&#8217;s hope with enough data, from different brands &amp; card types, we&#8217;ll find how to handle them all !</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://jaluino.org/troubleshooting-sd-memory-cards/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adapting microSD socket hinged type for Bee v2.0</title>
		<link>http://jaluino.org/adapting-microsd-socket-hinged-type-for-bee-v2-0?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=adapting-microsd-socket-hinged-type-for-bee-v2-0</link>
		<comments>http://jaluino.org/adapting-microsd-socket-hinged-type-for-bee-v2-0#comments</comments>
		<pubDate>Sun, 30 Oct 2011 08:22:53 +0000</pubDate>
		<dc:creator>sebastien.lelong</dc:creator>
				<category><![CDATA[Jaluino Bee]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://jaluino.org/?p=47</guid>
		<description><![CDATA[When I designed first versions of Bee, I mostly used Sparkfun Eagle library, as an habit, and browsed eBay on the other side in order to choose components: one that&#8217;s available in Eagle and cheap enough on eBay. By this time, I selected a microSD socket Push-Push type: These were easily found on eBay, at [...]]]></description>
			<content:encoded><![CDATA[<g:plusone href="http://jaluino.org/adapting-microsd-socket-hinged-type-for-bee-v2-0"  size="standard"   ></g:plusone><p>When I designed first versions of Bee, I mostly used <a href="https://github.com/sparkfun/SparkFun-Eagle-Library">Sparkfun Eagle library</a>, as an habit, and browsed eBay on the other side in order to choose components: one that&#8217;s available in Eagle and cheap enough on eBay. By this time, I selected a microSD socket Push-Push type:</p>
<p><img class="aligncenter" title="pushpush" src="http://farm7.static.flickr.com/6220/6293627421_fabf7404d1_m_d.jpg" alt="" width="229" height="199" /></p>
<p>These were easily found on eBay, at a decent price, I ordered 5pcs (~$5). Since then, these aren&#8217;t available anymore, alternatives sources are much more expensive, something like $3 to $4 per socket. This somewhat kills my low cost approach&#8230; Another drawback is pins are under the case, which make this part hard to solder, probably the most difficult one.</p>
<p><span id="more-47"></span></p>
<p>Now I have few PCBs left, but no more microSD socket and only half complete kits.</p>
<p>Maybe another socket could be used ?</p>
<p>I recently bought this type: microSD socket with hinge (hinged typed). Price is even lower: ~0.5$/socket.</p>
<p style="text-align: center;"><img class="alignnone" title="hinged" src="http://farm7.static.flickr.com/6240/6294152274_98123a6e10_m_d.jpg" alt="" width="200" height="240" /></p>
<p>Good news: this kind of socket can be adapted to Bee v2.0 layout, with minimal changes. Here how it goes&#8230;</p>
<p>This is mostly about the two GND pins at the bottom. If you try to place this connector on the PCB, you&#8217;ll see these GND pins are very closed to the shield connector&#8217;s hole:</p>
<p><img class="aligncenter" title="fit or not" src="https://lh6.googleusercontent.com/-ub6mYnaZR9A/Tq0FIL3c4WI/AAAAAAAAAbg/PHqUCzD3dv0/s400/P1040949.JPG" alt="" width="400" height="323" /></p>
<p>But&#8230;</p>
<ul>
<li>interestingly, the bottom left pin is near GND connector ! Since socket case must be tied to GND, this pin can be soldered with GND hole without harm.</li>
<li>the bottom right pin is near C5 pin. Using PIC18F27J53, this pin is a USB pin and isn&#8217;t exposed to shield connector. Again, it can be soldered without harm. If using PIC18F25K22 (this is my case here), this pin is exposed as this MCU isn&#8217;t USB-capable. So the microSD GND pin must be cut in order to make sure it won&#8217;t touch to the shield connector.</li>
<li>on the upper side, another socket&#8217;s GND pin is near a GND pad. Can be soldered to it.</li>
</ul>
<div>Here&#8217;s the result:</div>
<div style="text-align: center;"><img class="alignnone" title="soldered" src="https://lh6.googleusercontent.com/-xXKeW8qPz3s/Tq0FIH-0czI/AAAAAAAAAbk/fEzT3S9KfFc/s400/P1040950.JPG" alt="" width="400" height="286" /></div>
<div style="text-align: left;">Notice the GND pin of the left is soldered within GND shield connector&#8217;s hole. The other bottom GND pin isn&#8217;t soldered as I&#8217;m using PIC18F25K22. It could have been soldered safely if using PIC18F27J53.</div>
<div style="text-align: left;"><img class="aligncenter" title="otherside" src="https://lh4.googleusercontent.com/--Nz-KVW3Cx0/Tq0FIJRKJMI/AAAAAAAAAbc/Y7jGBYUopuU/s400/P1040951.JPG" alt="" width="400" height="236" /></div>
<div style="text-align: left;">On the other side, one GND pin is soldered to one of the original microSD socket&#8217;s GND pad. The laft, fourth GND pin isn&#8217;t soldered at all. It&#8217;s a good idea to add some glue here to make sure the socket is firmly fixed to the PCB.</div>
<div style="text-align: left;">Note microSD SPI pins are clearly exposed when socket is opened, they can easily be soldered, at least much easier than using original Push-Push socket.</div>
<p>If you&#8217;re about trying this, don&#8217;t trust me and double check connections <img src='http://jaluino.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Give feedback as well.</p>
<p>And in the end, Push-Push socket will have to be replaced in another PCB batch.</p>
]]></content:encoded>
			<wfw:commentRss>http://jaluino.org/adapting-microsd-socket-hinged-type-for-bee-v2-0/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Building a powermeter with Jaluino Bee</title>
		<link>http://jaluino.org/building-a-powermeter-with-jaluino-bee?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=building-a-powermeter-with-jaluino-bee</link>
		<comments>http://jaluino.org/building-a-powermeter-with-jaluino-bee#comments</comments>
		<pubDate>Wed, 28 Sep 2011 19:30:11 +0000</pubDate>
		<dc:creator>sebastien.lelong</dc:creator>
				<category><![CDATA[Jaluino Bee]]></category>
		<category><![CDATA[Project]]></category>

		<guid isPermaLink="false">http://jaluino.org/?p=41</guid>
		<description><![CDATA[You may have heard about &#8220;Internet Of Things&#8221;, platforms mixing hardware and software projects to publish and share data accross the web. The idea is to have some hardware collecting data, and publishing it on a website. One successful example, open source &#38; free, is ThingSpeak, used here in this post. So, Jaluino Bee is [...]]]></description>
			<content:encoded><![CDATA[<g:plusone href="http://jaluino.org/building-a-powermeter-with-jaluino-bee"  size="standard"   ></g:plusone><p>You may have heard about &#8220;Internet Of Things&#8221;, platforms mixing hardware and software projects to publish and share data accross the web. The idea is to have some hardware collecting data, and publishing it on a website. One successful example, open source &amp; free, is <a href="http://www.thingspeak.com/">ThingSpeak</a>, used here in this post.</p>
<p>So, Jaluino Bee is cheap (~$10 if you build your kit yourself) and that was one main goal while designing it. A reason is the cheaper it is, the more you can put Bees as things in the internet. This is the idea here: collecting electrical consumption from a power device and publish it on ThingSpeak.</p>
<p><img class="aligncenter" title="led" src="https://lh5.googleusercontent.com/-EhVCWYbjmdI/Tm-pq-SOe4I/AAAAAAAAAaY/t7263aYve6Y/s400/P1040785.JPG" alt="" width="300" height="400" /></p>
<p style="text-align: center;"><em>Flashing LED (between the two blue buttons)</em></p>
<p><span id="more-41"></span>How does it work ? My electrical counter device had a LED flashing every 1W/h. A photo transistor is used to detect and count these flashes, using interrupts. RTCC peripheral collects timestamps and an alarm triggers another interrupt type every minute. Data is sent over serial, through a bluetooth module.</p>
<p>&nbsp;</p>
<p><img class="alignnone aligncenter" title="mount" src="https://lh5.googleusercontent.com/-nREQ0fars-8/Tm-puP2x3vI/AAAAAAAAAaw/0cY-rcXPISc/s400/P1040775.JPG" alt="" width="400" height="300" /></p>
<p style="text-align: center;"><em>Photo transistor mounter on power device (ok, quick &amp; dirty)</em></p>
<p>&nbsp;</p>
<p><img class="aligncenter" title="led" src="https://lh4.googleusercontent.com/-KBqxO9yivFM/Tm-pra0fRYI/AAAAAAAAAac/ryg6bIgHZDY/s400/P1040783.JPG" alt="" width="400" height="300" /></p>
<p style="text-align: center;"><em>Photo transistor with small plastic cylinder to focus light from LED.</em></p>
<p style="text-align: center;"><img class="alignnone" title="bluetooth" src="https://lh4.googleusercontent.com/-NNQhlgHeWlg/Tm-psE1sOLI/AAAAAAAAAak/z0u7fBVLwbw/s400/P1040781.JPG" alt="" width="400" height="300" /></p>
<p style="text-align: center;"><em>Bluetooth module plugged on Bee</em></p>
<p style="text-align: center;"><img class="alignnone" title="shield" src="https://lh3.googleusercontent.com/-KAsmO1-wbbI/Tm-psr3FsbI/AAAAAAAAAao/G5HNAzbEOvc/s400/P1040780.JPG" alt="" width="400" height="300" /></p>
<p style="text-align: center;"><em>Application shield, from a Crumboard shield </em><em>(prototyping area on which you can solder components)</em></p>
<p style="text-align: center;"><img class="alignnone" title="whole" src="https://lh4.googleusercontent.com/-HmCGFE5mI44/Tm-ptNV0_wI/AAAAAAAAAas/NP8e9tEQk_Y/s400/P1040776.JPG" alt="" width="400" height="300" /></p>
<p style="text-align: center;"><em>The whole solution: Bee + Bluetooth + Shield, powered by USB</em></p>
<p>On a server, a python script is receiving data through serial, format it and publish it to ThingSpeak using its API. Python script also initializes RTC date &amp; time on Bee&#8217;s side.</p>
<p>Results: on this video, white LED is triggered by flashing LED on electrical counter device. Blue lights are coming from bluetooth module, meaning it&#8217;s alive.</p>
<div align="center"><iframe src="http://www.youtube.com/embed/l0JGA5G2azo" frameborder="0" width="420" height="315"></iframe></div>
<p>&nbsp;</p>
<p>Data published to ThingSpeak can be viewed thanks to a very nice web API:</p>
<p><img class="aligncenter" title="ts" src="https://lh5.googleusercontent.com/-falsjXId_ao/ToS5_eS7W1I/AAAAAAAAAbI/QZoYJ6wikoE/s400/thingspeak.png" alt="" width="400" height="294" /></p>
<p style="text-align: center;"><em>One data point every minute</em></p>
<p>&nbsp;</p>
<p>Does it work ? More or less. The main problem here is the bluetooth link. Server often lost connection, definitely loosing data collecting, mainly due to the distance. Even if few meters away, signal doesn&#8217;t seem to be strong enough. A true Xbee module should be tested in order to check performances. As improvement, in order to fully exploit Bee&#8217;s capabilities, SD-card should be used to store data in case server isn&#8217;t available, then publish them when back. On the previous graph, there seems to be two bad data point showing an extreme consumption, probably not realistic. This probably means flash detection needs some kind of debounce logic (interrupts can be triggered multiple time for one flash&#8230;). Finally, features should be added to firmware in order to better configure Bee&#8217;s behavior.</p>
<p>More later, for sure&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://jaluino.org/building-a-powermeter-with-jaluino-bee/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Building Jaluino Bee v2.0</title>
		<link>http://jaluino.org/building-jaluino-bee-v2-0?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=building-jaluino-bee-v2-0</link>
		<comments>http://jaluino.org/building-jaluino-bee-v2-0#comments</comments>
		<pubDate>Sun, 28 Aug 2011 17:36:30 +0000</pubDate>
		<dc:creator>sebastien.lelong</dc:creator>
				<category><![CDATA[Jaluino Bee]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://jaluino.org/?p=14</guid>
		<description><![CDATA[This is a quick &#38; dirty recipe to build Jaluino Bee v2.0 from a kit. Build your kit at your own risk, I&#8217;m not responsible for any damages, you&#8217;ve been warned. Twice. Here we go. So, this is typically how a home-made kit looks like&#8230; Here are the big parts composing the kit: PCB, pin [...]]]></description>
			<content:encoded><![CDATA[<g:plusone href="http://jaluino.org/building-jaluino-bee-v2-0"  size="standard"   ></g:plusone><p style="text-align: center;"><img class="aligncenter" title="result" src="http://dangerousprototypes.com/wp-content/media/2011/08/Jaluino-Bee-W600.jpg" alt="" width="216" height="162" /></p>
<p>This is a quick &amp; dirty recipe to build Jaluino Bee v2.0 from a kit. Build your kit at your own risk, I&#8217;m not responsible for any damages, you&#8217;ve been warned. Twice.</p>
<p>Here we go.</p>
<p><span id="more-14"></span></p>
<table border="0">
<tbody>
<tr>
<td><a href="https://picasaweb.google.com/lh/photo/zv6U51XWgI5I6ZJs_vnkIQ?feat=embedwebsite"><img src="https://lh5.googleusercontent.com/-HSp9tcntOp4/TloePywf5tI/AAAAAAAAAYg/2i75zyZxLz4/s288/small_P1040770.JPG" alt="" width="288" height="216" /></a></td>
<td valign="top">So, this is typically how a home-made kit looks like&#8230;</td>
</tr>
<tr>
<td><a href="https://picasaweb.google.com/lh/photo/3ook3OWwGoGugP5TdvS4oQ?feat=embedwebsite"><img src="https://lh4.googleusercontent.com/-YM8UhBm-jNM/TloeP_CSwyI/AAAAAAAAAYc/BeRB2tGapJU/s288/small_P1040771.JPG" alt="" width="288" height="216" /></a></td>
<td valign="top">Here are the big parts composing the kit: PCB, pin headers, crystals, SD card holder, USB, jumpers, and PIC18F27J53.As opposed to&#8230;</td>
</tr>
<tr>
<td><a href="https://picasaweb.google.com/lh/photo/E7LM4oPHuBHmXMlsjnUFFw?feat=embedwebsite"><img src="https://lh6.googleusercontent.com/-FJ1IHjFa8_I/TloeRU1aokI/AAAAAAAAAZA/_OT5Yq20KPw/s288/small_P1040773.JPG" alt="" width="216" height="288" /></a></td>
<td valign="top">&#8230; small, very small SMD components <img src='http://jaluino.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> Those are stuck on a paper showing the Bill Of Material (BOM). Make sure to get components, one by one. You won&#8217;t be able to identify them (eg. capacitors) once they&#8217;re far away from their label.(Thanks to Trev for this great idea)Note: you can access the full BOM in PDF following this <a href="https://docs.google.com/spreadsheet/pub?hl=en_US&amp;hl=en_US&amp;key=0Atj0cNzcGuUNdG5zclM2OWVKeGN2QzBmbWNyNE50eXc&amp;single=true&amp;gid=1&amp;output=pdf">link</a></td>
</tr>
<tr>
<td><a href="http://jaluino.googlecode.com/svn/trunk/bee/jaluino_bee_v2.0_sch.png"><img src="http://jaluino.googlecode.com/svn/trunk/bee/jaluino_bee_v2.0_sch.png" alt="" width="288" height="193" /></a></td>
<td valign="top">Make sure to have the full Jaluino Bee v2.0 schematic somewhere, you&#8217;ll have to refer to it quite frequently.</td>
</tr>
<tr>
<td><a href="http://jaluino.googlecode.com/svn/trunk/bee/jaluino_bee_v2.0_brd_top.png"><img src="http://jaluino.googlecode.com/svn/trunk/bee/jaluino_bee_v2.0_brd_top.png" alt="" width="288" height="260" /></a></td>
<td valign="top">Here&#8217;s the top side of PCB. Refer to this image if you have trouble reading PCB labels.</td>
</tr>
<tr>
<td><a href="http://jaluino.googlecode.com/svn/trunk/bee/jaluino_bee_v2.0_brd_bottom.png"><img src="http://jaluino.googlecode.com/svn/trunk/bee/jaluino_bee_v2.0_brd_bottom.png" alt="" width="288" height="260" /><br />
</a></td>
<td valign="top">Same for the bottom side.</td>
</tr>
<tr>
<td><a href="https://picasaweb.google.com/lh/photo/8Zhqp5ZgG5ylZqRme0DZbQ?feat=embedwebsite"><img src="https://lh3.googleusercontent.com/-r_Zh2rZOt4M/Tk30euirRUI/AAAAAAAAAYA/La9plrVCuKk/s288/small_P1040734.JPG" alt="" width="288" height="216" /></a></td>
<td valign="top">OK, here we go. You&#8217;ll need to thin soldering iron, and ideally a hot air station, particularly useful when soldering the SD card holder.But for now, we&#8217;ll build the power supply part. Start to solder micro USB connector. Make sure there&#8217;s no shorcut between pins. On this photo, the two most left pins are shorcut, no good&#8230;</td>
</tr>
<tr>
<td><a href="https://picasaweb.google.com/lh/photo/iAQnRgomMWR4FdsJW2Rx4Q?feat=embedwebsite"><img src="https://lh3.googleusercontent.com/-QW6XLRMme5U/Tk30ei4_EKI/AAAAAAAAAYA/lItqbxyyFVI/s288/small_P1040737.JPG" alt="" width="288" height="216" /></a></td>
<td valign="top">Congrats, soldering USB connector isn&#8217;t that easy. Let&#8217;s continue.Solder C7 tantalum caps (yellow), D2 Schottky diode, AMS117 3V3 voltage regulator, D1 protection diode.Note: tantalum have a bold line showing their anode. It&#8217;s not the cathode, as with diodes for instance. Silkscreen for tantalums shows a curved end, this is where the bold line side should go. Zoom the photo as needed.</td>
</tr>
<tr>
<td><a href="https://picasaweb.google.com/lh/photo/0GTZrLrWgwZrD49lamAZtA?feat=embedwebsite"><img src="https://lh6.googleusercontent.com/-1rHOSPKInR4/Tk30efgbB7I/AAAAAAAAAYA/96-czXU0yRo/s288/small_P1040739.JPG" alt="" width="288" height="216" /></a></td>
<td valign="top">Don&#8217;t forget to solder 250mA resettable fuse on the bottom side.</td>
</tr>
<tr>
<td><a href="https://picasaweb.google.com/lh/photo/iv2NetDJ_OyKK-YnpHOH-w?feat=embedwebsite"><img src="https://lh6.googleusercontent.com/-2yXdLsSUkqs/Tk30gYw_reI/AAAAAAAAAYA/fVdDtWj-B0w/s288/small_P1040740.JPG" alt="" width="288" height="216" /></a></td>
<td valign="top">Solder LED1 (power supply LED) with its resistor R5.Solder both 1&#215;3 pin headers, and put jumpers on them, like on the photo. <strong>Be careful.</strong>The first jumper on the left is to select whether you want the board to be powered using a battery (using the two big pads, refer to top side image), or USB. Putting the jumper as shown on the photo will select USB as power source. This is what we want<br />
The second jumper is critical. It selects whether you want to bypass voltage regulation or not. In our case, since USB powered, we have to, we must use voltage regulation, so we put jumper as shown. If we had powered the board using 2xAAA 1.5V barrery, we could bypass regulation as 3V would be enough to power the PIC. <strong>Don&#8217;t touch this jumper unless you&#8217;re sure about what you&#8217;re doing, you can burn your board otherwise.</strong></td>
</tr>
<tr>
<td><a href="https://picasaweb.google.com/lh/photo/K2tlKLXJz230GFgmqD40YA?feat=embedwebsite"><img src="https://lh4.googleusercontent.com/-mmx9allY8do/Tk30hkEsa8I/AAAAAAAAAYA/3ouMEqH4qhQ/s288/small_P1040745.JPG" alt="" width="288" height="216" /></a></td>
<td valign="top">LEDs are polarized, make sure to respect polarity. LEDs show a small green dot reprenting the cathode (the bar at the top of triangle/arrow).(zoom the photo, you&#8217;ll see the green dot&#8230;)</td>
</tr>
<tr>
<td><a href="https://picasaweb.google.com/lh/photo/UQwBI4OCPYLAhDj-JD77xg?feat=embedwebsite"><img src="https://lh3.googleusercontent.com/-5-wrhFopxmY/Tk30foNv0RI/AAAAAAAAAYA/Yv17Dk_8EEw/s288/small_P1040742.JPG" alt="" width="288" height="216" /></a></td>
<td valign="top">Are you sure everything is good ? Great, let&#8217;s give a try. Red LED should light. Make sure you have 3V3 across the board (point pin headers bottom, using GND and Vdd. Also check on PIC&#8217;s pads).</td>
</tr>
<tr>
<td><a href="https://picasaweb.google.com/lh/photo/cjVRbbidIH4_Z73yylljfg?feat=embedwebsite"><img src="https://lh5.googleusercontent.com/-zeRI_MXyQ78/Tk30g8wkGmI/AAAAAAAAAYA/jXjb4fRBIc0/s288/small_P1040743.JPG" alt="" width="288" height="216" /></a></td>
<td valign="top">Celebrate this momentum, and admire your red LED. Have a break, breathe gently and deeply.Let&#8217;s continue.Solder R1, R6, C13 and push button. This is the reset circuitry. Add decoupling cap C4, LED4 and R20.Then solder C3, C6, C12, onboard LED2 and R2. Then C1, C2, C9, C10, C5.About C12: this is 1µF cap, 0805 form factor, but pads are greater. Just make sure to add enough solder to create connection.</td>
</tr>
<tr>
<td><a href="https://picasaweb.google.com/lh/photo/bCDLuU_op-ff_NVV_8c9cA?feat=embedwebsite"><img src="https://lh5.googleusercontent.com/-1MzgWHAttWQ/Tk30iHof1PI/AAAAAAAAAYA/Tyuu5Bjthqw/s288/small_P1040746.JPG" alt="" width="288" height="216" /></a></td>
<td valign="top">OK, drink some water, relax yourself, we now have to solder PIC18F27J53. Not that hard, much more esier than USB connector for instance. As usual, make sure there&#8217;s no shortcuts, and make sure pins are exposed to pin headers. Careful: no all pins are connected to headers, for instance, USB pins and Xtal aren&#8217;t exposed by default.</td>
</tr>
<tr>
<td><a href="https://picasaweb.google.com/lh/photo/OfdUZfnAvpUyYHw1wcjiMw?feat=embedwebsite"><img src="https://lh5.googleusercontent.com/-uT7L7_WQc24/Tk30i1rgq3I/AAAAAAAAAYA/O6Y7TlpIwyU/s288/small_P1040748.JPG" alt="" width="288" height="216" /></a></td>
<td valign="top">The hardest part: SD card holder. Hard because pins are below the component itself. This is where a hot air station is very helpful. But you can still doing this using a soldering iron, and approach the tip below the holder.You can postpone this step if you like. You won&#8217;t be able to use SD card (obviously) but you&#8217;ll be able to check everything else is ok.</td>
</tr>
<tr>
<td><a href="https://picasaweb.google.com/lh/photo/km1QJvVnTeTph3FIGSjpBg?feat=embedwebsite"><img src="https://lh6.googleusercontent.com/-gaeM56iglgI/Tk30jv6yjSI/AAAAAAAAAYA/OZ0Th-oN058/s288/small_P1040749.JPG" alt="" width="288" height="216" /></a></td>
<td valign="top">SD card holder soldered, good job (or not&#8230;)You can also solder pullups resistors. These are for SD-card. Sometimes they are useful, sometimes not. Start on the safe side and solder R11 and R12, these are /SS pins for SPI/SD-card and SPI/extra memory chip (if you want to add it later)</td>
</tr>
<tr>
<td><a href="https://picasaweb.google.com/lh/photo/lVWezVgOiGHoZWBBYo81pA?feat=embedwebsite"><img src="https://lh4.googleusercontent.com/-tMsiL1YiQE8/Tk30lvNA5gI/AAAAAAAAAYA/LuItfRWHTPA/s288/small_P1040751.JPG" alt="" width="288" height="216" /></a></td>
<td valign="top">Now solder crystals Q1 and Q2. Make sure Q2 won&#8217;t touch surrounding C9/C10 caps</td>
</tr>
<tr>
<td><a href="https://picasaweb.google.com/lh/photo/ffDkI3wt9U5BjUeqLgsc3g?feat=embedwebsite"><img src="https://lh6.googleusercontent.com/-kdgouUh_xL8/Tk30kUOHIkI/AAAAAAAAAYA/TYRTe4WhtVc/s288/small_P1040750.JPG" alt="" width="288" height="216" /></a></td>
<td valign="top">Almost done !Solder C11 on the bottom side.</td>
</tr>
<tr>
<td><a href="https://picasaweb.google.com/lh/photo/c8vVXXN_bDm1UlByG1hq1g?feat=embedwebsite"><img src="https://lh3.googleusercontent.com/-f1-IgWsLops/Tk30lygyefI/AAAAAAAAAYA/TRDknSnUsto/s288/small_P1040752.JPG" alt="" width="288" height="216" /></a></td>
<td valign="top">Now configure your board with solder jumper. Solder SJ7 and SJ1. Here were connecting Vusb to Vdd, and select pin A5 as SCK pin in SPI protocol.You can also see on this photo how C12, the 1µF cap, is soldered on big pads.</td>
</tr>
<tr>
<td><a href="https://picasaweb.google.com/lh/photo/JkkRnpJN6q3X4YIjG_-QSg?feat=embedwebsite"><img src="https://lh3.googleusercontent.com/-pbWSSDn_Mg4/Tk30mZ88XqI/AAAAAAAAAYA/MfJTOP20OJk/s288/small_P1040753.JPG" alt="" width="288" height="216" /></a></td>
<td valign="top">If you have a Xbee (and something using the same form factor), make sure to first plug Xbee pin headers before soldering them. Those headers aren&#8217;t symmetrical, so if you solder them &#8220;randomly&#8221; your Xbee may fit as well as it could.So plug your header on your Xbee, position the whole on the board, solder 2 or 3 pins on each pin header, remove your Xbee, and finish soldering.If you don&#8217;t have any Xbee modules on the like, I suggest to postpone this step, until you really need it. These pin headers are also very hard to unsolder without damages.</td>
</tr>
<tr>
<td><a href="https://picasaweb.google.com/lh/photo/1kMcW9hleiN9etYTKpXGmg?feat=embedwebsite"><img src="https://lh4.googleusercontent.com/-tFNzTMca3_A/Tk30nesFHUI/AAAAAAAAAYA/pmYKfpeNQuk/s288/small_P1040756.JPG" alt="" width="288" height="216" /></a></td>
<td valign="top">OK, done ! Celebrate again !Top side should look like this.</td>
</tr>
<tr>
<td><a href="https://picasaweb.google.com/lh/photo/sR1qBk8_kXj6jN6nfgBLKQ?feat=embedwebsite"><img src="https://lh3.googleusercontent.com/-1kufFIn6EXY/Tk30oAFBC6I/AAAAAAAAAYA/uptvL-4F8e4/s288/small_P1040757.JPG" alt="" width="288" height="216" /></a></td>
<td valign="top">Bottom side should look like this.</td>
</tr>
<tr>
<td><a href="https://picasaweb.google.com/lh/photo/G6Ke1IgTQHV1wQKio9J9uQ?feat=embedwebsite"><img src="https://lh4.googleusercontent.com/-mTUAL9BRL0Q/Tk30pZ2x6nI/AAAAAAAAAYA/pEErGU_Ov-k/s288/small_P1040758.JPG" alt="" width="288" height="216" /></a></td>
<td valign="top">Board is ready to be tested. It can be programmed with PicKit2 for instance, but it needs to be upgraded (dat files).</td>
</tr>
</tbody>
</table>
<p>Where to go now ? You can check Hex files on Jaluino Google Code SVN repository. I&#8217;ve been succesfully tested them: <a href="http://code.google.com/p/jaluino/source/browse/#svn%2Ftrunk%2Fsamples%2Fhex">http://code.google.com/p/jaluino/source/browse/#svn%2Ftrunk%2Fsamples%2Fhex</a></p>
<p>Please also give feedback, on Jaluino Group: <a href="http://groups.google.com/group/jaluino">http://groups.google.com/group/jaluino</a></p>
<p>I hope you&#8217;ll have as much fun as I have designing and using this board.</p>
]]></content:encoded>
			<wfw:commentRss>http://jaluino.org/building-jaluino-bee-v2-0/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Jaluino Bee giveaway on Dangerous Prototypes</title>
		<link>http://jaluino.org/jaluino-bee-giveaway-on-dangerous-prototypes?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=jaluino-bee-giveaway-on-dangerous-prototypes</link>
		<comments>http://jaluino.org/jaluino-bee-giveaway-on-dangerous-prototypes#comments</comments>
		<pubDate>Tue, 02 Aug 2011 18:25:45 +0000</pubDate>
		<dc:creator>sebastien.lelong</dc:creator>
				<category><![CDATA[Jaluino Bee]]></category>
		<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://jaluino.org/?p=23</guid>
		<description><![CDATA[Jaluino Bee gets listed on Dangerous Prototypes, post your best &#38; fun project and win a Jaluino Bee board !]]></description>
			<content:encoded><![CDATA[<g:plusone href="http://jaluino.org/jaluino-bee-giveaway-on-dangerous-prototypes"  size="standard"   ></g:plusone><p><strong>Jaluino Bee</strong> gets listed on <a href="http://dangerousprototypes.com/2011/08/02/jaluino-bee-v2-0-board-giveaway/">Dangerous Prototypes</a>, post your best &amp; fun project and win a Jaluino Bee board !</p>
<p><img class="aligncenter" src="http://dangerousprototypes.com/wp-content/media/2011/08/Jaluino-Bee-W600.jpg" alt="" width="360" height="270" /></p>
]]></content:encoded>
			<wfw:commentRss>http://jaluino.org/jaluino-bee-giveaway-on-dangerous-prototypes/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- www.000webhost.com Analytics Code -->
<script type="text/javascript" src="http://stats.hosting24.com/count.php"></script>
<noscript><a href="http://www.hosting24.com/"><img src="http://stats.hosting24.com/count.php" alt="web hosting" /></a></noscript>
<!-- End Of Analytics Code -->

