Skip to content

Commit 021474e

Browse files
Merge pull request #40 from nikhil-zinjurde-imgtec/master
Merge dev to master
2 parents f68eddd + fdd79df commit 021474e

File tree

3 files changed

+32
-3
lines changed

3 files changed

+32
-3
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ Multiple device systems and cloud connectivity are becoming increasingly importa
1010
## CreatorKit Overview
1111
Various terminologies used in CreatorKit project are explained at [Glossary](Glossary.md).
1212

13-
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.
13+
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.
1414

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

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

3539
## Getting Started
3640
Please refer [Getting Started](GettingStarted.md) guide for detailed steps that describes how to get CreatorKit up and running.

projects/Project_1.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ To complete these steps, refer to the [Getting Started](../GettingStarted.md) fo
1818
* Press the button on the Button Clicker and observe the LED on ci40 board
1919

2020
## How it works
21-
The Ci40 is the controller of this project. It connects to the Internet (over Ethernet) and to the button Clicker (over 6LoWPAN).
21+
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).
2222

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

projects/Project_2.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
![Creator Logo](../images/creatorlogo.png)
2+
3+
# Project 2 - PIR light controller
4+
5+
## Introduction
6+
7+
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.
8+
9+
## Steps
10+
To complete these steps, refer to the [Getting Started](../GettingStarted.md) for detailed descriptions of each action.
11+
12+
* Get the code: Refer [this](../GettingStarted.md#getting-the-code) if you want to build from source or get pre-built binaries.
13+
* [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
14+
* [Boot](../GettingStarted.md#running-ci40-board) OpenWrt on Ci40
15+
* [Connect](../GettingStarted.md#connecting-ci40-to-the-internet) Ci40 to the Internet
16+
* Do movement in front of motion-sensor Clicker and observe the LED on Ci40 board glowing for 5 seconds.
17+
18+
## How it works
19+
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).
20+
21+
The application running on Ci40 allows the Clicker to communicate with itself using AwaLWM2M.
22+
23+
This project includes two applications
24+
* [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).
25+
* [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 commit comments

Comments
 (0)