Тёмный

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

How To Mechatronics
Подписаться 678 тыс.
Просмотров 670 тыс.
50% 1

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)

Опубликовано:

 

25 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 269   
@Hyuts
@Hyuts 7 лет назад
Awesome! Glad you showed the MIT App Inventor i'm going to take a look at that now as well.
@sothathappened
@sothathappened 5 лет назад
Thank you! This is one of the best tutorials I've seen.
@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
@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 9 месяцев назад
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
@bonbadilmoi9325
@bonbadilmoi9325 8 лет назад
dude, this tuto and this MIT soft are awesome, will try it asap !
@elquemiras
@elquemiras 8 лет назад
you're the Man , i love your tutorials
@Luda_chris
@Luda_chris 8 лет назад
Thank you very much for this tutorial! I just got my HC-06 bluetooth module in.
@Ayo04Soul
@Ayo04Soul 8 лет назад
Perfect timing, thanks & its a very nice video.
@rajeshripancholi1067
@rajeshripancholi1067 6 лет назад
It`s true. It working nice and very fast. Now I can control arduino with bluetooth easily.
@mrglasecki
@mrglasecki 5 лет назад
Thanks really needed the App info
@Python_Hindi
@Python_Hindi 7 лет назад
i realy like your way of explanation which makes easy to understand thanx sir
@tonyhodgson6744
@tonyhodgson6744 8 лет назад
Excellent tutorial, must try this soon
@ziacgp
@ziacgp 8 лет назад
You made very good tutorial. Learn many things about arduino from you. Thanks for making tutorial..
@arlieendsley4
@arlieendsley4 7 лет назад
I need to do this with a slider control on the app to dim led? Thanks for the video.
@Navvye
@Navvye 6 лет назад
Thanks for the excellent tutorial Keep it up Would love it if you made a tutorial on android studio
@photon-1
@photon-1 4 года назад
Great tutorial, man. Thanks for sharing.
@SamirSogay
@SamirSogay 7 лет назад
Thanks for the awesomely useful videos
@_Mqube
@_Mqube 8 лет назад
another awesome one!!!
@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.
@EngineerArbab
@EngineerArbab 5 лет назад
Very Nice, Dear, thanks for the tutorials
@mohdrehan9821
@mohdrehan9821 8 лет назад
great tutorial keep on posting the good work
@pines9768
@pines9768 6 лет назад
thanks for sharing
@tgartlan1
@tgartlan1 7 лет назад
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.
@amit-sen
@amit-sen 6 лет назад
thank you!!! sir
@NafeesUrRehmanMr
@NafeesUrRehmanMr 8 лет назад
Crisp and cool!
@fouzaialaa7962
@fouzaialaa7962 8 лет назад
got lost a bit in the blocks but its amazing !!
@Vraj3110
@Vraj3110 7 лет назад
thanks for agrat video is it possible to make same app which connects with Arduino by OTG USB cable ?????
@partscience
@partscience 7 лет назад
Also please give tutorials on the RFID MF-RC522 and Ethernet W5100 Arduino Shield.And please reply this soon!!!Thanks
@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
@hicham3341
@hicham3341 8 лет назад
جزاك الله خيرا والله اكبر اللهم اهدنا الى صراطك المستقيم
@TheP14
@TheP14 3 года назад
Amine
@shilver_shadows
@shilver_shadows 2 года назад
Thanks for this tutorial.
@aziq9761
@aziq9761 7 лет назад
Nice tutorial. Thank you very much :)
@TeacherictAu
@TeacherictAu 8 лет назад
Great work once again!
@alaanasef5162
@alaanasef5162 7 лет назад
thank you a lot you helped me
@iamzainshahbaz
@iamzainshahbaz 5 лет назад
Thank you brother
@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.
@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?
@marcosluzjunior2348
@marcosluzjunior2348 8 лет назад
nice! well done
@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 7 лет назад
There is another function called Touchdown and Touchup for that..
@srikanttangirala3599
@srikanttangirala3599 6 лет назад
Or you can use toggle button
@GameMachine250
@GameMachine250 4 года назад
Hi, can i send information from arduino via otg cable to my android smartphone ?
@weslax8346
@weslax8346 2 года назад
Man is faster than light. Thank you for the video
@usucks7276
@usucks7276 6 лет назад
hey, can i ask you a question, can we create apps for nrf24l01
@MrJefferson105
@MrJefferson105 7 лет назад
nice one :D
@phacaish
@phacaish 8 лет назад
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!
@ofsanjay
@ofsanjay 8 лет назад
best one
@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?"
@prabalsingh3622
@prabalsingh3622 5 лет назад
Very Useful Full 👌 Video
@Mukesh0511
@Mukesh0511 8 лет назад
Awesome.
@gilreis5807
@gilreis5807 7 лет назад
Very good!!
@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?
@Alexelectricalengineering
@Alexelectricalengineering 8 лет назад
Thumbs up :) Alex
@jean-claudejacquet7824
@jean-claudejacquet7824 8 месяцев назад
Thank a lot for your video 😊 I would like to know if it’s possible to display some variables as temperature……?
@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 ?
@brunodragas8661
@brunodragas8661 9 месяцев назад
@BhuvanSridharan do you know how to remove background around arrow for a mit app inventor screen
@hiyoddo
@hiyoddo 8 лет назад
Hello what kind of servo motor are you using?
@priyanarayan9473
@priyanarayan9473 7 лет назад
similarly can we able to create an app using gsm instead of bluetooth?
@apoorvdodiya6153
@apoorvdodiya6153 6 лет назад
why we have used baud rate 38400 instant of 9600 in other HC-05 exaple
@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..
@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?
@xiejunquilantang9682
@xiejunquilantang9682 5 лет назад
Do have circuit diagram for the motor? Thanks
@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.
@e.k.o5412
@e.k.o5412 4 года назад
Hey can you do one to control an LCD please
@shattereddnb3268
@shattereddnb3268 5 лет назад
Great video! Would have been better if it wasn´t so damn fast though
@DougHanchard
@DougHanchard 6 лет назад
Very nice.
@chrisj7903
@chrisj7903 11 месяцев назад
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 9 месяцев назад
@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
@SaurabhSarang
@SaurabhSarang 8 лет назад
marvelous
@afettouchemassinissa9149
@afettouchemassinissa9149 5 лет назад
hello evrybody, can I do the opposit thing, wich means that I want to create an interface in android wich plot me the data of my sensor like temperature, velocity, acceleration ...(like an automobile dashboard)???? THAKYOU FOR each answer
@damienfieldhouse
@damienfieldhouse 4 года назад
Did you get an answer to this? I want to do the same
@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?
@frostsson
@frostsson 6 лет назад
I love you!
@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 👍
@fatonisodiq9341
@fatonisodiq9341 5 лет назад
hello sir, I have a question for you, how can I move the stepper motor spontaneously when I press the angle (I mean without delay)?
@fatonisodiq9341
@fatonisodiq9341 5 лет назад
if i use "char" declaration, i must add some delimiter character, it will be difficult on programming, and if i use "string" there is some delay on expression (stepper motor movement).. why?
@BHANUPRAKASH-nc8hz
@BHANUPRAKASH-nc8hz 4 года назад
Amazing brilliant......thank you now I build my own app with Arduino project
@directinihd8921
@directinihd8921 7 лет назад
good video i like it so much !!!!!!!!!!!!!!!!
@JustHiims
@JustHiims 6 лет назад
When I touch the bluetooth icon select to connect to HC-06 I get an error message "Error 503: The specified adress is not a valied bluetooth mac adress." Anyone got a solution?
@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?
@javedmalik1922
@javedmalik1922 6 лет назад
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?
@fredestlulu
@fredestlulu 8 лет назад
hello , Very good project..... could you tell me what engine you use Arduino + motor interface please? Thanks.
@raoulhatterer957
@raoulhatterer957 8 лет назад
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 ?
@MightyTechGuy
@MightyTechGuy 6 лет назад
Great thanks for the awesome tutorial
@nikolaskurnia7404
@nikolaskurnia7404 7 лет назад
is it possible to connect with usb otg instead of Bluetooth?
@maaha80
@maaha80 5 лет назад
Hello, I need your help! A have questions for my project how can I contact you?
@xiejunquilantang9682
@xiejunquilantang9682 5 лет назад
Where do I find the BluetoothAdressesList?? pls help me
@sanketmarathe4987
@sanketmarathe4987 Год назад
how did you changed listpicker to bluetooth list?
@formertoddler196
@formertoddler196 7 лет назад
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 6 лет назад
Erick i am making a similar project as well. And i am having trouble
@ekanandabrilliant230
@ekanandabrilliant230 7 лет назад
in bluetoothlist is no AfterPicking choice but just "click"?? is different
@asmarkhan8102
@asmarkhan8102 6 лет назад
how can i Update Button status on different phones with same app using firebase ....... please help
@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
@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 !!
@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?
@farihaarif2973
@farihaarif2973 5 месяцев назад
where can i get complete video of the second example?
@hajar2629
@hajar2629 7 лет назад
thank u i need project GSM model arduino thank u
6 лет назад
hi there! first i want to say thank you for this amazing tutorial it is awesome. i have a question; why we are sending 48 and 49, there are meaning 0 1 string? is there a chart to learn these codes?
@brunodragas8661
@brunodragas8661 9 месяцев назад
Where can I draw those types of images( the pointer and the clock)
@kautikluwani4862
@kautikluwani4862 7 лет назад
Companion Connection Error when i connected this error show......
@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.
@investmentustaad3360
@investmentustaad3360 7 лет назад
i like ur intro...
@kevinonono
@kevinonono 9 месяцев назад
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!
@victorhugopadillaluna7786
@victorhugopadillaluna7786 7 лет назад
Good afternoon, excuse me to know that the materials are taken care of to be able to control the engine well, is that I do not know some and I would like to do well the control Also, could you give me the schematic of how you should connect the entire project please, From the second project
@dukemarshall6535
@dukemarshall6535 Год назад
How/where did you get the "Bluetoothlist" under HorizontalArrangement2? Your video skipped right over it. It just magically appeared.
Далее
MQTT Android Application | MIT app inventor
14:12
Просмотров 64 тыс.
It seems Sonya's choice was obvious! 😅 #cat #cats
00:20
You can learn Arduino in 15 minutes.
16:34
Просмотров 9 млн
HC-05 Bluetooth Module with Arduino-MIT App Inventor
27:57
CMD PRANKS! (Educational Purposes ONLY!)
9:17
Просмотров 1,4 млн
I built my own computer. by hand.
13:03
Просмотров 1,1 млн