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, 4 months ago.
I want to connect the ultarsonic sensor to the Mbed LPC1768 through the serial prot
I am using Mbed LPC1768 as my main processor along with the application board and I have connect it with ultrasonic sensor through the 3.3v output from the mbed. Now I am trying to read the distance from the sensor and process it through the MBed to give me equivalent output regarding to the distance and then I want to convert this this distance to an audio sound which I will be store it in the usb device plugged in the application board.
My question is:
1- how to read the sensor distance from the serial port and what are the settings that I have to configure to get this serial port working properly.
2- how to read the audio voice from the usb device to the headsets?
Many Thanks: Mazin AL-Shidhani
University of kent Uk
Assigned to
10 years, 4 months ago.This means that the question has been accepted and is being worked on.
You haven't provided enough detail to help. For instance, what ultrasonic sensor are you using?
Aside from that, and by searching the mbed site, there are many hits for these search terms. Most have example code and libraries.
So, from the many pieces here, and some research, I think there are many possible solutions.
posted by David Smart 05 Jul 2014Thank you for your reply actually I am using Ultrasonic Range Finder - Maxbotix LV-EZ4 , and this sensor can be connected either by :Serial, Analogue or PW. and all this feauters are available in my mbed lpc1768. I decided to use the serial port so my mbed lpc1768 will supply the sensor by using the top left pin (3.3v) output and the sensor should sense and give the output back to the mbed processor through the serial port and where I struggled to find out the appropriate code for reading the output from the sensor.
posted by Mazin AL-Shidhani 06 Jul 2014