Skip to content

Commit

Permalink
Merge pull request #40 from nikhil-zinjurde-imgtec/master
Browse files Browse the repository at this point in the history
Merge dev to master
nikhil-zinjurde-imgtec authored Jul 22, 2016
2 parents f68eddd + fdd79df commit 021474e
Showing 3 changed files with 32 additions and 3 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -10,10 +10,10 @@ Multiple device systems and cloud connectivity are becoming increasingly importa
## CreatorKit Overview
Various terminologies used in CreatorKit project are explained at [Glossary](Glossary.md).

CreatorKit projects provides applications which runs on Ci40 MIPS board running with OpenWrt Linux distribution and also makes use of MikroE boards for wide variety of uses.
CreatorKit projects provide applications which run on Ci40 MIPS board having OpenWrt Linux distribution and also make use of MikroE boards for wide variety of uses.

#### Repositories Overview
CreatorKit project is spread across couple of organizations :-
CreatorKit projects are spread across a couple of organizations :-
* [CreatorDev](https://github.com/CreatorDev/): This includes
* [Contiki](https://github.com/CreatorDev/contiki): Operating system that runs on MikroE boards.
* [OpenWrt](https://github.com/CreatorDev/openwrt): Linux distribution that runs on Ci40.
@@ -26,11 +26,15 @@ CreatorKit project is spread across couple of organizations :-
* [Libobjects](https://github.com/CreatorKit/libobjects): Collection of lwm2m and custom ipso objects for Clicker apps.
* [Button-Led Controller](https://github.com/CreatorKit/button-led-controller): CreatorKit [Project 1](projects/Project_1.md) application for Creator Ci40 platform.
* [Button Sensor](https://github.com/CreatorKit/button-sensor): MikroE 6loWPAN Clicker based lwm2m client button sensor application.
* [Device Manager](https://github.com/CreatorKit/device-manager): Application for provisioning the gateway device and constrained devices.
* [Motion-Led Controller](https://github.com/CreatorKit/motion-led-controller): CreatorKit [Project 2](projects/Project_2.md) application for Creator Ci40 platform.
* [Motion Sensor](https://github.com/CreatorKit/motion-sensor): MikroE 6loWPAN Clicker based lwm2m client motion sensor application.
* [Creator Docs](https://github.com/CreatorKit/creator-docs): Entry level documentation for CreatorKit project.

## Projects
CreatorKit as of now has following projects :-
* [Project 1](projects/Project_1.md)
* [Project 2](projects/Project_2.md)

## Getting Started
Please refer [Getting Started](GettingStarted.md) guide for detailed steps that describes how to get CreatorKit up and running.
2 changes: 1 addition & 1 deletion projects/Project_1.md
Original file line number Diff line number Diff line change
@@ -18,7 +18,7 @@ To complete these steps, refer to the [Getting Started](../GettingStarted.md) fo
* Press the button on the Button Clicker and observe the LED on ci40 board

## How it works
The Ci40 is the controller of this project. It connects to the Internet (over Ethernet) and to the button Clicker (over 6LoWPAN).
The Ci40 is the controller of this project. It connects to the Internet (over Ethernet and Wi-Fi) and to the button Clicker (over 6LoWPAN).

The application running on Ci40 allows the Clicker to communicate with itself using AwaLWM2M.

25 changes: 25 additions & 0 deletions projects/Project_2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
![Creator Logo](../images/creatorlogo.png)

# Project 2 - PIR light controller

## Introduction

In this project when the motion sensor detects movement it will raise the IRQ to the PIC, the PIC updates the corresponding IPSO resource. The Ci40 is already observing the resource therefore the clicker will send a LWM2M notification of a state change. On receipt of the LWM2M message the gateway will turn on the LEDs on the Ci40 for a period of 5 seconds. If further movement is detected within the timeout period then the further notifications need to be sent from the clicker and the timeout will be restarted. The 5 second timeout value will be static.

## Steps
To complete these steps, refer to the [Getting Started](../GettingStarted.md) for detailed descriptions of each action.

* Get the code: Refer [this](../GettingStarted.md#getting-the-code) if you want to build from source or get pre-built binaries.
* [Flash](../GettingStarted.md#programming-a-6lowpan-clicker) the "lwm2m-client-motion-sensor" hex file onto one Clicker board - Make a note of which one it is
* [Boot](../GettingStarted.md#running-ci40-board) OpenWrt on Ci40
* [Connect](../GettingStarted.md#connecting-ci40-to-the-internet) Ci40 to the Internet
* Do movement in front of motion-sensor Clicker and observe the LED on Ci40 board glowing for 5 seconds.

## How it works
The Ci40 is the controller of this project. It connects to the Internet (over Ethernet and Wi-Fi) and to the motion-sensor Clicker (over 6LoWPAN).

The application running on Ci40 allows the Clicker to communicate with itself using AwaLWM2M.

This project includes two applications
* [Motion-Led Controller](https://github.com/CreatorKit/motion-led-controller): Runs on Ci40 and observes motion-sensor resource registered by MikroE board, updates led status as per the changes received. For more info, read [this](https://github.com/CreatorKit/motion-led-controller/blob/master/README.md).
* [Motion Sensor](https://github.com/CreatorKit/motion-sensor): Runs on Clicker and detects any movement in the range of motion-click on clicker board, updates sensor object for gateway. For more info,read [this](https://github.com/CreatorKit/motion-sensor/blob/master/README.md).

0 comments on commit 021474e

Please sign in to comment.