Skip to content

LukaszKolodziejski/XXXXL_IoT-Digital-Inclinometer_RaspberryPi_WebApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

Creating a Digital Inclinometer for the (IoT) Internet of Things:

  • Using the sensors from a single board microcomputer with a reading time of a few milliseconds.
  • Development of a real-time raw data sharing system via: TCP, UDP, WebSocket, REST interface (HTTP protocol), MQTT.
  • Compare and optimize data transfer times in real time in different technologies..
  • Development of a real-time data reception and processing interface for the customer. Compare processing time and introduced delays.
  • Development of a web application for real-time data visualization.
  • ⭐⭐Non-Touch control by Hands Gesture Detection (Hand -> open, closed, 1 finger & Left hand, Right hand & Different combinations hands )
  • GPIO Programming to control matrix LED 8x8 (At the same time, the angle of inclination and a spirit level in 2 axes)

1. Overview

Demo CountPages alpha

[ Front-end ]: 
              JavaScript, React, scss, GSAP, Redux, Redux-Thunk, etc..
[ Back-end ]: 
              NodeJS, Express.js, Tensorflow, WebSocket, MQTT
[ Embedded ]: 
              Raspberry Pi, IMU: LSM9DS1 (gyro, accel), TCP, UDP, GPIO



1.1 IoT project diagram:

Demo CountPages alpha




1.2 An inclinometer is a device that measures the angles of inclination.

In this work, it was used:

  • Raspberry Pi 3 model B + Single board microcomputer
  • Sense Hat - Shield for Raspberry Pi, containing a 3-axis gyroscope, accelerometer, LED matrix, etc. Demo CountPages alpha



2. Support for the LSM9DS1 sensor:

from a single board computer with a reading time of no more than a few milliseconds.

Demo CountPages alpha




2.1 Marked pixel fields:

Demo CountPages alpha




2.2 Marked pixel fields:

Demo CountPages alpha




2.3 Sensor data reading test results:

Demo CountPages alpha




3. Development of a real-time raw data sharing system:

3.1 Data format for sending:

Demo CountPages alpha




3.2 Way of testing:

Demo CountPages alpha




3.3 Sending TCP & UDP

Demo CountPages alpha




3.4 Sending Websocket & HTTP

Demo CountPages alpha




3.5 Sending MQTT

Demo CountPages alpha




4. Comparison and optimization of data transfer times in different technologies in real time.

4.1 Measurement of communication bandwidth Websocket & HTTP:

Demo CountPages alpha




4.2 Measurement of communication bandwidth TCP & UDP:

Demo CountPages alpha




4.3 Measurement of communication bandwidth MQTT

Demo CountPages alpha




4.4 Time difference:

Demo CountPages alpha




4.5 app times comparison:

Demo CountPages alpha




5. Development of a real-time data reception and processing interface.

5.1 Complementary filter:

Demo CountPages alpha




5.2 Determination of inclinometer value and orientation from raw data and comparison of processing time and introduced delays.

Demo CountPages alpha




5.3 Websocket - Receiving interface and real-time designated values

Demo CountPages alpha




5.4 Data flow

Demo CountPages alpha




5.5 TCP, UDP - Receiving interface and real-time designated values

Demo CountPages alpha




5.6 HTTP, MQTT - Receiving interface and real-time designated values

Demo CountPages alpha




5.7 Inclinometer test results:

Demo CountPages alpha




5.8 Inclinometer test results:

Demo CountPages alpha




6. Development of a web interface for data visualization in real time:

Demo CountPages alpha




6.1 Description of the elements:

Demo CountPages alpha




6.2 Options and slider:

Demo CountPages alpha




6.3 Graph of visualized samples:

Demo CountPages alpha




6.4 All the results:

Demo CountPages alpha




6.5 All the results without description:

Demo CountPages alpha




6.6 All the results transfer:

Demo CountPages alpha




Demo CountPages alpha

Demo CountPages alpha




7.1 Non-Touch control by Hands Gesture Detection:

Demo CountPages alpha




7.2 Non-Touch control by Hands Gesture Detection:

Demo CountPages alpha




Summary - Digital Inclinometer for the (IoT) Internet of Things:

Demo CountPages alpha




About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published