ATTiny85 and USB with Android?

  • Replies:3
ailee
  • Forum posts: 20

Feb 9, 2017, 7:09:55 AM via Website

image
I have developed an Android app which talks to an Arduino Mega through USB.

The C code is 1.8kb and will fit on an ATTiny85 chip in order to shrink the circuit to almost nothing. The problem is...

How do I introduce USB to the circuit so I can still talk to it with the Android app?

Reply
JacobVR
  • Forum posts: 14

Feb 9, 2017, 10:07:27 PM via Website

I've been working on developing an Android application that will act as a host to an Arduino based Digispark development board. One of the problems with the board is that it doesn't have a dedicated USB controller, instead it uses a software implementation of the low speed USB bus.

Reply
Hafiz Tronics
  • Forum posts: 7

Feb 10, 2017, 10:23:29 AM via Website

The most generic and best way to communicate data between an ATmega microcontroller and an Android device, without having to rely on special drivers, or having to use special tricks as rooting the device?
There is a commercial library called Slick USB library, but it costs 100 USD, which is way too much.
I would like to use ATmega, MAX232, and USB-to-Serial adapter based on FTDI chip, to connect to the Android smart phone or Android tablet device.
All I want to do is send/receive serial data to the Android device, and process/parse it from within HTML5 application. No native Android application if possible.
Any help is appreciated.
Note that cost is important issue, so no commercial libraries or expensive USB bridges can be used.
Neither any rooting of the device.
We want to use this on several tablet devices in the feature, so cost is important.

Reply
DeannaNash
  • Forum posts: 1

Oct 30, 2019, 6:34:00 PM via Website

Hi....I already found that.And seems that host is possible. But the question is if it's android works with low speed.
About dedicated usb host controller. Normaly they are big. And to check just one voltage line the Attiny85 just works.

Reply