Giter Site home page Giter Site logo

speedseed3's Introduction

SpeedSeed3

SS3

Setting up Raspbery Pi

The setup currently consist of a Raspberry Pi3 running Raspbian.

Install mongoDB

The daemon controlling the settings stores the data in a MongoDB server which needs to be configured on the services that will run the interfaces (python daemon and rbpi device gui).

sudo apt-get install mongodb-server

Create a collection named speedseed3 where all the data will be stored.

Python dependencies.

The modules to run the daemon are:

pip3 install pyserial
pip3 install pymongo==3.4

Execute the speed_seed_daemon.py script, this will collect the data from the monitors and send it to the mongoDB server.

Setting up arduino

The code for the controller is in the folder:

Software/hardware_controllers

It is organized as a PlataformIO[http://docs.platformio.org/en/latest/userguide/cmd_init.html#cmd-init] project.

User interface

The code for the user interface that runs on the RBPi or can run from any computer that has access to the MongoDB server is located in Software/gui, the user interface is composed of two parts, a frontend website which can be accessed from any internet browser that has javascript activated and a backend that collects the data from MongoDB.

To install all the dependencies for the frontend and backend, go to the Software/gui and Software/backend respectively and execute npm install

To then initalise the services on the Software/backend directory run:

PORT=3001 npm start

and, for the GUI run on Software/gui the following:

npm start

This will launch your default web browser and open the "SpeedSeed3" interface.

speedseed3's People

Contributors

ljyanesm avatar homonecloco avatar skar85 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.