Hi, I am using Kinetis K66 micro controller. I want to interface hc-sr04 ultrasonic sensor. Can Anyone give me some suggestions in interfacing.
#kinetis
#k66
Maybe have a look here:
https://mcuoneclipse.com/2013/01/01/tutorial-ultrasonic-ranging-with-the-freedom-board/
Setup an input capture with a timer, and you get the distance.
I hope this helps,
Erich