Raspberry Pi Pico Tutorial - HC-05 Bluetooth module + MIT App Inventor

Поділитися
Вставка
  • Опубліковано 27 лис 2024

КОМЕНТАРІ • 42

  • @NerdCaveYT
    @NerdCaveYT  2 роки тому +8

    Hi, when playing with the HC-05 today I saw there is a tiny mistake on the schematic, the TX and RX pins needs to be swopped. I hope it helps

    • @davyS4v
      @davyS4v Рік тому

      on your schematic or on hc-05?

    • @NerdCaveYT
      @NerdCaveYT  Рік тому

      @@davyS4v connected to the Pico

    • @gabemorris1231
      @gabemorris1231 Рік тому

      @@davyS4v You wouldn't believe the amount of rabbit holes I went down trying to figure this out. This video was the first thing I saw when I was learning about this, and the wiring diagram was what I ultimately used all day trying to figure it out. JUST TO BE 100% CLEAR, tx gets wired to rx, and rx gets wired to tx!

  • @armand9910
    @armand9910 2 роки тому +1

    Well constructed video with lots of information, thank you.

  • @rolandtriton
    @rolandtriton Рік тому +1

    You are so talented with this, so clear so informative iam just impressed how you made it so understandable, bug fan here

    • @NerdCaveYT
      @NerdCaveYT  Рік тому

      Thank you so much! It is comments like this that motivates me to continue with the channel which some good news is I am coming back with bunch of tutorials and diy videos. Happy new year

  • @MrBobWareham
    @MrBobWareham 2 роки тому

    Thank you for explaining the code, it makes it easy to understand

  • @randallyoung6715
    @randallyoung6715 9 місяців тому +1

    Thanks, just what I needed!

  • @davyS4v
    @davyS4v Рік тому

    Awesome tutorial!
    Detailed and very clear explanation.
    I want to kindly ask you for advice.
    If I want to use an OTG cable to communicate between the smartphone and the raspberry, how can I do it?

    • @NerdCaveYT
      @NerdCaveYT  Рік тому +1

      it should be possible I know someone connected the pico to a smartphone to use the pico as an oscilloscope really awesome stuff, this might be a great starting point www.tomshardware.com/news/raspberry-pi-pico-oscilloscope

    • @davyS4v
      @davyS4v Рік тому

      @@NerdCaveYT thank you so much. Alternatively are there other connection options than Bluetooth, Wi-Fi or OTG cable? 😂

  • @scott6169
    @scott6169 2 роки тому

    Great tutorial - especially on the App Maker

    • @NerdCaveYT
      @NerdCaveYT  2 роки тому

      Thank you, the MIT App inventor probably the easiest way to make an app

  • @Kattoe
    @Kattoe Рік тому +1

    What if i don't want the led to turn on if 'led_on' is in it but only if it is that? (I dont want it to turn on if the message is 'turn the led_on')

    • @NerdCaveYT
      @NerdCaveYT  Рік тому +1

      I am not exactly sure what you want to do can you send me a message on discord

  • @ronen124
    @ronen124 2 роки тому

    this is a good channel, good work, if possible make some tutorials for the raspberry pico with c language

    • @NerdCaveYT
      @NerdCaveYT  2 роки тому

      Thank you. It will come in near future(ish), I am trying to make whole series on MicroPython then CircuitPython and then move to C for content not geared to beginners.

  • @Johnny-ik4ug
    @Johnny-ik4ug 2 роки тому +1

    Very nice video! I guess if I want to be serious about this and make the Android app in AndroidStudio it will take days to do it, which is sad because I don't have enough time for it

    • @NerdCaveYT
      @NerdCaveYT  2 роки тому

      I have not looked into the AndriodStudio just wanted to keep it simple as possible, but I know Processing is an alternative to make GUI applications that can be ported to Android.

  • @nobodyknows8908
    @nobodyknows8908 Рік тому

    Hey NerdCave, I am currently working on a concept to make a controller from a Raspberry Pi Pico I currently have it working via USB but wanted to incorporate bluetooth technology to allow connection wirelessly to the PC for controller functionality. Would the HC-05 work well for this, obviously ill need to write my own code and that should not be an issue. Everything I read about the HC-05 makes it sounds like it can communicate via UART and SPP. So this shouldn't be an impossible feat correct?

    • @NerdCaveYT
      @NerdCaveYT  Рік тому

      Yes, this should be doable since the bluetooth will be connected to the COM port on your computer allowing it to receive data, I am not sure about the python script you will need to write to process this data into controller commands, will probably be using an HID library in python to allow this. How is it working through usb now did you use the arcade hid library through the Pico

  • @davyS4v
    @davyS4v Рік тому +2

    i'm trying since 3 weeks but it doesnt work :(
    do you have miss some steps?

    • @NerdCaveYT
      @NerdCaveYT  Рік тому

      All the steps are shown in this video along with the other bluetooth remote control car. What problems are you having?

    • @davyS4v
      @davyS4v Рік тому +1

      @@NerdCaveYT led doesn't switch on/off but hc05 is connected. I follow every steps but it doesnt work

    • @ramprasath27
      @ramprasath27 Рік тому

      Did you find any solution@@davyS4v

  • @conifer9879
    @conifer9879 11 місяців тому

    Doesn't the Pi Pico have on-board bluetooth now? so we no longer need the HC-05?

    • @NerdCaveYT
      @NerdCaveYT  11 місяців тому

      The Pico W has on board-bluetooth, this video was made with the non Wi-Fi Bluetooth chip module

  • @davyS4v
    @davyS4v Рік тому

    How to change a variable into the rpi script from app?
    (Example: if i click a button, this button should modify a variable "counter=0" in "counter=1")

    • @NerdCaveYT
      @NerdCaveYT  Рік тому

      Well from the MIT app I would probably make a function and button to control the counter like up and down and send it. This might help to start out with: ua-cam.com/video/t6BioDDKJXQ/v-deo.html

  • @VideoNash
    @VideoNash 8 місяців тому +1

    thanks

  • @TechHouseVids
    @TechHouseVids 11 місяців тому

    it doesnt work for me. i dont know what the problem is. i think its an upload problem for uploading the code could you help please? edit: it works now i had to export my app to an apk and manualy give it acces to bleutooth awesome video

    • @NerdCaveYT
      @NerdCaveYT  11 місяців тому

      Great, thank you. I also struggled a bit since my phone does not have google playstore making testing really difficult.

  • @godgajet6763
    @godgajet6763 Рік тому

    how to add more leds

    • @NerdCaveYT
      @NerdCaveYT  Рік тому

      at 12:31 I showed more LED's you can use other GPIO pins available to add more

  • @davyS4v
    @davyS4v Рік тому

    How to change a variable from app to script?

    • @NerdCaveYT
      @NerdCaveYT  Рік тому

      which variable do you want to change from the andriod app, I have included the file to the app so changes could be made

    • @davyS4v
      @davyS4v Рік тому

      @@NerdCaveYT I want to take the value entered into a textbox from mit app and replace a variable in the script in MicroPython