Electronic Basics #4: Arduino+Bluetooth+Android=Awesome

  Переглядів 696,376

GreatScott!

GreatScott!

День тому

Twitter: / greatscottlab
Facebook: / greatscottlab
Previous video: • Electronic Basics #3: ...
Parts (affiliate links):
Amazon.de:
Bluetooth module: amzn.to/1f3nUyT
Arduino Nano: amzn.to/1d4H1w1
Aliexpress:
Bluetooth module: s.click.aliexpress.com/e/_dW5...
Arduino Nano: s.click.aliexpress.com/e/_dUL...
Arduino Sketch: www.mediafire.com/download/hx9...
Adding bluetooth to your arduino project is simple and super awesome. I will show you how to control your gadgets with your android smartphone.
Music:
Killing Time, Kevin MacLeod (incompetech.com)

КОМЕНТАРІ: 355
@FumetsuNoAnataE
@FumetsuNoAnataE 6 років тому
GreatScott's definition of "Basics" = "Archmage in Electronics"
@KasisnuSingh
@KasisnuSingh 9 років тому
This is the most awesome resource I've come across for working with the HC-05/06!
@jianyu1398
@jianyu1398 6 років тому
Thank you so much! The voltage divider is super helpful and saved me the trouble!
@knaadhan2918
@knaadhan2918 7 років тому
I'm just 16 years old, I understood your code and connected the module just as like you told and it worked perfectly. Your videos are really awesome, easy to understand not very complicated.
@tj-xn2jb
@tj-xn2jb Рік тому
Can you teach me
@Jeevan24
@Jeevan24 3 роки тому
Live from India! I'm your subscriber for past 6 months and I'm well satisfied with your videos and those all videos were super and awesome... 😍😍😍😍
@TeamZ33RO2
@TeamZ33RO2 7 років тому
Just getting started with the arduino and such for a lighting project, I found this video very helpful for hooking up the arduino+module. I can't seem to understand what all the hate comments are about. The only slight issue I'm having is reliablility (getting incomplete messages), but this maybe a faulty device or software on my behlaf
@dreamcatcher8385
@dreamcatcher8385 7 років тому
hi scott,,u r really g8..i watched all ur 25 electronic basics..thank u so much for ur help and effort....thank u
@ammeydan
@ammeydan 6 років тому
a kind of a late comment, but you deserve it! i have just built this circuit with your code and explanation and it works great. thank you for teaching us so much about electronics and its awesomeness... love your videos, keep up the good work.
@toadiri
@toadiri 8 років тому
Another great video scott :) never stop dude, we need to learn all this stuff
@Kendric777
@Kendric777 5 років тому
Got to say dude I love your videos, keep up the good work.
@melplishka5978
@melplishka5978 2 роки тому
Awesome vid Scott. Your work with arduino is amazing.
@ynzeselders4184
@ynzeselders4184 8 років тому
I tried it and it worked great! Thank you
@johnnyclean8233
@johnnyclean8233 5 років тому
Hmm cool little project. Thanks for the tutorial!😀👍
@semphony100
@semphony100 9 років тому
thanks mate that was by faaaaar the best arduino bluetooth tutorial for beginners ever finally after a lot of search i was able to replicate this project and get my phone to communicate with arduino thanks a lot.
@DamaKubu
@DamaKubu 6 років тому
Omg I love u scott just what I needed
@TheNinjai74
@TheNinjai74 9 років тому
Yes it does look Freakkin awesome!!!!!!
@didierrechatin9765
@didierrechatin9765 8 років тому
Like the whole concept (the video AND the way to get some contribution)...If I buy I will definitely buy from you
@ayushpoudel7129
@ayushpoudel7129 7 років тому
You are good at electronics and watch TBBT.You are cool and intelligent.How freaking cool is that
@jamesnewton5245
@jamesnewton5245 9 років тому
hi thanks for this upload got it working straight away using your code!!! amazing!
@ascaniofiori6528
@ascaniofiori6528 5 років тому
Vielen dank. Das sketch ist toll !
@JohnSmith-he5xg
@JohnSmith-he5xg 8 років тому
Sweet, was wondering how to do the logic level conversion. Super simple and clean. Was also not sure it would work given the high Z of the input pin, but wiring the divider between VCC and ground makes a lot of sense. XD
@peepopalaber
@peepopalaber 8 років тому
Danke! Genau nach so einem Tut habe ich gesucht :)
@sachinreddy2836
@sachinreddy2836 6 років тому
Dude thanks man. Earned a new subscriber
@KarlsLabReport
@KarlsLabReport 4 роки тому
VERY useful stuff! Thank you!
@shader26
@shader26 2 роки тому
Great video. Would love to see one where you read from Bluetooth too. Actually I have a project, totally new to Arduino, where I want to use an SD card shield to log readings, and BT to read them over to my phone. It’s important too, it’s a septic tank where I plan on using sensors for distance, and not have to remove the top anymore and look down there!
@Motorsport_N54F01
@Motorsport_N54F01 2 роки тому
Did u get any info
@shader26
@shader26 2 роки тому
@@Motorsport_N54F01 hi. No. I mean I am in process of figuring it out. I made a prototype with Arduino Uno and a HM-10 “shield” and got it working great. But when I wired up the “final product” where I use an Arduino Pro Mini and HM-10 it’s been problematic. Telephone BLE apps aren’t getting replies, not for AT commands, nor to talk to the Arduino sketch program. Too hard to detail here but am trying many things now to see if it is as dumb as CR and LF messing up the hm-10 sending commands (defined in the sketch) further to the Arduino. Like I said, prototype works great.
@pastvanity
@pastvanity 3 роки тому
you don't have the slightest clue how much you helped me!
@tysinner
@tysinner 8 років тому
GreatScott.... you deserve a million subscribers!.... for all that hard work you do...
@MrPlastkort
@MrPlastkort 5 років тому
soon :-)
@leplayz4499
@leplayz4499 5 років тому
I'm from future. He has 1 Million subscribers now!
@B0A2
@B0A2 2 роки тому
This tutorial is excellent thank you so much
@tbmtech5651
@tbmtech5651 9 років тому
Great video!!! thank you for sharing!
@hansmosayolang9387
@hansmosayolang9387 7 років тому
Awesome dude this is so helpful :D thanks!
@DerekWelchElectric
@DerekWelchElectric 7 років тому
Worked great thank you very much sir.
@refayat7777
@refayat7777 9 років тому
Thank you for the wonderful intro video. I needed to know which bluetooth module can pair with Iphone. Do you happen to know any specific bluetooth shield? The ones that you have used, are those specific to android only? Thank again for your time.
@sebastiankranzinger3844
@sebastiankranzinger3844 6 років тому
"But I have to say, those things are fragile objects!" *throws them on table*
@carlabihawbar7459
@carlabihawbar7459 3 роки тому
He was saying fragile for voltage
@finster101
@finster101 7 років тому
Love your channel and videos! Is it possible to change pairing name/code? For example if you had 2 bluetooth project near each other and want to pair with one not the other. Thanks
@adityang8666
@adityang8666 9 років тому
Just awesome
@Vojin-sb2lo
@Vojin-sb2lo 5 років тому
I made something like this but voice control. I used arduino uno. It often turns light blue if i say red. Its so cool: Thank you :)
@bholster8073
@bholster8073 6 років тому
Thank you for sharing.
@SkjoyBd
@SkjoyBd 4 роки тому
Great video. Keep up the good work.
@helmut987
@helmut987 4 роки тому
hi many thanks for the vid, very interesting, so i can use my bluetooth modul by the way
@supercomputer3476
@supercomputer3476 7 років тому
It works so fine! I build this too and it is awesome!!!!! Thank you for your cool Video! And make more Videos!!!
@lukasheiligenbrunner2272
@lukasheiligenbrunner2272 7 років тому
Thank you!! Really nice tutorial... During using without a PC I needed a pull-down resistor at the RX pin. Without it the RX signal LED lights allways up and it doesn´t work... ((;
@gaetanocaccavallo4772
@gaetanocaccavallo4772 6 років тому
HI, i'm new into electronics. I've got a question. I tried to make a voltage divider with 2k and 1k resistors. The ratio is the almost the same. Is there any motive to use 4.7k and 2k resistor like you did? or i's the same?
@kbssaprodussoes
@kbssaprodussoes 7 років тому
Hi, greatscott, huge fan of your videos here, i downloaded your code and i see that is inverted, when you write the collor in fact the pin for the collor turns LOW, my question is: it is really inverted or I am doing something wrong? :D
@elecnut8211
@elecnut8211 7 років тому
Love all the great info but at 2:10 you are showing a 5 pin module. should it be a 4 pin module ?
@karanparekh2329
@karanparekh2329 8 років тому
Dude your channel is awesome! keep up the good work :D However, I did not understand one part of your code.. why have you used an "!" before the strcmp() function? :/
@mintcat2308
@mintcat2308 6 років тому
SERIUSLY GOD BLESS YOU MEN THNX
@AdventuresOfHari
@AdventuresOfHari 9 років тому
HEY GREAT SCOTT!! UR VIDEOS ARE JUST AMAZING!!! LOVE WATCHING THEM AND THE LEARNING PROCESS JUST GETS BETTER!! DO U HAVE PLANS OF MAKING A SMART WATCH WITH ARDUINO ANYTIME ?? WITH A NOKIA 5110 LCD ,BLUETOOTH MODULE AND AN ARDUINO PROMINI... IT WOULD BE REALLY GREAT IF U LET US KNOW HOW TO GET ONE WORKING!!
@leestons
@leestons 5 років тому
Why are you typing in all caps you irritating dickhead.
@louisferreira1012
@louisferreira1012 5 років тому
could this be adaptable to a Digital Potentiometer function where instead of controlling whether the LED is on/off, it could send signals to tell the digipot whether to increase or decrease its resistance? thanks
@messcommand7819
@messcommand7819 7 років тому
GreatScott!
@mohamedfaroukel-alem7253
@mohamedfaroukel-alem7253 9 років тому
I would like to thank you very much for your valuable explanation :)
@greatscottlab
@greatscottlab 9 років тому
Mohamed Farouk El Alem You're welcome! ;-)
@jaymanthefreak
@jaymanthefreak 9 років тому
I believe that the IOs are 5V tolerant. You don't need the voltage divider - though it does not hurt anything :)
@lozbrown1985
@lozbrown1985 9 років тому
Do you think you could combine this with some of your other tutorials to make a wireless bluetooth ambilight clone?
@eddetuinman7772
@eddetuinman7772 8 років тому
Can I also use a hc-05 bleu tooth module
@bigmulujamesjimmy
@bigmulujamesjimmy 9 років тому
Great job! including sheldon coopers confirmation on bluetooth, how can i get a schematic for this in jpg or pdf from you i could use this for my studies please.
@sayantanmaiti2513
@sayantanmaiti2513 7 років тому
Awesome one working so nicely, can u plz suggest me whether I can produce more colours with it .
@IReallyLikeWaffels
@IReallyLikeWaffels 9 років тому
hey could you make a video on a desktop/ or even portable remote for this system where you only need to press a button/ turn a dial to change the lights? that would be much cooler than typing text in a terminal app
@Johnathonkolegraff
@Johnathonkolegraff 9 років тому
This is the clearest video tutorial I have seen to date. Can you make one for the WIFI? Thank you.
@greatscottlab
@greatscottlab 9 років тому
djthoth1 I will think about it.
@Debrugger
@Debrugger 9 років тому
Can you please make a video about how to make to arduinos communicate (i really just need a serial connection to either send a 1 or a 0) with these modules without a smartphone?
@christophschubert5191
@christophschubert5191 8 років тому
Hey Great Scott! I have a little problem I built a LED cube and wish to proceed with the mobile phone On / Off Switch what's the best solution mfg Chris
@legodesigns1
@legodesigns1 7 років тому
Hi Scott, Can I make this tutorial with a HC-08 too? Thanks for your Help.
@szekelyferenczzoltan2274
@szekelyferenczzoltan2274 8 років тому
+GreatScott! you can not just set a pin to input mode to work as a receive pin instead the RX pin?
@m.4074
@m.4074 8 років тому
Could you make a video about the AT commands? I don't found a way to change the name of the modul. I found the right AT Command, but not how I transfer it through the serial monitor to the bluetooth modul.
@iliazark1
@iliazark1 7 років тому
what are the tow last lines of code inside the ''void loop'' for.What deos this ''check_protocol'' mean. I am trying to build my own program but everything i send gets converted into single digits or single letters. for example( 1234-> 1 2 3 4)
@tinelogar6312
@tinelogar6312 7 років тому
Great video!!! But I am just missing one thing - sketch explanation. :)
@ruturajyellurkar9588
@ruturajyellurkar9588 7 років тому
do we need to include the softwareserial to get the Bluetooth module working.
@xinjundong3065
@xinjundong3065 8 років тому
I might miss the description, but I did not see the link in the description. Would you please send the link again? Thanks
@Ray-by2ix
@Ray-by2ix 5 років тому
Hi... I got a question that I think you could help me. I have an Arduino project with the Fingerprint module. After i finished it, I want to register a new fingerprint to my project but I want to do it without connect it to the computer. But I want to register it through Android Application that I made using the MIT APP INVENTOR. After that I am confuse at how to write the Arduino code ... So I really hope that you can help me to finish this project
@jumbo999614
@jumbo999614 4 роки тому
I saw some diagram show that you need 1k+2k to create divider. But in this video you use 4.7k + 2k. Is there any difference? Also function allpinslow() but it sets all to HIGH which is the opposite of the function's name.
@VISHESHKUSHWAH
@VISHESHKUSHWAH 9 років тому
Sir,Isn't there any simulator that includes module components so that no hardware requirement would be there.I liked the video.
@brendandavidson6449
@brendandavidson6449 8 років тому
+GreatScott! OK, the sketch that I downloaded didn't look like the one that you were using. That sketch only uses a single color led and I send 1’s or 0's. Even that didn't work. I am a beginner at electronics and I like your videos because they are informative and it is a nice thing to watch. Thanks!
@gaborhajdu586
@gaborhajdu586 6 років тому
maybe someone already asked this... can you make the program to look like a controller? And are you able to transmit video to your phone?
@erin2150
@erin2150 7 років тому
What language are you using to program with for electronics?
@MrSamuel9126
@MrSamuel9126 8 років тому
The arduino nano gave me problems with it's integrated FTDI serial to usb chip regarding the drivers. I used the nano 3 but the clone version
@egonsvensson2728
@egonsvensson2728 9 років тому
Nice BT-work ;) It's a little bit frustrating to remove the Tx and Rx-cables all the time while uploading new test-sketches, so I had to include the SoftwareSerial library and use 2 other pins for communicating *Problem solved* :)
@greatscottlab
@greatscottlab 9 років тому
Egon Svensson Good idea!
@mihirbosemj
@mihirbosemj 9 років тому
Can the bt module be used with a standalone arduino which doesn't have usb to serial conversion chip?
@marethnoethno2703
@marethnoethno2703 7 років тому
This module cost at 2.36 for the receiver unit HC-06 at aliexpress/Banggood and the Transceiverer / Receiver module hc- 05 bout one buck more 3.36
@thedream7504
@thedream7504 4 роки тому
Thanks
@aduedc
@aduedc Рік тому
I wonder if you know how do you make master blue tooth device with Arduino? I am designing a phone and need to connect it with blue tooth headphone and mic. How to pair head phone and mic with arduino.
@zaboky
@zaboky 8 років тому
can you use attiny85 with this bluetooth module to control, lets say, leds?
@eeshanej3506
@eeshanej3506 7 років тому
what software do u use to edit your videos
@ABC-vd1zl
@ABC-vd1zl 7 років тому
First time I noticed you're from germany! Do you mind asking where you are from?
@raulcab.672
@raulcab.672 7 років тому
where can i learn more about those arduino things? That from 1:20 and also what is that white board in wich he plugs everithing
@Omarbg95
@Omarbg95 8 років тому
Can you use the Arduino to Detect distance between bluetooth devices? or use it to detect where are the bluetooth devices? :D
@skatefreak381
@skatefreak381 5 років тому
is there also a way to do this with an iphone and what app should i use
@brendandavidson6449
@brendandavidson6449 8 років тому
Where is the sketch that you used in the video? I used the link in the description and it wasn't the same sketch. Any help would be great! I love your videos! Thanks!
@greatscottlab
@greatscottlab 8 років тому
+John Davidson The description should offer the same sketch
@farhankhatri4937
@farhankhatri4937 8 років тому
+GreatScott! hey ! greatscott where did you learn all your arduino codes from ?
@rangeispow
@rangeispow 6 років тому
Would everything work fine if I use 3V into RXD? I don't have a 4.7k resistor so I'm using five 1k resistors to get 3V.
@p1nesap
@p1nesap 9 років тому
good job.
@bryanbischoff1008
@bryanbischoff1008 3 роки тому
My WEMOS board wont even turn on if the voltage divider is connected. Do i really have to disconnect and reconnect every time I want to turn on my lights?
@jetray5914
@jetray5914 4 роки тому
Is there any way to connect an alexa to arduino to control projects in that way
@alphredblock3413
@alphredblock3413 5 років тому
Realy nice, i started with arduino starter kit dezember 2018. And ich try to understand how to use arduino for smoller projects. Like your Video. Can I use the colors in between of RGB Basic colors of is it Not possible with this code?
@gopalkrishna4520
@gopalkrishna4520 8 років тому
heY scott instead of using diff colours can i use diff ckt work on this
@consig1iere294
@consig1iere294 8 років тому
Is it possible to make a multi-channel bluetooth audio receiver with Arduino? The ones they sell on Ebay is just stereo.
@ahmetselim1166
@ahmetselim1166 3 роки тому
do I have to use resistors and I couldn't find 2K resistor is there any option left for me?
@bretthouser13
@bretthouser13 3 роки тому
I could really use the theory behind the voltage splitter. An equation on the resistances would be excellent.
@KorvusTheMad
@KorvusTheMad 3 роки тому
Vout = Vin(R2/(R1+R2))
@davebacknolaliki1452
@davebacknolaliki1452 Рік тому
Note that this is completely okay for logic signals as he is doing here that you’re simply reading but this is not something you would want to use if you are providing power to a load. Since the current through a load may vary, so will the resistance in parallel with “R2” which will throw your voltage divider off. A voltage divider is not regulated and you will effectively be making a variable voltage at the point your supplying that voltage from. Also in higher current applications you’re wasting all of that power as heat, nothing that we would really see here with this setup. Voltage dividers are also used on the gate side of a mosfet for noise reasons when using it as a switch or for DC biasing when using it as an amplifier.
@SteffoSpieler
@SteffoSpieler 6 років тому
Was zählt denn zu 5 Volt Daten? Ich betreibe mein Bluetooth Modul ohne das extra und es funktioniert super!
@TimothyCareyDV
@TimothyCareyDV 9 років тому
You have a list of hardware and where do I find your code. I know something about electronics, but need a starting point for your project. Never have used arduino and just getting into making apps.
@a..d2062
@a..d2062 5 років тому
Just to let u all know the baud rate must be put to 38400 for it to work
@jaivalshah8977
@jaivalshah8977 6 років тому
Hey, how did you remove the pin key from the module.
@nnikolaj
@nnikolaj 7 років тому
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 :)
@amzbudazx6294
@amzbudazx6294 7 років тому
where can i get your programming code for this blutooth video... I hope this can very helpful
@tomaspilny8320
@tomaspilny8320 7 років тому
Is any way how to get code from you where are you setting brightness of RGB strip ? i would gladly appreciate it :D :D
Electronic Basics #3: Programming an Attiny+Homemade Arduino Shield
5:42
Bluetooth 2.0 VS Bluetooth 4.0 (BLE) || Is an Upgrade worth it?
7:54
GreatScott!
Переглядів 595 тис.
船长被天使剪成光头了?#天使 #小丑 #超人不会飞
00:28
超人不会飞
Переглядів 20 млн
Kitten has a slime in her diaper?! 🙀 #cat #kitten #cute
00:28
12 Useful & Interesting ESP32 Projects for Beginners!
9:41
ToP Projects Compilation
Переглядів 565 тис.
How to Control a 12V Motor with Arduino: Easy Wiring & Code Examples
44:13
Rachel De Barros
Переглядів 358 тис.
Mechanical  Switches are Obsolete?! Switch to a Latch Circuit! EB#53
10:36
From Brains to Bot: Arduino's Next-Level Journey with AI.
7:26
DIY Builder
Переглядів 292 тис.
I tried finding Hidden Gems on AliExpress & got NASA Technology?!
14:41
Your Powerbank has 1 BIG Problem! (That we can "Hack")
12:13
GreatScott!
Переглядів 337 тис.
Smallest and cheapest microcontroller -  tutorial
9:15
Volos Projects
Переглядів 103 тис.
All New Atlas | Boston Dynamics
0:40
Boston Dynamics
Переглядів 5 млн
Infrared Soldering Iron from Cigarette Lighter
0:58
ALABAYCHIC
Переглядів 1,9 млн
Эволюция телефонов!
0:30
ТРЕНДИ ШОРТС
Переглядів 2,5 млн
Broken Flex Repair #technology #mobilerepair
0:55
ideal institute aligarh
Переглядів 16 млн
СЛОМАЛСЯ ПК ЗА 2000$🤬
0:59
Корнеич
Переглядів 1,6 млн