Using an Android phone as the interface for your Arduino project

  Рет қаралды 8,875

Rob Duarte

4 жыл бұрын

Information on how you can use the macro buttons in the Serial USB Terminal app, your Android phone, and an OTG cable to provide a simple and cheap(!) interface for an Arduino project.
The demo Arduino code is here: gist.github.com/rahji/9cfb68195878b0eb3214bfb7b407fd0a
Serial USB Terminal is here:
play.google.com/store/apps/details?id=de.kai_morich.serial_usb_terminal&hl=en_US

Пікірлер: 16
@psykopat81
@psykopat81 Жыл бұрын
old (rooted) android phone (connected to arduino with this method) + airdroid (app) = control your android everywhere on world (i will try to make surveilance car for my home), thank you 👏
@archaeologyx4988
@archaeologyx4988 Жыл бұрын
I am using the Arduino to measure the depth of a drill rig that is designed for archaeology. I use the Serial Terminal app to collect the data for each test pit from the Arduino and then hand the data file off to ESRI Field Maps which logs the test pit GPS coordinates to a cloud based mapping service. The information you provided will let me experiment with moving data and control from the Serial Terminal app back to the Arduino. Thanks (Quemahoning)
@TheKoliokolio
@TheKoliokolio Жыл бұрын
this method is suitable to old phones like android 2, android 4? I mean phones where OTG is not working
@joshuavaughan9288
@joshuavaughan9288 2 жыл бұрын
Is there a way to do this via a bluetooth signal through the phone. Trying to do this for a bike lock project so wouldnt be able to physcially connect the phone to the arduino
@RobDuarte
@RobDuarte 2 жыл бұрын
Yes, but probably nothing from this video will be of use. Look at the adafruit Bluetooth app for Android/iOS (although I've had trouble getting it to work reliably)
@yaminismiley2845
@yaminismiley2845 2 жыл бұрын
Hello sir, if we don't have system option settings ,what is other option ? I need to interface my phone with Arduino to do the automatic cooking project so what option i have to choose?
@RobDuarte
@RobDuarte 2 жыл бұрын
As far as I know, all android phones have the ability to turn on Developer mode. On your phone, it may not be in the same place that I showed.
@yaminismiley2845
@yaminismiley2845 2 жыл бұрын
@@RobDuarte ok thankyou
@zbll2406
@zbll2406 3 жыл бұрын
Hello, im trying to build a robot that I can communicate with using cellular data, so im attaching a phone to the robot with a SIM card. This video was very useful. Im wondering if I can send data through the internet, to the terminal, so I can control my robot remotely, do you know how I can do that? I have no experience in android development so if there was a way I could just use this terminal, but remotely through the internet, that would make things easy, but if building my own app is necessary, then Ill do it, can you point me in the right direction to making an android app that can receive data from the internet and push it through the USB to my arduino?, thats all I need,, thanks
@RobDuarte
@RobDuarte 3 жыл бұрын
You can't do it with this app. You should look into MIT's AppInventor - it's a free, accessible way to make your own android apps.
@zbll2406
@zbll2406 3 жыл бұрын
@@RobDuarte I'll do that thanks
@archaeologyx4988
@archaeologyx4988 Жыл бұрын
Thanks Rob, this is useful.
@quemahoning
@quemahoning 2 жыл бұрын
My Android phone makes a sound when I plug in the Arduino, but the Serial USB Terminal says there are no USB devices. I enabled USB debugging, but still nothing. What am I missing?
@RobDuarte
@RobDuarte 2 жыл бұрын
Hm not sure. Is it definitely connected via an OTG cable?
@quemahoning
@quemahoning 2 жыл бұрын
@@RobDuarte Yes, I am using the OTG cable. I assume the problem is something with my phone. It is a Moto Z4. I will keep playing around with it and maybe try some other serial terminal apps. Thanks
@psykopat81
@psykopat81 Жыл бұрын
@@quemahoning click your usb device again
Tom & Jerry !! 😂😂
00:59
Tibo InShape
Рет қаралды 64 МЛН
MEU IRMÃO FICOU FAMOSO
00:52
Matheus Kriwat
Рет қаралды 45 МЛН
Вечный ДВИГАТЕЛЬ!⚙️ #shorts
00:27
Гараж 54
Рет қаралды 14 МЛН
Tom & Jerry !! 😂😂
00:59
Tibo InShape
Рет қаралды 64 МЛН