Arduino Sketch for DFRobot URM04 v2.0 Ultrasonic Sensor
$30-100 USD
Concluído
Publicado há aproximadamente 14 anos
$30-100 USD
Pago na entrega
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**
<[login to view URL]>
**Ultrasonic sensor**
<[login to view URL]>
**Software IDE**
<[login to view URL]>
## 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()
{
}