# Access Arduino Uno from OTG

**URL:** <https://discourse.processing.org/t/access-arduino-uno-from-otg/15546>\
**Category:** Processing for Android\
**Created:** [November 16, 2019, 4:38pm UTC](https://discourse.processing.org/t/access-arduino-uno-from-otg/15546 "2019-11-16T16:38:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hjkl](https://avatars.discourse-cdn.com/v4/letter/h/858c86/32.png) [@Hjkl](https://discourse.processing.org/u/Hjkl)\
**Post date:** [November 16, 2019, 4:38pm UTC](https://discourse.processing.org/t/access-arduino-uno-from-otg/15546/1 "2019-11-16T16:38:49Z")

</div>

Hi, I want to receive ultrasonic sensor data and display it in android by OTG. Can anyone give the code please?  
Thanks in advance

---

<div class="post-metadata">

**Author:** ![noel](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/noel/32/213_2.png) [@noel](https://discourse.processing.org/u/noel)\
**Post date:** [November 17, 2019, 8:01am UTC](https://discourse.processing.org/t/access-arduino-uno-from-otg/15546/2 "2019-11-17T08:01:27Z")

</div>

First thing I would do, is reading the tutorials.  
[https://android.processing.org/tutorials/sensors/index.html](https://android.processing.org/tutorials/sensors/index.html)  
Then I would google a bit.  
[https://forum.processing.org/one/topic/android-processing-and-serial.html](https://forum.processing.org/one/topic/android-processing-and-serial.html)  
Then writing/adapting my own code…

---

<div class="post-metadata">

**Author:** ![glv](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/glv/32/18785_2.png) [@glv](https://discourse.processing.org/u/glv)\
**Post date:** [November 17, 2019, 2:53pm UTC](https://discourse.processing.org/t/access-arduino-uno-from-otg/15546/3 "2019-11-17T14:53:43Z")

</div>

I have used the Ketai library successfully to communicate using serial over Bluetooth:

[http://ketai.org/download/](http://ketai.org/download/)

🙂
