Giter Club home page Giter Club logo

perfect-cell's Introduction

perfect-cell

General purpose firmware for cellular-enabled PSoC motes

Cell board

Build status

Master: Build Status

Development: Build Status

Installation

Download the firmware using git:

git clone https://github.com/open-storm/perfect-cell.git

Open perfect-cell.cyprj using PSoC Creator (4.1 or greater).

Configure your firmware to match your server settings (see below), then build the project.

Use PSoC Creator to flash the firmware to a compatible device.

Telemetry

Telemetry via influxdb

First, set up a remote server to receive data from the sensor node.

Set the following parameters in config.h to match your server settings:

// Service to use
#define USE_INFLUXDB        1
#define USE_CHORDS          0

...

// Default user info
#define DEFAULT_HOME_USER   "home_user"
#define DEFAULT_HOME_PASS   "home_pass"
#define DEFAULT_HOME_DB     "HOME_DB"
#define DEFAULT_HOME_PORT   8086
#define DEFAULT_HOME_HOST   "your-ec2-instance-here.com"

// Meta user info
#define DEFAULT_META_USER   "meta_user"
#define DEFAULT_META_PASS   "meta_pass"
#define DEFAULT_META_DB     "META_DB"
#define DEFAULT_META_PORT   8086
#define DEFAULT_META_HOST   "your-ec2-instance-here.com"

...

// SSL parameters
#define SSL_ENABLED            1u

Telemetry via CHORDS

Data can be transmitted remotely to a CHORDS portal. Currently, bidirectional communication with the CHORDS portal is not supported.

Set the following parameters in config.h to match your server settings:

// Service to use
#define USE_INFLUXDB        0
#define USE_CHORDS          1

...

#define CHORDS_HOST                "your-portal.chordsrt.com"
#define CHORDS_PORT                80
#define CHORDS_INSTRUMENT_ID       1
#define CHORDS_WRITE_KEY_ENABLED   1
#define CHORDS_WRITE_KEY           "key"
#define CHORDS_IS_TEST             0

...

// SSL parameters
#define SSL_ENABLED            0u

Overview

The perfect-cell firmware contains a simple operating system that performs the following routines at a recurring interval.

  • ''wakes'' the board from sleep mode
  • takes measurements using the attached sensors
  • connects to the cellular network
  • sends sensor data to a web server
  • updates device metadata and onboard parameters
  • triggers attached actuators
  • puts the board back into sleep mode.

Main

An overview of the firmware can be found in the open-storm docs.

Auto-generated doxygen documentation can also be found here.

Schematics for the board can be found here.

perfect-cell's People

Contributors

mdbartos avatar bpwong-um avatar imondrag avatar abhiramm7 avatar klab-laptop avatar ndajeng 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.