User Tools

Site Tools


project_octobus

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

project_octobus [2010/08/09 15:15]
gonium
project_octobus [2012/10/30 10:27] (current)
Line 1: Line 1:
 ==== Overview ==== ==== Overview ====
-Project OctoBus evaluated the use of 6LoWPAN for home automation. It is based on the Atmel AVR Raven hardware and runs Contiki as an operating system. This page describes the prototype. The goal is to use standard technology for solving the hard problems, i.e. routing, naming and adressing.+Project OctoBus ("The Kraken of Home Automation") evaluates the use of 6LoWPAN for home automation. It is based on the Atmel AVR Raven hardware and runs Contiki as an operating system. This page describes the prototype. The goal is to use standard technology for solving the hard problems, i.e. routing, naming and adressing. 
 + 
 +=== Trade fair setup === 
 + 
 +The description of our trade fair setup is here: [[HexaBusDemoSetup]] 
 ==== The Setup ==== ==== The Setup ====
  
Line 14: Line 19:
   - Adressing the devices is done using IPv6 adresses. The local (64bit) adress can be set during manufacturing, while the prefix part (64bit) is provided by the router. When setting up a device, there is nothing to be configured. The IPv6 stack takes care of constructing the full adress.   - Adressing the devices is done using IPv6 adresses. The local (64bit) adress can be set during manufacturing, while the prefix part (64bit) is provided by the router. When setting up a device, there is nothing to be configured. The IPv6 stack takes care of constructing the full adress.
  
-Currently, the prototype uses 802.15.4 on 2.4 Ghz which is not suitable for links across several floors. A real implementation should use 868 MHz to improve in-house reliability.+Currently, the prototype uses 802.15.4 on 2.4 Ghz which is not suitable for links across several floors. A real implementation should use 868 MHz to improve in-house reliability. The rationale for 868 MHz is described in a good way at the [[http://www.openoshan.net/wiki/Why_900_MHz|OSIAN Wiki]].
  
 All software components are on Github: [[http://github.com/gonium/octobus]] All software components are on Github: [[http://github.com/gonium/octobus]]
Line 23: Line 28:
  
  
-The router is a Buffalo WZR-HP-G300NH running OpenWRT. I followed the instructions at the [[http://wiki.openwrt.org/inbox/buffalo/wzr-hp-g300h|OpenWRT Wiki]] for setting things up. +The router is a Buffalo WZR-HP-G300NH running OpenWRT. I followed the instructions at the [[http://wiki.openwrt.org/toh/buffalo/wzr-hp-g300h|OpenWRT Wiki]] for setting things up. I also use a simple shellscript for easy tftping: 
 + 
 +  sudo ifconfig eth0 192.168.11.10 netmask 255.255.255.0 
 +  sudo arp -s 192.168.11.1 00:24:a5:b0:07:d3 
 +  tftpfoo=`(cat <<-EOF 
 +  binary\n 
 +  rexmt 1\n 
 +  timeout 60\n 
 +  trace\n 
 +  put openwrt-ar71xx-wzr-hp-g300nh-squashfs-tftp.bin\n 
 +  EOF 
 +  ) ` 
 +  echo $tftpfoo 
  
 In addition, I installed several packages to get the IPv6 stack running, this is also documented in the OpenWRT wiki. I also found this page in the [[http://www.sixxs.net/wiki/Aiccu/Installing_on_OpenWRT|SIXXS Wiki]] helpful (but the router does not run aiccu currently.) You have to be careful while installing the radvd and the Raven USB stick: In addition, I installed several packages to get the IPv6 stack running, this is also documented in the OpenWRT wiki. I also found this page in the [[http://www.sixxs.net/wiki/Aiccu/Installing_on_OpenWRT|SIXXS Wiki]] helpful (but the router does not run aiccu currently.) You have to be careful while installing the radvd and the Raven USB stick:
Line 153: Line 171:
 screen -U /dev/cu.SLAB_USBtoUART 57600 screen -U /dev/cu.SLAB_USBtoUART 57600
 </code> </code>
 +
 +[[http://senstools.gforge.inria.fr/doku.php?id=contiki:examples]] has also been a helpful resource.
 +
 ==== Software on the Notebook ==== ==== Software on the Notebook ====
  
Line 167: Line 188:
  
 The relay box just encapsulates all components directly connected to AC mains. It contains a relay in normaly open position, a fuse, a permanently connected socket and a switched socket (which is connected to the relay). The relay box just encapsulates all components directly connected to AC mains. It contains a relay in normaly open position, a fuse, a permanently connected socket and a switched socket (which is connected to the relay).
- 
- 
 ==== Preliminary Bill of Materials ==== ==== Preliminary Bill of Materials ====
  
-I want to know what the manufacturing cost of an IPv6 plug would be. The main components will be an embedded chipset and the relay. Custom parts like a plug enclosure etc. are estimated, but all other components can be procured directly+I want to know what the manufacturing cost of an IPv6 plug would be. The main components will be an embedded chipset and the relay. Custom parts like a plug enclosure etc. are estimated, but all other components can be procured directly. I assume 100 devices for the prices.
  
 +^ Part           ^ Distributor     ^ Quantity           ^ Price       ^
 +| AT86RF212      | Farnell         | 1                  |     EUR 4.11|
 +| ATMEGA1284P-AU | Farnell         | 1                  |     EUR 4.95|
 +| FINDER 36.11.9.024.0000| Farnell | 1                  |     EUR 0.56|
 +| PCB with Antenna 5x5cm 2-sided | Olimex | 1           |     EUR 1,50|
 +| Socket Enclosure | n/a           | 1                  |     EUR 2,00| 
 +| Power Supply   | n/a             | 1                  |     EUR 3,00| 
 +| Random Parts   | n/a             | n/a                |     EUR 3,00|
 +|||                                                 SUM |||    EUR 19,12|
  
 +NOTES: 
 +    - For the PCB calculation I assumed a 50 sqdm order which can hold 200 boards.
 +    - I did not find a suitable wall socket enclosure or similar - this is just an estimate. The cost of this part heavily depends on the number of devices to be manufactured. I hope to find an already available enclosure and tailor the PCB to it.
 +    - The power supply is still an open issue. The power consumption of the circuit is pretty low, around 20mA. The driver for the relay needs more power. Is it possible to generate 3.3V directly from mains?
  
 +Hint: Perhaps you will find a solution here: http://www.powerint.com/sites/default/files/product-docs/an37.pdf
 +To trigger the line-relay you can use a solid-state-relay: http://www.sander-electronic.de/be00045.html
 +Or you use a SSR directly as line-switch, but then you have no line-seperation. btw. the finder relay is obsolete.  mfg Udo
project_octobus.1281359703.txt.gz · Last modified: 2012/10/30 10:37 (external edit)