Code Monkey home page Code Monkey logo

citystats's Introduction

citystats

Using LoPy IoT devices to measure a city's conditions

The general data flow of the system is as follows:

Advantages of this system:

  • System can be expanded with more devices very easily.
  • The map view is very quick, as there is no overhead of the server.
  • The data is stored centrally and thus can be accessed from any computer.
  • SQL operations can be done on the data before it is served.

Parts

CityStats

Located here.
This is the micro-python code that is uploaded to the LoPy device.
It reads a range of measurements from the PySense module and sends the data if there has been a significant change (10%).

MapApp

Located here.
This is the Java application used to view data from the devices.

The main views of the application are:

  • Map view using Google Maps, (implemented in Java using JxMaps).
  • Graph view showing the history of data received (uses JFreeChart).

DataServer

Located here.
This is the Java code that stores all received data onto a SQL server.

The database is structured as below:

Libraries

A number of external libraries were used to create this project.

These include:

Helpful links

These are some websites which were extremely useful when creating this project.

citystats's People

Contributors

shantnus 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.