Raspberry Pi Pico Hello World on Windows
raspberry pi pico ·The documentation for the Raspberry Pi Pico assumes your Pico is plugged into another Raspberry Pi.
Here’s how to run the Hello World sample on Windows.
The first four steps are the same so this is ripped from the original C documentation:
- Download the ‘Hello World’ UF2.
- Push and hold the BOOTSEL button and plug your Pico into the USB port of your > Raspberry Pi or other computer.
- It will mount as a Mass Storage Device called RPI-RP2.
- Drag and drop the ‘Hello World’ UF2 binary onto the RPI-RP2 volume. Pico will reboot
So now you’ve done that, the first thing we need to find out is which communication port the Pico is using.
- Open the command prompt and run:
mode
You will see output similar to this:
...
Status for device COM3:
-----------------------
Baud: 115200
Parity: None
Data Bits: 8
Stop Bits: 1
Timeout: OFF
XON/XOFF: OFF
CTS handshaking: OFF
DSR handshaking: OFF
DSR sensitivity: OFF
DTR circuit: OFF
RTS circuit: ON
Status for device CON:
----------------------
Lines: 9001
Columns: 120
Keyboard rate: 31
Keyboard delay: 1
Code page: 850
We can see that the Pico is COM3
because the baud rate is set to 115200
.
-
Now, open
PuTTY
-
Set the
Connection Type
toSerial
-
Set the
Serial Line
to the communication port from the previous step, which isCOM3
for me -
Change the
Speed
to115200
-
Click
Open
If you see "Hello World"
being printed to the console then it worked :)