microBuilder Blog microBuilder Blog http://www.microbuilder.eu/Blog.aspx http://backend.userland.com/rss LPC1114 and LPC1343, meet Github As of today, both the LPC1114 Code Base and LPC1343 Code Base are officially being moved from Google Code to Github.  The latest development versions and changelog of these libraries can be seen at the following URLs:<div><br/></div><div><a href='https://github.com/microbuilder/LPC1114CodeBase'>LPC1114 Code Base</a> on Github (<a href='https://github.com/microbuilder/LPC1114CodeBase/blob/master/ChangeLog.txt'>changelog</a>)</div><div><a href='https://github.com/microbuilder/LPC1343CodeBase'>LPC1343 Code Base</a> on Github (<a href='https://github.com/microbuilder/LPC1343CodeBase/blob/master/ChangeLog.txt'>changelog</a>)</div><div><br/></div><div>Hopefully this won't pose too many problems for current users.  If you haven't updated in a while, a number of bug fixes and new code have been included in the latest build, including an important bug fix in the PLL configuration.  Have a look at the changelogs or the source code for more details.</div> http://www.microbuilder.eu/Blog/11-08-07/LPC1114_and_LPC1343_meet_Github.aspx microbuilder http://www.microbuilder.eu/Blog/11-08-07/LPC1114_and_LPC1343_meet_Github.aspx aa17fcc1-f657-4614-9c85-097dba36c356 Sun, 07 Aug 2011 16:23:01 GMT Tools for the lean hardware startup <p><img src='/Images/Blog/LightThinkingDesignSketch600w.png' alt='' /></p> <p>The folks over at <a target='_new' shape='rect' href='http://lightthinkinglabs.com/wp/'>LightThinking</a> put together a great post called <a target='_new' shape='rect' href='http://lightthinkinglabs.com/wp/2010/11/18/tools-for-the-lean-hardware-start-up/'>Tools for the lean hardware startup</a> that's well worth a few minutes of your time if you're interested in some of the challenges and opportunities that exist today in HW and product development. </p> http://www.microbuilder.eu/Blog/11-05-08/Tools_for_the_lean_hardware_startup.aspx microbuilder http://www.microbuilder.eu/Blog/11-05-08/Tools_for_the_lean_hardware_startup.aspx 73a71fd3-aa7c-4d5e-8244-0bd2d3117ac7 Sun, 08 May 2011 13:39:49 GMT microBuilder.eu, meet Adafruit.com <p><img style='margin-bottom: 10px; margin-left: 10px; float: right;' src='/Images/Blog/logo_ada.gif' alt='Adafruit Industries'></img>We're happy to announce that effective 1 May, 2011 microBuilder.eu will be partnering up with the wonderful team over at <a shape='rect' href='http://www.adafruit.com' target='_new'>Adafruit Industries</a>. We've been casually working with them for the past year or so on a few OSHW projects, and are happy to try to contribute even more actively to their mission of educating people and providing freely reusable HW reference designs, tutorials and educational material to help people build better projects and products themselves.</p> <p>What this means in practice is that sales of our most popular products will now be handled by <a shape='rect' href='http://www.adafruit.com' target='_new'>Adafruit.com</a>, freeing us up to get back to our original objective (and the namesake of this site): <strong>teaching people about micro-manufacturing, and providing easy to use, open-source HW and SW building blocks to make better products themselves!</strong></p> <p>Adafruit offers some of the best service you'll find on any commercial website, and we're happy to work ...</p> http://www.microbuilder.eu/Blog/11-05-07/microBuilder_eu_meet_Adafruit_com.aspx microbuilder http://www.microbuilder.eu/Blog/11-05-07/microBuilder_eu_meet_Adafruit_com.aspx 47ac3503-a0b1-4f97-b8bc-10861d0adb8b Sat, 07 May 2011 05:08:17 GMT MIT (Minus the $40K a year) If you didn't have parents who thought it would be cool to spend $40K a year on your education or if MIT sent you a skinny acceptance letter instead of the fat one, it doesn’t mean that you can’t still get some great EE education from some of the best professors out there.  MIT has a number of freely available EE courses (and coursework covering a lot of other areas as well), which can be downloaded from the <a target='_blank' shape='rect' href='http://ocw.mit.edu/courses/audio-video-courses/'><span style='color: #5e86a4;'>MIT OpenCourseWare</span></a> website.  If you’re looking for an excellent introductory level course, you’ll probably want to look at <a target='_blank' shape='rect' href='http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-002-circuits-and-electronics-spring-2007/'><span style='color: #5e86a4;'>6.002 Circuits and Electronics</span></a>.  Make sure to download the course material as well (available from the side menu) to get the most from the lessons.  Just quietly cringe to yourself and pretend the lecture notes aren’t <a target='_blank' shape='rect' href='http://www.youtube.com/watch?v=ULb_xtz_SE0'><span style='color: #5e86a4;'>written in Comic Sans</span></a>. http://www.microbuilder.eu/Blog/11-04-03/MIT_Minus_the_40K_a_year.aspx microbuilder http://www.microbuilder.eu/Blog/11-04-03/MIT_Minus_the_40K_a_year.aspx 832b931d-9cfa-401f-be90-905ade261d8d Sun, 03 Apr 2011 14:23:37 GMT PCB Manufacturing Process Photos <p>We usually use PCB Pool for protoypes here since they generally have good service and they toss in a free metal laser cut stencil with any prototype order, but one nice little bonus is that they will also (at your request) send you photos of your PCB as it goes through the manufacturing process.  If you're curious how PCBs are made, you might find these photos from a recent prototype interesting.</p> <h3>Drilling</h3> <p><img height='378' width='600' src='/Images/Blog/PCBFab_Drilling_600w.jpg' alt='PCB Manufacturing - Drilling' /></p> <h3>Exposing</h3> <p><img height='378' width='600' src='/Images/Blog/PCBFab_Exposing_600w.jpg' alt='PCB Manufacturing - Exposing' /></p> <h3>Stripped</h3> <p><img height='378' width='600' src='/Images/Blog/PCBFab_TinStrip_600w.jpg' alt='PCB Manufacturing - Tin Strip' /></p> <h3>UV Curing</h3> <p><img height='378' width='600' src='/Images/Blog/PCBFab_UVCuring_600w.jpg' alt='PCB Manufacturing - UV Curing' /></p> <p>We didn't request a silk screen for this board since it's just an early prototype, but the silk screen would then be added as a final step.</p> http://www.microbuilder.eu/Blog/11-03-23/PCB_Manufacturing_Process_Photos.aspx microbuilder http://www.microbuilder.eu/Blog/11-03-23/PCB_Manufacturing_Process_Photos.aspx 3134add6-ad0a-4088-a3ea-e847e435889d Wed, 23 Mar 2011 04:40:38 GMT LPC1343 Updates and Benchmarking Tutorial <p>The <a shape='rect' href='http://www.microbuilder.eu/Projects/LPC1343ReferenceDesign/LPC1343CodeBase.aspx'>LPC1343 Code Base</a> was recently updated with a number of important bug fixes, mostly notably USB CDC is now much faster than in previous releases.  A number of new drivers have been added including the <strong>TAOS TCS3414</strong> RGB sensor, the <strong>TAOS TSR2516</strong> luminosity (Mixed and Infrared) sensor, and a very preliminary/experimental driver for the PN532 (13.56MHz RFID/NFC), though the latter is of limited use in it's present form.  See the complete <a target='_new' shape='rect' href='http://lpc1343codebase.googlecode.com/svn/branches/v0.86/ChangeLog.txt'>changelog</a> for more information.</p> <p>A small update was also made to the lpc134x.h system header file to allow access to the DWT registers for <strong>in-code performance testing and benchmarking</strong>.  DWT (Data Watchpoint and Trace Unit) is an optional block for the ARM Cortex M3 that is included in the LPC1343 and allows you, amongst other things, to count the number of clock cycles that have elapsed between two points.  This can be very useful for measuring system performance ...</p> http://www.microbuilder.eu/Blog/11-03-21/LPC1343_Updates_and_Benchmarking_Tutorial.aspx microbuilder http://www.microbuilder.eu/Blog/11-03-21/LPC1343_Updates_and_Benchmarking_Tutorial.aspx 2d582335-d0e4-4dcf-a731-f10cba3f2a4a Mon, 21 Mar 2011 03:08:20 GMT Converting RF signal strength values <p>If you're new to RF and things like signal strength measurements (dB, dBm, RSSI, etc.), the following whitepaper may be helpful: <a target='_new' shape='rect' href='http://www.wildpackets.com/elements/whitepapers/Converting_Signal_Strength.pdf'>Converting Signal Strength Percentage to dBm Values</a></p> <p>Decibals (dB) are used to indicate the ratio of one power level to another. An increase of 3dB doubles the power, so 6dB is equal to 4x the power, 9dB is equal to 8x, etc.</p> <p>The specific formula is: <strong>dB = 10 * log(P1/P2)</strong>, meaning that for a 4 times difference in power we get:</p> <pre>dB = 10 * log(4/1) dB = 10 * 0.602 dB = 6.02</pre> <p>The following table shows some key values comparing decibels (dB) and their equivalent increase/decrease factor:</p> <table> <tbody> <tr> <td><strong>dB</strong></td> <td><strong>Increase Factor</strong></td> <td><strong>Decrease Factor</strong></td> </tr> <tr> <td>0 dB</td> <td>1x</td> <td>1x</td> </tr> <tr> <td>1 dB</td> <td>1.25x</td> <td>0.8x</td> </tr> <tr> <td>3 dB</td> <td>2x</td> <td>0.5x</td> </tr> <tr> <td>6 dB</td> <td>4x</td> <td>0.25x</td> </tr> <tr> <td>10 dB</td> <td>10x</td> <td>0.10x</td> </tr> <tr> <td>12 dB</td> <td>16x</td> <td>0.06x</td> </tr> <tr> <td>20 dB</td> <td>100x</td> <td>0.01x</td> </tr> </tbody> </table> <br/> <p>dBm is used to indicate transmit and ...</p> http://www.microbuilder.eu/Blog/11-03-19/Converting_RF_signal_strength_values.aspx microbuilder http://www.microbuilder.eu/Blog/11-03-19/Converting_RF_signal_strength_values.aspx b2d03e46-2ace-4137-a893-31cab4bf576d Sat, 19 Mar 2011 14:36:27 GMT Expanding Temp. Range of LPC1114 Wireless Boards While the default configuration for the <a shape='rect' href='http://www.microbuilder.eu/Projects/LPC1114_AT86RF212.aspx'>LPC1114 802.15.4 Wireless Transceivers</a> is limited to -10°C-70°C, you can extend this to -40°C-70°C by adjusting the parts selection, though like most things in engineering there are always tradeoffs.  We just added a <a shape='rect' href='http://www.microbuilder.eu/Projects/LPC1114_AT86RF212/WirelessPartsList.aspx'>Standard and Alternate Part List</a> page for these boards that lists the key data for all of the parts used, and shows the importance of paying attention to every part you chose since you'll always be limited by the weakest link in your part list.  It's always worthwhile making a table like this to see where you can make small improvements depending on the exact requirements you have. http://www.microbuilder.eu/Blog/11-03-19/Expanding_Temp_Range_of_LPC1114_Wireless_Boards.aspx microbuilder http://www.microbuilder.eu/Blog/11-03-19/Expanding_Temp_Range_of_LPC1114_Wireless_Boards.aspx fac8337f-2e5f-42dc-9171-48fb094e5fcf Sat, 19 Mar 2011 13:47:52 GMT Otters in the refrigerator <p>While there are definately no dead otters in my freezer (&lt;confessions&gt;a few choice duck parts may be  hidden in there somewhere&lt;/confession&gt;), there are a few OtterBoxes.  While looking for ways to test out the new <a shape='rect' href='http://www.microbuilder.eu/Projects/LPC1114_AT86RF212.aspx'>LPC1114 802.15.4 Wireless Transceivers</a> and to make sure that the <a shape='rect' href='http://www.microbuilder.eu/Projects/LPC1114ReferenceDesign/LPC1114CodeBase.aspx'>code base</a> and deep sleep mode works as expected (so that the batteries last years instead of, well, hours) and just to make sure that the lights actually DO go off when I close the door on the fridge, I stuck a sensor node plus a digital luminosity sensor (a TSL2561 from TAOS to be specific, which approximates the human eye and measures both regular and infrared light levels), and used the LM75B temperature sensor on the board to see just how chilly it really is (or isn't) in there.</p> <p>The <a target='_new' shape='rect' href='http://www.adafruit.com/index.php?main_page=product_info&amp;cPath=53&amp;products_id=341'>medium waterproof box</a> (available from <a target='_new' shape='rect' href='http://www.adafruit.com/index.php?main_page=index&amp;cPath=53'>Adafruit.com</a> in three sizes) turned out to be perfect.  ...</p> http://www.microbuilder.eu/Blog/11-03-19/Otters_in_the_refrigerator.aspx microbuilder http://www.microbuilder.eu/Blog/11-03-19/Otters_in_the_refrigerator.aspx 0f4c99cd-6258-4083-abdd-0a96630d43b6 Sat, 19 Mar 2011 13:23:49 GMT Basic HW details from an FCC ID <p>While testing out the new <a shape='rect' href='http://www.microbuilder.eu/Store/BreakoutBoards/PN532Breakout.aspx'>PN532 NFC/RFID Breakout Board</a>, we tried comparing the range of our board with some of the commercial NFC devices we have in the office that are also based on the PN53x family.  It's not really fair to publish any numeric comparison since, particularly with RF, there are always a number of compromises and choices to be made between physical size of the device/antenna, power consumption, etc., all of which change with the intended use of the device.  Suffice it to say that we're extremely happy with the performance of our own open-source board thanks to the great work of Roel Verdult and colleagues from the libnfc project, but obviously a small USB-stick device like the <a target='_new' shape='rect' href='http://www.scmmicro.com/products-services/smart-card-readers-terminals/contactless-dual-interface-readers/scl3711.html'>SCL3711</a> (SCM Microsystems) is going to have different perfomance characteristics than a much larger antenna like that found on our own board or the commercial <a target='_new' shape='rect' href='http://www.acs.com.hk/index.php?pid=product&amp;id=ACR122U'>ACR122</a> reader (Advanced Card Systems).  They don't have the ...</p> http://www.microbuilder.eu/Blog/11-02-26/Basic_HW_details_from_an_FCC_ID.aspx microbuilder http://www.microbuilder.eu/Blog/11-02-26/Basic_HW_details_from_an_FCC_ID.aspx f0c8245d-3dd2-4fb1-a2ce-2013b0203d8a Sat, 26 Feb 2011 16:46:26 GMT Updated Shipping Policy <p>While we're just as disappointed about it as you, we've recently had to change our shipping policy to use <strong>Insured Priority Air Mail</strong> instead of inexpensive standard uninsured postal delivery.  Unfortunately, after a year or so in business we've seen an almost 5% rate of lost packages using regular delivery methods, which is much too high by any reasonable standard but there's very little we can do to control that, or even identify where things are going missing.</p> <p>Effective immediately, all packages will be shipped using an insured shipping method.  We hope that this will result in less 'lost' packages, and at least offer a means to deal with the expense of packages that do go missing.  We apologise for the added expense this represents for our customers, but it seems the lesser of two evils between making people wait weeks on end for packages to arrive and being able to ...</p> http://www.microbuilder.eu/Blog/11-02-25/Updated_Shipping_Policy.aspx microbuilder http://www.microbuilder.eu/Blog/11-02-25/Updated_Shipping_Policy.aspx b6652947-29fd-4c8f-9cd5-a75d80a8d46d Fri, 25 Feb 2011 15:30:09 GMT Using libnfc with the PN532 (Linux) <p>While there is no dedicated project page (yet) for the new <a shape='rect' href='http://www.microbuilder.eu/Store/BreakoutBoards/PN532Breakout.aspx'>NFC PN532 Breakout Board</a>, if you want to test it out using the open-source libnfc library in Linux, the following steps will help you to get started with the included libnfc examples.  This tutorial was tested using Ubuntu 10.10 Desktop.</p> <p><strong>Step 1:</strong> Download the latest version of <a target='_new' shape='rect' href='http://code.google.com/p/libnfc/downloads/list'>libnfc</a> (ex. "libnfc-1.4.1.tar.gz") and extract the contents</p> <pre>$ wget http://libnfc.googlecode.com/files/libnfc-x.x.x.tar.gz $ tar -xvzf libnfc-x.x.x.tar.gz $ cd libnfc-x.x.x</pre> <p><strong>Step 2:</strong> Configure libnfc for PN532 and UART*</p> <pre>$ ./configure --with-drivers=pn532_uart --enable-serial-autoprobe</pre> <p><strong>*Note</strong>: libnfc can also be built in debug mode by adding '--enable-serial-autoprobe' (minus the single quotes) to the configure options</p> <p><img height='423' width='600' src='/Images/Blog/libnfc_configure_600w.jpg' alt='libnfc ./configure results' /></p> <p><strong>Step 3:</strong> Build and install libnfc</p> <pre>$ make clean $ make $ make install</pre> <p><strong>Step 4:</strong> Check for installed devices</p> <pre>$ cd examples $ ./nfc-list</pre> <p><strong>Step 5:</strong> Try to read a 13.56MHz card (mifare, etc.)</p> <pre>$ ./nfc-poll</pre> <p><img height='424' width='600' src='/Images/Blog/libnfc_poll_600w.jpg' alt='nfc-poll results' /></p> http://www.microbuilder.eu/Blog/11-02-19/Using_libnfc_with_the_PN532_Linux.aspx microbuilder http://www.microbuilder.eu/Blog/11-02-19/Using_libnfc_with_the_PN532_Linux.aspx 8e5d8a47-7b77-41b8-a2ea-62e57026462b Sat, 19 Feb 2011 15:17:28 GMT New Product: PN532 NFC/RFID Breakout <p><a shape='rect' href='http://www.microbuilder.eu/Store/BreakoutBoards/PN532Breakout.aspx'><img style='margin-bottom: 10px; float: right; margin-left: 10px;' class='thumb' src='/Images/Products/PN532Breakout_300w.jpg' alt='PN532 NFC Breakout Board' /></a>We just added another new wireless board to the website, the <a shape='rect' href='http://www.microbuilder.eu/Store/BreakoutBoards/PN532Breakout.aspx'>PN532 NFC Breakout</a>.  These breakout boards make it easy to get started with 13.56MHz RFID/NFC.  The PN532 from NXP can be used as a basic RFID reader, for peer-to-peer communication, or to emulate a variety of 13.56MHz RFID tags (turning the board into an RFID tag itself).</p> <p>If you're interested in NFC or ISO14443, we'd recommend taking a look at <a target='_new' shape='rect' href='http://www.libnfc.org'>libnfc</a>, a very well-written and open-source NFC library that supports this chip out of the box -- just hook up 3.3V, GND, TXD and RXD to any USB to UART adapter and you're ready to go.</p> <p>There's currently no project page for this board, and not much in the way of tutorials, but the <a target='_new' shape='rect' href='http://www.libnfc.org/community/'>forum over at the libnfc website</a> has a lot of helpful information, and we'll try to add some basic tutorials and code samples in the coming ...</p> http://www.microbuilder.eu/Blog/11-02-15/New_Product_PN532_NFC_RFID_Breakout.aspx microbuilder http://www.microbuilder.eu/Blog/11-02-15/New_Product_PN532_NFC_RFID_Breakout.aspx e789db54-3db4-420b-aa9b-4277aa4f898b Tue, 15 Feb 2011 16:59:25 GMT New Product: LPC1114 802.15.4 Wireless Transceiver <p><a shape='rect' href='http://www.microbuilder.eu/Projects/LPC1114_AT86RF212.aspx'><img style='margin-bottom: 10px; float: right; margin-left: 10px;' class='thumb' src='/Images/Projects/LPC1114WirelessNode_v16_300w.jpg' alt='LPC1114 802.15.4 Wireless Node' /></a>While it's been rather quiet on the website lately, we've been busy working on a number of projects behind the scenes.  One of the key projects we've been working on for a while now (much longer than anyone expected!) is a set of wireless transceivers and devices in the 868/915MHz ISM band.  868 MHz (Europe) and 915 MHz (North America) offers an excellent compromise between transfer speed, signal penetration in an urban environment, and power consumption.  Unfortunately, most commercially available devices tend to use 2.4GHz, so there seemed to be an obvious value in developping a few ARM-based boards in the 800/900MHz band.</p> <p>The first of these wireless boards was published this week, the <a shape='rect' href='http://www.microbuilder.eu/Projects/LPC1114_AT86RF212.aspx'>LPC1114 802.15.4 Wireless Transceiver</a>. This small board is based on the ARM Cortex-M0 <a shape='rect' href='http://www.microbuilder.eu/Components/ARM/NXPCortexM0/LPC1100.aspx'>LPC1114</a>, and uses the AT86RF212 802.15.4 transceiver.  The board is intended to be run from batteries (specifically rechargeable Lithium-Polymer cells, though you could also ...</p> http://www.microbuilder.eu/Blog/11-02-10/New_Product_LPC1114_802_15_4_Wireless_Transceiver.aspx microbuilder http://www.microbuilder.eu/Blog/11-02-10/New_Product_LPC1114_802_15_4_Wireless_Transceiver.aspx 6fae7f5b-a384-40d7-86e3-4194ed7ab868 Thu, 10 Feb 2011 12:46:44 GMT Building GCC from Source in Ubuntu 10.10 <p>Roel Verdult (from <a target='_new' shape='rect' href='http://www.libnfc.org'>libnfc.org</a>) was kind enough to update the tutorial on <a shape='rect' href='http://www.microbuilder.eu/Tutorials/SoftwareDevelopment/BuildingGCCToolchain.aspx'>Building an ARM GCC Toolchain from Source</a> to work on Linux as well (specifically, Ubuntu 10.10).  It took about two hours to build using VirtualBox and a fresh Ubuntu 10.10 Desktop installation, but it worked perfectly out of the box.  The current script builds GCC 4.5.2 and newlib 1.19, but it's very easy to modify the file to use a different version whenever new updates are available.</p> <p>A big thanks to Roel for the update and to Uwe Hermann who wrote the original script file and placed it in the public domain.</p> http://www.microbuilder.eu/Blog/11-02-03/Building_GCC_from_Source_in_Ubuntu_10_10.aspx microbuilder http://www.microbuilder.eu/Blog/11-02-03/Building_GCC_from_Source_in_Ubuntu_10_10.aspx 5420dd36-eba7-40a3-b9e1-68fee874851f Thu, 03 Feb 2011 12:04:13 GMT