Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Altera_Forum
Honored Contributor I
724 Views

range sensor implementing

I would to implement the ultrasonic sensor srf05 into my fpga board DE0 NANO. 

 

Preciously, in the SOPC demo example.  

 

I m use the verilog code for hardware programming.  

 

i should to know that if it's the C program or the veriolg program or the twice that I will modify for that. 

 

 

Thank you for your help.
0 Kudos
1 Reply
Altera_Forum
Honored Contributor I
38 Views

Hello Memphys, 

 

Since the measured distance is proportional to the pulse width in µs/58 [cm] you might consider measuring the width of the pulse returned by the device with an FPGA block you need to write and sending the result it to your cpu using a slow communication channel with the standard means that are available. See tutorials for the last item. 

 

Best Regards, 

Johi. 

Reply