<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><atom:link rel="hub" href="http://tumblr.superfeedr.com/" xmlns:atom="http://www.w3.org/2005/Atom"/><description>We are working on…


Advanced Wi-Fi security
SSL (Yes!!!)
T-B app. protection
</description><title>The Tibblog</title><generator>Tumblr (3.0; @tibbo)</generator><link>http://blog.tibbo.com/</link><item><title>We just had our Year-End party (we go by the Chinese calendar),...</title><description>&lt;img src="http://24.media.tumblr.com/tumblr_kxo6ojj3Mv1qaqhoco1_500.jpg"/&gt;&lt;br/&gt; &lt;br/&gt;&lt;img src="http://28.media.tumblr.com/tumblr_kxo6ojj3Mv1qaqhoco2_500.jpg"/&gt;&lt;br/&gt; &lt;br/&gt;&lt;img src="http://27.media.tumblr.com/tumblr_kxo6ojj3Mv1qaqhoco3_500.jpg"/&gt;&lt;br/&gt; &lt;br/&gt;&lt;img src="http://26.media.tumblr.com/tumblr_kxo6ojj3Mv1qaqhoco4_500.jpg"/&gt;&lt;br/&gt; &lt;br/&gt;&lt;img src="http://26.media.tumblr.com/tumblr_kxo6ojj3Mv1qaqhoco5_250.jpg"/&gt;&lt;br/&gt; &lt;br/&gt;&lt;img src="http://30.media.tumblr.com/tumblr_kxo6ojj3Mv1qaqhoco6_500.jpg"/&gt;&lt;br/&gt; &lt;br/&gt;&lt;p&gt;We just had our Year-End party (we go by the Chinese calendar), and it was a blast! Here are just a few photos of the Taipei team having fun. :) HAPPY CHINESE NEW YEAR!&lt;/p&gt;</description><link>http://blog.tibbo.com/post/383466577</link><guid>http://blog.tibbo.com/post/383466577</guid><pubDate>Thu, 11 Feb 2010 04:07:00 -0500</pubDate><category>team</category><category>party</category><category>fun</category></item><item><title>Our new DS10xx family of BASIC-programmable industrial...</title><description>&lt;img src="http://28.media.tumblr.com/tumblr_kx7q8hGowl1qaqhoco1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;Our new &lt;a href="http://www.tibbo.com/products/controllers/ds10xx"&gt;DS10xx&lt;/a&gt; family of BASIC-programmable industrial controllers is now out!&lt;/p&gt;</description><link>http://blog.tibbo.com/post/366820583</link><guid>http://blog.tibbo.com/post/366820583</guid><pubDate>Tue, 02 Feb 2010 06:50:00 -0500</pubDate><category>ds10xx</category><category>hardware</category><category>release</category></item><item><title>Our Designer, Leo, has recently visited us in Taipei. Here is a...</title><description>&lt;img src="http://26.media.tumblr.com/tumblr_kx7kvlj5ei1qaqhoco1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;Our Designer, Leo, has recently visited us in Taipei. Here is a photo of him and his computers/monitors, one of which shows his top secret project &lt;b&gt;E**&lt;/b&gt; (which, regrettably, we had to pixelate). Tomorrow Leo is off to get some much needed R&amp;R in Thailand, so we all wish him a good trip.&lt;/p&gt;</description><link>http://blog.tibbo.com/post/366721364</link><guid>http://blog.tibbo.com/post/366721364</guid><pubDate>Tue, 02 Feb 2010 04:55:00 -0500</pubDate><category>team</category></item><item><title>AggreGate in Russian, Chinese, and More!
And we don’t mean some...</title><description>&lt;img src="http://30.media.tumblr.com/tumblr_kwn8tf18pl1qaqhoco1_400.png"/&gt;&lt;br/&gt; Menu and System Tree in Russian&lt;br/&gt;&lt;br/&gt; &lt;img src="http://24.media.tumblr.com/tumblr_kwn8tf18pl1qaqhoco2_500.png"/&gt;&lt;br/&gt; System Log&lt;br/&gt;&lt;br/&gt; &lt;p&gt;AggreGate in Russian, Chinese, and More!&lt;/p&gt;
&lt;p&gt;And we don’t mean some “About AggreGate” document, either! It’s the  actual software. The UI itself is being localized these days. Look at  this sneak preview of our Russian AggreGate.&lt;/p&gt;</description><link>http://blog.tibbo.com/post/347226870</link><guid>http://blog.tibbo.com/post/347226870</guid><pubDate>Fri, 22 Jan 2010 05:22:00 -0500</pubDate><category>aggregate</category><category>lab</category><category>design</category></item><item><title>Security, Security, Security...</title><description>&lt;p&gt;Hello there folks,&lt;/p&gt;
&lt;p&gt;it is a holiday season all around the world but we are not slowing down. It looks like Q1 will bring our BASIC-programmable products several important security-related enhancements. Here is just some stuff we are working on: additional security modes for Wi-Fi (cause WEP is cr**), SSL support, and protection of customer’s Tibbo BASIC application loaded into the module.&lt;/p&gt;
&lt;p&gt;Stay tuned…&lt;/p&gt;</description><link>http://blog.tibbo.com/post/305436073</link><guid>http://blog.tibbo.com/post/305436073</guid><pubDate>Mon, 28 Dec 2009 22:21:00 -0500</pubDate><category>LAB</category></item><item><title>SSI does MAXIM RTC</title><description>&lt;p&gt;Yet another application for our SSI object. We have successfully used our SSI to interface with the &lt;a href="http://www.maxim-ic.com/quick_view2.cfm/qv_pk/4051"&gt;DS3234&lt;/a&gt; “extremely accurate” SPI RTC.&lt;/p&gt;
&lt;p&gt;&lt;br/&gt;&lt;img src="http://media.tumblr.com/tumblr_kvcyzjIFHA1qa8p5v.png"/&gt;&lt;br/&gt;&lt;!-- more --&gt;&lt;/p&gt;
&lt;p&gt;Here is the code:&lt;/p&gt;
&lt;pre&gt;'------------------------------------------------------------------&lt;br/&gt;io.num=SPI_CS&lt;br/&gt;io.state = HIGH&lt;br/&gt;io.enabled=YES&lt;br/&gt;&lt;br/&gt;io.num=SPI_CLK&lt;br/&gt;io.state = HIGH&lt;br/&gt;io.enabled=YES&lt;br/&gt;&lt;br/&gt;io.num=SPI_MOSI&lt;br/&gt;io.state = HIGH&lt;br/&gt;io.enabled=YES&lt;br/&gt;&lt;br/&gt;'setup SSI channel&lt;br/&gt;ssi.channel=1&lt;br/&gt;ssi.mode=PL_SSI_MODE_1&lt;br/&gt;ssi.clkmap=SPI_CLK&lt;br/&gt;ssi.dimap=SPI_MISO&lt;br/&gt;ssi.domap=SPI_MOSI&lt;br/&gt;ssi.zmode=PL_SSI_ZMODE_ALWAYS_ENABLED&lt;br/&gt;ssi.direction=PL_SSI_DIRECTION_LEFT&lt;br/&gt;ssi.baudrate=1&lt;br/&gt;ssi.enabled=YES&lt;br/&gt;&lt;br/&gt;'------------------------------------------------------------------&lt;br/&gt;function rtc_read(address as byte)as byte&lt;br/&gt;  io.lineset(SPI_CS,LOW)&lt;br/&gt;  ssi.channel=SSI_CHANNEL_RTC&lt;br/&gt;  rtc_read=ssi.value(address*256,16)&lt;br/&gt;  io.lineset(SPI_CS,HIGH)&lt;br/&gt;end function&lt;/pre&gt;</description><link>http://blog.tibbo.com/post/278528886</link><guid>http://blog.tibbo.com/post/278528886</guid><pubDate>Fri, 11 Dec 2009 00:05:00 -0500</pubDate><category>CODE</category></item><item><title>SSI does Microchip Port Expanders!</title><description>&lt;p&gt;G’day folks,&lt;/p&gt;
&lt;p&gt;it hasn’t even been a week since we published our SSI object, and we already found an application for it. We used the SSI to control Microchip’s &lt;a href="http://www.microchip.com/wwwproducts/Devices.aspx?dDocName=en023499"&gt;MCP23017&lt;/a&gt; 16-bit port expander.&lt;/p&gt;
&lt;p&gt;For those of you who never tested this, Microchip port expanders are I2C or SPI ICs that give you 8 or 16 I/O lines. Add something like this to our (relatively low-pin count &lt;a href="http://www.tibbo.com/products/modules/x20x/em1206.html"&gt;EM1206&lt;/a&gt;) and you get 16 additional I/O lines for &lt;1US$!&lt;/p&gt;
&lt;p&gt;Without further ado, here is the code that setups an I2C channel, configures all I/O lines of the MCP23017 as outputs, and writes &amp;hAA55 to the output ports:&lt;/p&gt;

