GithubHelp home page GithubHelp logo

comnets-bremen / wusn Goto Github PK

View Code? Open in Web Editor NEW
2.0 10.0 5.0 37.94 MB

MoleNet: A Wireless Underground Sensor Network platform

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

License: GNU General Public License v3.0

C++ 82.86% Python 9.34% HTML 0.17% Shell 0.09% Prolog 0.14% C 7.40%
wireless-sensor-networks underground hardware low-power arduino rfm69

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

b00mb0x avatar idreeszaman avatar jdede avatar mg0815 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

wusn's Issues

Add an BME280?

Does it make sense to add an BME280 (temp, hum, pressure) to the board:

  • high quality and low power sensor
  • good to monitor the inside conditions of the board
  • Easy start with some hardware directly attached to the board

What do you think @B00mb0x @FarukKollar @Wolfestin123 ? Alternative ideas?

Check SDI-12 interface

Depending on the SDI-12 sensor, the power consumption increases drastically. Check and fix

Improvement of success code: always 1, convert success code to int

The received success code is always 1 but should be different in case of a successful transmission, c.f.

//suc : success indicator

//suc == '0' : crc-check and transmission failed
//suc == '1' : crc-check successful, but transmission failed
//suc == '2' : crc-check failed, transmission successful
//suc == '3' : crc-check and transmission successful

furthermore, the success code is handles as a char, not as an int.

replace SPIEEP

The node lib for accessing the EEPROM uses an old version which is not supported / available any more. Replace this lib by a newer one.

One SPI for LoRa and SD?

Right now, we use two SPI for the SD and the LoRa. Is it possible to use a shared SPI? Please evaluate:

  • Any drawbacks regarding performance?
  • SPI speed compatible?
  • Other restrictions?

Maybe we can combine MOSI, MISO, SCK of both and get three additional pins for the next board?

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.