TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Contiki: The Little-Known Open Source OS That Rules the Internet of Things

328 pointsby maaarghkalmost 11 years ago

17 comments

joshstrangealmost 11 years ago
&gt;&gt; Contiki will soon face competition from the likes of Microsoft, which recently announced Windows for the Internet of Things [0]. But while Microsoft’s new operating system will be free for devices less than 9 inches in size, it won’t be open source. And Contiki has an 11-year head start.<p>What? Why even mention windows here, these two OS&#x27;s aren&#x27;t even close to being in the same category other than they share the price tag of &quot;free&quot;. I&#x27;d like to see windows try to run in under 128mb let alone the 1mb for linux or the mere kilobytes need for Contiki. A windows mention here seems very out of place.<p>[0] <a href="http://www.wired.com/2014/04/free-windows/" rel="nofollow">http:&#x2F;&#x2F;www.wired.com&#x2F;2014&#x2F;04&#x2F;free-windows&#x2F;</a>
评论 #7845642 未加载
评论 #7845585 未加载
评论 #7847782 未加载
评论 #7845354 未加载
评论 #7846739 未加载
jortiz81almost 11 years ago
It&#x27;s interesting to see that Contiki is taking the lead in this space, since it was once going toe-to-toe with another open source OS for wireless embedded networked devices, TinyOS. TinyOS had a large following in the research community and I believe it was used in several commercial sensor network deployments by Dust Networks and Arch Rock and at least one other Korean startup company -- that i believe is still using it in their deployments.<p>Adam Dunkel has done a nice job of pulling Contiki from the obscure research community and into the commercial space and is riding the &quot;internet of things&quot; wave right now. We&#x27;ll see if it lasts. I&#x27;m not familiar with what developments have taken place on their OS since maybe 2010 or so.
评论 #7845257 未加载
lditealmost 11 years ago
Note that it&#x27;s got a pretty good emulator, with a VM image to get you up and running fast:<p><a href="http://contiki-os.org/start.html" rel="nofollow">http:&#x2F;&#x2F;contiki-os.org&#x2F;start.html</a><p>(ironically a 1GB download for a Micro-OS)<p>The emulator lets you do interesting things, like experimenting with mesh networking, that would require quite a lot of hardware to try for real. (Plus it&#x27;s a lot quicker than flashing 15 nodes every time you make a bugfix!)
评论 #7845159 未加载
评论 #7846891 未加载
SwellJoealmost 11 years ago
The last time I read about Contiki, all of the screenshots were running on a C64. And it looked <i>awesome</i>! It made me want to play with it on my C64. The current website is all boring network simulation stuff. Looks like a corporation.<p>But, I&#x27;m happy to hear Open Source continues to make inroads into the embedded space. There&#x27;s billions of devices out there that sometimes people&#x27;s lives depend on running a terrifying array of proprietary and unmaintained software that is potentially broken in subtle (or not so subtle) ways.<p>Edit: Here&#x27;s all the stuff about ports to a variety of awesome hardware: <a href="http://hitmen.c02.at/html/tools_contiki.html" rel="nofollow">http:&#x2F;&#x2F;hitmen.c02.at&#x2F;html&#x2F;tools_contiki.html</a>
评论 #7845318 未加载
评论 #7845955 未加载
INTPenisalmost 11 years ago
I love this, I remember back when Adam Dunkels came up with this and feeling proud that he was from Sweden.<p>Here&#x27;s a quote of his I kept with me from those days, paraphrased.<p><pre><code> When I program I always try to code as if I&#x27;m writing for a PDP-11. </code></pre> So no wonder he made such compact C code for the C64.
评论 #7845236 未加载
评论 #7848012 未加载
thelucky41almost 11 years ago
I&#x27;m using this wonderful operating system for my own sideproject for LED juggling props.<p>Aside from the strong hardware support and large community behind it, Thingsquare has recently released it&#x27;s slides from their training classes on Contiki that give an excellent overview. Porting an already existing platform to my own custom hardware has been relatively painless compared to Linux or an RTOS, though it is difficult to make Contiki&#x27;s makefile based workflow work well in an IDE.<p>Cooperative protothreads are surprisingly easy to work with, and the IP&#x2F;mesh networking stack is highly configurable at each layer. Combined with an excellent overall code quality, this is the very first open-source project I&#x27;ve ever really wanted to get involved in.
评论 #7850249 未加载
maaarghkalmost 11 years ago
<a href="https://www.youtube.com/watch?v=OMzgp7xTp1k" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=OMzgp7xTp1k</a><p>Some example of Contiki running and browsing the internet on 20 year old hardware with 64k of ram (Apple IIe)... video is a few years old but still impressive.<p>I think I want to try and get this running on some atmel hardware just for fun :)
sieve1234almost 11 years ago
I am unsure about this. It&#x27;s big advantage is its size and that it does not require as much HW support like Linux (like a MMU). The disadvantage is that it&#x27;s not a *nix and you loose the whole ecosystem (no Posix).<p>In my opinion the space that it occupies (the &quot;Internet of Things&quot;), is not well-defined and it may be probably cheeper to use something like a full-blown small computer (like the rasperry-pi) with Linux on it.
评论 #7847031 未加载
评论 #7845539 未加载
评论 #7846719 未加载
评论 #7848600 未加载
评论 #7845542 未加载
davidwalmost 11 years ago
So what kinds of things are people actually using this for here? Anyone doing something interesting with it?
评论 #7845451 未加载
ausjkealmost 11 years ago
This is well known in IoT field I assume, I used it a few years back, after comparing with tinyos and such. Basically you have Linux, then FreeRTOS, then Contiki, from large system to the tiny devices.
kqr2almost 11 years ago
Based on this embedded systems survey [1], FreeRTOS is actually quite popular.<p><a href="http://www.freertos.org/" rel="nofollow">http:&#x2F;&#x2F;www.freertos.org&#x2F;</a><p>[1] <a href="http://www.eetimes.com/document.asp?doc_id=1322014&amp;print=yes" rel="nofollow">http:&#x2F;&#x2F;www.eetimes.com&#x2F;document.asp?doc_id=1322014&amp;print=yes</a>
arethuzaalmost 11 years ago
Can anyone recommend hardware for trying this out? I&#x27;m tempted to get a Redwire Econotag II....
评论 #7846632 未加载
评论 #7849681 未加载
评论 #7845967 未加载
评论 #7845125 未加载
评论 #7845109 未加载
bigbugbagalmost 11 years ago
Please remove the facebook tracking snippet from the url before posting on HN.
评论 #7847068 未加载
stinosalmost 11 years ago
Suported hardware: <a href="http://contiki-os.org/hardware.html" rel="nofollow">http:&#x2F;&#x2F;contiki-os.org&#x2F;hardware.html</a>. Lot of major players in there it seems.
dragonbonheuralmost 11 years ago
The part I&#x27;m interested in for now. It will be fun to have it running inside a C64 emulator on a $50 Android tablet <a href="http://contiki.cbm8bit.com" rel="nofollow">http:&#x2F;&#x2F;contiki.cbm8bit.com</a>
Cuuugialmost 11 years ago
I wonder about name liabilities with the other famous Contiki.<p><a href="http://www.contiki.com/" rel="nofollow">http:&#x2F;&#x2F;www.contiki.com&#x2F;</a>
评论 #7848444 未加载
peronealmost 11 years ago
Little-known ?