microBuilder Blog microBuilder Blog http://www.microbuilder.eu/Blog.aspx http://backend.userland.com/rss LPC1114 to LPC1115 Comparison (QFP48) <a shape='rect' href='/Images/Blog/LPC1114_vs_LPC1115_2000w.png'><img src='/Images/Blog/LPC1114_vs_LPC1115_600w.png' alt='LPC1114 to LPC1115 Pinout Comparison (QFP48)' /></a> <p>After looking at the differences between the <a shape='rect' href='http://www.microbuilder.eu/Blog/12-03-28/LPC1347_to_LPC1343_Comparison.aspx'>LPC1343 and the LPC1347</a> in a previous post, I took a few minutes to figure out what would be necessary to upgrade some of my LPC1114 boards to take advantage of the new LPC1115. Unlike the LPC1343 to LPC1347 migration, which involves some significant firmware upgrades because of new IP blocks on the LPC1347 (GPIO, USB, ADC, etc.), the LPC1115 is an easy drop-in replacement. There are some new registers, but they all relate to the additional multiplexing options on the chip, and your LPC1114 code and boards should work out of the box on the LPC1115.</p> <p>So what are the key differences? The LPC1115 offers improved low power numbers, an extra 32KB flash (for up to 64KB total), and more multiplexing options on many of the pins for additional flexibility, but no breaking changes that I noticed during a quick review of ...</p> http://www.microbuilder.eu/Blog/12-05-06/LPC1114_to_LPC1115_Comparison_QFP48.aspx microbuilder http://www.microbuilder.eu/Blog/12-05-06/LPC1114_to_LPC1115_Comparison_QFP48.aspx f359aff2-714b-4e3f-b462-92ecebf789ca Sun, 06 May 2012 05:38:13 GMT LPC1347 to LPC1343 Comparison <p><img height='300' width='600' src='/Images/Blog/LPC1347_LeadIn_600w.png' alt='' /></p> <p>NXP recently <a shape='rect' href='http://www.nxp.com/news/press-releases/2012/03/nxp-expands-memory-options-for-popular-lpc1300-family-of-usb-microcontrollers.html'>unveiled its new LPC1345/6/7 processors</a>. It’s a welcome addition to the 1300 family, since they’ve been keeping busy steadily adding new members to the LPC1100 family, but it’s M3 twin-brother felt somewhat neglected by comparison despite being a fairly popular chip for them. The new LPC1347 seems to do a good job of addressing this imbalance, though, and introduces almost everything I found myself wanting in the 1343, without having to move up to the LPC1700 family.</p> <p>While the migration process from the 1343 to the 1347 will be a bit bumpier than I would have liked, the effort seems worthwhile. The main issues are that the 1347 uses an updated and reorganized GPIO block, as well as a newer USB block. The LPC1347 feels like it gives you a lot more room to breathe, though, adding space for feature creep, and pushing the ceiling a bit ...</p> http://www.microbuilder.eu/Blog/12-03-28/LPC1347_to_LPC1343_Comparison.aspx microbuilder http://www.microbuilder.eu/Blog/12-03-28/LPC1347_to_LPC1343_Comparison.aspx fbc71194-8e6c-46e8-a385-2515850a0b52 Wed, 28 Mar 2012 05:10:00 GMT LPCXpresso Support Added to LPC1343 Code Base <div><a href='/Images/Blog/Debugging1343CodeBaseLPCXpresso.png'><img alt='Debugging the LPC1343 Code Base in LPCXpresso' src='/Images/Blog/Debugging1343CodeBaseLPCXpresso_600w.png' /></a><br/><br/></div><p>I've never been a huge fan of Eclipse, but since it's incredibly hard to argue with the price of LPCXpresso development boards with their removable SWD debuggers, basic support for flashing devices and debugging (size permitting) has just been added to the LPC1343 Code Base.  Since the code base isn't based on CMSIS, and still runs from a Makefile, the process of creating a project and selecting debug or release mode is a bit different, but we've put together a fairly straight-forward tutorial on it here: <a href='http://www.microbuilder.eu/Projects/LPC1343ReferenceDesign/DebuggingWithLPCXpresso.aspx'><strong>Debugging the LPC1343 Code Base in LPCXpresso</strong></a>.  Hopefully this will open the code base up to a few more people.</p><p>You will need to pull the latest version of the <a href='https://github.com/microbuilder/LPC1343CodeBase'>LPC1343 Code Base from Github</a> to take advantage of LPCXpresso support, since the project files need to be more thoroughly tested before an official release.  A final v1.0.0 release of the LPC1343 Code ...</p> http://www.microbuilder.eu/Blog/12-03-23/LPCXpresso_Support_Added_to_LPC1343_Code_Base.aspx microbuilder http://www.microbuilder.eu/Blog/12-03-23/LPCXpresso_Support_Added_to_LPC1343_Code_Base.aspx 5fa769ce-e534-47ed-87bb-b25ab1f03ab8 Fri, 23 Mar 2012 16:05:47 GMT 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