Introduccion

Sample logger
datalogger and webpage

It's a live demo of a datalogger which collects information from 4 Thermistors NTC. I have used some boards from old projects and ported a bootstrap html template (Charisma) to Django and programmed some views and frontends.

I will still add some more functions.

Overview Graphs

Overview

Hardware a PCB with a atmega2560 chip

It's a PCB I designed with some buttons, leds, display, relays, solenoids, POT resistors and conectors.

It has on one serial port attached one particle photon which interacts with the board and sends the data to the server.

Communication between PCB and server

Data is polled through ADC interrupts which store it in a buffer. Another task performs a reading every minute and sends it to the Photon which fowards it over HTTP POST to Django Backend and returns the HTTP code.

HTTP code 201 (The request has been fulfilled, resulting in the creation of a new resource) can be seen on the display.








Server Debian gnu linux 8.0 jessie

On the server side there is a Debian with Nginx as a reverse proxy. Gunicorn (Green Unicorn) act as Python WSGI HTTP Server to access Django.

Django uses Tasypie as REST to recieve data from the datalogger.

Data from sensors

The data from sensors is stored in the Django database and showed in differents views.

Tecnology used in WEB

  • Django Django: High-level Python Web framework.

  • Python Python: Widely used high-level programming language for general-purpose programming.
  • Html HTML5: Markup language used for structuring and presenting content on the World Wide.
  • Javascript Javascript: JavaScript is a high-level, dynamic, and interpreted programming language.
  • JQuery JQuery: jQuery is a cross-platform JavaScript library designed to simplify the client-side scripting of HTML.
  • Bootstrap Bootstrap: Free and open-source front-end web framework.

Tecnology used in server

  • Linux Linux: Free and open-source Unix-like operative system

  • Debian Debian: Debian is a free Linux distribution.

  • Nginx Nginx: HTTP and reverse proxy server.

  • Gunicorn Gunicorn: Green Unicorn' is a Python WSGI HTTP Server for UNIX.
  • PostgreSQL PostgreSQL: PostgreSQL is a powerful, open source object-relational database system.

Hardware Tecnology

  • Atmel Atmel-AVR: AVR is a family of microcontrollers developed by Atmel that use modified Harvard architecture 8-bit RISC single-chip microcontrollers.

  • C Language C: C is a general-purpose, imperative computer programming language, supporting structured programming, .

  • Particle Particle: Particle’s full-stack Internet of Things (IoT) device platform gives you everything you need to securely and reliably connect your IoT devices to the web..