How To Receive Multiple Sensor Readings From Your ARDUINO Into Your MIT APP INVENTOR 2 APP

  Переглядів 211,069

Z-HUT

Z-HUT

7 років тому

The following tutorial will show you how to receive multiple sensor readings from your arduino board into you MIT APP INVENTOR 2 APP.
If you are using more than one sensor with your Arduino project you have found that it is necessary to send that data and display it on your app. To do this you will need to send all the sensors data at one time, then split it apart and display it in the appropriate fields in your MIT APP INVENTOR 2 APP. THIS IS HOW YOU DO IT!!!!!!
In this tutorial we will be using a DHT-11 (DHT11) temperature and humidity sensor and a Photo resistor to send 3 different readings to the mit app inventor app. A DHT-22 (DHT-22) temp and humidity sensor can also be used and it is more accurate than the THD11.
Projects Website: thezhut.com/?page_id=395
Check us out on Facebook: / zarduino

КОМЕНТАРІ: 177
@iceproz1549
@iceproz1549 6 років тому
Thank you sooooo much!This example is awesome!I have incorporated it into a project that monitors the temperature of a refrigerator and now it monitors the door open / closed too!!!AWESOME!-Rob
@akshatsharma264
@akshatsharma264 2 роки тому
Thanks a lot, Z-HUT!! I was having a hard time finding out how to read values from multiple sensors, this tutorial cleared it all.
@LandMineFX
@LandMineFX 6 місяців тому
This has been helpful. I just started working with App Inventor a couple of days ago, trying to get this ESP32-controlled guitar pedal to accept Bluetooth commands. I couldn't figure out how to get the pedal to communicate with the mobile device, but the part of your video that utilized global variables being input into a list helped me figure it out with my current setup. Thanks!
@simplyInvent
@simplyInvent 7 років тому
Great video! Thank you sooooo much for the video! This just completely saved my time and solved my problem...keep up your GREA WORK! GOD BLESS YOU!!! :)
@themelodicguy2022
@themelodicguy2022 7 років тому
really great work I did so many research on this I didn't find much really it helps me a lot thank you!
@LeandroOliveira-ye1sw
@LeandroOliveira-ye1sw Рік тому
THANK YOU THIS PROJECT HELPED ME A LOT , THERE ARE NO VIDEOS LIKE THIS......
@MichalMonday
@MichalMonday 6 років тому
this combination, Arduino + bluetooth + Android + MIT app inventor gives so beautiful opportunities to make cool stuff when you get a grasp of it
@camera_manu
@camera_manu 2 роки тому
Wifi is best too, like esp8266
@QuintJer
@QuintJer 4 роки тому
Thank you for sharing this excellent tutorial. Your sample code helped me get my bluetooth project going.
@travisfort4700
@travisfort4700 3 роки тому
great job man! Thanks from Santa Catarina/Brazil
@steinwurf64
@steinwurf64 6 років тому
Habe ich nachgebaut. Sehr gute Arbeit! Hold on!
@aayushbhansali8725
@aayushbhansali8725 6 років тому
It was very helpful. Thanks !
@bodeaalx
@bodeaalx 5 років тому
thank you so much for this tutorial
@ravitejaaechan2455
@ravitejaaechan2455 7 років тому
you are awesome, this video is so helpful!!
@JaafarMuhammad
@JaafarMuhammad 4 роки тому
That's really informative. It helped me a lot creating a health monitor system. However, I think we have to add the splitter sign after each measurement line to work properly, it didn't work for me until I did it like this. Thanks a lot and best regards.
@omeroztoprak869
@omeroztoprak869 2 роки тому
hi, Jaafar is creating a health monitoring system too. Is it possible to see your study thanks
@nouzainahassan5623
@nouzainahassan5623 2 роки тому
Can i get your help?
@saitejasurampudi7572
@saitejasurampudi7572 3 роки тому
You are really great 😊 Learnt a lot from you
@juv4116
@juv4116 5 років тому
How did you display the temperature in the white box since you have used a label for temp_label?Thank you
@rakeshshetty1601
@rakeshshetty1601 4 роки тому
thank you for your your informative video
@joshc6699
@joshc6699 6 років тому
AWEsome. Thank you!
@remyrai4155
@remyrai4155 5 років тому
thanks for the great video. how about using through wifi connection? how about their design blocks in MIT ?
@profytecnet
@profytecnet 2 роки тому
Brilliant ! Thank you very much!
@Sherwoodroadster
@Sherwoodroadster 7 років тому
Hello, this clip made it for me. Now i can display my temp-sensors on the android device. But still a few problems i have to solve. by using your way i can´t compare the temperatur sended via bluetooth with a fixed value. the plan was to change colours by high temp or low temp. i also have a LCD Display connected whitch should be turned on / off if BT-connection is cut or by switch.
@MPElectronique
@MPElectronique 7 років тому
very instructive thank you1! :)
@oreopls69
@oreopls69 6 років тому
hi, want to know what are your comments , on the code from seed grove temperature and humidity sensor library.
@antonsteinkogler5854
@antonsteinkogler5854 6 років тому
Hi, get the same error like mdafzal ahmed: list item too high Ain't got no App Inventor to change it DHT22 did NOT work. Had to change the library to DHT22.
@maharudrabade6774
@maharudrabade6774 6 років тому
I just wanted to ask you where did you set the timer time in app?
@ultyimate
@ultyimate 7 років тому
how do i build the arduino setup? any videos on how you did it?
@pablocardenas843
@pablocardenas843 4 роки тому
Hello, all I need to send are analog signals, such as your voltage divider with the LDR. What changes must be done to the arduino and MIT AppInventor code?
@tejasmaryjane2174
@tejasmaryjane2174 6 років тому
Awesome video quick question... I have the data loading perfectly now my only issue is trying to send a blue tooth client text to my arduino but get no response, do you have a solution to this issue?
@user-eq5sg6gm4m
@user-eq5sg6gm4m 6 років тому
stunning speed)))
@SB_Tommy
@SB_Tommy 6 років тому
what is the max refresh rate between the phone and the bluetooth unit? i want to make a speedometer for a race car and i want it to refresh fast enough.
@muhd_fakhrulh1415
@muhd_fakhrulh1415 5 років тому
Hello sir. What power source did you use for arduino?
@rittol2365
@rittol2365 8 місяців тому
How does this connect without using the bt serial library, how did u make the device discoverable?
@skylarbjorn
@skylarbjorn 5 років тому
Hi! Would I be able to have this data report to a custom app?
@shrikantgaddapati5968
@shrikantgaddapati5968 6 років тому
hey heloo, can i get ur help im making a glove mechanism in my project. for that im using flexsesnor, as sson as i bend the sesnor i should get the reading on the app through voice? can you help me out? pls
@juara4778
@juara4778 Рік тому
life saver dude thx from Brasil
@abdulazizkhan1733
@abdulazizkhan1733 3 роки тому
Z-HUT....Great video. I have a small issue.....when I use your app, readings are fine but whe I create it.....the exact same block diagram, my readings are not coming. Kindly share .aia file if possible
@amittky8390
@amittky8390 3 роки тому
Thanks did... You save my time
@menyouh771
@menyouh771 5 років тому
Is it possible to use a FSR402 and see the pressure over the sensor with this?
@TechnoGDL
@TechnoGDL 5 років тому
Thanks, works perfect.
@juv4116
@juv4116 5 років тому
@Techno GDL did it really sends the value to the app without including a bluetooth library in the IDE?
@Arcturus.93
@Arcturus.93 5 років тому
Is there a video which explains retrieval of sensor readings through GSM instead of using bluetooth?
@amrali3161
@amrali3161 7 місяців тому
Hello, could you tell me how to draw these results versus time on a real-time basis on app inventor?
@dcpowered
@dcpowered 4 роки тому
Could you please share the .aia file which is much simpler to import your app into MIT AI2?
@user-yq6rx8gb2h
@user-yq6rx8gb2h 2 роки тому
Thank you sooooo much
@hels9732
@hels9732 6 років тому
Great tutorial! is there a way of displaying the sensor readings side by side in landscape view? it doesn't like the split text or maybe its the index list of 1,2,3 and creates an error of: "select list item: attempt to get item number 2 of list length 1" anybody know a solution?
@ayookunlola1537
@ayookunlola1537 2 роки тому
I have same error
@amarobarbosa8483
@amarobarbosa8483 2 роки тому
if | lenght of list | get:| global l list >=1 then: set |temp.Text to: | select list item list | get | global list | index |2| || \/ || \/
@MikevomMars
@MikevomMars 3 роки тому
Nice - but how to go the other way round and send (and read) multiple values at once from Android to the Arduino?
@Aliambarek
@Aliambarek 6 років тому
good job could you please get the source file of app inventor (.aia)
@cameravala
@cameravala 4 роки тому
How to this the other way around?? I want to send 5 different variables from MIT app to Arduino.
@kauboi007
@kauboi007 3 роки тому
i want 3 ir sensors input to the app is it in the same way or different?
@jonathanr4242
@jonathanr4242 3 роки тому
That's great. I'm using an MPU6050 and an HC-SRO4 ultrasonic module with your app.
@AllenWAlkerKHR
@AllenWAlkerKHR Рік тому
i am using mp6050 with an uv sensor but i have an error it says that my list is too large. Can you sen me you arduino code please
@jonathanr4242
@jonathanr4242 Рік тому
@@AllenWAlkerKHR Sorry, I had a look for it, but I'm afraid that code is long gone. If you can put your code in a comment, I can see if I can compile it.
@AllenWAlkerKHR
@AllenWAlkerKHR Рік тому
@@jonathanr4242 the problem is that i have an error in my app. I have this message "List error: Attempt to get item number 1 of a list of length 0"
@neytzhpz3971
@neytzhpz3971 5 років тому
Hi can this tuto can help me to receive my arduino gps data to app inventor ? I really need help for my school projects i don't want do an other year at high school......
@kashifnazir4634
@kashifnazir4634 3 роки тому
which convertor is used?? model?
@stephine3652
@stephine3652 7 років тому
sir may i ask for the .aia file of the app? if u dont mind, just wanna check it..
@rexsace7104
@rexsace7104 4 роки тому
Will this work if I use ESP8266 Module instead of the Bluetooth one?
@explorersagnik8522
@explorersagnik8522 4 роки тому
thank u soooooooo much ...
@xiuwensong4072
@xiuwensong4072 7 років тому
hi, what if i use pressure sensor MPX5700AP?
@abhijitrashinkar
@abhijitrashinkar 3 роки тому
Excellent...
@user-eg2sb6zy2r
@user-eg2sb6zy2r 7 років тому
Hi, I want to connect multiple Bluetooth devices using app invetor
@costanovidades6739
@costanovidades6739 7 років тому
Congratulations, my friend aki is the adeilton I speak from Brazil, you have how to make a video with acs712 current sensor with the source code of the app inventor and arduino app for me to do an automation project with a switch so that I can light the Lamp When I turn the switch on the application switch on or off hugs
@josemariadiy6400
@josemariadiy6400 Рік тому
Hello, very interesting video.👍👍 But, what would I need to send data from sensors that are in different arduinos, to visualize them in the same application - App Inventor???🤔 I would appreciate your answer.
@christophestern
@christophestern 4 місяці тому
Hi, One year later... I just wanted to tell I have the same question. Maybe I'll take advantage of this other topic (ukposts.info/have/v-deo/a4eDZmN_i5V-yoU.html). It shows how to connect with 2 Bluetooth devices at the same time. And maybe it is possible to connect to one BT device, then to close connexion and to open a second one with a secind BT device, and so on... @Josemariadiy6400: Did you find your solutiion? See You.
@mahmoudsalma7509
@mahmoudsalma7509 4 роки тому
thank you sir for this video. may i ask how can i open the app in MIT app inventor ? is it possible to open apk file in MIT? with regards
@ayoubammarboudjelal834
@ayoubammarboudjelal834 3 роки тому
you can emulate the project not the app
@archibalddu0013
@archibalddu0013 7 років тому
I can't read the sensors even with the app given by z_hut. The 3 places where the data of the captors should have beenwritten are empty. Did anyone have the same bug?
@dixit-rohit
@dixit-rohit 4 роки тому
I dont understand your app design because label in app which is shown(viewer) is different & components(right side) is different...i am tying to make same app as you have but everything is different than you did in this (app design not website design & its tool (after installation))... no value box is available in which received data was showing in your app & have a label of it (like...light_lvl)... i am using old version of thunkable which is as same as mit app inventor... Would you make a separate video?
@brentroberson7211
@brentroberson7211 6 років тому
Hello I am trying to get a motion detector that is connected to the arduino to send a notification to my android phone with the use of the app inventor. I can only find ways to send info from the phone to the arduino but can't find information about how to get notifications from the arduino. If anyone could help that would be great. Thanks.
@paulojamero9670
@paulojamero9670 6 років тому
Same problem here.
@myinfo7114
@myinfo7114 5 років тому
Use an Arduino + cam and the photon-pixel coupling method. It is a new approach in science for reading an unlimited number of sensors in parallel.
@ekookta5998
@ekookta5998 4 роки тому
Can this sensor data be saved? Thanks
@profisorgoran4357
@profisorgoran4357 6 років тому
pliz i need the arduino code and sorsec code application than x for helpme
@eastern815
@eastern815 5 років тому
thanks man I did it
@zabihullah3604
@zabihullah3604 5 років тому
Please share the ".aia" file for the AI2
@zabihullah3604
@zabihullah3604 5 років тому
i have the same problem
@marketingpuntocom8710
@marketingpuntocom8710 5 років тому
Hi if you want to fix "select list item too large" bug........... in the comparison structure select > , i put my *.aia drive.google.com/open?id=1IjGMsS1CHB_vc-UbcCkvYa7-ZbeHpKfQ
@bahrounahmed9453
@bahrounahmed9453 5 років тому
hi everyone, i really need help for this problem of select list item too large Thnx for your reply Mail id bahrounahmed4@gmail.com
@JRDN97193
@JRDN97193 4 роки тому
Hello, how to do without dht11 but with 2 potentiometer
@arnokleinjan2192
@arnokleinjan2192 7 років тому
Hi, Can you also make the .aia file available? kind regards, Arno
@oklahoma99
@oklahoma99 4 роки тому
.
@gavohsachibani2412
@gavohsachibani2412 6 років тому
why data travels from one label to another?
@saajidthakur6027
@saajidthakur6027 Рік тому
Sir, need assistance with my project complete. I am stuck totally stuck. I am trying to add LEDs & Switches to get an indication with the TEMPERATURE read but I get fail and error messages. Kindly help for make Temperature and two-way switch feedback. ( App Inventor 2)
@ManishKumar-kr4gi
@ManishKumar-kr4gi 6 років тому
Sir please help me same code &app develop but not receive data my app
@darrenmagturo1712
@darrenmagturo1712 6 років тому
hi i just want to ask how the index works to arduino, cause i keep on failing to match the numbers to be displayed
@popshoppacks
@popshoppacks 4 роки тому
I'm having the same problem
@kadirustasarac5812
@kadirustasarac5812 6 років тому
THX
@abhishekjaju69
@abhishekjaju69 5 років тому
how can i get the app that you used in the video. would be gr8 if u reply soon.
@z-hut1663
@z-hut1663 5 років тому
there is a link to the projects website in the video description where you can download it
@paddedwallz85
@paddedwallz85 7 років тому
can you share .aia file, thank you
@khadesuraj
@khadesuraj 5 років тому
in my case load cell is connected and it is sending data through uC and Bt module continuously with start bit as 10 and stop bit 13 bit i unable to format this data on app. Data is comming continously with shifting digit place values
@justwalker1697
@justwalker1697 4 роки тому
may I get your loadcell code? it's connected with hc-05 right?
@codewithadvait7913
@codewithadvait7913 Рік тому
cool intro
@codewithjc4617
@codewithjc4617 7 років тому
Hi men, just a quick question, what is the Logic level converter for???
@z-hut1663
@z-hut1663 7 років тому
arduino board is 5 volt logic and the HC-06 or HC-05 is 3.3 volts logic, use the converter or A voltage divider and you will be good to go. if yoy use 5 volt logic into the HC-06 or HC-05 you distroy it after a short time....
@codewithjc4617
@codewithjc4617 7 років тому
Shoot, actually i've been using 5v from my arduino and connecting it directly to my hc 05 and it doesn't send Any data, i mean, it turns on, and it connects yo the app but i don't receive Any data on my phone, i guess i burned it, thanks so much for the info men! Great videos, and just another question, what about if i connect the vcc of my hc 05 to the 3.3v pin of my arduino?
@z-hut1663
@z-hut1663 7 років тому
John J. ukposts.info/have/v-deo/cX-dl5uOaI1i2ok.html this video will explain all your questions..
@codewithjc4617
@codewithjc4617 7 років тому
Z-HUT Thanks so much man! Now i have it all clear, keep up the good work!
@malcolmpalmer2437
@malcolmpalmer2437 Рік тому
The Arduino file does not show how to read the MIT app and doesn't show how to send the readings of the temperature sensor to the MIT app. It shows only how to display the readings on the serial monitor of the PC!!!!
@sowibrahima626
@sowibrahima626 5 років тому
hello sir, thank you for the tutorial. i want to use arduino Uno to collect data from different sensors which are temeperature, humidity, solar radiation, wind speed. is it possible, i need your help please.
@ayookunlola1537
@ayookunlola1537 2 роки тому
I tried the apk it is telling me lengths of 2 of 1 error and the code is complaining as stay 432 pls help
@Raarnoldy
@Raarnoldy 3 роки тому
I am getting this error (Select list item: Attempt to get item number 2 of a list of length 1: [""] Note: You will not see another error reported for 5 second). Does anyone have a fix the app seems to still work however it is a little annoying.
@jagannathans2292
@jagannathans2292 7 років тому
nice sir
@socialogic9777
@socialogic9777 2 роки тому
Getting the error : Attempt to get item number 2 of a list of length 1. Anyone can help ?
@iancalizo5885
@iancalizo5885 4 роки тому
what if i want to use esp8266
@thomasgovaerts
@thomasgovaerts 7 років тому
I have a problem with my MIT App, can someone help me? I have an app that read the temperature that the arduino receive and that works well. The problem is that I have to transmit an information (basicly 1 and 0) to my arduino to control one other thing but I think that the arduino can't read it because there's too much information... Is that true? Can I fix that?
@tejasmaryjane2174
@tejasmaryjane2174 6 років тому
I'm having the same issue but haven't been able to figure it out, did you have any luck?
@ziksnziki523
@ziksnziki523 4 роки тому
I inspired myself from your code but I'm having an error, Error 507, the app is not connecting, what should I do?
@ayoubammarboudjelal834
@ayoubammarboudjelal834 3 роки тому
i have the same problem did you find the solution ?
@venkatsabapathy7495
@venkatsabapathy7495 5 років тому
plzzz help me out from the same error
@jantomazin22
@jantomazin22 2 роки тому
Anyone got the copy of the app that can share?
@MounishPatelSeetha
@MounishPatelSeetha 3 роки тому
Hi.. after around 30 seconds , I am getting " select list item : list index too large " , what could be the problem?
@efeoktay244
@efeoktay244 3 роки тому
same
@AsiaCrasie
@AsiaCrasie 5 років тому
Hi, I'm getting this strange problem where my arduino must be connected to my computer for the bluetooth input to come up. When I connect the arduino to a regular power supply my app just tells me I'm connected to the arduino bluetooth but won't receive any arduino input. Any help would be greatly appreciated.
@z-hut1663
@z-hut1663 5 років тому
thats very strange, not sure what the problem could be. try reinstaling your arduino ide and then reupload your sketch... if that dont work try a diferent arduino board, when one goes bad it can do some very strange things...
@AsiaCrasie
@AsiaCrasie 5 років тому
haha yeah this is exactly what I tried and it somehow worked :'D Thanks!
@Bharathalleni
@Bharathalleni 6 років тому
Please share the ".aia" file for the AI2
@marketingpuntocom8710
@marketingpuntocom8710 5 років тому
Hi if you want to fix "select list item too large" bug........... in the comparison structure select > , i put my *.aia drive.google.com/open?id=1IjGMsS1CHB_vc-UbcCkvYa7-ZbeHpKfQ
@iulian312
@iulian312 5 років тому
@@marketingpuntocom8710 thx ^^
@Mysonlyfong
@Mysonlyfong 6 років тому
How to Display hidden components in Viewer?
@markhalliwell5276
@markhalliwell5276 4 роки тому
is this possible with a pressure sensor?
@cristobalvalenzuela2740
@cristobalvalenzuela2740 4 роки тому
Yeah, it should be pretty much the same
@projectmasel9330
@projectmasel9330 6 років тому
hi ' im working on a project , like your project ' and im having a trouble , i will be happy if you contact me and help me . thanks!!
@xiaomyredmii7430
@xiaomyredmii7430 5 років тому
what about web? not just bluetooth
@margiealimango557
@margiealimango557 4 роки тому
why im getting error select list item: List index too large?
@ProjectCOBT14
@ProjectCOBT14 4 роки тому
did you get this sorted? same issue here
@BenGuardian
@BenGuardian 4 роки тому
@@ProjectCOBT14 likewise
@rickyaryadi8422
@rickyaryadi8422 4 роки тому
why solution? iam get it too
@BenGuardian
@BenGuardian 4 роки тому
ricky aryadi I fixed it, can help if you would like.
@sponsormemyvi6010
@sponsormemyvi6010 4 роки тому
@@BenGuardian Same problem here, how do you fix it?
@maudkompaore3675
@maudkompaore3675 6 років тому
please Z-HUT, can you help me ? I make all what you said and it don't work and I don't know why !
@z-hut1663
@z-hut1663 6 років тому
need more info to help you out, whats not working
@maudkompaore4506
@maudkompaore4506 6 років тому
Z-HUT I think that the interface on APP INVENTOR isn't correct ! In fact, I don't see the different valors of temperature, humidity and Light ! I can show you what I have now..
@z-hut1663
@z-hut1663 6 років тому
works fine for me not sure what the problem is, one small setting not set right will make problems. check again and if you cant figure it out send me the code you are using to my facebook and I will check it out.
@maudkompaore4506
@maudkompaore4506 6 років тому
Z-HUT I send you photos on Facebook !
@hajar2629
@hajar2629 5 років тому
hello ineed file aia not apk
Arduino Bluetooth Control From Your Mobile Phone Using MIT App Inventor
1:05:36
5. Android Arduino DHT11, DHT22 Temperature and Humidity Sensor
15:33
Magesh Jayakumar
Переглядів 62 тис.
😳 Домінація! ОГЛЯД БОЮ ЛОМАЧЕНКО - КАМБОСОС
04:06
Она Постояла За Себя! ❤️
00:25
Глеб Рандалайнен
Переглядів 3,2 млн
How to Run Linux on an ESP32
18:53
element14 presents
Переглядів 144 тис.
How to Make a Simple App--[NodeMCU-ESP8266] -PART1
13:45
Jandroverse
Переглядів 31 тис.
YOU can Learn the ESP32 in 15 Minutes:  Hello World!
22:52
Dave's Garage
Переглядів 279 тис.
OpenAI SHOCKED Everyone! Voice, Vision, & Free?!
8:58
Theoretically Media
Переглядів 27 тис.
Create a BLE app for your mobile phone! Control an ESP32 with BLE
47:04
App Inventor - How to transfer variables between screens
5:47
David Dubczak Teacher
Переглядів 14 тис.
HC-05 Bluetooth Module with Arduino-MIT App Inventor
27:57
BINARYUPDATES
Переглядів 945 тис.
Best OS for programming? Mac vs Windows vs Linux debate settled
8:40
Arduino Servo Motor Control via Bluetooth | App Inventor
9:40
Maker 101
Переглядів 376 тис.
3D printed Nintendo Switch Game Carousel
0:14
Bambu Lab
Переглядів 904 тис.
🤯Самая КРУТАЯ Функция #shorts
0:58
YOLODROID
Переглядів 3,3 млн
Компьютерная мышь за 50 рублей
0:28
dizzi
Переглядів 2,2 млн