Arduino Sketch for DFRobot URM04 v2.0 Ultrasonic Sensor
$30-100 USD
Paid on delivery
Write a sketch for the DF Robot Arduino Mega micro-controller which is capable of reading from the ultrasonic sensor. The code must allow for one or more ultrasonic sensors connected to RS485.
The following are the components used to test the end resultant sketch
**Micro-controller**
<[url removed, login to view]>
**Ultrasonic sensor**
<[url removed, login to view]>
**Software IDE**
<[url removed, login to view]>
## Deliverables
The goal here is to write a sketch (c/c++) using the arduino ide and libraries to accomplish the task.
Something along these lines is accepted
int QueryUltrasonicSensorRS485(...)
{
int distance = 0;
//insert implementation here
return distance;
}
void setup()
{
}
void loop()
{
}
Project ID: #3257862