Giter Site home page Giter Site logo

youss34 / iot-street-light Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dreamweaveru/iot-street-light

0.0 1.0 0.0 2.06 MB

The example Internet of Things application based on Contiki OS.

License: Apache License 2.0

Makefile 91.88% C 7.56% C++ 0.56%

iot-street-light's Introduction

#IoT Street Light Example Author: Ryan Hu

This is an Internet of Things example application, which shows how to notify the street lights when there is the human presence is detected by a proximity sensor. The Contiki 3.0 on Ubuntu 14.04 is used to run this example. Each street light is considered as the node with an IPv6 address that can respond to the remote HTTP GET requests for retrieving the sensor values.

#####Here are some extra instructions on the example application.

The example features a simple webserver running on top of the IPv6 contiki stack on Sky motes to provide sensor values, and with a RPL border router to bridge the sensor network to Internet.

#####To test the example in COOJA under Linux

  1. Start COOJA and load the simulation "example-sky-websense.csc"

    make TARGET=cooja example-sky-websense.csc

  2. Connect to the COOJA simulation using tunslip6:

    make connect-router-cooja

  3. You should now be able to browse to the nodes using your web browser: Router: http://[aaaa::0212:7401:0001:0101]/ Node 2: http://[aaaa::0212:7402:0002:0202]/

#####To run the example on real nodes under Linux

  1. Program the nodes with the websense application

    make TARGET=sky sky-websense.upload

  2. Disconnect the nodes and program one node with the RPL border router

    cd ../rpl-border-router && make TARGET=sky border-router.upload

  3. Connect to the border router using tunslip6:

    make connect-router

  4. Reboot the router and note the router IP address

  5. You should now be able to browse to your router node using your web browser: http://[]/. On this page you should see a list of all accessible nodes with their IP addresses.

=======

iot-street-light's People

Contributors

dreamweaveru avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.