How to setup Raspberry Pi Pico on a Mac
Вставка
- Опубліковано 12 лют 2021
- This video was requested from my fantastic audience. We look at how to setup PyCharm for the Raspberry Pi Pico on a Mac!
In the video I promised a link to the USB-C adapter I use:
amzn.to/37bkMGq
Let me know what else you want to know about the Pi Pico - Наука та технологія
This was exactly what I needed to get up and running. Thank you so much. I've been googling all about for some time and had not come across anything that just laid it all out so clearly. Worked the first time! Now I'm off an running with my new Python powered robot project!!
Nicely explained - thank you
Really helpful - thank you! Tried PyCharm on my Mac previously and couldn't find the Port address. Will give it another go!
Good luck
Many thanks. I have set up pycharm for micropython as presented. Raspberry pi pico has been added to device list.
Great! Thank you!
Thank you very much 👍👍
Thank you so much this has really helped me set up my Pico! 👍👍👍
Btw at 3:58 Raspberry Pi Pico is now available as a device type :)
Ah that’s awesome news buddy let us know what you do with your pico
Good stuff!
Maybe you could explain why the choice of PyCharm over other IDEs, especially for the beginner? Thonny seems to be a bit more integrated with the Pico without much faff. I don't know about any others.
nice vdo!!!!!!
legend
Please can you do a video connecting pico to mpu6050
Thanks for a great tutorial, but link to Amazon is not working - Page Not Found
Does this require the use of the UF2 file on the board?
Is tehre something like this for VsCode?
Hi, does the specific USB cable matter? I'm worried about frying my pico, and unsure about the voltage of my USB
You won’t need to worry about voltage, as long as it’s a USB cable. You will need to make sure the cable can do power and data
Will the Pico run with MacMini High Sierra 10.13.6 ?
Unfortunately no, according to the PyCharm website, the minimum system requirements are macOS 10.14 or higher
My Terminal doesn’t list the Pico (it doesn’t make a difference whether the device is mounted or not). Is there anything that I am missing?
Make sure the micro usb cable you are using has data lines as well, some cables do not have them, try plugging in another micro usb device to see if that registers
@@TheMachineShopUK Thanks, it has eventually come up without me installing anything. Having fun with LED Morse code now!
Hmm, I can't seem to get PyCharm working with the Pico on my Mac...or rather, Pycharm seems to be doing everything right ("Flash project_name", downloaded as expected, etc.). But then I get nothing from the Pico. I know the Pico is alive, because I can launch the Micropython REPL and talk to it and get the led blinking, reboot it with Control-D and etc. It's just the "run" (code download and reboot) that isn't working. Any ideas?
Forgot to say, Thonny worked "out of the box" so that's what I'm using for now, but I like PyCharm better.
Yes you have to do a reboot of the pico to start it running, it seems the micropython plugin for pycharm is still a little buggy
@@TheMachineShopUK Sorry, I should have explicitly said that doesn't work...I tried both ways you mentioned in the video (power cycling with unplug, replug, and Ctrl-D in REPL) with no luck. Thanks for the video by the way! I was ecstatic to find it (just got a Pico and love PyCharm), and I couldn't have gotten even halfway to here without it!
@@djohnson16mindspring ok so have you tried doing a very basic program, like printing to REPL or toggling the onboard LED? I have had problems before where the code does not run due to a bug and it appears that the pico isn't working but its where it has crashed.
failing that, try another Pico or something like an ESP8266/ESP32.
I dont find anything called usbmodem.... only 3 things with the cu. or tty. prefix: JBLLIVEPROTWS-OTA1, JBLCharge4-SPPDev ,and Bluetooth-Incoming-Port WTH? and they dont change when I plug the pico in. Any ideas? Thanks for the vid!
Sounds like either your usb cable doesn’t support data, or your pico is damaged. Try another cable
@@TheMachineShopUK I see it as a drive though so I think data works
Now has pi pico still has pynoard but use pi pico
didnt work for me.
Sorry to hear that, any idea where the problem might be?
@@TheMachineShopUK I don’t know,I have a pretty old Mac though. it’s a IMac Retina 5k 27-inch late 2015
@@TheMachineShopUK also the problem was that my mac wouldn’t pick up the raspberry pi pico and I have doubles and triples checked the wires and they are the right wires and they are plugged in. I follow your steps exactly the same until the point when we went into the terminal it was different then mine then yours
Are you sure your micro usb cable can do data as well as power?
In what way was the terminal different?
A better command would be, ls -ls /dev/cu.*, takes you to right to the pi rather than looking for it