[Test] Arduino USB Serial Extension

3,396 views
Skip to first unread message

Pavitra

unread,
Apr 13, 2017, 12:09:57 PM4/13/17
to mitappinv...@googlegroups.com
Follow at Thunkable community for latest updates

I created this extension for all Arduino lovers to be used in your projects. This extension has been created using Physicaloid library.

Some highlights of this extension:
  • USB-Serial communication
  • upload a firmware to an Arduino
  • support on Android 3.1 or higher (need USB Host API feature)
  • does not require ROOT
  • support USB-Serial protocols : CDC-ACM, FTDI, Silicon Labs CP210x
  • support uploading firmware protocols : STK500, STK500V2
Currently, this is just for testing which includes some basic things such as:
  • Open/Close connection
  • Read/Write from/to serial
Other features that need to be included are:

  • Upload .hex files to Arduino
  • Support for upload files from assets folder
Extension has been attached here.
com.pavitra.Arduino.aix

Pavitra

unread,
Apr 13, 2017, 12:34:01 PM4/13/17
to MIT App Inventor Forum
Please test and provide feedback on how well this works.

Manu Pri

unread,
Apr 19, 2017, 5:41:40 PM4/19/17
to MIT App Inventor Forum
Hola Pavitra lo he descargado  gracias por el aporte, voy a probarlo a ver  que tal, aunque ya te cuento

Vasanth P

unread,
Apr 25, 2017, 5:15:31 AM4/25/17
to MIT App Inventor Forum
Sir the Extension is very useful. I have downloaded and used it but it is not working. Maybe it is of my fault, anyway it would be better if provide a sample program or the image of the block editor of a sample app. Good Work!

Pavitra

unread,
Apr 25, 2017, 11:08:01 AM4/25/17
to MIT App Inventor Forum
I haven't test it yet with an Arduino. So, I cannot give any word on this. However, I am looking for testers. Would you help me in testing? (It shouldn't take longer that 2 to 3 days)

Vasanth P

unread,
Apr 25, 2017, 11:55:50 AM4/25/17
to mitappinv...@googlegroups.com
I have one doubt, That most of the serial communication asks to set the the baud rate and in this I didn't found anything like that.
I have tested it but I got no results. And didn't understood how this extension work without setting the baud rate.

Pavitra

unread,
Apr 26, 2017, 3:25:41 AM4/26/17
to MIT App Inventor Forum
I set the baud rate to be 9600 by default. I will make it able to set baud rates in the next release.

Pierfrancesco Pan

unread,
Apr 29, 2017, 4:54:39 PM4/29/17
to MIT App Inventor Forum
I'm trying but does not working, there is an advertisement (com/physicaloid/lib/usb/driver/uart/UartFtdi).

Whit the same connections I've tried https://play.google.com/store/apps/details?id=bp.usbbridge.appinvDemo&hl=it  and It is Ok.

Thanks for your idea.

Pierfrancesco Pan

unread,
Apr 30, 2017, 6:53:34 AM4/30/17
to MIT App Inventor Forum
I've seen with DroidScript is possible by USB OTG, receive or write data from/on arduino, I'd like to use app inventor, can you see how DroidScript works and make the same with app inventor?

Thanks a lot.

Pavitra

unread,
Apr 30, 2017, 8:49:25 AM4/30/17
to MIT App Inventor Forum
I will soon open source it so that many people can contribute to it to make it happen

Jörg Hüneburg

unread,
Apr 30, 2017, 10:02:38 PM4/30/17
to MIT App Inventor Forum
Great, will check into it as soon as i get my otg cable

Vasanth P

unread,
May 1, 2017, 12:28:15 PM5/1/17
to MIT App Inventor Forum
Sir, I am working on your extension. Where did I want to use intialize and open blocks in your extension.

Reply all
Reply to author
Forward
0 new messages