Open vikaspsgupta opened 1 year ago
Hi @vikaspsgupta,
I'm afraid that interactions with the Groove Ultrasonic sensor is possible only from the firmware level because serial communication between the board and a java application is too slow for the sensor's protocol.
Please, use this library as a reference of how to make the sensor work https://github.com/Seeed-Studio/Seeed_Arduino_UltrasonicRanger
It is possible to use the library in order to add support for the sensor's protocol into the firmata firmware you upload to the board. But that's an advanced level problem that I didn't have guts to solve when actively tinkering with Arduino, Firmata and firmata4j.
I am working on an assignment to create ultrasonic radar but facing issue, while using the Grove Ultrasonic sensor. I have connected the Ultrasonc sensor to D7 I/O port. But facing issue on how to use it, basically the sensor has to work as transmitter and receiver both, so it should work as input and output too. But i am not able to get how i can use the Firmata4J to transmt the pulse and then receive it. Can someone help on it? If its a limitation, any clue how to get rid of it?