Wednesday 28 August 2013

IoT Future

 
The technology road-map was released in European Union Framework 7 Project


The period of 2010 to 2020 we are in the phase of  "Locating people and everyday objects". IoT  will be the future for next 10 years.

Install contiki-os with Arduino Uno


My Operating system: ubuntu 12.04 TLS and install Arduino IDE,ttylog

Steps :-
1. Download the contiki-os version from https://github.com/contiki/contiki-arduino/archive/master.zip
2. To compile hello world program navigate to examples/hello-world
# To compile the code
make TARGET=arduino ARDUINO_MODEL=Uno

You might see some compile time error and resolve one by one...
3. To generate a hex file
avr-objcopy hello-world.arduino -j .text -j .data -O ihex hello-world.hex

4. Connect the board with laptop and copy hex file to board. 
avrdude -D -p atmega328p -c arduino -P /dev/ttyACM0 -b 115200  -U flash:w:hello-world.hex:i -v -C /usr/share/arduino/hardware/tools/avrdude.conf

/dev/ttyACM0 --> Serial port detected by your laptop
/usr/share/arduino/hardware/tools/avrdude.conf --> conf file for avrdude. This file is created by Arduino IDE.

5. In console run the below command and reset your Arduino board
          ttylog -V -d /dev/ttyACM0 -b 9600
You will able see the "Hello world" serial port.