Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
10 years, 5 months ago.
detect distance using ultrasonic HC-SR04 sensor
hi ,
i know nothing about mbed , i need help .
what do i do with SR04 sensor with mbed ? how can i connect it ? what is code for this applications ?
need help urgently .
1 Answer
10 years, 5 months ago.
you first need to sort it out. what kind of interface sr04 supports and then connect it to mbed. for example if sr04 supports I2C interface, then u can actually connect it to mbed my connecting to the I2C pins. I hope this helps..