Coder Social home page Coder Social logo

fpga-ultrasonic-sensor's Introduction

FPGA-Ultrasonic-sensor

FPGA Ultrasonic sensor controller (SRF05 / HC-SR04)

FPGA Ultrasonic Sensor

Matériels

  • carte de développement Terasic Altera DE0-nano

  • télémètre ultrason SRF05

  • Projet développé avec Intel Quartus Prime (lite). Fichier archive du projet à importer dans Quartus Prime : ultrasonic.qar

Description

ultrasonic rtl view

  • clk : horloge (paramètre CLK_MHZ, 50 MHz par défaut)

  • start : lance une mesure sur impulsion

  • trigger : à connecter à la broche Trig du capteur (paramètre TRIGGER_PULSE_US, 12 us par défaut)

  • echo : à connecter sur la broche Echo du capteur

  • new_measure : 1 impulsion si la mesure est complète

  • timeout : 1 impulsion si timeout (paramètre TIMEOUT_MS, 20 ms par défaut

  • distance_raw: à lire sur impulsion de new_measure, donnée image de la largeur du signal Echo codée sur 21 bits

  • duree du signal echo en microsecondes = distance_raw / CLK_MHZ

Le capteur SRF05 a un timeout de 30 ms si aucun obtacle n'est rencontré. On peut simuler un timeout inférieur avec le paramètre TIMEOUT_MS. Si le signal Echo n'est pas redescendu après ce TIME_OUT, le contrôleur bloque distance_raw, délivre une impulsion sur la sorte new_measure et sur la sortie timeout.

simul-ultrasonic

fpga-ultrasonic-sensor's People

Contributors

fleb72 avatar

Watchers

 avatar

Forkers

galaviz1 dev-rajk

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.