Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
All support for Intel NUC 7 - 13 systems has transitioned to ASUS. Read latest update.

range sensor implementing

Altera_Forum
Honored Contributor II
1,095 Views

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 II
409 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. 

0 Kudos
Reply