How To Build Custom Android App for your Arduino Project using MIT App Inventor

  Переглядів 664,037

How To Mechatronics

How To Mechatronics

День тому

howtomechatronics.com/tutoria... ► Find more details, circuit schematics and source codes on my official website.
In this Arduino Tutorial we will learn how to build custom Android applications for controlling Arduino using the MIT App Inventor online application.
For this tutorial we have two example. The first example is controlling a simple LED and the second one is controlling a Stepper Motor using the smartphone. In my previous tutorial we already learned how to make the Bluetooth communication between the Arduino Board (visit Tutorial) and the Smartphone using the HC-05 Bluetooth module and explained the Arduino code needed for the first example.
Visit HowToMechatronics.com for more Tutorials, Tips, Projects and How It Works videos:
► howtomechatronics.com/
Like my page on Facebook:
► / howtomechatr. .
Add me on Google+:
►plus.google.com/+Howtomechatr...
Music: Aduro by Jens Kiilstofte (machinimasound.com/music)

КОМЕНТАРІ: 268
@sothathappened
@sothathappened 4 роки тому
Thank you! This is one of the best tutorials I've seen.
@Hyuts
@Hyuts 7 років тому
Awesome! Glad you showed the MIT App Inventor i'm going to take a look at that now as well.
@BhuvanSridharan
@BhuvanSridharan 8 років тому
Thank you a million times! you inspired me to get an arduino and I've just started and was wondering how to find an app for a project according to my needs and you sir have uploaded the video at the right time. thanks a lot!
@user-db2mv2vx2j
@user-db2mv2vx2j 8 років тому
thank you very much brother really you do exelent tuto
@elquemiras
@elquemiras 8 років тому
you're the Man , i love your tutorials
@linegrip
@linegrip Рік тому
Thanx man, you're a hero :-D I had the task to write an app for a customers Arduino project, and I had no idea how to do that easily... you pointed me in the right direction! This MIT App Inventor thing is dope :-D Got it to work, and wrote the app within a few hours... so awesome!!!
@brunodragas8661
@brunodragas8661 6 місяців тому
I have a question, how can I insert an arrow that doesn't have any bordering backgrplound around if you know what I mean, if I insert photo of arrow there will be white background
@Luda_chris
@Luda_chris 8 років тому
Thank you very much for this tutorial! I just got my HC-06 bluetooth module in.
@rajeshripancholi1067
@rajeshripancholi1067 6 років тому
It`s true. It working nice and very fast. Now I can control arduino with bluetooth easily.
@Ayo04Soul
@Ayo04Soul 8 років тому
Perfect timing, thanks & its a very nice video.
@bonbadilmoi9325
@bonbadilmoi9325 8 років тому
dude, this tuto and this MIT soft are awesome, will try it asap !
@weslax8346
@weslax8346 Рік тому
Man is faster than light. Thank you for the video
@mrglasecki
@mrglasecki 4 роки тому
Thanks really needed the App info
@tonyhodgson6744
@tonyhodgson6744 8 років тому
Excellent tutorial, must try this soon
@Python_Hindi
@Python_Hindi 7 років тому
i realy like your way of explanation which makes easy to understand thanx sir
@navvyeanand2083
@navvyeanand2083 5 років тому
Thanks for the excellent tutorial Keep it up Would love it if you made a tutorial on android studio
@_Mqube
@_Mqube 8 років тому
another awesome one!!!
@ziacgp
@ziacgp 8 років тому
You made very good tutorial. Learn many things about arduino from you. Thanks for making tutorial..
@mohdrehan9821
@mohdrehan9821 8 років тому
great tutorial keep on posting the good work
@shilver_shadows
@shilver_shadows 2 роки тому
Thanks for this tutorial.
@photon-1
@photon-1 4 роки тому
Great tutorial, man. Thanks for sharing.
@NafeesUrRehmanMr
@NafeesUrRehmanMr 8 років тому
Crisp and cool!
@arlieendsley4
@arlieendsley4 7 років тому
I need to do this with a slider control on the app to dim led? Thanks for the video.
@EngineerArbab
@EngineerArbab 5 років тому
Very Nice, Dear, thanks for the tutorials
@kevinonono
@kevinonono 6 місяців тому
Hi, the download links to the project files on your website do not work anymore. Would it be possible to get updated links? Thank you!
@SamirSogay
@SamirSogay 7 років тому
Thanks for the awesomely useful videos
@pines9768
@pines9768 6 років тому
thanks for sharing
@juhamarsy1112
@juhamarsy1112 8 років тому
Hi, Have you solwed that proplem whit that state text. its one command behind the true command. Shows in your video also. I'm strugling to get it right.
@fouzaialaa7962
@fouzaialaa7962 8 років тому
got lost a bit in the blocks but its amazing !!
@TeacherictAu
@TeacherictAu 8 років тому
Great work once again!
@alaanasef5162
@alaanasef5162 7 років тому
thank you a lot you helped me
@user-sj7nu4jb1y
@user-sj7nu4jb1y Рік тому
Thanks a lot for the great work. Is there a specific reason that you do not design your app and work based on wifi instead of bluetooth?
@chrisj7903
@chrisj7903 8 місяців тому
Nice work, one question please: At 4:01 the ListPicker under HorizontalArrangement2 suddenly changed to BluetoothList. I assume this was not just a rename, but also somehow associated the relevant Bluetooth blocks (as shown later in the first few steps in Blocks editor ). How do I make this association? Without this the bluetooth Blocks do not appear when I switch to the Blocks editor and select the Bluetooth ListPicker. TIA
@brunodragas8661
@brunodragas8661 6 місяців тому
@chrisj7903 , do I need smth other tahn bluetooth module and arduino, I am asking becaude I don't know what is that orange thing between motor and bluetooth module
@marcosluzjunior2348
@marcosluzjunior2348 8 років тому
nice! well done
@amit-sen
@amit-sen 6 років тому
thank you!!! sir
@iamzainshahbaz
@iamzainshahbaz 4 роки тому
Thank you brother
@Vraj3110
@Vraj3110 7 років тому
thanks for agrat video is it possible to make same app which connects with Arduino by OTG USB cable ?????
@gilreis5807
@gilreis5807 7 років тому
Very good!!
@hicham3341
@hicham3341 8 років тому
جزاك الله خيرا والله اكبر اللهم اهدنا الى صراطك المستقيم
@TheP14
@TheP14 2 роки тому
Amine
@prabalsingh3622
@prabalsingh3622 4 роки тому
Very Useful Full 👌 Video
@ofsanjay
@ofsanjay 8 років тому
best one
@jean-claudejacquet7824
@jean-claudejacquet7824 5 місяців тому
Thank a lot for your video 😊 I would like to know if it’s possible to display some variables as temperature……?
@tgartlan1
@tgartlan1 6 років тому
Thanks for the great video. Found a small bug, I think, where you have to press the LED ON button twice to flush out the text and get correct LED status. Probably text not available if you check for it right after pressing button first time. Fixed it by checking for text in the clock, as oppose to the button event. Create a variable to get the text and if it's not blank then update the LED status. Thanks again.
@MrJefferson105
@MrJefferson105 7 років тому
nice one :D
@partscience
@partscience 7 років тому
Also please give tutorials on the RFID MF-RC522 and Ethernet W5100 Arduino Shield.And please reply this soon!!!Thanks
@investmentustaad3360
@investmentustaad3360 7 років тому
i like ur intro...
@jeevankumarreddyravuru8710
@jeevankumarreddyravuru8710 6 років тому
Hi i am doing project on automatic spot welding machine so that I need to control 3 controls sequentially for a period of time sequentially so that I need to control the time of every control i.e i need to change the time using potentiometer
@ashifhossain884
@ashifhossain884 7 років тому
Thanks for this great tutorial.I faced a little problem when getting data from arduino.I can see the data sent from arduino to android in serial monitor,but it's not appearing in the label of app.what could the problem be Thanks in advance for help.
@brunodragas8661
@brunodragas8661 6 місяців тому
@BhuvanSridharan do you know how to remove background around arrow for a mit app inventor screen
@john-ec6sy
@john-ec6sy 6 років тому
I've just managed to create my 1st Bluetooth app which controls 2 water pumps independantly, connected to my arduino uno board using this video as my tutorial and editing the odd bit. Thanks for helping make it possible 👍
@aziq9761
@aziq9761 6 років тому
Nice tutorial. Thank you very much :)
@Mukesh0511
@Mukesh0511 8 років тому
Awesome.
@hiyoddo
@hiyoddo 7 років тому
Hello what kind of servo motor are you using?
@Alexelectricalengineering
@Alexelectricalengineering 8 років тому
Thumbs up :) Alex
@abrahamsingh
@abrahamsingh 7 років тому
Thanks for your guide on Android Application development. It really helped me. One thing I like to ask about Bluetooth connection is "How to read the Data when available?"
@venkatakrishnansrinivasan6928
@venkatakrishnansrinivasan6928 7 років тому
Hi , I am getting an error in the last but one line : Serial.println(“LED : ON”); ; // Stray ‘223’ in program - while verifying the program. Also why is the double semicolons there ?
@directinihd8921
@directinihd8921 7 років тому
good video i like it so much !!!!!!!!!!!!!!!!
@SaurabhSarang
@SaurabhSarang 8 років тому
marvelous
@BHANUPRAKASH-nc8hz
@BHANUPRAKASH-nc8hz 3 роки тому
Amazing brilliant......thank you now I build my own app with Arduino project
@raoulhatterer957
@raoulhatterer957 7 років тому
Very nice tutorial. I have a question: when you have written your custom made procedure for a 10m seconds delay why did you add 20 and not 10 to the SystemTime ? Is the clock1 ticking in half millisecond ?
@usucks7276
@usucks7276 5 років тому
hey, can i ask you a question, can we create apps for nrf24l01
@alaincesarini5284
@alaincesarini5284 8 років тому
Very interesting tuto. I try to implement it but I didn t succed. Is it possible to have de layout of the stepper motor ? What kind of motor do you use ? how to connect it ? Thanks for your help.
@priyanarayan9473
@priyanarayan9473 7 років тому
similarly can we able to create an app using gsm instead of bluetooth?
@DougHanchard
@DougHanchard 6 років тому
Very nice.
@dukemarshall6535
@dukemarshall6535 Рік тому
How/where did you get the "Bluetoothlist" under HorizontalArrangement2? Your video skipped right over it. It just magically appeared.
@fisslewine1222
@fisslewine1222 7 років тому
Hi I want to create a interface between the app and adding that uses eeg sensors and causes led to turn on...unsure how to begin this?
@byronwhitlock6455
@byronwhitlock6455 6 років тому
You rock. One question though.. what if I want to send the number 2 or 3 or 11 or 25? I am working on an app on which I have multiple buttons with multiple options.. if 48=0 and 49= 1 does that mean 50=2 and 51=3 etc?
@GameMachine250
@GameMachine250 4 роки тому
Hi, can i send information from arduino via otg cable to my android smartphone ?
@apoorvdodiya6153
@apoorvdodiya6153 6 років тому
why we have used baud rate 38400 instant of 9600 in other HC-05 exaple
@MightyTechGuy
@MightyTechGuy 6 років тому
Great thanks for the awesome tutorial
@sanketmarathe4987
@sanketmarathe4987 Рік тому
how did you changed listpicker to bluetooth list?
@xiejunquilantang9682
@xiejunquilantang9682 5 років тому
Do have circuit diagram for the motor? Thanks
@filipchodura4933
@filipchodura4933 8 років тому
Good video
@phacaish
@phacaish 7 років тому
Hi Dejan, so awesome project. I need the same project so badly. I want to set the device to turn a machine knob. The problem I have now is how to set up the wires. Where can I buy all the materials. Thank you very much kindly!
@brunodragas8661
@brunodragas8661 6 місяців тому
Where can I draw those types of images( the pointer and the clock)
@farihaarif2973
@farihaarif2973 2 місяці тому
where can i get complete video of the second example?
@frosty1219
@frosty1219 6 років тому
I love you!
@e.k.o5412
@e.k.o5412 4 роки тому
Hey can you do one to control an LCD please
@ajayjoseph4626
@ajayjoseph4626 6 років тому
I dont understand when you are sending a byte (49) why do you need call BluetoothClient1.ReceiveText and the rest when you are sending?
@md.nazimuddowla192
@md.nazimuddowla192 7 років тому
When I will press a button let say "A", A will send a value to arduino and when I release A; it will send another value. How can i do this??
@ahmadadel8259
@ahmadadel8259 6 років тому
There is another function called Touchdown and Touchup for that..
@srikanttangirala3599
@srikanttangirala3599 6 років тому
Or you can use toggle button
@beeramsivakumarreddy7180
@beeramsivakumarreddy7180 5 років тому
Nice
@maaha80
@maaha80 5 років тому
Hello, I need your help! A have questions for my project how can I contact you?
@nikolaskurnia7404
@nikolaskurnia7404 7 років тому
is it possible to connect with usb otg instead of Bluetooth?
@shattereddnb3268
@shattereddnb3268 5 років тому
Great video! Would have been better if it wasn´t so damn fast though
@asmarkhan8102
@asmarkhan8102 5 років тому
how can i Update Button status on different phones with same app using firebase ....... please help
@fredestlulu
@fredestlulu 8 років тому
hello , Very good project..... could you tell me what engine you use Arduino + motor interface please? Thanks.
@rolandvonborries6922
@rolandvonborries6922 4 роки тому
Good Morning, would you "me against payment" with a small one (Android + Arduino + closed-loop stepper) Support project? Roland
@sebastiannaschberger3923
@sebastiannaschberger3923 3 роки тому
do you have the code?
@dimavers
@dimavers 7 років тому
As for the application to control bluetooth, I advise Arduino IO Control, the most convenient and does not require working with MIT Appinventor. You can add joysticks, draw graphs, generate a template for the Arduino sketch.
@mohamedkhalid362
@mohamedkhalid362 7 років тому
i need to make an application which is compatabe with arduino for example: if arduino send 'a' the mobile phone play a song can it be possible !!
@zaheera6899
@zaheera6899 6 років тому
Hey i made the app exactly as you have shown..Thanks for the tutorial. App is working. only one fault.. when i press ON button the 'LED status' box doesn't show LED ON immediately. i have to push LED On button twice for LED status to show.. same for LED off. i have to press twice to get the status. i checked Arduino code it is fine LED turns on/off immediately. what could be the problem ?
@mohitagarwal1432
@mohitagarwal1432 5 років тому
Hey bro...can you give me the code of this app..
@ekanandabrilliant230
@ekanandabrilliant230 7 років тому
in bluetoothlist is no AfterPicking choice but just "click"?? is different
@akroutsamo
@akroutsamo 8 років тому
Hi , i have a q? does the stepper motor offer more holding torque when it is running in 1/4 steps mode than the full step mode ? i had a problem with the cnc using nema 23 and A4988
@akroutsamo
@akroutsamo 8 років тому
+Dejan Nedelkovski thank you it was an electric problem not enough current for the motor and the A4988 @1A max pff i need 2.8 A for the nema 23
@hansdegroot652
@hansdegroot652 2 місяці тому
Does it work for smartwatches? Ie i like to use the smartwatch to steer my boat
@okboomer6599
@okboomer6599 4 роки тому
Really appreciate your tutorials, and hope you can explain something. When I hit the Turn On button the FIRST time, the LED goes on, but nothing shows up in the LED status label. On the next button press, I get "LED ON", whether I press Turn On or Turn Off. On every subsequent button press, I get the status message that I should have got on the previous button press. On closer inspection, I see that is what is happening in your video as well! Any idea why that first button press doesn't produce the correct status message? It puts all subsequent presses/status updates out of sync.
@xiejunquilantang9682
@xiejunquilantang9682 5 років тому
Where do I find the BluetoothAdressesList?? pls help me
@shoandeep
@shoandeep 7 років тому
Thx so can i use it to display moisture levels from the arduino moisture sensor to the mit app when button pressed. If so how can i do it?
@shoandeep
@shoandeep 7 років тому
thx but how do i send the data?
@paarths.5281
@paarths.5281 7 років тому
Hello, actually I have made a project similar to this but not the same and the arduino IDE shows error compiling.
@marcelopardo4792
@marcelopardo4792 6 років тому
Great video, thanks. I am trying to connect the devices, but it gets the 507 Error, I tried in a tablet and a cellphone. Any suggetions?
@formertoddler196
@formertoddler196 6 років тому
Is it possible to set the brightness of the led (I'd be using a slider bar), while also being able to turn the led on and off with 2 other buttons (using an app)? I can't believe it, but I managed to build an app for hc-05 communication in android studio (took me 2 months to figure out), but I'm having trouble figuring out how to do this
@1anfinity
@1anfinity 5 років тому
Erick i am making a similar project as well. And i am having trouble
@javedmalik1922
@javedmalik1922 5 років тому
i made this app to control my robot. but in the app where it must show the status of bluetooth that whether it is connected or" not connected" it displays some numbers instead of text. can u help me with that?
@hemalathaeppala9606
@hemalathaeppala9606 5 років тому
nice
HC-05 Bluetooth Module with Arduino-MIT App Inventor
27:57
BINARYUPDATES
Переглядів 937 тис.
Create your own App! Control an ESP32 (Arduino) via Bluetooth - Part 1
18:18
Мама и Чебурашка 🤪#shorts
00:33
INNA SERG
Переглядів 1,3 млн
DIY Arduino Robot Arm with Smartphone Control
9:20
How To Mechatronics
Переглядів 1,2 млн
You can learn Arduino in 15 minutes.
16:34
Afrotechmods
Переглядів 9 млн
How to Build an Android App to Control Your WiFi Enabled Arduino
12:55
ForceTronics
Переглядів 300 тис.
Create a BLE app for your mobile phone! Control an ESP32 with BLE
47:04
Arduino Bluetooth Control From Your Mobile Phone Using MIT App Inventor
1:05:36
Arduino and HC-05 Bluetooth Module Tutorial | Android Smartphone & Laptop Control
9:26
How to add WiFi Control to any project || ESP32 Beginner's Guide
10:44