I need help with Arduino OTG sendind data

215 views
Skip to first unread message

Juan María Álvarez

unread,
Jun 3, 2017, 4:30:00 AM6/3/17
to MIT App Inventor Forum
Hi, im working in an Arduino project and I need to get data from my arduino through serial-OTG connection with my aplication made by App Inventor. I can do it via bluetooth but not OTG. How can I do that?
Thanks

Sivagiri Visakan

unread,
Jun 3, 2017, 8:47:36 AM6/3/17
to MIT App Inventor Forum
You could try using the Arduino USB serial extension :
https://community.thunkable.com/t/arduino-usb-serial-extension/2624

Sivagiri Visakan

unread,
Jun 3, 2017, 11:19:08 AM6/3/17
to MIT App Inventor Forum
Juan emailed me asking if any tutorial was available .
Here is a link to a instructable written by Domhnall:

http://www.instructables.com/id/Control-an-Arduino-With-Android-and-USB/

This tutorial was written for Thunkable but should work fine with AppInventor too

And some troubleshooting tips can be found here :
http://domhnallohanlon.com/thunkable_extensions/tools/arduino-extension.html

Juan María Álvarez

unread,
Jun 4, 2017, 5:27:11 AM6/4/17
to MIT App Inventor Forum
I tried but when I design the code blocking this doesnt appear (in app inventor):

What should i do?

Pavitra

unread,
Jun 5, 2017, 2:20:43 PM6/5/17
to MIT App Inventor Forum
I removed that block in the latest version and since you are using the latest version, so you are not seeing it.

Juan Antonio

unread,
Jun 6, 2017, 3:50:50 PM6/6/17
to MIT App Inventor Forum
Pavitra, great work! great extension!


This extension  (version May 29) works with Arduino Uno and  Arduino Due original. It doesn't work with chinese clon Arduino UNO with chip CH340.


Pavitra

unread,
Jun 6, 2017, 5:01:18 PM6/6/17
to MIT App Inventor Forum
Lol! It can be used to detect clones of Arduino.

Moreover, I will look into that.

Reply all
Reply to author
Forward
0 new messages