Giter VIP home page Giter VIP logo

ceiling-sensing-online's Introduction

README for CeilingSensingOnline:
Author: Jason Tsao

For the CeilingSensingOnline App, you need to update microphone driver:
mv MicP.nc $TOSROOT/tos/sensorboards/mts300

To use CeilingSensingOnline:
1. Install CeilingSensing on all Motes:
    ./make for all micaz 
2. Put Basestation on micaz connected to computer: => Check LED toggles for send/receive
    make micaz install,N mib520,/dev/ttyUSB0   
   where N is > 17. 
3. Run Serial Forwarder:
      java net.tinyos.sf.SerialForwarder -no-gui -comm
      serial@/dev/ttyUSB1:micaz
4. Run read_serial.py using the Serial Forwarder
      ./read_serial.py [email protected]:9002
5. Turn on the python SimpleServer: 
      python -m SimpleHTTPServer 8888
7. Open http://localhost:8888/NESL_lab.html in Google Chrome (as of now the only web
    browser that supports HTML 5 Websockets)

For information about the Oscilloscope, see the attached below.

README for Oscilloscope
Author/Contact: [email protected]

Description:

Oscilloscope is a simple data-collection demo. It periodically samples
the default sensor and broadcasts a message over the radio every 10
readings. These readings can be received by a BaseStation mote and
displayed by the Java "Oscilloscope" application found in the java
subdirectory. The sampling rate starts at 4Hz, but can be changed from
the Java application.

You can compile Oscilloscope with a sensor board's default sensor by compiling
as follows:
  SENSORBOARD=<sensorboard name> make <mote>

You can change the sensor used by editing OscilloscopeAppC.nc.

Tools:

To display the readings from Oscilloscope motes, install the BaseStation
application on a mote connected to your PC's serial port. Then run the 
Oscilloscope display application found in the java subdirectory, as
follows:
  cd java
  make
  java net.tinyos.sf.SerialForwarder -comm serial@<serial port>:<mote>
  # e.g., java net.tinyos.sf.SerialForwarder -comm serial@/dev/ttyUSB0:mica2
  # or java net.tinyos.sf.SerialForwarder -comm serial@COM2:telosb
  ./run

The controls at the bottom of the screen allow you to zoom in or out the X
axis, change the range of the Y axis, and clear all received data. You can
change the color used to display a mote by clicking on its color in the
mote table.

Known bugs/limitations:

None.

$Id: README.txt,v 1.6 2008/07/25 03:01:45 regehr Exp $

ceiling-sensing-online's People

Contributors

jtsao22 avatar

Stargazers

 avatar

Watchers

 avatar Supriyo Chakraborty avatar Lucas Wanner avatar haksoo avatar  avatar James Cloos avatar Paul Martin avatar Bharathan Balaji avatar  avatar Luis Garcia avatar  avatar Fatima Muhammad Anwar avatar Sandeep Singh Sandha avatar  avatar Akash Deep Singh avatar swd avatar  avatar  avatar

Forkers

jtsao22

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.