Тёмный

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

GreatScott!
Подписаться 2 млн
Просмотров 698 тыс.
50% 1

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)

Наука

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

 

25 июл 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 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!
@jianyu1398
@jianyu1398 6 лет назад
Thank you so much! The voltage divider is super helpful and saved me the trouble!
@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.
@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
@melplishka5978
@melplishka5978 3 года назад
Awesome vid Scott. Your work with arduino is amazing.
@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.
@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... 😍😍😍😍
@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
@peepopalaber
@peepopalaber 8 лет назад
Danke! Genau nach so einem Tut habe ich gesucht :)
@ascaniofiori6528
@ascaniofiori6528 6 лет назад
Vielen dank. Das sketch ist toll !
@ayushpoudel7129
@ayushpoudel7129 7 лет назад
You are good at electronics and watch TBBT.You are cool and intelligent.How freaking cool is that
@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!
@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.
@johnnyclean8233
@johnnyclean8233 5 лет назад
Hmm cool little project. Thanks for the tutorial!😀👍
@TheNinjai74
@TheNinjai74 9 лет назад
Yes it does look Freakkin awesome!!!!!!
@KarlsLabReport
@KarlsLabReport 4 года назад
VERY useful stuff! Thank you!
@jamesnewton5245
@jamesnewton5245 9 лет назад
hi thanks for this upload got it working straight away using your code!!! amazing!
@sachinreddy2836
@sachinreddy2836 6 лет назад
Dude thanks man. Earned a new subscriber
@ynzeselders4184
@ynzeselders4184 8 лет назад
I tried it and it worked great! Thank you
@DamaKubu
@DamaKubu 6 лет назад
Omg I love u scott just what I needed
@hansmosayolang9387
@hansmosayolang9387 7 лет назад
Awesome dude this is so helpful :D thanks!
@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
@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
@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!
@tbmtech5651
@tbmtech5651 9 лет назад
Great video!!! thank you for sharing!
@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
@DerekWelchElectric
@DerekWelchElectric 7 лет назад
Worked great thank you very much sir.
@SkjoyBd
@SkjoyBd 5 лет назад
Great video. Keep up the good work.
@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.
@B0A2
@B0A2 2 года назад
This tutorial is excellent thank you so much
@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
@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.
@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... ((;
@helmut987
@helmut987 4 года назад
hi many thanks for the vid, very interesting, so i can use my bluetooth modul by the way
@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! ;-)
@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!!!
@gaetanocaccavallo4772
@gaetanocaccavallo4772 7 лет назад
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?
@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 :)
@bholster8073
@bholster8073 6 лет назад
Thank you for sharing.
@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.
@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? :/
@sayantanmaiti2513
@sayantanmaiti2513 7 лет назад
Awesome one working so nicely, can u plz suggest me whether I can produce more colours with it .
@messcommand7819
@messcommand7819 7 лет назад
GreatScott!
@eddetuinman7772
@eddetuinman7772 8 лет назад
Can I also use a hc-05 bleu tooth module
@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
@lozbrown1985
@lozbrown1985 9 лет назад
Do you think you could combine this with some of your other tutorials to make a wireless bluetooth ambilight clone?
@mintcat2308
@mintcat2308 7 лет назад
SERIUSLY GOD BLESS YOU MEN THNX
@jaymanthefreak
@jaymanthefreak 9 лет назад
I believe that the IOs are 5V tolerant. You don't need the voltage divider - though it does not hurt anything :)
@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
@legodesigns1
@legodesigns1 7 лет назад
Hi Scott, Can I make this tutorial with a HC-08 too? Thanks for your Help.
@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 ?
@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.
@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
@tinelogar6312
@tinelogar6312 7 лет назад
Great video!!! But I am just missing one thing - sketch explanation. :)
@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
@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?
@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.
@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?
@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?
@szekelyferenczzoltan2274
@szekelyferenczzoltan2274 8 лет назад
+GreatScott! you can not just set a pin to input mode to work as a receive pin instead the RX pin?
@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
@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
@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
@SteffoSpieler
@SteffoSpieler 6 лет назад
Was zählt denn zu 5 Volt Daten? Ich betreibe mein Bluetooth Modul ohne das extra und es funktioniert super!
@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
@a..d2062
@a..d2062 5 лет назад
Just to let u all know the baud rate must be put to 38400 for it to work
@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?
@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.
@ruturajyellurkar9588
@ruturajyellurkar9588 7 лет назад
do we need to include the softwareserial to get the Bluetooth module working.
@p1nesap
@p1nesap 9 лет назад
good job.
@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.
@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.
@ElectronicsCuriosities
@ElectronicsCuriosities 5 лет назад
Nice video 👍👌
@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!
@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!
@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
@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.
@amzbudazx6294
@amzbudazx6294 7 лет назад
where can i get your programming code for this blutooth video... I hope this can very helpful
@gopalkrishna4520
@gopalkrishna4520 8 лет назад
heY scott instead of using diff colours can i use diff ckt work on this
@erin2150
@erin2150 7 лет назад
What language are you using to program with for electronics?
@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.
@ninovitaliano7943
@ninovitaliano7943 5 лет назад
How do you connect cathodes to positive outputs of the arduino? Arduino outputs 5v not 0v
@skatefreak381
@skatefreak381 5 лет назад
is there also a way to do this with an iphone and what app should i use
@jaivalshah8977
@jaivalshah8977 6 лет назад
Hey, how did you remove the pin key from the module.
@jetray5914
@jetray5914 5 лет назад
Is there any way to connect an alexa to arduino to control projects in that way
@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!
@zaboky
@zaboky 9 лет назад
can you use attiny85 with this bluetooth module to control, lets say, leds?
@heemagauss8691
@heemagauss8691 2 года назад
Greaaaaaat ★
@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)
@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.
@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
@Ahmadnaweed786
@Ahmadnaweed786 5 лет назад
Can we use this device to program arduino wirelessly?
@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 :)
Далее
Electronic Basics #5: How to Multiplex
4:54
Просмотров 565 тыс.
What is worth salvaging from an old smartphone?
8:35
Hacking a weird TV censoring device
20:59
Просмотров 3 млн
ОБСЛУЖИЛИ САМЫЙ ГРЯЗНЫЙ ПК
1:00
How to Soldering wire in Factory ?
0:10
Просмотров 3,3 млн