Thank you, man! I was honestly expecting a quick application or something, but this was succinct and perfect for getting started.
@kilianvanwerkhoven83168 жыл бұрын
As a student trying to figure out how to use the bluetooth modules this was amazing! Thanks for this amazing tutortial, I can now proceed with the goal for this project of mine :).
@Electrologia Жыл бұрын
CODE IS HERE: int ledPin = 8; int state = 0; int flag = 0; void setup() { // put your setup code here, to run once: pinMode(ledPin, OUTPUT); digitalWrite(ledPin, LOW); Serial.begin(9600); } void loop() { // put your main code here, to run repeatedly: if (Serial.available() > 0) { state = Serial.read(); flag = 0; } if (state == 0) { // Compare with integer 0 digitalWrite(ledPin, LOW); if (flag == 0) { Serial.println("LED: off"); flag = 1; } } else if (state == 1) { // Compare with integer 1 digitalWrite(ledPin, HIGH); if (flag == 0) { Serial.println("LED: on"); flag = 1; } } }
@melledijkstra55439 жыл бұрын
Amazing, for an Arduino beginner this is great feeling when everything works :) Already coming up with ideas to create with bluetooth. Thanks for the video it helped!
@HoozeBead8 жыл бұрын
Really good and basic tutorial ,Mate! :) English isnt my mother tongue, but i had no problems understanding you. Subscribed!
@Agrucho6 жыл бұрын
Nice video presentation, some points to comment: The HC-05 module used in this tutorial clearly states "3.3V LEVEL" at the RX input pin 0:33 . The use of a voltage divider (1k/2K) is recommended. Also a resistor (470-1K) in serie with the LED is recomended. (The Arduino ATMEGA328 is being stressed out of specifications).
@michaelmoroz63325 жыл бұрын
Thanks a lot!!! I faced some troubles with my HC-10, but you tutorial has helped me :)) Great video!)) Code I've used is below: int LED = 12; int state = 0; int flag = 0; void setup() { Serial.begin(9600); pinMode(LED, OUTPUT); digitalWrite(LED, LOW); } void loop() { if(Serial.available()>0) { state = Serial.read(); flag = 0; } if (state =='0') { digitalWrite(LED, LOW); if (flag == 0) { Serial.write("LED: off"); flag = 1; } } else if (state =='1') { digitalWrite(LED, HIGH); if(flag == 0) { Serial.print("LED: on"); flag = 1; } } }
@prithvi0parimal10 жыл бұрын
for TX and Rx there is a 3.3V level, so according to me we should be using resistors or potential dividers as the uno board output is 5V. am i right???
@wanghuwanghu10 жыл бұрын
That depends on which blue tooth board you're using.
@robertdubya7399 жыл бұрын
Sons_of_Liberty because if you measure the voltage emitted by the TX pin it registers at slightly less than 5 volts.
@taejunjeon48479 жыл бұрын
Hi I have followed all the directions from your video and have established connection with the bluetooth and my phone. However, the LED will not respond when I send the signals from the Smartphone. The only difference between your case and mine is that I'm using a Arduino Leonardo instead of the Uno.
@PreciousOpal8 жыл бұрын
How come other tutorials are putting voltage regulator for the tx in on the arduino to prevent damage to bluetooth because it states only 3.3v ont he txd pin on the bluetooth module??
@shardulgadadare82204 жыл бұрын
awesome video! can u plz tell if u we can connect arduino to a bluetooth speaker using a blutooth model?
@brightideas57824 жыл бұрын
Awesome video thank you, questions I'm trying to use a relay switch to a Bluetooth to turn on a light by a vibration sensor to a Bluetooth so I have no wires can you help
@chandrasudheer69 жыл бұрын
Hi, what Bluetooth profile is used here? is it serial port profile?? can we connect remaining profiles to other devices??
@Zhaymoor9 жыл бұрын
hey I am using HC-06 and it's working perfectly on both 3.3v rx tx level and with 5Vvel, d level don't hesitate trying any of them it's so stable but I am wondering why can't I send data over Serial monitor too while I'm receiving the data which Arduino sends over Bluetooth on the serial monitor ?!!
@michaelszabo30715 жыл бұрын
Why would anyone give a thumbs down. Absolutely perfect video, step by step and simply presented. Bravo good sir.
@ofsanjay9 жыл бұрын
from 2 day i am trying to on led by hc-05 ..but nothing happen . But Today i upload code to arduino without connecting any wire of hc -05 and led and.... this work And thanks for this video ...
@vardeep2778 жыл бұрын
+ofsanjay can you just tell me how i am also using hc05
@scottashcraft76525 жыл бұрын
Very plain english and easy to get started. Thank you sir!
@antoniobugarin10 жыл бұрын
Thank for your video. One question, on my Ardudroid, I can't change the pins, it's stuck on 11, what am I doing wrong?
@rramesh6810 жыл бұрын
Hi am new to Arduino and just getting my feet wet. One basic question what is the difference between the HC 05 bluetooth module and the BLE shield that I see on other videos. The other question I have is have you used the HC 05 to control more than one appliance in the same project? any advice and code share will be much appreciated. Great instructional video by the way.
@akshatsehgal87534 жыл бұрын
Can you make a tutorial on how to use these Bluetooth modules as a transmitter? To be honest I want to make an audio transmitted so that I can connect bt speakers and headsets to it. The ones available on the market are quite quite expensive so I thought if I can utilise one of these modules it'll be cheaper.
@mohammedzaman19377 жыл бұрын
i set it up exactly like yours. but when i touch 13 the light wont turn on or when i send 1 to the module. But when I move the sliders the light comes on and turn off at particular point on the slider. any suggestion would be nice.
@himu-mn1dr9 жыл бұрын
I want to connect an Arduino Uno to an Android phone via Bluetooth. Between these two modules(HC-05 Bluetooth Module and JY-MCU Bluetooth Module) which one will be better ?
@amanwithnohands9 жыл бұрын
so with a second arduino and bluetooth I can control a servo with Pot rather than a phone controller?
@avichalsharma385610 жыл бұрын
You have videos for a lot of things I had been looking throughout the internet for a long time (like key logger, how viruses replicate and this video). Keep it up :)
@avichalsharma38569 жыл бұрын
Sons_of_Liberty lol you got it all wrong, I just wanted to know about all this stuff for my own curiosity.
@rc3d4906 жыл бұрын
Lammer in progress?
@iamanubertuber9 жыл бұрын
Can you comment on the difference between the Bluetooth Module and the Bluetooth shield for arduino ?
@shellybellykitty8 жыл бұрын
I am able to pair the bluetooth to android and connect it within the app. But when sending 1 or 0 the LED never lights up. I'm not sure what I could be doing wrong- any help would be appreciated!
@patrickvanweeghel8 жыл бұрын
no
@nnikolaj8 жыл бұрын
Hi, I have the same problem, when i am connected to bluetooth device and press 1 then nothing happens. If I press repeatedly then I lose connection to Bluetoothdevice?
@rolandoaguilera31148 жыл бұрын
I had the same problem, try downloading arduino bluetooth controller app. Apparently the mentioned app on this video doesn't work
@seanlyon28702 жыл бұрын
Nice intro! I have a ball launching machine with 4 motors controlled by using arduino uno + adafriut shield V2. Is it possible to remote control the power (12V) so that I have the freedom to turn the machine on/off from a distance? Any help?
@unique1o1-g5h8 жыл бұрын
doesn't that app has to be compatible with the software u written?? please correct me if i'm wrong
@mariolococo23839 жыл бұрын
Is there any initial programming of the Bluetooth module required?
@pavangm68676 жыл бұрын
How can I transmit the sensed data to android app ?? Is there any videos that you can point to !! Thanks in advance
@rehpej8 жыл бұрын
hi. i would like to know if it is possible to use push buttons instead of an android phone?
@FiR3Dr4g0n9 жыл бұрын
i want to make a similar project but, i want after detecting the phone using NFC i want my phone to be paired with my computer's bluetooth. is it possible?
@nikitabansal74178 жыл бұрын
hello @tinkernut Labs. I am NOT able to "connect" my "already paired" HC 08 bluetooth module to mobile (android 4.4). I have tried different apps, ArduDroid, Bluetooth SPP Pro, Bluetooth Terminal. But hc 08 still never connects, but only gets paired. On serial monitor, it shows OK+connected, the led on HC 08 is constantly on after pairing and remains until the connection finally fails. Any suggestions, what is wrong?
@sitiirani31989 жыл бұрын
hi! can i use bluetooth module to communicate between arduino and android smartphone to act as proximity sensor. what i mean is when bluetooth signal less than certain value, android will trigger some action (for example sms) to phone. for this i am using 1sheeld
@JaredConnell9 жыл бұрын
What Bluetooth module should I get? Can someone suggest any specific sellers, I would prefer to buy it on amazon but there are so many to choose from, how do I know which one to order? It's hard to figure out the manufacturer because they are all so similar but don't have any markings telling where they came from. Also, what is the difference between slave and master? And why would I need one or the other? Thanks!
@Antiork9 жыл бұрын
+Jared Connell i answer this to get notified when someone answers this
@FrankLopezx9 жыл бұрын
+christopher jones what's the diff between the 05 & 06 ? i see one has more pins than the other. BTW i own like 20 nRF24L01+ and im yet to use it for my servo Tx or IMU Tx tho the example sketch does work on all maybe we can link up
@MPElectronique9 жыл бұрын
Hey. I thought that HC-06 wasn't 5v tolerant?
@tanayjain11109 жыл бұрын
Marc Paradis Yeah I thought the data sheet says it is 3.3 operating voltage?
@wltr23029 жыл бұрын
+Marc Paradis do you how he did it? I though he would place voltage divider but he never did...
@awswift13917 жыл бұрын
Why do we need a breadboard? can we not just connect the bluteooth module to the arduino with wires?
@watermelon98845 жыл бұрын
is it ok to install this in my motorcycle for key less.? but my problem, i want my andruino only my phone can connect the bluetooth.. can you give us, or link us the tutorial thank you.
@ChamathNimantha9 жыл бұрын
Nice tutorial for beginners like me. Easy to understand.... Thanks man....
@shahadsami21587 жыл бұрын
I am using HM-10 BLE, downloaded the application , but there is no way to make a connection between the phone application and the Bluetooth .. please any idea ?
@YourMumsRightTit9 жыл бұрын
Is it possible to send information from the Arduino to the Android App? I.e. press a Button and the Bluetooth Module sends some information to the paired Android App?
@patrickfarnworth648210 жыл бұрын
Is there an app for iOs that can do this?
@patjohn7754 жыл бұрын
ArduinoBlue
@nnikolaj8 жыл бұрын
Hi, I've connected me up to my bluetooth device HC-06 via smartphone. When I try to use it disconect off and applying again so that bright flash its on, and ready to reconnect!? Do you have suggestions on what I should do? I have unfortunately no more Bluetooth devices to test with. Please help me :)
@jamesanderegg76557 жыл бұрын
I built the game snake on a Arduino Uno board with a bluefruit LE shield and 16 x 16 light board. I can use my smartphone and the bluefruit app as a controller. It works great! But now I want to make it multiplayer. Can the bluefruit shield which I understand is a peripheral device have multiple discoveries and connections?
@rambonetor4411 жыл бұрын
How do you show the text you are writing in the bottom?
@LindLHeart10 жыл бұрын
Hi, i have a question and i hope you guys can help me with this. how does the arduino actually know actually know which data it is going to send or receive? in which part of the code does it do that? i want to make two arduinos one having a HC05 as a master sending data over to a HC06 slave on two different laptops. I hope you can answer me.
@akratooos8 жыл бұрын
can we use the S2 TERMINAL app instead of arduDroid to control the LED?
@JonnyRKR9 жыл бұрын
Is that LED getting 5v? I guess this is ok for demonstration purposes, but this will likely burn out your LED if left on like that long term.
@CoolTroniks9 жыл бұрын
Arduino has a resistor on pin 13 so no problem connecting an led only on pin 13.
@JonnyRKR9 жыл бұрын
+CoolTroniks Damn, I didn't know that. So much to learn. Thanks!
@TheRandolph239 жыл бұрын
Is the bluetooth device name "linvor" and the password "1234".same for all arduino bluetooth modules? The reason is that when I ordered it in the mail I didn't receive a booklet or directions regarding the bluetooth module.
@TedMad19 жыл бұрын
Randolph Herbert the default is either 1234 or 0000
@abidmahmud39838 жыл бұрын
why did not the bluetooth module burn?as the reciever port of bluetooth is only 3.3v but sending 5v through wire should have burnt it
@NaderTheExpert8 жыл бұрын
Good point.... have the same question/concern
@stealth50k7 жыл бұрын
Abid Mahmud Some Bluetooth modules convert 5v to 3.3v because the onboard arduino 3.3v doesn't supply enough current for it to be 100% stable.
@Agrucho6 жыл бұрын
The HC-05 module used in this tutorial clearly states "3.3V LEVEL" at the RX input pin 0:33 . The use of a voltage divider (1k/2K) is recommended. Also a resistor (470-1K) in serie with the LED is recomended. (The Arduino ATMEGA328 is being stressed out of specifications).
@QuebecoisSti5 жыл бұрын
Is there a way to use hardware serial (arduino RX/TX pin 0,1) with Blynk app ?? I know the standard code use the software serial but I don't have anymore pin available on digital.... Can't figure out how to use pin 0/1 with Blynk..... i search on google and can't find a complete working solution Thanks for your support
@brothertiny10 жыл бұрын
Is it possible to control two HC-06 with one phone at the same time?
@Oliviamorgan1810 жыл бұрын
Are there any resources for iphones, most of the apps I found to interface with an arduino are for androids only. Thanks!
@kronoszombieguidesapp5 жыл бұрын
typically not, because ios apps are generally speaking more of a pain to set up, even for personal apps that never hit the store.
@franciscosanchez94069 жыл бұрын
where can i get all the items
@tungruffel8 жыл бұрын
I would like to connect the Arduino to my PC using Bluetooth instead of USB. I'm building a CNC. Is that possible? Thanks!
@MarkeFace8 жыл бұрын
+tungruffel You have to buy a bluetooth adapter, its really cheap, and download or make an app to controll the arduino from your pc
@tylersnard6 жыл бұрын
This is an odd comment, but your enunciation is excellent.
@suleymancimen6 жыл бұрын
Thanks for video. With my at-09 (cc2541) it seems impossible to pair with mi6 android phone. i tried many alternatives such as password, connections (3,3v and 5v ) etc. do you know the solution?
@wackyywaferjg64866 жыл бұрын
Can I just buy a usb to bluetooth adapter and plug it into the usb on my 3d printer?
@tyflos0987 жыл бұрын
can we reserve the comunication press a buton and do something on the android app ?
@abdulmalik3289 жыл бұрын
it says that: syntax error at C:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf:348 What's the problem?
@artashworth12719 жыл бұрын
Every time I enable the serial monitor the LED goes from blinking to off. I can connect to HB02 but i cannot change state of LED.
@shallywag97967 жыл бұрын
i have the same problem
@johnjose3717 жыл бұрын
me too
@akeemlouigarde46895 жыл бұрын
Yeah I don't get that problem, im still trying to solve it
@masterfastermasterfaster10 жыл бұрын
HELP plz, I can receive every command from serial monitor on my phone but I can´t send anything, no reaction. I use Arduino Uno and the HC05 bluetooth module (has 2 more extra pins, Key and 3,3V... unused) thanks in advance
@akeemlouigarde46895 жыл бұрын
same here
@ryanross77858 жыл бұрын
I cant connect to the HC-06 because my phone doesn't have the menu button. I have an at&t ZTE gophone. Does anyone know how to get to the apps menu up without the button?
@azulkothari58618 жыл бұрын
I had the same problem. Go to your phone's settings and connect to bluetooth from there
@ryanross77858 жыл бұрын
Azul Kothari I've tried but for some reason it still won't work.
@mvraa31137 жыл бұрын
For anyone with this problem. Try downloading this app instead: Bluetooth Terminal HC-05. Works about the same - connect to bluetooth and send 1 with the text input field. UPDATE: Just found figured it out. You can bring up the menu by holding down the back button.
@flamingo5128 жыл бұрын
Thankyou very much, I got my bluetooth module successfully running
@prakashs47866 жыл бұрын
hello sir I need to control my robot using hc-05 and aslo simultaneously send my ultrasonic reading is it possible....??
@kafou20119 жыл бұрын
I am having a problem selecting the port number. Nothing is appearing as option to pick. Please help me solve this issue. Thank you
@Antiork9 жыл бұрын
Hey, i want to write my own gui, but i cant figure out what to write in order to connect via bluetooth, any help?
@tomevans14819 жыл бұрын
My HC-06 is paired to the Android and PC, but not connected. Any ideas on how to proceed?
@CoolTroniks9 жыл бұрын
+Tom Evans Try using s2 terminal for bluetooth app
@himu-mn1dr8 жыл бұрын
Could you explain this part ? // parse incoming command type ard_command = Serial.parseInt(); // read the command // parse incoming pin# and value pin_num = Serial.parseInt(); // read the pin pin_value = Serial.parseInt(); // read the value
@BRENDAN285 жыл бұрын
Is this app for the Arduino open source? So that I can use it in my own app?
@upendragandhi37305 жыл бұрын
yes
@BRENDAN285 жыл бұрын
@@upendragandhi3730 cool thank you
@ivan-petrovich-IV13 жыл бұрын
Will connecting it directly fry the chip
@harnusa10 жыл бұрын
Nice video. I'm having problem connecting my Nexus 5 to HM-10. It's detected, but I can't connect to it when I tried. What should I do with this?
@harnusa10 жыл бұрын
Nevermind, found the solution. Apparently you need Bluetooth LE compatible app.
@vipulballupet882910 жыл бұрын
ade harnusa azril well i am using samsung galaxy... Can u tell me how u did it?? Thanx in advance!!
@gigipinguino6108 жыл бұрын
in the void loop is not:"state = serial.read ()" but "state = Serial.read ()" with the S
@asifayoob94818 жыл бұрын
when i am uploading code this message is showing... fatal error: AFMotor.h: No such file or dictionary #include compilation terminated. exit status 1 Error compiling for board Arduino/Genuino Uno.
@sur_official6 жыл бұрын
go to your library and manage libraries and then download and install the AFMotor library and it should fine by then.
@simple-funarduinoandprojec67866 жыл бұрын
does the code works with latest version of arduino?
@wuseemzoabi92008 жыл бұрын
Hi, i am trying to connect 10 drones to my mac via bluetooth LE and control them at the same time. is there anyway that i can use Arduino to do it? because the bluetooth device can connect to 7 slaves at the most. thank you :)
@oldsilenthill18 жыл бұрын
is that possible?, what kind of BT?, i knew only 1 device can connect to bt at the same time
@navin70883 жыл бұрын
@@oldsilenthill1 yes only one bluetooth system transmits and receives to one bluetooth module at one time
@LivingIndigenousArt10 жыл бұрын
so what do i do if it doesnt connect to the bluetooth? ardudroid cant find any scans
@ProGodBless9 жыл бұрын
it should be Serial.read(); not serial.read();
@thedankoona_58548 жыл бұрын
awesome! but i want to control 6 LEDs. but the code doesnt even work for me. could anyone help?
@FrankLopezx9 жыл бұрын
using that app im able to use the GET DATA but not the SEND DATA? why is that i cant toggle the led on pin 13 using this app but i can use my pc terminal to type in 1 or 0 to get it to go on and off help please
@larryplayaccount16939 жыл бұрын
+Frank Lopez it should be if (state == 0) without quotation mark, also for if(state == 1) hope this help
@FrankLopezx9 жыл бұрын
larry coc thank you, do you know of any tutorial that helps you use just this module "well 2 tx/rx" to switch on and of a dc motor or any motor for that matter?
@NoKizzy128 жыл бұрын
Whats a good alternate app to use fro iPhone?
@esaskhan958 жыл бұрын
Im confused with the flag variable. Why are tyou changing the flag value to 1 in every if statement
@charlesman58709 жыл бұрын
I use my phone to connect to the arduino broad. When I click connect, the red light on the bluetooth broad keep lighting for 5 seconds but it keep blink after it and my phone show that unable to connect. What happens :(
@charlesman58709 жыл бұрын
+Tinkernut Labs PLS Help me...
@XizieGamer9 жыл бұрын
Is there an alternative app for iPhone users?
@gregschneegass18439 жыл бұрын
Can get tablet to connect to RN-42 BT but not able to turn the LED on and off. Using ArdruDroid to control LED, no dice.....
@michellelazaro33329 жыл бұрын
***** Same, did you ever figure it out?
@waterbottleflipper44698 жыл бұрын
can it work with an ipad mini thats able to connect with a bluetooth
@holahidid38 жыл бұрын
How do you name the bluetooth device?
@namanjain75847 жыл бұрын
what is the application of arduino uno bluetooth module
@OscarFernandez9 жыл бұрын
Amazing video it's very simple use the bluetooth module thanks for the help.
@gerardlara40405 жыл бұрын
its very simpe explanation!!! about it, clare very clare!! about the bluetooth module!!!! waauu
@samio543219 жыл бұрын
Apparently my bluetooth module was fried with 5v RX/TX.... It was working for the first several times, than I can never see the module again when I scan for bluetooth.
@Tinkernut9 жыл бұрын
+Kuang-Yu Samuel Chang As I said in the video, you need to make sure your bluetooth module supports 5v
@baldhat1178 жыл бұрын
You can use an voltage divider for diminishing the voltage on the rx/tx pins from 5v to 3.3v
@tayaaron192110 жыл бұрын
How do i programme it in android studio?
@brianrosado72115 ай бұрын
The app dosen't exist anymore. What other app can I use?
@almirbosnjakovic618310 жыл бұрын
on my bluetooth module i have 6 pins (state, rxd, txd, gnd, vcc, en) how do i connect this 1?
@igrewold10 жыл бұрын
try using just 4: rxd, txd, gnd, vcc
@vardeep2778 жыл бұрын
it is not working... i dont know just why.. the hc05 is connected but the led is not glowing and the Rx light is also not glowing.... please help!!!
@carrot71438 жыл бұрын
+vardeep sandhu did the mix up the ground and VCC wires
@vardeep2778 жыл бұрын
+Apple Jailbreaker i just chee code first cked it... all the connections are just as described... VCC ==5V GND==GND Rx==Tx Tx==Rx..
@vardeep2778 жыл бұрын
+Apple Jailbreaker i put the code first using Software Serial library then after that i connected the circuit gave external 9 v input to adruino , paired with the hc05 module and the Led is not working
@AndreChampoux2 жыл бұрын
CAPS matter. Your video has a code error void loop() { if(Serial.available()>0){ state = Serial.read(); flag=0; SERIAL needs to start with CAPS "Serial", you have 'serial'. state = Serial.read();
@munch15a9 жыл бұрын
can anyobne recommend a way to do this from a computer dont have a smart phone
@vaughananderson45278 жыл бұрын
try bluestacks?
@tannerbeard28408 жыл бұрын
get a usb to bluetooth adapter
@MrJefferson1058 жыл бұрын
use putty
@void_chicken8 жыл бұрын
Bluestacks will bombard you with ads and isn't for developing. Likely wont work for bluetooth. Use Andyroid with a computer that has bluetooth support.
@void_chicken8 жыл бұрын
Bluestacks will bombard you with ads and isn't for developing. Likely wont work for bluetooth. Use Andyroid with a computer that has bluetooth support.
@Joe_Dirtee7 жыл бұрын
What is a good ios app to do similar functions ?
@ctson8 жыл бұрын
Thanks alot for your important information Tx comes with Rx and Rx comes with Tx. I messed up with connecting Rx to Rx and Tx to Tx like I used to connect an Arduino Pro Mini via Arduino Uno to PC.
@diwassubedi777810 жыл бұрын
where is the next part of controlling a bot with aurdino and bluetooth and android
@arduinoandbeyond16685 жыл бұрын
I don’t understand the “flag” statement, what is it used for?
@kyanmertens76365 жыл бұрын
I don't understand it either, and I watched the video a few times now. If anyone can give us an answer on that, would be very nice.