Absolutely the easiest tutorial and way to get started. First with how easy it was with Pycharm, banged my head with the Visual Studio set up on windows for a whole weekend and got absolutely nowhere. Second, fantastic and straight-to-the-point instructions.
@loupletac2 жыл бұрын
FYI: for the pico W, it's no longer the pin 25. Use led = Pin("LED", Pin.OUT) instead
@mikep49813 ай бұрын
thank you for this!
@petermferguson3 жыл бұрын
Getting the "Run ‘Flash main.py’" is invaluable - thank you :)
@TheMachineShopUK3 жыл бұрын
I know right it took me ages to find that and I didn’t want to start the video until that was definitely the fix. The amount of websites I searched for to try and find that.
@TheMachineShopUK3 жыл бұрын
Feel free to share it on social media to make sure people know about this trick 😉
@kenwallace64933 жыл бұрын
One of the better getting-started videos. Thanks!
@denisfilming3 жыл бұрын
Thank you very much. Just got into Pi development and wanted to use PyCharm, and your video allowed me to do that. Cheers!
@zhouyu99712 жыл бұрын
This is really helpful. I can't get used to the Thonny Mac version for bugs, and editing interface.
@deniz_guven2 жыл бұрын
Thanks for the clear and understandable instruction. This is the best way to program pico.
@freeelectron82613 жыл бұрын
And many thanks for the "how to" on seeing Pi Pico's printed text using Cmd D in the MicroPython REPL within PyCharm. Another tricky one!
@faudek Жыл бұрын
best tutorial for beginners, I watched a few this is the only one where was mentioned how to see logs form print statement
@kooroshtehraniyan19182 жыл бұрын
Thanks buddy! Finally got PyCharm working on my Pi Pico!
@ste765393 жыл бұрын
OMG thank you for this! I had my Pico running with Thonny, but honestly I really do not like Thonny, it's just too fugly. Pycharm is a lot nicer to use (although it needs the auto detect feature adding asap)
@KarlZawoy Жыл бұрын
John, Thank you for the great tutorial. Very helpful, I'm up and running now with my PICO on PyCharm!
@MikeSims703 жыл бұрын
THANK YOU for this video. I was having a heck of a time finding any links describing how to get PyCharm working with the Pico and you summed it VERY nicely and very concisely! Well Done Sir! :-)
@Quebster2 жыл бұрын
Awesome little tutorial. Thanks!
@hornorama3 жыл бұрын
Thank you! Thonny was a doddle but I was struggling on a new PyCharm install but all working now. Stopped me pulling what's left of my hair out!
@jorgechac Жыл бұрын
Excellent, today Pycharm has already been updated and Raspbery Pi Pico already appears in device type.
@GETinTheVaniHavCndy3 жыл бұрын
Thank you, I was struggling to read serial messages from my nodeMCU. Incredibly helpful, serial tutorial begins @ 10:58
@salamona033 жыл бұрын
Thanks, the tutorial worked for my esp32 apart from firmware which I used thonny to install.
@PM-ly9gc3 жыл бұрын
Superb tutorial. Thanks for sharing!
@amoghpatil3023 жыл бұрын
Thank you for keeping it simple!
@risk47862 жыл бұрын
Thank you very much for the tutorial, it helped me a lot, I wanted to know if I wanted to import external libraries to the microcontroller, how would I have to do it? would I have to load the library to the editor and do the same process to upload the 2 at the same time or how would it be?
@deniz_guven2 жыл бұрын
It is working flawlessly.
@freeelectron82613 жыл бұрын
Thanks for saving us lots of config hassle!
@investwithstuph58873 жыл бұрын
excellent introduction, im a newbie and needed such video. Keep up good work!
@karama54782 жыл бұрын
Hi, i followed same steps but mine still not blinking. When i using Thony IDE it works . I don't understand why it doesn't work with Pycharm IDE.
@booboyBL3 жыл бұрын
Thanks for this video. I just got my Pico this morning. I followed this tutorial on my Mac with no issues, EXCEPT after uploading the script the Pico does NOT do a soft reboot (although the upload output shows it). I needed to power cycle the Pico.
@TheMachineShopUK3 жыл бұрын
Did you open the REPL and press CTRL+D?
@amank973 жыл бұрын
Can you make a tutorial for using 7-segment display(single button) with pico or using a 16x2 oled display to show data on it?? Or suggest some video where I can find about it....thanks
@sathishkumar-pc4gb2 жыл бұрын
hey i need pycharm machine module inside of the intreptuer package side not avilable so can you give me a guidence for due to i'm strugling so longer
@iKostanCom3 жыл бұрын
Hi there. Well done, thank you for this quality content.
@ivangutowski2 жыл бұрын
Literally... amazing... Absolutely perfect, clear and concise. I know a bit of C# so love having the decently complex IDE.... my god python is a simple and clear language :O
@emilwaszkiewicz77442 жыл бұрын
I'll tell you what...IT WAS JUST GREAT,MANY THANKS!!!! :)
@TheMachineShopUK2 жыл бұрын
Almost as great as your comment, thank you
@emilwaszkiewicz77442 жыл бұрын
@@TheMachineShopUK Sorry for asking you, but I've tried to terminate the your program blinking diode, but it doesn't let me - still running, could you please help? And I'm also getting message: ModuleNotFoundError: No module named 'machine'. The ports are set the same. Thanks
@dans-designs2 жыл бұрын
great tutorial, thank you for taking the time!
@GeekMustHave3 жыл бұрын
Your video created quite a bit of excitement on getting started with the Pico. The only problem right now is that the Pico is harder to get than a Covid-19 Vaccine shot. Keep broadcasting!!
@KidFifty Жыл бұрын
Thank you; very easy to understand.
@je1vuj3 жыл бұрын
It was easy to understand. Thank you very much.
@denisfilming3 жыл бұрын
Any idea how to browse and load files residing on the Pico (from PyCharm)?
@Jlou210003 жыл бұрын
It works !!!! Thank you so much :)
@mohamedabdelfattah86273 жыл бұрын
Very helpful video, thanks a lot.
@amank973 жыл бұрын
Would like to see what more can be done with Pi Pico...waiting for the next video to come out
@TheMachineShopUK3 жыл бұрын
Hay Aman, thanks for the comment, anything in particular?
@amank973 жыл бұрын
Haven't thought about anything in particular, would keep u posted as I come across some idea
@walterp71253 жыл бұрын
Could you please explain how to see the micropython console in pycharm ? I mean in a program I wanto to use print("Hello") but I don't see the string in any console ....thank you !
@TheMachineShopUK3 жыл бұрын
Thank you for your comment Walter, I’ll get right on it
@walterp71253 жыл бұрын
Thank you sir. If you discover how to do it will be nice and it allows to make some movies and develop more. You know, I don't want use Thonny. Pycharm has the code completation and more features as IDE. I keep on the Pycharm !
@walterp71253 жыл бұрын
in the menu Tools --> MicroPython -> MicroPython REPL you can run the console but the serial port makes troubles faster and then restart pc, disconnect etc
@octopussapiens54973 жыл бұрын
In my case I had to put Auto-detect device path in the setting to make it work. Otherwise it stuck on 0% flashing process
@TheBishopOfBarton3 жыл бұрын
There's clearly a lot of work gone on behind the scenes for this video! Thanks for doing this - very useful, and you covered all the problems I had as I went along. Nice work. My version of PyCharm doesn't have the Tools menu on the Navigation bar and I haven't quite figured out how to get it up - I ended up getting to it using the Help - Find Action option. How would I get the Tools bar up?
@TheMachineShopUK3 жыл бұрын
Which operating system are you using?
@TheBishopOfBarton3 жыл бұрын
@@TheMachineShopUK Windows 10. I've got the latest version of PyCharm, but I can't see a way to get that tools menu onto the main menu bar.
@filipsnajperful3 жыл бұрын
is there a way to run micropython on vscode? Please make a video about it if it is possible. Also I can't install machine module with pip (plenty of errors because of pycrypto).
@Setssquare3 жыл бұрын
One dought please help me in file manager the pico is not coming
@MainzerKaiser2 жыл бұрын
Before using the Pico I programmed a Qt GUI, which I can interact with via a touch display on the Raspberry Pi. The GUI python code stores settings for a LED strip, which I started via GPIO pins. Now I want to use the PICO pins instead of the GPIO pins. It works in principal, but starting the LED strip always means to flash the PICO with the new main.py (including new settings). The PICO needs ca. 1s for that and is quite fast in comparison to other micro controllers, but obviously it is not as fast as the GPIO interface on the Pi. Is there any way to speed up the flash process?
@Aka_Hub3 жыл бұрын
Thank you dear keep it.
@tolgagercek26 күн бұрын
Hello I can't find micropython in pycharm market, how can i find ?
@nutakkipradeep27083 жыл бұрын
Can I have integration of Aanaconda3, Python 3.7, Pico version?
@paulavandertol56012 жыл бұрын
Hi, ive bought an pico H. One question, when i write the program and run flas etc.. my led wont blink on the pico. although i see soft reboot etc. no errors. any clues?
@Office-Clerk9 ай бұрын
I know it's too late for answer, but it may help others. I just bought Pi Pico W, followed this tutorial, and the led doesn't blink (everything else went good). The problem was - on pi pico W we should now write led = Pin("LED", Pin.OUT) instead of 25. On pico W, internal led is not on 25 pin anymore. I guess for pico H (does pico H exist?) you may have same problem. Pin 25 is not an internal led anymore, just write "LED" instead of 25.
@rajeshrazz92443 жыл бұрын
Great video
@Darkev773 жыл бұрын
Awesome video! How to save a file script on the pico via PyCharm?
@prathameshgujar65273 жыл бұрын
Not able to install the Files needed for Pyboard support in PyCharm. No blue hyperlink found. Is the Pico board connection to the PC first necessary?
@TheMachineShopUK3 жыл бұрын
Did you enable micropython support in the options and did you have an active internet connection? You don’t need to have the pico plugged in to see that message
@michaelevan91843 жыл бұрын
Spot on job!
@AzlanNadeem-q8p Жыл бұрын
How to fix this "Raspberry pi pico support requires valid python 3.5+ SDK" ?
@luchi59883 жыл бұрын
Great! Thx for timesaving!
@adamhofman81123 жыл бұрын
Hello, I'd really appreciate Linux tutorial on how to set Pico up with Pycharm. Thanks and keep up the great work!
@cvm66903 жыл бұрын
Merci pour la présentation :pouce:
@shakirsalam5554 ай бұрын
Thanks Bro, interesting info
@baltazardiaz94233 жыл бұрын
Thank you. If you select ESP8266 also worked for me.
@omerfarukgunaydn48812 жыл бұрын
is there a any chances that can i use different librarires with raspberry pi pico in pycharm ? for example i want to create guı with tkinter at the same time i want take values from raspberry pi(for ex temp) and i want to write this values into my guı
@TheMachineShopUK2 жыл бұрын
No the pico cannot handle a GUI, that would be two separate scripts, one for the Pico and one for the desktop GUI that runs on a computer and communicates with the Pico over some sort of communications protocol, e.g UART. Unless you were running this on a non-Pico raspberry pi (like a zero) which can handle the GUI, then you could have one file that handles sensor data and the GUI.
@omerfarukgunaydn48812 жыл бұрын
@@TheMachineShopUK thank you so much
@Baba-so6fh3 жыл бұрын
is it possible to send the pico instructions from a PC to carry out a task? I want to try and use my PC as an IR remote control. But the PC will act as a web server which listens for specific calls. I then want the PC to get the pico to carry out specific IR pulses... Anyone have any ideas on how i can achieve this?
@TheMachineShopUK3 жыл бұрын
I’ll see what I can do for this
@47lokeshkumar743 жыл бұрын
yes
@jumbo9996143 жыл бұрын
I have no knowledge of machine learning but I know it uses Python programming language. And since this raspberry pi pico also uses Python, can we do machine learning on it?
@susmitagoswami1292 жыл бұрын
Hello thanks for the awesome video. My device is COM3. I have followed everything but don't know why getting no module name machine error. Can you please help me with this? It is not working for me. Any help would be great.
@TheMachineShopUK2 жыл бұрын
Can you tell me exactly what it says please?
@susmitagoswami1292 жыл бұрын
Hey thanks a lot for promt reply. It got solved for me. It was a sily path mismatch for me. But thanks a lot for your help.
@susmitagoswami1292 жыл бұрын
Another request as a viewer, is it possible for you to make a video on raw sensor data like accelometer data plotting using pico? Because I believe there is not enough support for plotting raw sensor data using pico. So, I would love to see some experiments.
@susmitagoswami1292 жыл бұрын
Hello, another thing I didn't notice properly that, it is running and giving no error. However, no print message is displayed in micropython. Any idea how to fix it?
@PontusThePilot3 жыл бұрын
Great vid! Please do a Mac and a Linux version as well :)
@TheMachineShopUK3 жыл бұрын
Ok will do
@damanivu3 жыл бұрын
Mac port for my computer was “/dev/cu.usbmodem0000000000001”
@raunak512993 жыл бұрын
Great video. But there is a high pitched noise in the background.
@TheMachineShopUK3 жыл бұрын
Hi Raunak, thank you for the comment, I’ll check out the noise for future videos
@linuxboi28693 жыл бұрын
Nice video!
@alibabaei34572 жыл бұрын
Thank you very much👍
@orph4nsx Жыл бұрын
Is python better then C/C++ with Rap PI Pico?
@TheMachineShopUK Жыл бұрын
Technically no, since python or micropython in this case, is interpreted where as C is compiled, so the pico has to do more work when interpreting micropython which means each instruction takes longer, slowing down the whole program
@TheMachineShopUK Жыл бұрын
But on the flip side, micropython can be easier to understand and you don’t have to compile it
@MainzerKaiser2 жыл бұрын
I copied your steps on the Raspberry Pi instead of Windows, got the Upload of my Files working, started MicroPython REPL and pressed Crtl+d, but it happens nothing. The procedure works with the Thonny on Raspberry Pi though. Same with other scripts, it is somehow related to the Pi/Pycharm. Edit: I plugged the Pico in the Windows PC and did everything as you mentioned, unfortunatley LED is not blinking. After CRTL+D i get >>> MPY: soft reboot MicroPython v1.17 on 2021-09-02; Raspberry Pi Pico with RP2040 Type "help()" for more information. >>> as on Rasp Pi.
@TheMachineShopUK2 жыл бұрын
Interesting, I will try this too
@MainzerKaiser2 жыл бұрын
@@TheMachineShopUK I made it work on both Windows and RaspPi: 1. in my case only python scripts called main.py were detected on the pico and made it run 2. even if pycharm offers to have Pico in MicroPython settings of Pycharm, I had to choose Pyboard
@jemarosepagasita50009 ай бұрын
Thank you so much
@renanrenan33123 жыл бұрын
I'm Brazilian, my name is Renan, I have an interest in learning web designer and programming in python, but I have nowhere to practice, I would like to have access to the raspberry pi, more here in Brazil with the current dollar quote, the equipment that was supposed to be easy access, very expensive, between R $ 500 and R $ 1000, with a minimum wage of R $ 1060, I am not able to acquire. would it be possible to help me in any way? I'm sorry for any typo I'm using google translator. I'm just asking for not having the conditions. Thanks in advance.
@TheMachineShopUK3 жыл бұрын
Hey, check this site out, they have a special version for Brazil www.filipeflop.com/produto/raspberry-pi-3-model-b/
@damanivu3 жыл бұрын
Mac port for my computer was “/dev/cu.usbmodem0000000000001”
@AzlanNadeem-q8p Жыл бұрын
And its showing SDK invalid
@venkir14083 жыл бұрын
pyCharm windows could have been bigger or maximized for better visibility
@TheMachineShopUK3 жыл бұрын
Thank you for the feedback
@carloseduardoangelescabana23323 ай бұрын
Thanks!!
@CallMeMSL3 жыл бұрын
thanks dude
@TheMachineShopUK3 жыл бұрын
You’re welcome
@jugnu3613 жыл бұрын
how to debug using ST Link and SWD ........ without debug this is not of much use .....
@TheMachineShopUK3 жыл бұрын
You can debug this like an Arduino, you can use print statements and led indicators. But I will look more into this feature
@themarsoff3 жыл бұрын
ModuleNotFoundError: No module named 'machine'
@jasontiscione17413 жыл бұрын
PyCharm doesn't support this plugin anymore and current versions won't let you install it.
@trevorphillips92202 жыл бұрын
It does work for me now
@Taki7o72 жыл бұрын
Type exec(open("filename.py").read()) into the REPL if you want to test another file ^^