&lt;p&gt;&lt;img src="http://media.tumblr.com/tumblr_kvcz6wM46s1qa8p5v.png"/&gt;&lt;/p&gt;


&lt;!-- more --&gt;
&lt;pre&gt;'------------------------------------------------------------------&lt;br/&gt;  'configure I2C clock as output&lt;br/&gt;  io.num=I2C_SCL 'you need to declare I2C_SCL, I2C_SDA&lt;br/&gt;  io.state=HIGH&lt;br/&gt;  io.enabled=YES&lt;br/&gt;&lt;br/&gt;  'setup SSI channel&lt;br/&gt;  ssi.channel=0&lt;br/&gt;  ssi.mode=PL_SSI_MODE_3&lt;br/&gt;  ssi.clkmap=I2C_SCL&lt;br/&gt;  ssi.dimap=I2C_SDA&lt;br/&gt;  ssi.domap=I2C_SDA&lt;br/&gt;  ssi.zmode=PL_SSI_ZMODE_ENABLED_ON_ZERO&lt;br/&gt;  ssi.direction=PL_SSI_DIRECTION_LEFT&lt;br/&gt;  ssi.baudrate=40 'this I2C device is relatively slow&lt;br/&gt;  ssi.enabled=YES&lt;br/&gt;&lt;br/&gt;  'setup all I/O lines of the MCP23017 as outputs (see Microchip's documentation)&lt;br/&gt;  i2c_start() &lt;br/&gt;  ssi.str(chr(&amp;h40)+chr(&amp;h00)+chr(&amp;h00)+chr(&amp;h00),1)&lt;br/&gt;  i2c_stop() &lt;br/&gt;&lt;br/&gt;  'output &amp;hAA55 (see Microchip's documentation)&lt;br/&gt;  i2c_start() &lt;br/&gt;  ssi.str(chr(&amp;h40)+chr(&amp;h12)+chr(&amp;hAA)+chr(&amp;h55),1)&lt;br/&gt;  i2c_stop() &lt;br/&gt;&lt;br/&gt;'------------------------------------------------------------------&lt;br/&gt;sub i2c_start&lt;br/&gt;  io.lineset(I2C_SCL,HIGH)&lt;br/&gt;  io.num=I2C_SDA 'set SDA to HIGH first so we can have HIGH-&gt;LOW transition&lt;br/&gt;  io.state=LOW 'we are manipulating data line through the OE register&lt;br/&gt;  io.enabled=NO&lt;br/&gt;  io.enabled=YES 'this will set the data output to LOW	&lt;br/&gt;end sub&lt;br/&gt;&lt;br/&gt;'----------------------------------------------------------------------------&lt;br/&gt;sub i2c_stop&lt;br/&gt;  io.lineset(I2C_SCL,LOW) 'this will remove the ack bit&lt;br/&gt;  io.num=I2C_SDA 'set SDA to LOW first so we can have LOW-&gt;HIGH transition			&lt;br/&gt;  io.state=LOW 'we are manipulating data line through the OE register&lt;br/&gt;  io.enabled=YES&lt;br/&gt;  io.lineset(I2C_SCL,HIGH)&lt;br/&gt;  io.enabled=NO 'this will set the data output to HIGH&lt;br/&gt;end sub&lt;/pre&gt;</description><link>http://blog.tibbo.com/post/278511776</link><guid>http://blog.tibbo.com/post/278511776</guid><pubDate>Thu, 10 Dec 2009 23:50:00 -0500</pubDate><category>CODE</category></item><item><title>SSI Object is Ready!</title><description>&lt;p&gt;Busy day here at Tibbo folks. We’ve just assembled &lt;a href="http://tibbo.com/downloads/basic/software.html"&gt;TIDE V2.20.16&lt;/a&gt; (see experimental build at the bottom of the page). This includes the EM1000 firmware and platform files supporting our new Synchronous Serial Interface object.&lt;/p&gt;
&lt;p&gt;Do SPI, I2C, as well as custom clock/data interfaces using this new object. You get four independent channels, programmable bitrate, endianness, clock phases, etc. you have a total flexibility needed to work with RTCs, EEPROMs, DACs, ADCs, and other serial ICs.&lt;/p&gt;
&lt;p&gt;With speed reaching 1.2MBit/sec, the SSI object gives you performance that far exceeds anything you were able to do with direct bit-banging using IO object. Any I/O pins of your module can be used as CLOCK, DO (MOSI), or DI (MISO) lines. Moreover, the DO and DI lines can be mapped onto a single physical I/O line, which is necessary for I2C.&lt;/p&gt;
&lt;p&gt;Stay tuned for actual code examples. We’ve got some serial ICs we are going to try…&lt;/p&gt;
&lt;p&gt;&lt;i&gt;Note: this &lt;a href="http://en.wikipedia.org/wiki/Serial_Peripheral_Interface_Bus"&gt;excellent Wikipedia article&lt;/a&gt; explains SPI modes 0-3.&lt;/i&gt;&lt;/p&gt;</description><link>http://blog.tibbo.com/post/274501425</link><guid>http://blog.tibbo.com/post/274501425</guid><pubDate>Tue, 08 Dec 2009 05:04:00 -0500</pubDate><category>LAB</category></item><item><title>TIDE = Speed (re: Modbus)</title><description>&lt;p&gt;&lt;img src="http://media.tumblr.com/tumblr_kubn9fxTI11qa8p5v.jpg"/&gt;&lt;/p&gt;
&lt;p&gt;Case in question: our own in-house test of an energy meter with RS485 interface running MODBUS protocol.&lt;/p&gt;
&lt;p&gt;One of our potential Customers wanted to us to create a small Tibbo BASIC app that would query the meter and show the data on a simple HTML page. Two hours later (spent mostly on connecting and arranging things) we had a working application prototype. The source code is published &lt;a href="http://basic.tibbo.com/resources/data_transfer/energymeter.html"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;We didn’t go as far as to format the data (in KWatts, etc.). This demo displays raw contents of MODBUS registers.&lt;/p&gt;
&lt;p&gt;Now that we’ve got &lt;a href="http://www.tibbo.com/products/ga1000"&gt;Wi-Fi&lt;/a&gt; working (and ZigBee coming) it is possible to use our modules in power metering applications — a huge market worth gazillions*.&lt;/p&gt;
&lt;p&gt;&lt;i&gt;* Based on numerous reports by multiple totally trustworthy sources, or so we remember.&lt;br/&gt;&lt;/i&gt;&lt;/p&gt;</description><link>http://blog.tibbo.com/post/274498916</link><guid>http://blog.tibbo.com/post/274498916</guid><pubDate>Tue, 08 Dec 2009 05:01:00 -0500</pubDate><category>LAB</category></item><item><title>Two members of our Russian team — Dmitry (left) and Victor...</title><description>&lt;img src="http://29.media.tumblr.com/tumblr_ku21psKz4X1qaqhoco1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;Two members of our Russian team — Dmitry (left) and Victor — have recently visited us. Victor is our &lt;a href="http://aggregate.tibbo.com"&gt;AggreGate&lt;/a&gt; Project Manager, and Dmitry is our “go to” guy for all IT and web- related technologies. Hope you liked it here, guys. Many happy returns.&lt;/p&gt;
&lt;p&gt;Note: The Christmas tree is not visiting, we keep it here in Taipei.&lt;/p&gt;</description><link>http://blog.tibbo.com/post/267059899</link><guid>http://blog.tibbo.com/post/267059899</guid><pubDate>Wed, 02 Dec 2009 21:32:00 -0500</pubDate><category>TEAM</category></item><item><title>These are the screenshots of AggreGate status panels for our...</title><description>&lt;img src="http://29.media.tumblr.com/tumblr_ku20r5dFop1qaqhoco1_500.png"/&gt;&lt;br/&gt; &lt;br/&gt;&lt;img src="http://24.media.tumblr.com/tumblr_ku20r5dFop1qaqhoco2_500.png"/&gt;&lt;br/&gt; &lt;br/&gt;&lt;p&gt;These are the screenshots of &lt;a title="AggreGate" href="http://aggregate.tibbo.com"&gt;AggreGate&lt;/a&gt; status panels for our upcoming DS1004 and DS1005 industrial I/O devices (not yet officially released).&lt;/p&gt;
&lt;p&gt;The DS1004 is our new industrial controller with analog I/O. The DS1005 is the same, but with digital I/O (opto-couplers and relays). Both devices are &lt;a title="BASIC-programmable" href="http://basic.tibbo.com"&gt;BASIC-programmable&lt;/a&gt; and can be tested using free Tibbo BASIC applications posted on our website (here: the one for the &lt;a title="DS1004" href="http://basic.tibbo.com/demo-ds1004"&gt;DS1004&lt;/a&gt;, and another one for the &lt;a title="DS1005" href="http://basic.tibbo.com/demo-ds1005"&gt;DS1005&lt;/a&gt;).&lt;/p&gt;
&lt;p&gt;These applications connect to the AggreGate server and let you control the DS1004 and DS1005 through these status panels. I know you all want to ask this, and here is the answer: yes, everything is customizable. Take it and change it in any way you want.&lt;/p&gt;</description><link>http://blog.tibbo.com/post/267032045</link><guid>http://blog.tibbo.com/post/267032045</guid><pubDate>Wed, 02 Dec 2009 21:11:00 -0500</pubDate><category>LAB</category></item><item><title>We are about to start handing out CDs containing the trial...</title><description>&lt;img src="http://30.media.tumblr.com/tumblr_ku200gmzcX1qaqhoco1_r1_400.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;We are about to start handing out CDs containing the trial version of our &lt;a title="AggreGate" href="http://aggregate.tibbo.com"&gt;AggreGate&lt;/a&gt; (TM) software.&lt;/p&gt;
&lt;p&gt;For those of you who never heard of AggreGate: this is a complete device management platform that can be used for access control, time/attendance, industrial automation, and many other applications.&lt;/p&gt;
&lt;p&gt;For those of you who tested AggreGate before: a lot have been added since the last time you’ve checked. Take another peek.&lt;/p&gt;</description><link>http://blog.tibbo.com/post/267009927</link><guid>http://blog.tibbo.com/post/267009927</guid><pubDate>Wed, 02 Dec 2009 20:55:00 -0500</pubDate><category>DESIGN</category></item><item><title>
Tibbo was recently visited by our good Indian partner, Raja (left), the head of Theta Sales and...</title><description>&lt;p&gt;&lt;img src="http://media.tumblr.com/tumblr_ktrdbdlbvw1qa8p5v.jpg"/&gt;&lt;/p&gt;
&lt;p&gt;Tibbo was recently visited by our good Indian partner, Raja (left), the head of &lt;a target="_blank" href="http://www.thetasales.com/"&gt;Theta Sales and Service&lt;/a&gt;. He spent some time with us, getting the latest news and hands-on experience with our new Tibbo BASIC products and AggreGate. Always nice to have such visitors!&lt;/p&gt;</description><link>http://blog.tibbo.com/post/259277503</link><guid>http://blog.tibbo.com/post/259277503</guid><pubDate>Fri, 27 Nov 2009 03:12:00 -0500</pubDate><category>PARTNERS</category></item><item><title>Check out our new packaging. This box is about to start...</title><description>&lt;img src="http://27.media.tumblr.com/tumblr_ktiwe2P1xI1qaqhoco1_500.png"/&gt;&lt;br/&gt; &lt;br/&gt;&lt;img src="http://30.media.tumblr.com/tumblr_ktiwe2P1xI1qaqhoco2_500.png"/&gt;&lt;br/&gt; &lt;br/&gt;&lt;p&gt;Check out our new packaging. This box is about to start delivering our development kits to interested parties around the world. Yam!&lt;/p&gt;</description><link>http://blog.tibbo.com/post/253263224</link><guid>http://blog.tibbo.com/post/253263224</guid><pubDate>Sun, 22 Nov 2009 13:22:00 -0500</pubDate><category>DESIGN</category></item><item><title>Project E** update</title><description>&lt;p&gt;Heya Folks,&lt;/p&gt;
&lt;p&gt;just wanted to let all you know that we have achieved a major milestone in the development of the new embedded module code-named E**.&lt;/p&gt;
&lt;p&gt;Those of you in the know already, err, know that E** is the ******** and the ******** module to ever come out of our lab.&lt;/p&gt;
&lt;p&gt;Stay tuned for more bits and pieces on this important development.&lt;/p&gt;</description><link>http://blog.tibbo.com/post/253258201</link><guid>http://blog.tibbo.com/post/253258201</guid><pubDate>Sun, 22 Nov 2009 13:17:00 -0500</pubDate><category>TEASER</category></item><item><title>Bit-banging to get easier/faster</title><description>&lt;p&gt;Here is a quick update re what’s been going on at our lab.&lt;/p&gt;
&lt;p&gt;We are working (and will soon publish) a new object called SSI. That stands for “Synchronous Serial Interface”.&lt;/p&gt;
&lt;p&gt;Pretty soon you will be able to do speedy data exchange with externally connected I2C, SPI, etc. devices such as EEPROMS, RTCs, ADC/DACs, etc.etc. Manyfold increase in tx/rx speeds compared with bit banging based on T-BASIC code. We have this working at 1.5MBit/second*.&lt;/p&gt;
&lt;p&gt;You will get 4 independent channels with multiple programmable options. Each channel can use any I/O lines you wish to use. It is all configurable.&lt;/p&gt;
&lt;p&gt;This is coming to your EM1000, EM1202, and EM1206 devices pretty soon. Stay tuned for updates.&lt;/p&gt;
&lt;p&gt;&lt;i&gt;*not a sustained throughput metric&lt;/i&gt;&lt;/p&gt;</description><link>http://blog.tibbo.com/post/253155535</link><guid>http://blog.tibbo.com/post/253155535</guid><pubDate>Sun, 22 Nov 2009 11:20:00 -0500</pubDate><category>LAB</category></item><item><title>A smarter way to format your flash disk (for debugging)</title><description>&lt;p&gt;How much flash space do you allocate for your flash disk? Normal answer is “the rest of it”. That is, take all space not occupied by your code:&lt;/p&gt;
&lt;p&gt;fd.format(fd.availableflashspace,32)&lt;/p&gt;
&lt;p&gt;This works, except when you are actively developing/debugging and your project keeps getting bigger, thus encroaching onto the disk space and forcing you to format your disk all the time.&lt;/p&gt;
&lt;p&gt;Here is an elegant solution: leave some spare space for the project to grow:&lt;/p&gt;
&lt;pre&gt; fd.format(fd.availableflashspace/2,32)&lt;/pre&gt;
&lt;p&gt;This way, formatting will happen a lot less. You can also improve it this way:&lt;/p&gt;
&lt;pre&gt; if sys.runmode=DEBUG then fd.format(fd.availableflashspace/2,32) &lt;br/&gt;&lt;br/&gt;  else fd.format(fd.availableflashspace,32) &lt;br/&gt;&lt;br/&gt;end if &lt;/pre&gt;
&lt;p&gt;Smart, huh?&lt;/p&gt;</description><link>http://blog.tibbo.com/post/253141256</link><guid>http://blog.tibbo.com/post/253141256</guid><pubDate>Sun, 22 Nov 2009 11:04:00 -0500</pubDate><category>CODE</category></item></channel></rss>
