AXI_Ultrasonic_Driver - jofranco/multi-rotor-on-FPGA GitHub Wiki
This IP core has not yet been created
Overview
The HC SR04 Ultrasonic sensor requires a GPIO for trigger and echo pins. The intention of this core was to drive the ultrasonic via AXI GPIO interface. This interface will issue a write high to trigger pin and sleep for a short amount of time. It will then issue a write low to trigger pin and then poll the echo pin for a response from the ultrasonic ping. This core would return the distance to the object via some mathematical procedures outlined in the Additional References below.
Interface
This IP would not need an input. The results would be passed along to the Object Detect core as an unsigned int.
Function
This core will pass the distance of an object detected by the ultrasonic sensor in order to be processed for Object Avoidance.
Additional References
https://www.xilinx.com/products/intellectual-property/axi_gpio.html#documentation
https://cdn.sparkfun.com/datasheets/Sensors/Proximity/HCSR04.pdf