Electronics > Microcontrollers

ultrasonic sensor using vhdl

(1/2) > >>

swampythe47:
I am a vhdl beginner and i want to interface an ultrasonic sensor on fpga board using vhdl. Can someone please help me how can i do it?

FlyingDutch:
Hello,

here you have few examples:

https://www.pantechsolutions.net/fpga-projects/fpga-implementation-of-distance-measurement-with-ultrasonic-sensor

https://forums.intel.com/s/question/0D50P00003yyS6ESAU/ultrasonic-sensor-hcsr04-vhdl-code?language=en_US



Basically the designs are based of measuring the time of sound echo.

Regards

swampythe47:
the code in video is not working

FlyingDutch:
Hello,

first of all:

1) What FPGA board are you using?
2) What software for syntesis are you using?
3) What errors you have?
4) Show code of your project

I am assuming that you are aware of fact that "user constraint file - ucf, xdc" for used FPGA ICs is needed (someone have to modify/create it for particular FPGA board).

Regards

swampythe47:
I am using altera de1 board. There are no errors but the value doesnt change

Navigation

[0] Message Index

[#] Next page

There was an error while thanking
Thanking...
Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod