GithubHelp home page GithubHelp logo

bbpatil / wusn Goto Github PK

View Code? Open in Web Editor NEW

This project forked from comnets-bremen/wusn

0.0 1.0 0.0 9.47 MB

MoleNet: A Wireless Underground Sensor Network platform

Home Page: https://www.molenet.org

License: GNU General Public License v3.0

C++ 81.73% Python 9.96% HTML 0.19% Shell 0.09% Prolog 0.15% C 7.88%

wusn's Introduction

MoleNet: A Wireless Underground Sensor Network Platform

MoleNet Logo

Wireless Underground Sensor Network platform (PCB, Arduino-Source and example server)

This is an active project and the files in this directory (and the structure of the project itself) are subject to change!

Prerequisites

The following Arduino libraries are required:

MoleNet (rev. 1.0)

The WUSN node

Settings for the Arduino IDE

Arduino IDE:

  • Tools -> Board: "Arduino Pro or Pro Mini"
  • Tools -> Processor: "ATmega328 (3.3V, 8MHz)"
  • Tools -> Port: (USB port to which the programmer is attached)

Baud-rates:

  • reading from MoleNet node: 1200 Baud (don't change!!!)
  • reading from MoleNet simple Gateway: 115200 Baud
  • setting the RTC: 9600 Baud (could also be changed)

Data Format (simple Gateway)

The app just listens for packets and print the payload with correct formatting The data format is as follows:

#[PACKETNUMBER][NODEID] 'D'YEAR/MONTH/DAY 't'HOUR:MINUTE 'W'VWCRAWVALUE 'T'TEMPRAWVALUE CHECKSUM SUCCESSINDICATOR   ['RX_RSSI:'VALUE] - 'ACK sent.'

example:

#[2][2] D16/3/30 t15:36 W0468 T0594 68 1    [RX_RSSI:-28] - ACK sent.

Set the RTC time (Set_RTC)

The program prints current time of RTC to serial port every second. The time can be changed by sending the new value using the serial line and terminate it with a carriage return. Possible commands are:

  • y : change the year, enter full year (e.g., 2016)
  • M : change the month
  • d : change the day
  • h : change the hour
  • m : change the minute
  • s : change the second
  • w : change the weekday (0: Monday, 1: Tuesday...)

Manually trigger a measurement

Pull pin Int1 at the RTC to ground. One tip is enough

wusn's People

Contributors

jdede avatar mg0815 avatar idreeszaman avatar b00mb0x avatar

Watchers

James Cloos 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.