Giter Club home page Giter Club logo

distancesensoranalysis's Introduction

Evaluation of diverse distance sensors

This repository contains evaluation of processing time and measurement accuracy of different distance sensors. Currently, the following sensors are investigated:

Build and Run

The source code for the different libraries is already cloned into this repository. Hence, no external libraries need to be installed. The program was tested on an Arduino Leonardo.

  • Connect the TRIGGER_PIN and ECHO_PIN to the HC-SR04 sensor.
  • Connect I2C SCL and SDL pins to the according sensor pins. In our tests, the program did not work when both sensors were connected at the same time.
  • Open Arduino IDE, compile and upload src/SensorAnalysis/SensorAnalysis.ino.
  • Open the serial monitor. Upon running. the program asks you to set the real distance between sensor and object to a given value. After pressing RETURN the measurement process starts. After finishing all measurements, the a summary similar as follows is written to the Serial Monitor:
ms per Measurement     : 3.97
Distance measured  (cm): 60.00
Standard deviation (cm): 0.14
deltaMin           (cm): -1.00
deltaMax           (cm): 1.00
num Errors             : 0
 | 60.00 | 0.14 | 3.97 | -1.00 | 1.00 |

distancesensoranalysis's People

Contributors

mmatthe avatar mmatthebi avatar

Watchers

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