Another very well done tutorial in a list of several others on this channel. Slowly becoming my go to channel for raspberry pi pico & micropython. Looking forward to more.
Thank you Jim, it really means a lot to me reading comments like this and I am glad the videos are you helping you, if you have any requests for future videos do let me know.
bro just saved my after-school club 🥶🥶💀💀 we're doing a project about building a robot that can take aparta lego structure, and this was VERY, VERY helpful thanks, my guy NerdCave
hey, thanks for replying! i have a question: can this project be done in circuitpython? i'm wondering because at school, i have to use a chromebook and micropython doesn't support mass storage. if not, i can try to adapt.
A most interesting Bluetooth Raspberry Pi Pico video. 🥳 Will this code example run on the newer Raspberry Pi Pico W with built in Wi-Fi and Bluetooth? 🤩 Thank you.
Hi Thanks for an amazing project which nearly works! I have the joystick option working fine, thanks. I am having trouble with the bluetooth option. I've loaded your MIT example and I have a similar example app supplied by the bluetooth company who make the module. My problem is I can't work out the structure of the data you are sending and I don't understand the constuction elif ('E' in data) speed=data.split("|"). Could you please help ? If I simply the if statement into just reading character it works but I would quite like to have speed decoded as your program does.
Hi at this moment I do not have my pc, all my things are in containers busy moving. The code as I remember was send a value depending on the slider which will range from 0-100 and if you print the data being received from Bluetooth it needs to be split since it gives a value x 'b' Infront that gets formatted so that I can pass the correct value for when calculating the PWM to control the speed. If possible you can add me on discord and I would be able to help.
Very good video with excellent description. I am using Pico W (it has ble) so I don't use the HC-05. The app you provide us needs the pico to be paired with the phone in order to work (when you are selecting device you can see only devices that are paired to your phone). I have tried many times but pairing fails every time. Do you know why? I am a bit confused. Is there any way to finally pair the pico with my phone (I have checked and my phone supports ble devices)? Because I can not pair the pico with the phone, I don't see it as a choice in the app.
What phone are you using, so my phone picked up the HC-05 but I do know that Apple does not work with this protocol used on the HC-05 and you need different protocol. I have not checked with the Pico W yet in terms of BLE I probably have to check it out and make a follow up video on this project
Hey I am about to try the same project using your guidance and code, but I need 4 wheels, I am guessing that I will be able to work it out isnt it ? they shouldnt be any technical issues doing it using those components ? Thanks !
Hey so i made this but it wont move the motors. I have the code working and bluetooth is connecting, jusy when i use the software on your app (or any software for that matter) the motors wont move. Do you know a way I could fix this?
I am planning to use the version of pico that has bluetooth (the W version) instead of using the HC-05. Do I have to change the power supply in order to operate succesfully? I am afraid that if I use the same power supply the raspberry will fry because the cable coming out of the L298N moto controller is at 12V. Please help me, i don't know what to do...
The L298N has a 5V out pin as shown in schematic, just make sure when power the pico from the motor driver 5V out that Pico is not plugged into PC via USB
In the code where you have the function forward, backward, left and right you set the output high or low, change these to get the correct results or what you can do is rename the functions make right to up etc.
yeah, i renamed the functions, but also the names in the "while true", that was my mistake. Now it works. Thank you!!! An now i´ll build these one with a Raspberry Zero with a Camera...
Hey thanks a lot for this. Do you mind creating an amazon list with all your components ? If you start affiliation you might make a buck in the process too :)
The reason why I don't make amazon is just that I can't verify the suppliers if they are good or not since I can't really buy from Amazon being here in China at the moment here the locals use Taobao which is where I source my things, then I usually just make the AliExpress links or part names
Sir, love the awesome Raspberry Pi Pico - Bluetooth Controlled Car Project. Sir, can you make the Arduino Uno Xbox360 controlled 6 dof robotic arm car using the Xbox360 controller? Sir, tell me, is it possible to do this amazing project.
Is there like special xbox controllers for microcontrollers that comes with a receiver? I have a ps2 control which I used before never tried xbox controller before
@@АлександрМаскалевич-и1ж great, I should probably make an update video because those motor drivers are really not great found better ones for the same price
I want to add an additional motot driver to use two more motors to control a trane an the top of this car. Can I connect two motor drivers in one raspberry pi pico?
What voltage will you use to power everything if you for example use 5V, you can power everything directly from the 5V the pico and two motor drivers because the motor driver uses 3.2V~40Vdc as input and pico 3.2~5.5V. Now if you give more voltage because you want more power from motors it won't matter which motor driver is used. The motor driver has a regulator to regulate the voltage to 5V that can be used to power the pico, just make sure all of them have a common ground
I started a robotics club in school, and this really expanded my club and my knowledge of robotics! :)
That's awesome! I plan in future to cover other motor drivers and how to make a PCB to house everything better.
Another very well done tutorial in a list of several others on this channel. Slowly becoming my go to channel for raspberry pi pico & micropython. Looking forward to more.
Thank you Jim, it really means a lot to me reading comments like this and I am glad the videos are you helping you, if you have any requests for future videos do let me know.
Great tut! Will give it a try!
Thank You, Love Your teaching!
You are welcome
bro just saved my after-school club 🥶🥶💀💀
we're doing a project about building a robot that can take aparta lego structure, and this was VERY, VERY helpful
thanks, my guy NerdCave
That is awesome! Glad it was useful, this project was during my 90 day lockdown in apartment XD
hey, thanks for replying! i have a question: can this project be done in circuitpython? i'm wondering because at school, i have to use a chromebook and micropython doesn't support mass storage. if not, i can try to adapt.
Yes this can be done in CircuitPython just a little bit of modification needed but the logic stays the same@@comical24
ok, nice! thanks
if you need help just reach me on discord@@comical24
Great tutorial 😎
Helped a lot
Thank you🙂
Glad it helped!
Awesome, really cool project! ^_^
Thanks bro, very interest project!
Hii , I loved your work! Can you please capture the latency of that Bluetooth?
Hi, I will quickly check how to capture latency, not 100% how to capture it
@@NerdCaveYT thanks a lot 😀
A most interesting Bluetooth Raspberry Pi Pico video. 🥳 Will this code example run on the newer Raspberry Pi Pico W with built in Wi-Fi and Bluetooth? 🤩 Thank you.
It should, I have not tried to use the Bluetooth on the Pico W the implementation does not seem straightforward, WIFI might be easier
Thank you.
Hi Thanks for an amazing project which nearly works! I have the joystick option working fine, thanks. I am having trouble with the bluetooth option. I've loaded your MIT example and I have a similar example app supplied by the bluetooth company who make the module. My problem is I can't work out the structure of the data you are sending and I don't understand the constuction elif ('E' in data) speed=data.split("|"). Could you please help ? If I simply the if statement into just reading character it works but I would quite like to have speed decoded as your program does.
Hi at this moment I do not have my pc, all my things are in containers busy moving. The code as I remember was send a value depending on the slider which will range from 0-100 and if you print the data being received from Bluetooth it needs to be split since it gives a value x 'b' Infront that gets formatted so that I can pass the correct value for when calculating the PWM to control the speed. If possible you can add me on discord and I would be able to help.
Thanks, I will do that.
Good job u helped me so much thanks
Glad I could help
Very good video with excellent description. I am using Pico W (it has ble) so I don't use the HC-05. The app you provide us needs the pico to be paired with the phone in order to work (when you are selecting device you can see only devices that are paired to your phone). I have tried many times but pairing fails every time. Do you know why? I am a bit confused. Is there any way to finally pair the pico with my phone (I have checked and my phone supports ble devices)? Because I can not pair the pico with the phone, I don't see it as a choice in the app.
What phone are you using, so my phone picked up the HC-05 but I do know that Apple does not work with this protocol used on the HC-05 and you need different protocol. I have not checked with the Pico W yet in terms of BLE I probably have to check it out and make a follow up video on this project
@@NerdCaveYT Ahhh, I understand. I have an Android, realme 7, whatever
Hey I am about to try the same project using your guidance and code, but I need 4 wheels, I am guessing that I will be able to work it out isnt it ? they shouldnt be any technical issues doing it using those components ? Thanks !
Hello you will be able to connect 4 motors to the one driver if you would like to make it 4wd. So in short two motors to A and two motors to B
Hey so i made this but it wont move the motors. I have the code working and bluetooth is connecting, jusy when i use the software on your app (or any software for that matter) the motors wont move. Do you know a way I could fix this?
what is the PWM or speed set to, if it is to low the motor will make a high buzz sound
Awesome project sir can you please share the 3d model of the board sir it will be helpful to us a lot sir
Hi, do you mean the body of the car, I just made a simple file and saved as a dxf to laser cut it is in the description
I am planning to use the version of pico that has bluetooth (the W version) instead of using the HC-05. Do I have to change the power supply in order to operate succesfully? I am afraid that if I use the same power supply the raspberry will fry because the cable coming out of the L298N moto controller is at 12V. Please help me, i don't know what to do...
The L298N has a 5V out pin as shown in schematic, just make sure when power the pico from the motor driver 5V out that Pico is not plugged into PC via USB
Really nice video! Are all the jumpers Male-Male?
thank you, for the pins connecting to the motor driver female-male so it can connect to the breadboard
@@NerdCaveYT Thank you so much! How many cable (male-male and male-female) do I need in total for the project?
Hi, great work! Is it possible to control the speed of the wheels? Thank you
Yes, there is a slider to change the pwm to increase the speed of the motors
Hey, your projects are amazing. We want to feature them on our channel (with proper credits to your channel). If it sounds good then kindly reply.
I replied to the email send.
Good Thing! Everythig works fine, but: left is forward, right is backward, up is right an so on. How do i correct this?
In the code where you have the function forward, backward, left and right you set the output high or low, change these to get the correct results or what you can do is rename the functions make right to up etc.
yeah, i renamed the functions, but also the names in the "while true", that was my mistake. Now it works. Thank you!!! An now i´ll build these one with a Raspberry Zero with a Camera...
Awesome glad it is working now, saw a new pico being released recently
Hey thanks a lot for this. Do you mind creating an amazon list with all your components ? If you start affiliation you might make a buck in the process too :)
The reason why I don't make amazon is just that I can't verify the suppliers if they are good or not since I can't really buy from Amazon being here in China at the moment here the locals use Taobao which is where I source my things, then I usually just make the AliExpress links or part names
Sir, love the awesome Raspberry Pi Pico - Bluetooth Controlled Car Project. Sir, can you make the Arduino Uno Xbox360 controlled 6 dof robotic arm car using the Xbox360 controller? Sir, tell me, is it possible to do this amazing project.
Is there like special xbox controllers for microcontrollers that comes with a receiver? I have a ps2 control which I used before never tried xbox controller before
Hello. android application constantly loses connection with HC-05 module. Don't know what could be the problem?
I am not sure I will do a bit research, I have not used it that long to experience anything
@@NerdCaveYT Hello. I figured out the problem was with the battery. I installed a 9 volt battery.
@@АлександрМаскалевич-и1ж great, I should probably make an update video because those motor drivers are really not great found better ones for the same price
Is it all right if I use three 3.7 volt batteries, or will that fry something?
Safe operating voltages are between 1.8V and 5.5V for the raspberry Pi Pico it has a buck-boost converter on board
Hello, what app do you use for schematic?
Hello not sure what schematic did I show but I usually show the schematic from EasyEDA and for circuit diagram I use Fritzing
@@NerdCaveYT Thank you!
I want to add an additional motot driver to use two more motors to control a trane an the top of this car. Can I connect two motor drivers in one raspberry pi pico?
yes the gpio pins in the Pico all have PWM so you can add another driver and just setup everything in code for a second motor driver
Thank you!, one more final question, the Pico from which motor driver will be powered?
Thank you again, you are really amazing!
What voltage will you use to power everything if you for example use 5V, you can power everything directly from the 5V the pico and two motor drivers because the motor driver uses 3.2V~40Vdc as input and pico 3.2~5.5V. Now if you give more voltage because you want more power from motors it won't matter which motor driver is used. The motor driver has a regulator to regulate the voltage to 5V that can be used to power the pico, just make sure all of them have a common ground
Hello, I found out the HC-05 module will not work for iPhone I wanted to point that out. I found out the hard way
I did not know that, I never used an iphone before
we can't use a usb bluetooth ? we really need the module ? it's the only way ?
you can if you want, there is a few videos on the esp32 on it
what does mean error unable to write: broken pipe?
this happens when there is an error while the code is uploading
Hey im trying to make a degine similar to this and I was wondering, why isnt their a reciever?
The Bluetooth device is connected to the pico and receives data from the phone once it is paired.
@@NerdCaveYT sorry wrong word i meant resistor
Can you use a raspberry pi 4?
You can use a raspberry pi yes, but this tutorial won't be helpful. If using the raspberry pi probably using wifi to control it would be better.
how to enable hfp on rpi?
on the HC-05?
@@NerdCaveYT Ya, and for RPI?
Waiting for new Video.
I really want to build new projects at this moment unfortunately the whole "nerd cave" is packed up in the process relocating to different city.
@@NerdCaveYT Would love to see your next project on Raspberry Pi PIco W.