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

  Рет қаралды 698,261

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)

Пікірлер: 354
@FumetsuNoAnataE
@FumetsuNoAnataE 7 жыл бұрын
GreatScott's definition of "Basics" = "Archmage in Electronics"
@toadiri
@toadiri 8 жыл бұрын
Another great video scott :) never stop dude, we need to learn all this stuff
@KasisnuSingh
@KasisnuSingh 10 жыл бұрын
This is the most awesome resource I've come across for working with the HC-05/06!
@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
@jianyu1398
@jianyu1398 6 жыл бұрын
Thank you so much! The voltage divider is super helpful and saved me the trouble!
@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... 😍😍😍😍
@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.
@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
@Kendric777
@Kendric777 5 жыл бұрын
Got to say dude I love your videos, keep up the good work.
@melplishka5978
@melplishka5978 3 жыл бұрын
Awesome vid Scott. Your work with arduino is amazing.
@SpacePumpking
@SpacePumpking 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
@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!
@ayushpoudel7129
@ayushpoudel7129 7 жыл бұрын
You are good at electronics and watch TBBT.You are cool and intelligent.How freaking cool is that
@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.
@TheNinjai74
@TheNinjai74 9 жыл бұрын
Yes it does look Freakkin awesome!!!!!!
@ynzeselders4184
@ynzeselders4184 8 жыл бұрын
I tried it and it worked great! Thank you
@KarlsLabReport
@KarlsLabReport 4 жыл бұрын
VERY useful stuff! Thank you!
@sachinreddy2836
@sachinreddy2836 6 жыл бұрын
Dude thanks man. Earned a new subscriber
@pastvanity
@pastvanity 3 жыл бұрын
you don't have the slightest clue how much you helped me!
@johnnyclean8233
@johnnyclean8233 5 жыл бұрын
Hmm cool little project. Thanks for the tutorial!😀👍
@peepopalaber
@peepopalaber 8 жыл бұрын
Danke! Genau nach so einem Tut habe ich gesucht :)
@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
@ascaniofiori6528
@ascaniofiori6528 5 жыл бұрын
Vielen dank. Das sketch ist toll !
@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
@jamesnewton5245
@jamesnewton5245 9 жыл бұрын
hi thanks for this upload got it working straight away using your code!!! amazing!
@hansmosayolang9387
@hansmosayolang9387 7 жыл бұрын
Awesome dude this is so helpful :D thanks!
@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.
@tbmtech5651
@tbmtech5651 9 жыл бұрын
Great video!!! thank you for sharing!
@SkjoyBd
@SkjoyBd 5 жыл бұрын
Great video. Keep up the good work.
@DerekWelchElectric
@DerekWelchElectric 7 жыл бұрын
Worked great thank you very much sir.
@B0A2
@B0A2 2 жыл бұрын
This tutorial is excellent thank you so much
@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
@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
@Vojin-sb2lo
@Vojin-sb2lo 6 жыл бұрын
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 :)
@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! ;-)
@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?
@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.
@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!!!
@bholster8073
@bholster8073 6 жыл бұрын
Thank you for sharing.
@helmut987
@helmut987 4 жыл бұрын
hi many thanks for the vid, very interesting, so i can use my bluetooth modul by the way
@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.
@jaymanthefreak
@jaymanthefreak 9 жыл бұрын
I believe that the IOs are 5V tolerant. You don't need the voltage divider - though it does not hurt anything :)
@adityang8666
@adityang8666 9 жыл бұрын
Just awesome
@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? :/
@messcommand7819
@messcommand7819 7 жыл бұрын
GreatScott!
@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... ((;
@mintcat2308
@mintcat2308 7 жыл бұрын
SERIUSLY GOD BLESS YOU MEN THNX
@eddetuinman7772
@eddetuinman7772 8 жыл бұрын
Can I also use a hc-05 bleu tooth module
@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
@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
@mondrota
@mondrota 9 жыл бұрын
Here is a great video on how to make a basic android app to control your blutooth module: kzfaq.info/get/bejne/bNWPhLmd0dqyl4E.html
@bigmulujamesjimmy
@bigmulujamesjimmy 10 жыл бұрын
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.
@lozbrown1985
@lozbrown1985 9 жыл бұрын
Do you think you could combine this with some of your other tutorials to make a wireless bluetooth ambilight clone?
@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?
@InventionTherapy
@InventionTherapy 7 жыл бұрын
What is the best Arduino to start learning on?
@tinelogar6312
@tinelogar6312 7 жыл бұрын
Great video!!! But I am just missing one thing - sketch explanation. :)
@legodesigns1
@legodesigns1 7 жыл бұрын
Hi Scott, Can I make this tutorial with a HC-08 too? Thanks for your Help.
@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
@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 ?
@powderhond
@powderhond 5 жыл бұрын
I live all your videos but as someone who starting to learn electronics its sometimes a bit complicated. Could you make some "basics" videos that start from the beginning like the real basics.
@Motorsport_N54F01
@Motorsport_N54F01 2 жыл бұрын
Deffinatly
@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
@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.
@spiousas
@spiousas 8 жыл бұрын
Scott! Hi and thanks. The sketch link does not seem to be working, could you fix it?
@greatscottlab
@greatscottlab 8 жыл бұрын
No, works without a problem
@spiousas
@spiousas 8 жыл бұрын
Sorry, in fact the site was blocked by the firewall at my university. Thanks!
@gaborhajdu586
@gaborhajdu586 7 жыл бұрын
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?
@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?
@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!
@p1nesap
@p1nesap 9 жыл бұрын
good job.
@ABC-vd1zl
@ABC-vd1zl 7 жыл бұрын
First time I noticed you're from germany! Do you mind asking where you are from?
@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.
@ElectronicsCuriosities
@ElectronicsCuriosities 5 жыл бұрын
Nice video 👍👌
@a..d2062
@a..d2062 5 жыл бұрын
Just to let u all know the baud rate must be put to 38400 for it to work
@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
@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
@ENTIZStdio
@ENTIZStdio 6 жыл бұрын
I have bought HC 05 and a arduino uno . connected both and copied a working code. It works well when i use the serial monitor but the values send my phone aren't recieved or some blocks appear. When i send some words like hhfg it reads 1 sometimes or just a block show up. I directly connected the tx rx pin to rx tx of arduino. Can i get some possible error on this
@thedream7504
@thedream7504 4 жыл бұрын
Thanks
@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.
@MOJICA7257
@MOJICA7257 10 жыл бұрын
Teach me Master :D
@WhiteLie---------------------1
@WhiteLie---------------------1 3 жыл бұрын
I want more master i need it #_#
@szekelyferenczzoltan2274
@szekelyferenczzoltan2274 8 жыл бұрын
+GreatScott! you can not just set a pin to input mode to work as a receive pin instead the RX pin?
@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.
@jarnovinke
@jarnovinke 8 жыл бұрын
Great scot can you help me please!! I made the same circuit as you. Everything works but when I want to connect to the Bluetooth module I get a connection error. I've used an cc2541 as Bluetooth module. Can you help me?
@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
@ychannel5851
@ychannel5851 8 жыл бұрын
First of all thank you for the video and the code but I have one problem; I used three LEDs and when I send the code one LED goes off (the others keep shining). Please help me, thanks!
@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.
@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.
@heemagauss8691
@heemagauss8691 2 жыл бұрын
Greaaaaaat ★
@AniketRaneShadow
@AniketRaneShadow 5 жыл бұрын
My HC05 module's LED is blinking but my android device is unable to discover it. What could be the problem?
@nnikolaj
@nnikolaj 8 жыл бұрын
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 :)
@AliSaldin
@AliSaldin 9 жыл бұрын
Why you use CD4050 chip Instead of Resistance for TX and RX
@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
@Hackaprende
@Hackaprende 9 жыл бұрын
This video is really great!!, do you have another tutorial for sending information from the arduino instead of receiving it?
@greatscottlab
@greatscottlab 9 жыл бұрын
Almaral Engineering Not yet.
@luckylukas92
@luckylukas92 9 жыл бұрын
Almaral Engineering if ur using the same bluetooth module it's super simple. simply use serial write as u usually do at arduino's. It will automatically forwart the uart signal via bluetooth.
@daixtr
@daixtr 8 жыл бұрын
+GreatScott! Does it mean, that if the direction of transmission is from arduino to celphone then i would buy a master mode bluetooth module?
@BrianB2579
@BrianB2579 10 жыл бұрын
......Thanks for your videos plus you make a good effort to make your videos in English (Your English is very good BTW) am I missing the point but the code is not the same as on the video...I am new at this and learn by looking at your videos could you please post a link to your code thks..........
@Ray-by2ix
@Ray-by2ix 6 жыл бұрын
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
@ruturajyellurkar9588
@ruturajyellurkar9588 7 жыл бұрын
do we need to include the softwareserial to get the Bluetooth module working.
@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)
@erin2150
@erin2150 7 жыл бұрын
What language are you using to program with for electronics?
@jaivalshah8977
@jaivalshah8977 6 жыл бұрын
Hey, how did you remove the pin key from the module.
@amzbudazx6294
@amzbudazx6294 7 жыл бұрын
where can i get your programming code for this blutooth video... I hope this can very helpful
Bluetooth 2.0 VS Bluetooth 4.0 (BLE) || Is an Upgrade worth it?
7:54
Я нашел кто меня пранкует!
00:51
Аришнев
Рет қаралды 4,8 МЛН
LOVE LETTER - POPPY PLAYTIME CHAPTER 3 | GH'S ANIMATION
00:15
Каха и суп
00:39
К-Media
Рет қаралды 5 МЛН
HAPPY BIRTHDAY @mozabrick 🎉 #cat #funny
00:36
SOFIADELMONSTRO
Рет қаралды 15 МЛН
I tried the Cheapest Arduino Alternative (that Nobody heard of)
13:31
Arduino Basics 101: Hardware Overview, Fundamental Code Commands
8:02
I tried finding Hidden Gems on AliExpress AGAIN! (Part 9)
15:00
GreatScott!
Рет қаралды 929 М.
I built my own computer. by hand.
13:03
jdh
Рет қаралды 1,1 МЛН
Genius Idea! 4 Simple Ways to Make a Welding Machine for Welding at Home
30:55
Make a TINY Arduino Drone with FPV Camera - Will It Fly?
20:26
Max Imagination
Рет қаралды 680 М.
Electronic Basics #30: Microcontroller (Arduino) Timers
9:19
GreatScott!
Рет қаралды 435 М.
Massive AliExpress Haul - Arduino & Electronics Edition (2024)
16:58
Risto Innovates
Рет қаралды 3,3 М.
Смартфон УЛУЧШАЕТ ЗРЕНИЕ!?
0:41
ÉЖИ АКСЁНОВ
Рет қаралды 624 М.
Samsung laughing on iPhone #techbyakram
0:12
Tech by Akram
Рет қаралды 432 М.
Зачем ЭТО электрику? #секрет #прибор #энерголикбез
0:56
Александр Мальков
Рет қаралды 443 М.
Собери ПК и Получи 10,000₽
1:00
build monsters
Рет қаралды 2,7 МЛН
Здесь упор в процессор
18:02
Рома, Просто Рома
Рет қаралды 346 М.
تجربة أغرب توصيلة شحن ضد القطع تماما
0:56
صدام العزي
Рет қаралды 54 МЛН