<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><atom:id>tag:blogger.com,1999:blog-4145662262554601940</atom:id><lastBuildDate>Fri, 17 Feb 2012 01:26:15 +0000</lastBuildDate><category>arduino panstamp ez430-chronos cc1101</category><category>enOcean</category><category>wireless</category><category>RF</category><title>uSAPIENS blog</title><description>The human side of technology - Reflections and thoughts</description><link>http://usapiens.blogspot.com/</link><managingEditor>noreply@blogger.com (Daniel Berenguer)</managingEditor><generator>Blogger</generator><openSearch:totalResults>11</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/usapiens" /><feedburner:info uri="usapiens" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:browserFriendly></feedburner:browserFriendly><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4145662262554601940.post-8319323785210989615</guid><pubDate>Wed, 06 Jul 2011 11:42:00 +0000</pubDate><atom:updated>2011-07-06T05:18:31.452-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">arduino panstamp ez430-chronos cc1101</category><title>panStamp project: small wireless Arduino boards</title><description>It's been a long time since I wrote my last post. Meanwhile, I've been re-evaluating my business model and the possibilities of my traditional market. Getting contracts in Spain (and even in Europe) has been a hard task since the current crisis started and freelancers like me are facing a market much less receptive than before.&lt;br /&gt;
&lt;br /&gt;
I've been digesting the idea for more than a year, taking suggestions from here and inspirations from there. I really like the idea of selling my own products and wireless connectivity is supposed to become one of the leading markets for the next ten years. Finally, I did my maths and started evaluating different technologies.&lt;br /&gt;
&lt;br /&gt;
6LowPan appeared as the strongest candidate. A friend from &lt;a href="http://freaklabs.org/"&gt;Freaklabs&lt;/a&gt; recommended me the &lt;a href="http://redwirellc.com/store/node/1"&gt;Econotag&lt;/a&gt; platform as a starting point. These boards are manufactured and distributed by &lt;a href="http://redwirellc.com/"&gt;RedWire&lt;/a&gt;. Econotags are based on the MC13224, a well equipped processor from Freescale with an important amount of flash, ram and even with a serial bootloader. Mariano Alvira from &lt;a href="http://redwirellc.com/"&gt;RedWire&lt;/a&gt; is one of those brilliant engineers with a strong open-source culture. He not only maintains the project but also improves the libraries and responds to any question from his well-animated mailing list. On the other hand, RedWire's Contiki port is one of the best adaptations of the OS for IEEE802.15.4 platforms so if you ever consider working with Contiki and 6LowPan, RedWire products adn the MC1322X processor are a must to consider.&lt;br /&gt;
&lt;br /&gt;
Unfortunately, I ended by understanding that Contiki and 6LowPan were far from my initial target market. I wanted something for the programmers not initiated in low-power wireless communications. &lt;a href="http://www.arduino.cc/"&gt;Arduino&lt;/a&gt; has been a recurrent concept in my plans. Lots of people without much experience in programming know what Arduino is and what this platform can do. Thus, I finally took the decision of implementing something around the Atmega328P and give the arduino concept a try.&lt;br /&gt;
&lt;br /&gt;
I then created the &lt;a href="http://panstamp.blogspot.com/"&gt;panStamp project&lt;/a&gt;. I initially tested different non-IEEE802.15.4 IC's but the CC1101 was finally retained. I created my first prototypes and developed the initial RF drivers. I was surprised about the power of the Arduino compiler/linker. Based on GCC, Arduino provides a very good stack depth. Using the object-oriented paradigm on simple atmegas has not given me a single problem since I started the project!!&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-7tqzQkROBLA/TXAP7SrCUsI/AAAAAAAAAxk/elYxsA5XmZo/s1600/panstamp1.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="214" src="http://3.bp.blogspot.com/-7tqzQkROBLA/TXAP7SrCUsI/AAAAAAAAAxk/elYxsA5XmZo/s320/panstamp1.JPG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-size: x-small;"&gt;Figure 1: panStamp prototypes&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
Since then, further developments have been carried out with success, including a complete single-thread communication stack based on interruptions, Java libraries and tools and a &lt;a href="http://panstamp.blogspot.com/2011/06/openchronos-is-finally-swap-enabled.html"&gt;port&lt;/a&gt; for the eZ430-Chronos watch from Texas Instruments.&lt;br /&gt;
&lt;br /&gt;
In order to trace my project from its genesis up to the final commercial release I created a new blog. This said, I'll unlikely post any panStamp-related stuff here so, for those interested in the project, I strongly recommend to take a look at the new blog periodically or subscribe to our &lt;a href="http://twitter.com/panstamp"&gt;twitter channel&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4145662262554601940-8319323785210989615?l=usapiens.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://usapiens.blogspot.com/2011/07/panstamp-project-small-wireless-arduino.html</link><author>noreply@blogger.com (Daniel Berenguer)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/-7tqzQkROBLA/TXAP7SrCUsI/AAAAAAAAAxk/elYxsA5XmZo/s72-c/panstamp1.JPG" height="72" width="72" /><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4145662262554601940.post-4775259180003217301</guid><pubDate>Fri, 04 Jun 2010 17:52:00 +0000</pubDate><atom:updated>2010-06-04T10:52:05.643-07:00</atom:updated><title>6LowPAN: the "Tiny" Internet of Things</title><description>&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Verdana,sans-serif;"&gt;It's been a while since I wrote my last post in this blog. My researches on the available wireless technologies have taken some time and I wanted to be really sure before choosing the correct solution for my next projects. Besides, the crisis in the European market has forced me to invest more time in the research of projects for my professional activity. A good number of companies have stopped their investments, mainly in the home automation area, and only those projects with obvious commercial perspectives are being taken ahead. This is specially true in Spain, where I'm supposed to obtain the most part of my contracts.&lt;/span&gt;&lt;br style="font-family: Verdana,sans-serif;" /&gt;&lt;br style="font-family: Verdana,sans-serif;" /&gt;&lt;span style="font-family: Verdana,sans-serif;"&gt;Back to the original subject of this post, I've been suffering from some bustle, where I used to spend days with any wireless M2M technology that could find a place in the market. Tons of documentations and discussions just to come into these simple conclusions:&lt;/span&gt;&lt;/span&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Verdana,sans-serif;"&gt;Choose something open. Avoid chip-locked technologies.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Verdana,sans-serif;"&gt;Focus only on well supported technologies. Openness becomes useless if only a bunch of people is using such technology.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Verdana,sans-serif;"&gt;Scalability is something that you'll probably want. If not now, maybe in the future...&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Verdana,sans-serif;"&gt;Pay attention only to those well-constructed standards. Some pseudo-standards are constantly pushed by “commercial forces” so they end by releasing new revisions, not really compatible with the precedent ones.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Verdana,sans-serif;"&gt;This said, people from &lt;a href="http://www.freaklabs.org/"&gt;Freaklabs&lt;/a&gt; suggested me to look into &lt;a href="http://datatracker.ietf.org/wg/6lowpan/charter/"&gt;6LowPAN&lt;/a&gt; as possible technology for my projects. Later talks with wireless M2M specialists confirmed this suggestion so I decided to further investigate this option.&lt;/span&gt;&lt;br style="font-family: Verdana,sans-serif;" /&gt;&lt;br style="font-family: Verdana,sans-serif;" /&gt;&lt;span style="font-family: Verdana,sans-serif;"&gt;6LowPAN (IPv6 over Low power Wireless Personal Area Networks) was created by an &lt;a href="http://www.ietf.org/"&gt;IETF&lt;/a&gt; working group as a way to overcome the current gap between Wireless Low Power and the IP world. Some people may say that this was already achieved by Wi-Fi but this is not true since Wi-Fi is far from being low power. As an example, 6LowPAN allows and promotes the development of wireless IP motes capable to run from a single coin battery for years.&lt;/span&gt;&lt;br style="font-family: Verdana,sans-serif;" /&gt;&lt;br style="font-family: Verdana,sans-serif;" /&gt;&lt;span style="font-family: Verdana,sans-serif;"&gt;Let's accept that 6LowPAN's concept is quite revolutionary, but how can a low power sensor enter the complex IP cloud? 6LowPAN nodes communicate over 802.15.4 in fact. Then, a smart data compression is done in order to to facilitate the transport of IP data into IEEE 802.15.4 frames. Finally, the 6LowPAN stack shows the way to stablish low power IP communications between wireless nodes and maintaining routing paths between wireless low power and conventional IP networks (Ipv4 and Ipv6). At the end, programming low power IP meshes should be as simple as developing with POSIX sockets from a PC.&lt;/span&gt;&lt;br style="font-family: Verdana,sans-serif;" /&gt;&lt;br style="font-family: Verdana,sans-serif;" /&gt;&lt;span style="font-family: Verdana,sans-serif;"&gt;Another good point about 6LowPAN is its openness and level of standardization. IETF is behind this movement so this is quite comprehensible. Moreover, 6LowPAN has had the opportunity to learn from other's mistake: no member fees, no royalties, really open and free of use. Unlike other wireless standards, 6LowPAN's philosophy perfectly fits the open source concept. As result, we're assisting to an important number of open initiatives by companies and individuals to bring this technology into real applications.&lt;/span&gt;&lt;br style="font-family: Verdana,sans-serif;" /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4145662262554601940-4775259180003217301?l=usapiens.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://usapiens.blogspot.com/2010/06/6lowpan-tiny-internet-of-things.html</link><author>noreply@blogger.com (Daniel Berenguer)</author><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4145662262554601940.post-8931384547977827838</guid><pubDate>Tue, 30 Sep 2008 15:00:00 +0000</pubDate><atom:updated>2009-01-07T09:55:22.674-08:00</atom:updated><title>Touch technology - Hiding buttons anywhere</title><description>The touch technology is something very common in our lives nowadays. Elevators, PDA's, cell phones, anything potentially controllable by the end user can incorporate this technology, simple to use but somehow complicated to implement.&lt;br /&gt;&lt;br /&gt;The target of this project is to develop a capacitive  touch button panel that could be mounted behind any non-conductive surface, mainly plastic and glass. This experiment aims now to produce a 5V signal when a button is touched (or almost touched) but next evolutions of this project should incorporate some kind of communication interface to report button changes to the bus. For example, the addition of a DS2406 would allow the panel to communicate with our opn-one or any other 1-Wire master.&lt;br /&gt;&lt;br /&gt;This project came to my mind when I began thinking in the way of putting hidden buttons behind bathroom mirrors and under methacrylate tables. Installing conventional mechanical buttons often affects the aesthetics of the room so why not putting one of this panels instead?&lt;br /&gt;&lt;br /&gt;The complexity of the touch panel has been reduced to the minimum. This version is only formed by a linear voltage regulator, two QT100A capacitive detectors, two touch keys directly built on the PCB and two LED's to give visual feedback of the key activation. I will try to post the schema once I tune a couple of capacitor values. Meanwhile, I leave here some pictures of the project and a demonstration video.&lt;br /&gt;&lt;br /&gt;Rear view of the panel. The capacitive keys are directly built on the copper layer.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://lh6.ggpht.com/usapiens/SNz4LZEASpI/AAAAAAAAANs/UZoD-zhzSTo/touch_rear.png"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; cursor: pointer; width: 400px;" src="http://lh6.ggpht.com/usapiens/SNz4LZEASpI/AAAAAAAAANs/UZoD-zhzSTo/touch_rear.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Front view of the panel. As you can see, it is a single side PCB. This side can be&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://lh4.ggpht.com/usapiens/SNz4LeLWg2I/AAAAAAAAAN0/G1B751KHZ8Y/touch_front.png"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; cursor: pointer; width: 400px;" src="http://lh4.ggpht.com/usapiens/SNz4LeLWg2I/AAAAAAAAAN0/G1B751KHZ8Y/touch_front.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Panel mounted behind a picture frame&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://lh6.ggpht.com/usapiens/SNz4Lto_CnI/AAAAAAAAAN8/_4XZlia4KR0/s800/touch_mount1.png"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; cursor: pointer; width: 400px;" src="http://lh6.ggpht.com/usapiens/SNz4Lto_CnI/AAAAAAAAAN8/_4XZlia4KR0/s800/touch_mount1.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;This video shows how the panel works when mounted behind a non-conductive surface&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;br /&gt;&lt;object width="425" height="344"&gt;&lt;param name="movie" value="http://www.youtube.com/v/dirV3yV7U-E&amp;amp;hl=es&amp;amp;fs=1"&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;embed src="http://www.youtube.com/v/dirV3yV7U-E&amp;amp;hl=es&amp;amp;fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;Sorry for those having asked about the schematics some time ago... Here you have the shematics:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_xtGdM1zZ8TM/SWTrq1KnyfI/AAAAAAAAASY/fN9FlsRYmps/s1600-h/touch_butt.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 219px;" src="http://1.bp.blogspot.com/_xtGdM1zZ8TM/SWTrq1KnyfI/AAAAAAAAASY/fN9FlsRYmps/s320/touch_butt.png" alt="" id="BLOGGER_PHOTO_ID_5288610983498467826" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4145662262554601940-8931384547977827838?l=usapiens.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://usapiens.blogspot.com/2008/09/touch-technology-way-of-hiding-buttons.html</link><author>noreply@blogger.com (Daniel Berenguer)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://lh6.ggpht.com/usapiens/SNz4LZEASpI/AAAAAAAAANs/UZoD-zhzSTo/s72-c/touch_rear.png" height="72" width="72" /><thr:total>3</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4145662262554601940.post-7588356306799395766</guid><pubDate>Tue, 30 Sep 2008 09:58:00 +0000</pubDate><atom:updated>2008-09-30T03:12:59.704-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">enOcean</category><category domain="http://www.blogger.com/atom/ns#">RF</category><category domain="http://www.blogger.com/atom/ns#">wireless</category><title>Batteryless magic</title><description>In the past ten years, at least a dozen of wireless technologies have appeared with the intention to cover the retrofit Home Automation market. Among them, Zigbee and Zwave seem having taken some advantages over the rest mainly due to the fact that any company can develop compatible products at relative low cost. However, even not being as popular and as broad adopted as the "Z" technologies, a German solution takes strongly my attention and makes me imagine very good successes for the next years.&lt;br /&gt;&lt;br /&gt;EnOcean, a spin-off company from Siemens, was founded in 2001 over some unique patents that allow their wireless sensors work without batteries. At this point, I think that nobody could find any argument against the originality of such feature; wireless sensors that don't need of a human maintenance forever... The more I think about this, the more I'm sure about the success of this solution. But we technical people need to know more about how this magic works.&lt;br /&gt;&lt;br /&gt;EnOcean, as Zwave, is the company that provides anyone wanting to develop products under the technology with the OEM RF modules and integration tools. Besides, EnOcean also sells the energy harvesters, the actual kingdom treasure. EnOcean acts then as OEM provider, promoter and owner of this technology, having created this year the enOcean Alliance formed by more than 25 companies (Siemens among them).&lt;br /&gt;&lt;br /&gt;This technology was designed simple and easy to use. The product portfolio is formed by transceivers, receivers and transmitters. Transceivers and receivers are the most common devices; they need obviously of an external power source as they are always alert on the reception of a transmitter message. Transmitters, on the other hand, sleep most of the time and only wake up at the moment of reading values and sending data to the receivers and bidirectional transceivers. Needing much less energy to work than the receivers, EnOcean transmitters are specially designed to be powered by their patented energy harvesters. EnOcean wall switches take the necessary energy to send on/off (or up/down) commands from the mechanical action deployed onto the switch button and the scrolling of a magnetic ferrite into a coil. Temperature and humidity sensors are powered by small solar panels that can bring power even in conditions of relative darkness. EnOcean is even working in a wireless sensor that could take the power from the current generated by the Peltier effect.&lt;br /&gt;&lt;br /&gt;But what could be limiting the adoption of the EnOcean technology? EnOcean compatible products seem having a relative success when combined with other building automation technologies as EIB, Lonworks or BacNet. Nevertheless, only the transmitters can be integrated with other technologies as only transmitters have unique addresses that make them identifiable in the network. In this case, the simplicity of this technology could be limiting the use of EnOcean's receivers in large intelligent networks. Besides, the price of the OEM modules is still expensive. Excessive price and the lack of addressing and acknowledgment at the receivers side could be somehow complicating the deployment of EnOcean wireless modules in standard home automation installations.&lt;br /&gt;&lt;br /&gt;Some of the news coming from EnOcean could be pointing to the direction of solving some of these issues in the future. It seems that the German company could be working in a new protocol specification that would simplify the bidirectionality and addressing of receivers. Perhaps a wider use of this technology would reduce production costs and would let us users introduce this magic technology into our homes at lower prices.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.enocean.com"&gt;Link to EnOcean website&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4145662262554601940-7588356306799395766?l=usapiens.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://usapiens.blogspot.com/2008/09/batteryless-magic.html</link><author>noreply@blogger.com (Daniel Berenguer)</author><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4145662262554601940.post-6889407095645241023</guid><pubDate>Sat, 27 Sep 2008 16:45:00 +0000</pubDate><atom:updated>2008-09-27T10:03:12.902-07:00</atom:updated><title>Zigbee Smart Energy solutions</title><description>After being a little rough with Zigbee in the past and complaining about the lack of products compatible with the Home Automation profile, I must admit that this standard has done a lot of progresses in the Energy Management area during the last year. Whilst the big companies don't dare to release Zigbee compatible devices for the Home Automation market, other smaller companies specialized in the Energy sector are surprising us with smart solutions for saving energy and controlling our bills. It's obvious that the offer of solutions for energy management applications has traditionally been much smaller than the portfolio of technologies commercialized around the Home Automation market. This fact translates into a less exposed market, less competitiveness and a lack of primitive prejudices. We also may take into account how vertical is the Energy sector compared with the sometimes ambiguity of the Home Automation environment. Even though, nobody will be shocked if we include the energy management as a part of the home automation ecosystem. But the reality is that a dozen of companies, sponsored by utility companies in some cases, have decided to release specific products for Energy Management applications. Most of these smart energy solutions have been certified by the Zigbee alliance and claim to be strictly compatible with the Zigbee Smart Energy profile, meaning that the products are interoperable between them.&lt;br /&gt;&lt;br /&gt;Plug-in modules measuring the energy consumed by the appliance connected to the outlet, thermostats displaying temperature and energy costs, energy meters transmitting data to a central point, are some of the offers designed under the Zigbee logo. Around this range of products, utilities, web portals and end users are offered a way to control and monitor the energy consumption (and production, of course) and saving resources in the interest of a better sustainable development.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.zigbee.org/en/certification/certified_products_zse.asp"&gt;Link to the list of Zigbee Smart Energy Certified Products&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4145662262554601940-6889407095645241023?l=usapiens.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://usapiens.blogspot.com/2008/09/zigbee-smart-energy-solutions.html</link><author>noreply@blogger.com (Daniel Berenguer)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4145662262554601940.post-8573202656983257618</guid><pubDate>Thu, 01 Nov 2007 16:54:00 +0000</pubDate><atom:updated>2007-11-01T10:45:59.967-07:00</atom:updated><title>Balanced designs - choosing the correct technology for a new product</title><description>"Balanced design" is a concept that I often use in my reports during the initial definition of architectures for embedded controllers. It's a term that I invented to describe the proportion between device functionality and platform power. Device functionality is the set of functional features provided by the device (ex: amount of control points, graphical interface, communication channels, processing speed, etc.). Platform power gives an idea about the amount of technological resources invested in the controller, most of them hardware capabilities but others related to the operational system (software) itself. Note that this term is only used by me into my projects, mainly embedded controllers and gateways but I guess that it could also be applied to any technological solution in the market. On the other hand, the concept only tries to serve as a parameter when comparing and choosing technical solutions. It should never be used as a way of evaluating the commercial aspects of a product. Unfortunately, technical excellence doesn't always translates into commercial success.&lt;br /&gt;&lt;br /&gt;Thus, when could a device be considered technologically balanced? Rating the "balance" of an electronic product depends on the following points:&lt;br /&gt;&lt;br /&gt; - Functionality provided by the device&lt;br /&gt; - Speed of processing&lt;br /&gt; - Immunity to faults&lt;br /&gt; - Configuration and programming capabilities&lt;br /&gt; - User interfaces&lt;br /&gt; - Communication channels&lt;br /&gt;&lt;br /&gt;In other words, prior to quantify the balance of a product, the product itself must comply with its specifications and provide the functionality that is supposed to have. After that, the platform power is then evaluated. The optimum balance of a device is reached when the chosen platform fits but doesn't exceed the needs in terms of computing. Thus, a product could not be well-balanced at the beginning of its life but gain in functionality and then improving the technical balance progressively with the release of new versions. On the other hand, a device with an overkilled hardware platform and an unnecessarily costly OS will always present a low technological balance.&lt;br /&gt;&lt;br /&gt;But which is the interest of providing a good technological balance? I summarize the most interesting points of following this philosophy:&lt;br /&gt;&lt;br /&gt; - Avoid unnecessary power consumption&lt;br /&gt; - Simplify the maintenance of the product reducing the amount of components&lt;br /&gt; - Provide an optimum embedded solution&lt;br /&gt; - Show the appearance of a compact product&lt;br /&gt; - Avoid unnecessary noise and production of interferences&lt;br /&gt; - Reduce the overall costs of the product&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4145662262554601940-8573202656983257618?l=usapiens.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://usapiens.blogspot.com/2007/11/balanced-designs-choosing-correct.html</link><author>noreply@blogger.com (Daniel Berenguer)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4145662262554601940.post-4831983030327422437</guid><pubDate>Thu, 01 Nov 2007 16:53:00 +0000</pubDate><atom:updated>2007-11-01T10:42:30.882-07:00</atom:updated><title>Zigbee: another "unstandarizable" standard?</title><description>It seems that Zigbee is finally following the steps of other "promising" standards. Started in 2003, Zigbee appeared as the solution for all our frustrations in terms of interoperable wireless control. Most important manufacturers were there, supporting the emergent standard and publishing imminent dates for the release of new products. Any Zigbee device from any manufacturer was going to provide total interoperability with any Zigbee compliant product. From light control systems to thermostats and even remote controls for the multimedia equipment, this standard made us think that the total solution for controlling devices wirelessly was just arriving. The massive production of Zigbee compliant devices was initially announced for 2004, then 2005, ... Now, three years after the rings and bells, Zigbee is still in the oven.&lt;br /&gt;&lt;br /&gt;This article doesn't pretend to question Zigbee itself as technology. Indeed, Zigbee was started on a solid technological base. Based on a well defined low-level standard as IEEE 802.15.4 and providing support for different frequency bands, a great amount of IC manufacturers soon released Zigbee compatible interfaces and OEM modules. The price of the new RF controllers corroborated the promise of producing really low-cost devices and the presentation of a couple of prototypes in some international exhibitions removed the doubts of some of the most critic technologists. Moreover, the wish of the Zigbee organization has always been to provide reliable-interoperable low-cost devices.&lt;br /&gt;&lt;br /&gt;Thus, what happens with these international standards? Why is moving these things ahead so hard? This is the actual subject of this article.&lt;br /&gt;&lt;br /&gt;Communication standards are often created as a way of  sharing costs and resources among the promoters. Besides, a company wanting to develop a product under a certain standard will find a communication protocol already defined and even the availability of well-tested platforms where to start developing from. But  the companies creators of the standard always assume the extra work and costs of participating in the definition of the new technology. As result, these companies usually try to impose their decisions, all them based on their own commercial and technical interests. When a committee is formed by dozens of members, each one with its own market and a precedent technological basis, the negotiation process becomes complicated. Mainly when the members are big companies that don't worry about the costs of delaying the release of the new technology up to the infinite.&lt;br /&gt;&lt;br /&gt;In contrast to these open standards, other "de facto" standards leaded by a single company producing a one-chip solution get sometimes better results. This is the case of Lonworks, a technology created and promoted by Echelon. But I don't mean that "democratic" open standards have a worse future than proprietary ones. Some open initiatives as CanOpen, Devicenet, EIB, BacNet, etc. are example of collaboration among companies and academic institutions. The secret of the success is maybe in understanding that interoperability is something positive for the market.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4145662262554601940-4831983030327422437?l=usapiens.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://usapiens.blogspot.com/2007/11/zigbee-another-unstandarizable-standard.html</link><author>noreply@blogger.com (Daniel Berenguer)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4145662262554601940.post-7025432321742166375</guid><pubDate>Thu, 01 Nov 2007 16:52:00 +0000</pubDate><atom:updated>2008-12-12T00:27:40.227-08:00</atom:updated><title>TCP/IP vs field buses for control applications. The eternal discussion</title><description>Why not use TCP/IP for control applications instead of those complicated field buses?. Indeed, this discussion is appearing every day in most environments with control needs. But which are the typical positions around this subject?&lt;br /&gt;&lt;br /&gt;Software engineers typically defend TCP/IP as communication channel for control applications. Their main argument is that this communication channel can be found in most computers and appliances nowadays. Moreover, Ethernet and Wi-Fi hardware interfaces present low prices compared to some years ago.&lt;br /&gt;&lt;br /&gt;TCP/IP is one of the few channels that allow combining big packets of data with short control-oriented messages. This feature makes this technology specially suitable for home applications where multimedia and control can share a common communication system. Besides, Ethernet-certified cables and RJ45 connectors are very cheap compared to some control-oriented cabling systems. Most buildings already contain a LAN infrastructure with the necessary hardware and connecting IP control systems to those infrastructures is as easy as installing a new computer in the LAN.&lt;br /&gt;&lt;br /&gt;On the other hand, control engineers don't usually like the idea of relaying on the TCP/IP technology for controlling critical applications. Furthermore, Ethernet follows a physical star topology and this complicates the installation process in networks with big amounts of endpoints. On the other hand, Wi-Fi is often avoided in industrial environments due to the electromagnetic noise potentially produced by this technology. Control-specific technologies usually follow a bus topology, reducing cable runs and providing a separate communication channel for the control messaging. Control interfaces as CAN, RS485, Lonworks, LIN and others can be used with low-power microcontrollers as the communication protocol is often easier to maintain than the TCP/IP stack. These simple controllers participate in the bus as listeners, transmitters or both but will never have to worry about a possible overhead of information coming from a computer or a media server. &lt;br /&gt;&lt;br /&gt;Nevertheless, integrators know that TCP/IP is an excellent complement to the industrial control solutions. Ethernet is still the natural way of connecting a PC to a network and the inclusion of the web technology in remote monitoring applications force us to mix somehow the best of both worlds. Multimedia, temperature sensing, web access, binary control, SCADAs, ... when all these applications have to be integrated into a single solution, then the use of a hybrid network is often the best solution.&lt;br /&gt;&lt;br /&gt;The following schema, extracted from the opnode project, is an example of integration of TCP/IP and several control-oriented technologies:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_xtGdM1zZ8TM/RyoL31tGcaI/AAAAAAAAAAk/cWvMXkL07X8/s1600-h/NetModel.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://2.bp.blogspot.com/_xtGdM1zZ8TM/RyoL31tGcaI/AAAAAAAAAAk/cWvMXkL07X8/s400/NetModel.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5127924179651686818" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;As you can see, TCP/IP or "the green network" is used in the above example to transport multimedia data and also as integration point between different control technologies. The link between every control technology and the IP world is relayed on a high performance gateway that translates and filters the commands coming from both channels, avoiding then the overhead of data on the control side and reducing the amount of short commands on the IP LAN.&lt;br /&gt;&lt;br /&gt;This architecture is being widely used in industrial and building applications. No matter which control bus is installed, it will be connected to the LAN infrastructure in some point.&lt;br /&gt;&lt;br /&gt;After this explanation, a new term comes into focus: the cost per endpoint. This parameter gives an idea about the cost (price and power consumption) of controlling a single endpoint using a given technology or mix of technologies. IP controllers are more expensive in price and consumption. Thus, the only way of reducing the cost per endpoint is to add more control points to the device. This is the reason because most IP controllers are designed to control important amounts of endpoints whilst other less expensive control-oriented technologies provide devices controlling just the temperature of one room.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4145662262554601940-7025432321742166375?l=usapiens.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://usapiens.blogspot.com/2007/11/tcpip-vs-field-buses-for-control.html</link><author>noreply@blogger.com (Daniel Berenguer)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/_xtGdM1zZ8TM/RyoL31tGcaI/AAAAAAAAAAk/cWvMXkL07X8/s72-c/NetModel.png" height="72" width="72" /><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4145662262554601940.post-6418804185785959718</guid><pubDate>Thu, 01 Nov 2007 16:50:00 +0000</pubDate><atom:updated>2008-12-12T00:27:40.358-08:00</atom:updated><title>The opnode concept</title><description>The OPNODE ("open node") project started some time ago when Alicia and me decided to return part of our experiences to the open community, having gathered lots of inputs from this community for years and having applied them into our professional projects. The building automation industry is something that I knew well and the home automation will always be one or my passions. On the other hand I've always considered the distributed systems a bit expensive for home applications. Thus, developing a set of low-cost open source controllers for building/home applications became the leitmotiv of this young project. The targets of this project have always been:&lt;br /&gt;&lt;br /&gt;1. Define an automation system not only for the home but that could also be usable in buildings and the industry. Then, the system should be powerful and programmable.&lt;br /&gt;&lt;br /&gt;2. The whole designs should be open source. I really believe in the open source philosophy, not only as a way of returning knowledge to the community but also as a business. Professional business I mean, not abusive business where a commercial company looks at the open source community only as a way of getting ideas and solutions. On the other hand, the open source formula allows the maintenance of big projects by independent enthusiasts, always following a collaborative criteria. I'll need some help on the development side soon and "open-sourcing" the project should open the door to anyone wanting to participate in the evolution of the project.&lt;br /&gt;&lt;br /&gt;3. The controllers developed under this project should follow a distributed model. In other words:&lt;br /&gt;&lt;br /&gt;3.1. Every controller should be capable of taking decisions by its own.&lt;br /&gt;&lt;br /&gt;3.2. We need a multimaster communication technology in order to ensure the interoperability between devices. xAP not only covers this point but also allows the integration of any opnode in any existing xAP network, with the possibility of interacting with third-party devices. This protocol is in fact one of the key factors that make the opnode concept really open.&lt;br /&gt;&lt;br /&gt;3.3. We should be able to define redundant tasks and secure procedures in order to guarantee the efficacy of our network.&lt;br /&gt;&lt;br /&gt;4. Any opnode must be optimized in terms of power consumption. The choice of the hardware platform must be then justified in each case according to the role that the device will accomplish within the network.&lt;br /&gt;&lt;br /&gt;5. The configuration and programming of any controller (or set of controllers) should be done via web. Besides, the web interface should provide a way of controlling/monitoring the endpoints managed by the device. This web interface will add some extra complexity to the developments but should finally provide a simple way of configuring and debugging our network from any location. The use of an external piece of software to program the system is then discarded.&lt;br /&gt;&lt;br /&gt;The current status of the project, after the first year of life, is not bad I guess. Three high-configurable controllers, two of them focusing exclusively on control tasks and the third one targeting OEM applications:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;opn-one&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;one-wire master with xAP and xPL interfaces.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;opn-232&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Ethernet-RS232 hardware platform aimed to integrate any RS232 device into the opnode (xAP) network. One available application at this moment: opn-x10.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;opn-max&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;High-programmable xAP controller with Perl and PHP scripting.&lt;br /&gt;&lt;br /&gt;The following schema shows the architecture of a typical distributed network following the opnode philosophy:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_xtGdM1zZ8TM/RyoJqFtGcZI/AAAAAAAAAAc/yt0OhREY4Vw/s1600-h/NetModel.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://3.bp.blogspot.com/_xtGdM1zZ8TM/RyoJqFtGcZI/AAAAAAAAAAc/yt0OhREY4Vw/s400/NetModel.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5127921744405229970" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The above schema introduces some new concepts regarding the communication interfaces used in each case:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Orange network&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This is the area where the field buses and low-end devices reside. The orange network is typically formed by low-power devices with no Ethernet interface. These devices communicate with a green-network node through a control-oriented technology.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Green network&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Formed by high-end controllers communicating among them through xAP (or any other IP technology). Multimedia players, xAP controllers and gateways belong to this functional group.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Blue network&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;"Blue network" is a simple name given to the Internet connection of our system.&lt;br /&gt;&lt;br /&gt;The architecture described in this article is not an invention of the opnode team. This architecture, where a TCP/IP network cohabits with control-oriented buses, is been widely used in the industry since long time ago. Control buses were specially conceived to transport control-oriented messages and the devices connected to these buses usually have lower requirements in terms of memory and power consumption. In summary, the orange network is totally oriented to the endpoint side. On the other hand, the TCP/IP network, much more capable in bandwidth but less oriented to control applications than field buses, is used as communication trunk and integration technology for all the high-end controllers.&lt;br /&gt;&lt;br /&gt;I'm currently working some ideas about possible new opnodes. I still have to decide between a distributed music player system and a new multimaster control bus based on RS485. The important is not to stop I guess...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4145662262554601940-6418804185785959718?l=usapiens.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://usapiens.blogspot.com/2007/11/opnode-concept.html</link><author>noreply@blogger.com (Daniel Berenguer)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/_xtGdM1zZ8TM/RyoJqFtGcZI/AAAAAAAAAAc/yt0OhREY4Vw/s72-c/NetModel.png" height="72" width="72" /><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4145662262554601940.post-6180994627843096864</guid><pubDate>Thu, 25 Oct 2007 20:34:00 +0000</pubDate><atom:updated>2007-11-01T04:40:45.744-07:00</atom:updated><title>RS485 vs CAN</title><description>This question usually arises during the initial evaluation of communication technologies in any project with distributed control requirements. This article pretends to describe the differences between these two technologies and finally offer a way of deciding which of them is the best for our application, bearing in mind the key requirements of our project: lead time, budget, platform and development skills.&lt;br /&gt;&lt;br /&gt;RS485 was created in 1983 as a way of providing multidrop communication capabilities for devices with at least one UART. RS485 is often called the "multiplexed" RS232 - any of the devices connected to the bus can talk to any other in half-duplex mode. Half-duplex means that the communication is bidirectional but only one device can transmit at a time (one transmits, the other listen to it, and so on). But RS485 is not a protocol, it's just the physical path and the basic rules over which any device can communicate. RS485 provides a way of transmitting serial messages over the multidrop bus but the contents of these messages are totally user-defined. The structure of the communication frame, the time that a message must be transmitted at, the way of addressing devices on the bus, the method for avoiding data collisions, etc are some of the steps that a designer must cover when defining a protocol over RS485.&lt;br /&gt;&lt;br /&gt;CAN (Controller Area Network) was created in the 80's by Robert Bosch GmbH and it initially targeted the automotive industry. CAN, in contrast to RS485 not only provides a physical media for communicating but also defines the necessary mechanics for addressing packets and avoiding data collisions. CAN specifies the structure of the data frame - the position and number of bytes for the address the data and the control bytes. Everything follows a precise structure and a timing in order to guarantee quality of transmission, delivery of every transmitted packet, speed and also avoid corruption of data. CAN is thus a very secure technology, and because of that it's currently been used in critical environments as vehicles, planes, vessels and the industry in general.&lt;br /&gt;&lt;br /&gt;Implementing CAN from scratch is not necessary as there is nowadays an important amount of manufacturers selling CAN controllers and microcontrollers with the whole CAN stack included. As result, CAN is often preferred because it provides a simple way of designing true multimaster systems without having to define a protocol from scratch. On the other hand, RS485 is typically used in master-slave environments, where a data collision detector is not necessary. The cost in components is also lower in the RS485 case as most microcontrollers have an UART port, even the smallest ones. On the other hand, CAN usually needs more expensive microcontrollers with larger memory and an integrated CAN controller or a SPI port for driving an external CAN controller. This makes CAN a bit overkilled for small distributed sensors even if it can't be considered an expensive solution.&lt;br /&gt;&lt;br /&gt;The following table tries to summarize the most common features of both technologies:&lt;br /&gt;&lt;br /&gt;&lt;table border="1" cellpadding="4"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;span style="font-weight: bold;"&gt;Feature&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span style="font-weight: bold;"&gt;RS485&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span style="font-weight: bold;"&gt;CAN&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Necessary microcontroller interface&lt;/td&gt;&lt;td&gt;UART&lt;/td&gt;&lt;td&gt;CAN controller or SPI&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Native system for detecting data collision&lt;/td&gt;&lt;td&gt;No, it must be implemented in software if necessary&lt;/td&gt;&lt;td&gt;Yes, CSMA/CD&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Maximum communication speed&lt;/td&gt;&lt;td&gt;10 Mbit/s&lt;/td&gt;&lt;td&gt;1 Mbit/s&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Maximum bus length&lt;/td&gt;&lt;td&gt;1200 m (at 100 kbit/s)&lt;/td&gt;&lt;td&gt;500 m (at 125 kbit/s)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Layers in the ISO model&lt;/td&gt;&lt;td&gt;Physical layer&lt;/td&gt;&lt;td&gt;Physical layer and data link layer&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Maximum amount of data into a single frame&lt;/td&gt;&lt;td&gt;Unlimited, it depends on your application&lt;/td&gt;&lt;td&gt;8 bytes&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Component costs&lt;/td&gt;&lt;td&gt;Very low&lt;/td&gt;&lt;td&gt;Low-medium&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Development time&lt;/td&gt;&lt;td&gt;medium/high&lt;/td&gt;&lt;td&gt;low/medium&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Typical use&lt;/td&gt;&lt;td&gt;Master-slave applications&lt;/td&gt;&lt;td&gt;Multimaster applications&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Examples of popular protocols&lt;/td&gt;&lt;td&gt;Modbus RS485, Profibus&lt;/td&gt;&lt;td&gt;CanOpen, Devicenet, J1939&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;Does this mean that RS485 is only suitable for master-slave protocols? Not necessarily. A number of vendors have implemented their own proprietary multimaster protocols based on RS485. The way they detect collisions and ensure data integrity is not known but the solution itself is indeed possible. Some open multimaster protocols use control bytes for reserving/releasing the bus and even detecting collisions when at least two address fields get overlapped. Another possible solution is to use of some kind of synchrony between nodes.&lt;br /&gt;&lt;br /&gt;Other sources of information:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.can-cia.org/"&gt;http://www.can-cia.org&lt;/a&gt;&lt;br /&gt;&lt;a href="http://en.wikipedia.org/wiki/Controller_Area_Network"&gt; http://en.wikipedia.org/wiki/Controller_Area_Network&lt;/a&gt;&lt;br /&gt;&lt;a href="http://en.wikipedia.org/wiki/RS-485"&gt;http://en.wikipedia.org/wiki/RS-485&lt;/a&gt;&lt;br&gt;&amp;nbsp;&lt;/br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4145662262554601940-6180994627843096864?l=usapiens.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://usapiens.blogspot.com/2007/10/rs485-vs-can.html</link><author>noreply@blogger.com (Daniel Berenguer)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4145662262554601940.post-8483290275870237192</guid><pubDate>Thu, 25 Oct 2007 17:07:00 +0000</pubDate><atom:updated>2007-11-01T04:42:59.412-07:00</atom:updated><title>Distributed control systems at home</title><description>Distributed control is a concept originated along the 70's to cover the needs of a growing industry in terms of automation. Before that, centralized automation systems, where a main computer did all the measurements and controls, were the only valid model at those times. The need of distributing the intelligence along an industrial plant and avoiding complex cable layouts made some companies think about a way of providing a communication method for their controllers. That was the genesis of the field buses. The overall solution was then progressively adopted by the industry so that nobody questions nowadays the advantages of the distributed control model.&lt;br /&gt;&lt;br /&gt;Distributed control systems are typically found in the manufacturing industry and also in buildings, vehicles, planes and vessels. Nevertheless, is the distributed model really suitable for home automation applications? At the beginning of our current century Microsoft tried to impose a centralized model based on a PC running Windows. Microsoft knew that no distributed control system could compete against a PC in terms of flexibility, power and price. Moreover, most of the home automation manufacturers already provided drivers and applications for controlling their systems from a Windows machine. Other companies as HomeSeer Technologies or Home Automated Living have been providing very good tools for transforming a simple PC into a programmable home controller with lots of functionalities at very competitive prices. Under this panorama, the professional distributed systems found an important adversary in the home environment. Only Lonworks and EIB seemed to gain some part of the market to the PC-based system. Other distributed systems as CBUS or InstallBus also got some success but only in some localized markets. These distributed systems are commonly installed in large houses so that they provide important savings in cable runs. But the small and medium houses are still dominated by the centralized systems. Home automation devices rarely are as powerful as any industrial controller. Moreover, they usually emphasize on the low complexity of installation rather than on other aspects, most of them vital in other environment (speed of communication, robustness, programming capabilities, etc). Moreover, most pure home controllers (not building controllers) often delegate in the external PC the responsibility of taking the most complex decisions. As result, implementing a PC-based home automation network in a medium-size house or apartment is often less expensive than using distributed systems. As result, distributed systems are usually economically advantageous in large installations, where the costs of installing complex cable runs are not justified.&lt;br /&gt;&lt;br /&gt;Ok, so could we state that PC-based central systems are less expensive than distributed systems for the home? But what about other aspects? Is then the PC-based model the best for home automation applications? This is also a very personal point of view, but I think that distributed systems are less error-prone, as every controller does a different job, in contrast to the PC-based system, where a computer maintains a number of tasks and the complexity of the system is sometimes exponentially proportional to the amount of endpoints to control. Hence the popular phrase: "when the computer gets halted, the whole installation gets useless".&lt;br /&gt;&lt;br /&gt;Thus, must we live with that dilemma? low cost against robustness? As a home automation enthusiast and developer of embedded controllers I began thinking about a way of breaking that rule. First I thought that Linux and low cost 32-bit platforms could be a good starting point. Then I discovered some good open-source resources that perfectly complemented the idea that I had in mind. After more than two years of work the opnode project is taking shape...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4145662262554601940-8483290275870237192?l=usapiens.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://usapiens.blogspot.com/2007/10/distributed-control-systems-at-home.html</link><author>noreply@blogger.com (Daniel Berenguer)</author><thr:total>0</thr:total></item></channel></rss>

