Arduino UNO Smart Home Lighting Simulation w/LEDs, HC-05 Bluetooth Module + mBlock 3 [Tutorial]

Ғылым және технология

Important Note #1: There is a NEW, updated version of this tutorial (for mBlock 5 + new HC-05 extension), which can be located here: • Arduino HC-05: Bluetoo...
Important Note #2: As of writing the 'Arduino Bluetooth Controller' app from SA Tech (as shown in the video) is no longer available, so if you try and scan the QR code to download to your Android device it will take you to a broken link. The pulling of apps seems to be a common thing on Google Play, particularly for lesser-known apps. You are therefore advised to search for an alternative Bluetooth Controller app that has a Terminal function (most, if not all support this) and an interface for 4+ buttons. There is a link below for an app from Apps Valley which still works and has what you need. In addition, if you want the Arduino IDE version of the code instead of mBlock 3's the link is also below. Good luck!
Link to the Arduino IDE code here (derived from mBlock 3 code): drive.google.com/open?id=18lO...
Link to 'Arduino Bluetooth Controller - All in One' from Apps Valley: play.google.com/store/apps/de...

Пікірлер: 120

  • @PaulMarriott
    @PaulMarriott2 жыл бұрын

    Hi everyone. There is a NEW, updated 2022 version of this tutorial (for mBlock 5 + new HC-05 extension), which can be located here: kzread.info/dash/bejne/dICMycOpd5OderA.html. All the best! 👍🏻

  • @gunzi2269
    @gunzi22692 жыл бұрын

    One of the best tutorials I've watched so far on YT. Thank you so much!!!!

  • @danieljakowski6608
    @danieljakowski66082 жыл бұрын

    Mano, eu estava brigando com meu bluetooth há uma semana já, e seu comentario sobre o Rx quando carregar o programa me salvou, sério. Eu já tava dessistindo do bluetooth. Muito Obrigado - D

  • @hishcodes
    @hishcodes4 жыл бұрын

    Perfectly explained each and everything about hc-05. Thank you so much

  • @cannabiscore7935
    @cannabiscore79352 жыл бұрын

    Extremely insightful. I need more.!!

  • @user-qb7of1xd2z
    @user-qb7of1xd2z3 жыл бұрын

    You are the best. You help me so much, Thank you!

  • @mogomega8825
    @mogomega88253 жыл бұрын

    Thank you sir! I builed this and it worked 👍

  • @wisemenms511
    @wisemenms5113 жыл бұрын

    got it thank you ,works great

  • @harsh-haria
    @harsh-haria4 жыл бұрын

    tried a lot of solutions but none of them worked. Your video worked.

  • @buvan7d042
    @buvan7d0423 жыл бұрын

    thaks bro it is working and i have set this as home automation

  • @GEORGE-jf2vz
    @GEORGE-jf2vz3 жыл бұрын

    Excellent video. Thank you.

  • @milosgagic4820
    @milosgagic48204 жыл бұрын

    Great video! Thanks.

  • @md.faysalbiswas5098
    @md.faysalbiswas5098 Жыл бұрын

    THANKS a lot sir... works perfectly.. done my scl project with that.

  • @eshitaranisarker_3164
    @eshitaranisarker_3164 Жыл бұрын

    Thank you so so much 💕💕 Your video help me a lot. .it save my 70 Marks..from 🇧🇩.

  • @veraktong3794
    @veraktong37942 жыл бұрын

    Don't matter how long you take, long as you do it cause you love to

  • @renzsuarez4027
    @renzsuarez402720 күн бұрын

    Hello can i ask instead of LED can i use lightbulb instead?

  • @rmnao
    @rmnao3 жыл бұрын

    Hello, would u be so kind to say how i can add more buttons in Android app?

  • @jade6614
    @jade66143 жыл бұрын

    it worked thank you !!

  • @luongvanminh700
    @luongvanminh7004 жыл бұрын

    Hi, can you share me how to connect Serial Port? Because my Serial Port not shown (no Serial Port). Help me plsss!

  • @PSYCHOGAMER-rz2xp
    @PSYCHOGAMER-rz2xp3 жыл бұрын

    Thanks for explaining sir

  • @samueloyeleye666
    @samueloyeleye6663 жыл бұрын

    Very impressed

  • @benimleogren4521
    @benimleogren45214 жыл бұрын

    very nice thanks

  • @user-gy7io6kw2e
    @user-gy7io6kw2e3 жыл бұрын

    ORID Code 6 entry control mesh 3 and thank you brother

  • @Marcin-hz1iw
    @Marcin-hz1iw3 жыл бұрын

    I have a problem. My Bluetooth module blink a few times (about 5-10 ) and stop. Nothing is happen next. My telephone could not find this Bluetooth module. Is it broken ?

  • @SchwanaCARDHUT
    @SchwanaCARDHUT3 жыл бұрын

    Thank you very much

  • @sat_talk
    @sat_talk3 жыл бұрын

    Thanks bro.. but a silly question as a beginner.. how would we build led output to controll Home appliances?

  • @LyLeap
    @LyLeap3 жыл бұрын

    I am having abit of problem at the end, i did everything but on my phone , i tried sending it command but it said Java.io.IoException : Broken pipe

  • @faranehmosavari4371
    @faranehmosavari43714 жыл бұрын

    very nice man!!!! thanks!

  • @PaulMarriott

    @PaulMarriott

    4 жыл бұрын

    No problem!

  • @cars3731
    @cars37313 жыл бұрын

    VERY VERY VERY VERY AWESOME VIDEO,VERY INFORMATIVE...

  • @PaulMarriott

    @PaulMarriott

    3 жыл бұрын

    Thank you.

  • @sitinurafiqahsamsi5981
    @sitinurafiqahsamsi59813 жыл бұрын

    may I know why my program cannot send data to Bluetooth devices?

  • @myelectrojj
    @myelectrojj Жыл бұрын

    First try blutooth based project success *tkuuuu....* 😀

  • @wejdenehanana3522
    @wejdenehanana3522 Жыл бұрын

    If we don't have an Android what can we use as arduino bluetooth controller

  • @adamputra8288
    @adamputra82883 жыл бұрын

    Can I change the led with DC motor? If cant how do i add it

  • @musaabal-maidan3005
    @musaabal-maidan30052 жыл бұрын

    THANKS SO MUCH

  • @ShaniKumar-gn4oq
    @ShaniKumar-gn4oq4 жыл бұрын

    hi i am using HC 05 blue tooth with atmega 32 ....when i send one character it is working .......... if i want to send String like " Total" from Bluetooth then how to handle this string and make my logic accordingly ...? Is there any function to convert string to char ? here is my code? int main(void) { char Data_in; DDRB = 0xff; /* make PORT as output port */ USART_Init(9600); /* initialize USART with 9600 baud rate */ LED = 0; while(1) { Data_in = USART_RxChar(); /* receive data from Bluetooth device*/ if(Data_in =='1') { LED |= (1

  • @parvathyc1674
    @parvathyc1674 Жыл бұрын

    Nice video

  • @serkanguncan
    @serkanguncan4 ай бұрын

    How can I open and close 4 rooms with voice command?

  • @kabirmithu3351
    @kabirmithu33514 жыл бұрын

    great apps, thanks.

  • @ayxan7858
    @ayxan78582 жыл бұрын

    mine is iphone what i should do?

  • @jitumehar298
    @jitumehar298 Жыл бұрын

    Can we controll it with voice comand

  • @stetco_c
    @stetco_c2 жыл бұрын

    why it doesn't work with arduino mega 2560?

  • @clayton3518
    @clayton35182 жыл бұрын

    Can we use it on AC lights?

  • @darkvoidinfinity9810
    @darkvoidinfinity98104 жыл бұрын

    hey bro i need some help , i am using blink to control led . I want led to start fading when i turn on it remotely through ( bluetooth module HC05) from blynk app . Can you just help me out because i am searching for it for past few days but really can't find it :(

  • @PaulMarriott

    @PaulMarriott

    4 жыл бұрын

    Hey there. I’ll have to play around with Blynk for a bit since I haven’t really used it for LED-dimming yet. Is that what you’d like to do?

  • @darkvoidinfinity9810

    @darkvoidinfinity9810

    4 жыл бұрын

    @@PaulMarriott bro i don't know anything about coding, all i can do is copy paste code and do some basic changes in code . I have uploaded a fading code to a pwn pin , so it start fading as soon as i power arduino , i want to make some changes in this code as well i want led to start fading as i command them remotely using blynk or any other app . Like when i switch it ''ON'' using app then it start fading . and when i turn it ''OFF'' to turn off. I am using bluetooth module HC05 with aduino.

  • @anastarafder2637
    @anastarafder26377 ай бұрын

    Have u got the arduino code for this project?

  • @kanhaiyaupreti3346
    @kanhaiyaupreti33464 жыл бұрын

    Um one question ? Shouldn't you should be using a Voltage Divider to prevent the Rx and Tx 5 volt damaging the Module. Afterall they are rated 3.3 v for Rx and Tx Pin.

  • @PaulMarriott

    @PaulMarriott

    4 жыл бұрын

    Traditionally you are supposed to power the HC-05 with 3.3v and 5v is not officially supported. However I have used many HC-05 modules with 5v (no resistor) and thus far I’ve had no issues with burnout and such.

  • @msnephophilia8750
    @msnephophilia8750 Жыл бұрын

    Can we do it using arduino nano? Please give me a circuit design if possible with Arduino nano.. i want to do it in my project i have Arduino nano ... please help me..

  • @chandankumarchappa
    @chandankumarchappa Жыл бұрын

    its not working with me can anyone help its for my kidss project for 10th grade

  • @iceboxgaming7469
    @iceboxgaming74693 жыл бұрын

    it worked

  • @mhamedhamadaembaby2502
    @mhamedhamadaembaby25023 жыл бұрын

    How can i get the extension

  • @nithingamingworld545
    @nithingamingworld5453 жыл бұрын

    Pls till me.....can we connect 8 leds.????:-?

  • @adelin3363
    @adelin33632 жыл бұрын

    how u burn the code on arduino uno?

  • @shivshambhuchoudhary1204
    @shivshambhuchoudhary1204 Жыл бұрын

    Sir, will u guide me how u made Bluetooth module library by your own here or in a video, it would be helpful. THANKS AND God bless

  • @samiphy9208
    @samiphy92084 жыл бұрын

    Would you please make a video tutorial for mblock voice-controlled programming?

  • @PaulMarriott

    @PaulMarriott

    4 жыл бұрын

    That’s a good idea, actually! Only if I had the time and modules but perhaps it will happen someday...

  • @aibetejada2323
    @aibetejada23233 жыл бұрын

    Please help, i can't view the code

  • @kirthispot2771
    @kirthispot27712 жыл бұрын

    In which are you coding sir

  • @adilabusafa
    @adilabusafa Жыл бұрын

    أهلاً وسهلاً ومرحباً -يتعذر التعليق-لا أعلم .

  • @TechArefin
    @TechArefin3 жыл бұрын

    Please *disconnect the Tx and RX pin from Arduino* before uploading and connect it after uploading the code. *Otherwise, it will show an error* :)

  • @emme-ario7060

    @emme-ario7060

    2 жыл бұрын

    omg u literally saved me

  • @abelojong6735

    @abelojong6735

    Жыл бұрын

    Me too

  • @chidiayoanasonye9243
    @chidiayoanasonye92432 жыл бұрын

    Thanks for your tutorial but Can you please teach me the programming process using an android phone instead of pc

  • @youriyouri614
    @youriyouri6145 жыл бұрын

    Hello, thank you already for the video. But would it be possible to have the program in C?

  • @PaulMarriott

    @PaulMarriott

    4 жыл бұрын

    Link to code is now in the description. Good luck!

  • @tyronrosario6862

    @tyronrosario6862

    4 жыл бұрын

    no

  • @FunZone01
    @FunZone013 жыл бұрын

    Good

  • @mogomega8825
    @mogomega88253 жыл бұрын

    does this work for Arduino Nano too?

  • @PaulMarriott

    @PaulMarriott

    3 жыл бұрын

    Yes, it should.

  • @luisgarcia6577
    @luisgarcia6577 Жыл бұрын

    Very nice, but how is this connected to an actual home? It would be a nice video to watch

  • @idfc5736
    @idfc57364 жыл бұрын

    good

  • @Alexa29001
    @Alexa290013 жыл бұрын

    File is not opening

  • @amineallouche1839
    @amineallouche18393 жыл бұрын

    Please app code

  • @hasansami5181
    @hasansami51813 жыл бұрын

    In 15:01, Does this works for Arduino nano??

  • @PaulMarriott

    @PaulMarriott

    3 жыл бұрын

    Yes, it should work.

  • @hasansami5181

    @hasansami5181

    3 жыл бұрын

    my arduino connects but does not take input or give output to my phone using HC-05

  • @hasansami5181

    @hasansami5181

    3 жыл бұрын

    I have tried many thing but didn't fixed the problem. Please help

  • @souvikdhar1860
    @souvikdhar18602 жыл бұрын

    Sir the codes is not there....when opening the link (no preview download) showing

  • @PaulMarriott

    @PaulMarriott

    2 жыл бұрын

    There should be another download button to press after you see the ‘no preview’

  • @souvikdhar1860

    @souvikdhar1860

    2 жыл бұрын

    Download is showing

  • @somyatomar6292
    @somyatomar62923 жыл бұрын

    what is the ohmic value of the resistors used by you?

  • @PaulMarriott

    @PaulMarriott

    3 жыл бұрын

    220 Ohm

  • @rhythmofdance7543
    @rhythmofdance7543 Жыл бұрын

    Whatever I tried three times but it didn't work

  • @PaulMarriott

    @PaulMarriott

    Жыл бұрын

    Use the newer tutorial kzread.info/dash/bejne/dICMycOpd5OderA.html

  • @canhlong1539
    @canhlong15393 жыл бұрын

    Can you help me with 30 devices. I get tough with this topic ,please help me!

  • @PaulMarriott

    @PaulMarriott

    3 жыл бұрын

    What do you mean by 30 devices? You mean 30 LEDs or Arduino boards?

  • @amineallouche1839
    @amineallouche18393 жыл бұрын

    Please application Android code Thank you

  • @SubhashChandra-jc4eh
    @SubhashChandra-jc4eh4 жыл бұрын

    Programmimg for uno Plzzz

  • @PaulMarriott

    @PaulMarriott

    4 жыл бұрын

    someday perhaps

  • @PaulMarriott

    @PaulMarriott

    4 жыл бұрын

    Link to code is now in the description. Good luck!

  • @swaritawari4463
    @swaritawari44633 жыл бұрын

    How to code in Arduino ide

  • @PaulMarriott

    @PaulMarriott

    3 жыл бұрын

    The code is in the description.

  • @swaritawari4463

    @swaritawari4463

    3 жыл бұрын

    How to change the password

  • @mustafaahmed5457
    @mustafaahmed54574 жыл бұрын

    thank you vary much , but can you give me the code , please

  • @PaulMarriott

    @PaulMarriott

    4 жыл бұрын

    Link to code is now in the description. Good luck!

  • @md.saifuddinkaderapu695
    @md.saifuddinkaderapu6953 жыл бұрын

    Nice project. Can u give me the code in my Email. And tell me which software do u use for coding.

  • @abidaparveen2252
    @abidaparveen22523 жыл бұрын

    Sir please give me code

  • @hananerajini3588
    @hananerajini35884 жыл бұрын

    code pffffffffffffffffffffffffffff fk

  • @PaulMarriott

    @PaulMarriott

    4 жыл бұрын

    Link to code is now in the description. Good luck!

  • @hananerajini3588

    @hananerajini3588

    4 жыл бұрын

    Sorry dood it s just my brother ok its him ho ride this commente sorry

  • @PaulMarriott

    @PaulMarriott

    4 жыл бұрын

    @@hananerajini3588 It's ok, no problem! :)

  • @hananerajini3588

    @hananerajini3588

    4 жыл бұрын

    Thank you

  • @adilabusafa
    @adilabusafa Жыл бұрын

    أهلاً وسهلاً ومرحباً -يتعذر التعليق-لا أعلم .

  • @giabao6099
    @giabao60995 жыл бұрын

    Thanks you so much

  • @PaulMarriott

    @PaulMarriott

    4 жыл бұрын

    Thank you!

  • @hananerajini3588

    @hananerajini3588

    4 жыл бұрын

    thank you for what where is the code

  • @PaulMarriott

    @PaulMarriott

    4 жыл бұрын

    @@hananerajini3588 Link to code is now in the description. Good luck!

  • @hasansami5181
    @hasansami51813 жыл бұрын

    Good

  • @hasansami5181

    @hasansami5181

    3 жыл бұрын

    So Cool Vids

  • @hasansami5181

    @hasansami5181

    3 жыл бұрын

    Thx

Келесі