Answer the question
In order to leave comments, you need to log in
How to get data from the microcontroller in Android?
Available:
1. Tablet with Android 4.0.3 with OTG
2. AtMega16 bundle + ds18b20 + FT232R sensor
When connected to a computer on the terminal, we receive data from the sensor.
You need to do the same on the tablet when connected via OTG.
I ask for help and tips on how best to do this?
Answer the question
In order to leave comments, you need to log in
Maybe not quite in the subject, but you can try through the web server. On AtMega16 without additional hardware, this is unlikely to be done. But speaking in general Android + microcontroller, it is most convenient through a web server, I think. If you have a wi-fi router, it will be especially significant. I recommend either the KEIL lib RL-ARM (if, of course, the funds allow you to buy it), everything is very simple there, or the lwip tcp-ip stack is also very good , it is free, but very good (percent of some ARM based on the same Cortex -M3, cheap and cheerful). We raised the server, knocked on it from the tablet, and in the browser looked at the temperature from your ds18b20, and what was happening on the 232nd.
If ttyUSB does not want to work in any way, and a connection is required via USB, you can force the controller to pretend to be a HID device (keyboard).
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question