Raspberry Pi Pico & Bluetooth

  Рет қаралды 14,210

Kevin McAleer

Kevin McAleer

Күн бұрын

Пікірлер: 43
@skylerparker6824
@skylerparker6824 2 ай бұрын
Forgot to mute the webcam microphone 😄. I make the same mistake sometimes. This info is extremely helpful. Thank you!
@tiagdvideo
@tiagdvideo 2 жыл бұрын
Fantastic video Kevin - I'd glad to see you getting more support and exposure from the Raspberry pi Foundation too. Your Pico W videos are excellent - but this is still relevant for Bluetooth and so much better informed than the usual stuff that can't see past the HC-05/06s!
@zyghom
@zyghom 3 жыл бұрын
very nice video - thank you btw I think you mixed up completely the explanation about pull up/down resistors at @30:00 - by using them you bring known status to the IN pin BEFORE you short it either into +3V or GND. If you pull up, this pin is ALWAYS high so your button should be connected one side to pin and one to GND. When you press it, pin will get LOW. For pull down it will be opposite: pin by default will be on GND and button should be connected between pin and +3V. When pressed pin will get HIGH.
@SoumeshRanger111
@SoumeshRanger111 Жыл бұрын
How you set up Vscode with Pico along with Micropython. Please make a separate video on that.
@Bubby9767
@Bubby9767 Жыл бұрын
Great Video Kevin, your a very smart man. Well explained
@kevinmcaleer28
@kevinmcaleer28 Жыл бұрын
Thanks Fred, you’re too kind
@sithummethmika1676
@sithummethmika1676 3 жыл бұрын
continue this with stopping as it is the best
@kraemrz
@kraemrz 2 жыл бұрын
Great explaining , you do great work here 💯
@kevinmcaleer28
@kevinmcaleer28 2 жыл бұрын
Thanks!
@MrVipulLal
@MrVipulLal 3 жыл бұрын
Good one, sir! Thanks, I need to use C,
@bigoper
@bigoper 11 ай бұрын
Awesome video! thank you for doing that! I was wondering if I can use the RPI Pico W, to scan for bluetooth devices (classic use)? example: list all of BT devices near it. (like: iPhones, iPads, Tablets, etc) Thanks!
@thecrackersnacker7119
@thecrackersnacker7119 Жыл бұрын
with the print command you can simply set the named parameter 'sep' to an empty string and then you will not get a space in between print entries. Like so: a = "Hello" b = "World!" print(a, b, sep = "") The result will be 'HelloWorld!' it is a lot cleaner looking than what you did.
@XBlazingCrafterX
@XBlazingCrafterX 2 жыл бұрын
This channel has been so helpful for me recently! I saw your tutorial on connecting the Bluetooth xbox controller to the Pi zero and I was wondering if the same was possible with this setup? (the pi pico and the Bluetooth module)
@Mr.Kent65
@Mr.Kent65 2 жыл бұрын
the comma automatically adds a space. if you want them together concatenate them using the plus operator
@ryandobson1871
@ryandobson1871 3 жыл бұрын
Hi -- I just picked up an HM-19, and trying to get this code to work. I'm having a bit of a problem trying to get it to respond to AT commands. uart.readline() just seems to hang. I'm wondering if I should have stuck with a bluetooth 4 device. Once I get the device paired, it does seem to return things, but only after it disconnects for some reason... still trying to figure this out. Thanks for this video -- has been a great motivator for me to get a project going.
@ryandobson1871
@ryandobson1871 3 жыл бұрын
Looks like I might have solved my own problem by updating the firmware on the Pico from 1.13 to 1.15.
@rhyschambers5223
@rhyschambers5223 2 жыл бұрын
Hi there, great video! I am having some trouble with my project and I wonder whether you could point me in the right direction. I want to use a Raspberry Pi Pico to control an RC car via Bluetooth. I use IOS so have bought the Adafruit Bluefruit LE UART Friend module but I am struggling to find any information about how to connect and utilise the components (despite hours of internet searches).
@kevinmcaleer28
@kevinmcaleer28 2 жыл бұрын
Hey Rhys - if you join our discord server I’m sure we can get to the bottom of that issue - action.SMARSfan.com/join-discord
@nigelworwood8530
@nigelworwood8530 10 ай бұрын
Not watched all the video ... but it occurs to me that you could possibly get two Picos talking to each other. Does that sound reasonable?
@kevinmcaleer28
@kevinmcaleer28 10 ай бұрын
Yes yes! Very easy to do
@robertmurton7373
@robertmurton7373 3 жыл бұрын
Hello Kevin. How does blue tooth compare to NRF24. I am using this RF chip with the Arduino Nano. I think NRF24 works better for longer ranges.
@fredidi4918
@fredidi4918 Жыл бұрын
That’s a great video! And all the explanations like are brilliant little goodies along the way
@dave-j-k
@dave-j-k 3 жыл бұрын
Hiya, I just got an HC-05 to play with (cheapest) and using your picoterm code i have managed to get it named and paired to my Android phone :) However, the device refuses to reply to AT commands and also I have to comment out this line "data_output = uart.write("Got: ", data_input)" or i get an error "TypeError: can't convert bytes to int" - any ideas??? The device does seem to function though, great video again ;)
@kevinmcaleer28
@kevinmcaleer28 3 жыл бұрын
The write function can only write bytes - so you need to pass it a string it can convert to a byte array. It doesn’t work like a print statement which is why it’s saying type error
@dave-j-k
@dave-j-k 3 жыл бұрын
@@kevinmcaleer28 Ok, thanks, in the context where it appears, what function does that line perform? - i see we are reading bytes in but does it then write the "data_input' back to the UART?
@sorafromgenshin
@sorafromgenshin 9 ай бұрын
Im not good at coding so i understand nothing 😢 I have pi pico and i use it for arcade stick that i follow tutorial from youtube, i want to make it wireless but i dont know how to code it, i know i need Bluetooth module but that's it.😢
@101orbitaldefence
@101orbitaldefence 2 жыл бұрын
Seen any BT 5.1 or 5.2 modules available for the Pi? i'm looking for a small board that i can attach to a pi which can all be taped to a drone. Currently i'm looking at a dev board from silicon labs but even that board is pretty large compared to my pi and zero.
@kevinmcaleer28
@kevinmcaleer28 2 жыл бұрын
Yes - you can get very small bluetooth modules, smaller than the ones I showcase in this video. requires a steady hand with a soldering iron though
@75chrisle
@75chrisle 2 жыл бұрын
I've had difficulty getting this code to work on my Pi Pico. Every time I type an AT command, my command gets printed, but the next line is just blank and then returns to asking me for an input again. I'm not sure what could be wrong.
@kevinmcaleer28
@kevinmcaleer28 2 жыл бұрын
I had some issues with BT modules of different types, each seems to have either a different BAUD rate, or a different format for the AT commands. If you can google the exact type of module you have, you should be able to find the data specification sheet and AT commands it accepts. If you want more help - join our discord group and ask the question in there (its easier to share pictures of the module etc.) action.smarsfan.com/join-discord
@safakfahrac1524
@safakfahrac1524 2 жыл бұрын
how can i set up a bluethooth connection between raspberry pi 4 and pico?
@kevinmcaleer28
@kevinmcaleer28 2 жыл бұрын
You’ll need two Bluetooth modules and connect them both to a pair of pins that support UART, then in your favourite programming language, create a serial connection to the Bluetooth module.
@safakfahrac1524
@safakfahrac1524 2 жыл бұрын
@@kevinmcaleer28 Thank you very much for your reply Kevin. pi4 port = serial.Serial("/dev/ttyS0", baudrate=9600, timeout=1) pico uart0 = machine.UART(0,baudrate=9600) Is it enough if I do this?
@kevinmcaleer28
@kevinmcaleer28 2 жыл бұрын
@@safakfahrac1524 ​ Yes That should do it! You can use the Raspberry Pi Bluetooth manager to connect & pair and then its just like writing to a serial port
@safakfahrac1524
@safakfahrac1524 2 жыл бұрын
@@kevinmcaleer28 Thank you very much for your reply. If you come to Turkey, the food is on me. BUT "Using Raspberry Pi Bluetooth manager to connect and pair" I do not know this.
@kevinmcaleer28
@kevinmcaleer28 2 жыл бұрын
@@safakfahrac1524 awesome! The Bluetooth manager is just the ‘B’ Bluetooth logo next to the clock in the raspberry pi desktop, click on that and then ‘Add device’, it will turn search for Bluetooth modules nearby.
@piotrkudzin6466
@piotrkudzin6466 2 жыл бұрын
at 26:30 - print(a+b) ??
@kevinmcaleer28
@kevinmcaleer28 2 жыл бұрын
It’s print(a,b)
@piotrkudzin6466
@piotrkudzin6466 2 жыл бұрын
​@@kevinmcaleer28 question was - how to get a and b printed with no space between - answer is - concatenate a+b not a,b
@zyghom
@zyghom 3 жыл бұрын
can you share the link to the app on the phone please?
@kevinmcaleer28
@kevinmcaleer28 3 жыл бұрын
Its called Dabble - if you look in the Apple app store or the Android app store you should be able to find it.
@gryzman
@gryzman Жыл бұрын
Raspberry Pi Pico W still does not have BLE. Wifi is overrated for robots.
Pi Pico W with the Arduino IDE | Using WiFi
49:26
DroneBot Workshop
Рет қаралды 153 М.
Running With Bigger And Bigger Lunchlys
00:18
MrBeast
Рет қаралды 35 МЛН
Raspberry Pi Pico 2: a RISC-V bet!
8:05
Jeff Geerling
Рет қаралды 282 М.
Raspberry Pi Pico LCD Projects
17:25
ExplainingComputers
Рет қаралды 112 М.
UART | Raspberry Pi Pico Workshop: Chapter 4.2
11:57
Core Electronics
Рет қаралды 3,5 М.
Raspberry Pi Pico, 7 Segment Displays and 74hc595 shift registers
1:17:05
How to talk between Raspberry Pis and Picos with Bluetooth
47:45
Kevin McAleer
Рет қаралды 1,1 М.
The Raspberry Pi Pico WAS Overrated! But that changed!
10:18
GreatScott!
Рет қаралды 609 М.
Pico W Episode 1: Setting Up the Raspberry Pi Pico W
12:48
Lori Pfahler
Рет қаралды 15 М.
Raspberry Pi Pico W: Wireless Weather Station
17:13
ExplainingComputers
Рет қаралды 289 М.