Sunday, August 21, 2011

Permabond black magic with CSA activator

Hi have been recently using the Permabond Black Magic (737) super-glue adhesive with its activator CSA spray.
All I have to say is WOW. It becomes hard as rock in seconds and bonds to all sorts of materials. The only material that I have seen it doesn't bond to at all is silicone but then what does

Here is the datasheet

http://www.permabond.co.uk/files/Download/2011_SS_CA_UK.pdf

Friday, August 19, 2011

Getting started with Contiki. Complete noob

OK
Here I am writing notes for using contiki OS for the first time and getting used  to it.

Step 1

Download contiki from http://sourceforge.net/projects/contiki/files/Contiki/Contiki%202.4/contiki-2.4.zip/download

I downloaded the 2.4 version available at that time

then

i downloaded

VMWARE player from http://www.vmware.com/products/player/

after that I downloaded the intant contiki vmwre files from http://sourceforge.net/project/showfiles.php?group_id=76159&package_id=278141

now extract the files for the instant contiki in suitable folder

go into VMWARE

select "Open a Virtual Machine"

go to the instant contiki extracted folder and open the Vm file

Press the play icon

this will start ubuntu linux in side the Vm window

the user name is "user" and password is also "user"

Once you log into the ubunto

start the terminal program on the desktop

here are some simple commads to use in the terminal

cd <enter>  will take you back to the start directrory

cd.. <enter>  will take you up one directory

dir <enter>  wil show the list of all files/directoruies in current directory

cd directory_name<enter>  will take you inside the directory name

Most important files are in the folder contiki-2.x

So go to this folder by typing

cd contiki-2.x <enter>
 inside you can try some examples as shown in the video http://www.youtube.com/watch?v=8E-iVH2y2XY&feature=related

first example

cd examples <enter>

cd rime<enter>

rime is a wireless protocol that has been a part of contiki for some time

I currently know of two simulators provided by contiki

NETSIM is a network simulator that is very basic . to see example write these commands in the rime directory

make TARGET=netsim <enter>

and then

./example-abc.netsim <enter>

this will start an example code rimming rime on some nodes in NETSIM window.

to end this simulation early

go to the terminal window and write

CTRL+C

to try another example you can write

make TARGET=cooja example-collect

This starts the COOJA simulator which is the more heavy weight of these simulators
Again refer to the video above.

NOW read this presentation

http://www.sics.se/~adam/contiki-workshop-2007/workshop07cooja_intro.ppt

this is good intro to Cooja

also try this

http://www.sics.se/contiki/wiki/index.php/Setting_up_a_Low-Power_IPv6/RPL_Network