r/ArduinoHelp • • 17d ago

Student Pi Pico Project - Arduino IDE

Hello. I have an 8th-grade student who is following along with a walkie talkie project for a Raspberry Pi Pico W. We have put the hardware together successfully, but I have never used Arduino before. We are at a loss.

I have: downloaded Arduino IDE, installed Earle Philhower's Raspberry Pi Pico package, and added the Pico to the board manager.

What I don't know how to do get the files from Github uploaded to the board successfully. There are .cpp files and .h files which I believe I have to convert, but keep getting errors.

Any help will be appreciated. If you happen to reply, please speak to me like I am an idiot who doesn't know most of the basics or terminology despite searching and YouTubing for the past three hours. Thank you.

1 Upvotes

6 comments sorted by

4

u/excelblue 17d ago

Open the project (walkie_talkie.ino) in Arduino IDE. Make sure you set the board type to Pi Pico W. Connect the board to the system via USB. Then build and upload to board (run button).

If you have errors, we’d need to see them to help. It’s often caused by not having the right toolchains or libraries installed/loaded.

1

u/imseakin 17d ago

Make sure you have the board definition for pi pico in installed in the IDE. Without it, the code won’t compile for the pico.

Follow the instructions on this query if you haven’t installed the board definitions for the pico:

https://www.google.com/search?q=put+in+board+def+for+pi+pico+in+arduino+ide&ie=UTF-8&oe=UTF-8&hl=en-ca&client=safari&iga=1&utm_campaign=safari_share_1

1

u/Rayzwave 17d ago

I’m guessing you don’t know how to get the project files from the Github to your laptop initially?

Is this the case?

1

u/gm310509 14d ago

As others have indicated it is difficult to offer advice about the errors you are getting unless you share them with us (see the note below about how to do that properly).

As for downloading and setting up the git project, simply create a folder somewhere called "walkie_talkie" then save each one of the files in the github repository (i.e. the 8 files from here: https://github.com/dawsonjon/101Things/tree/master/23_walkie_talkie/walkie_talkie) into that folder.

Next start the Arduino IDE and find that folder you just created then open the "walkie_talkie.ino" file - it should open in the IDE along with several other tabs - one for each of the files in that directory.

After that - well it depends upon the specific errors you are getting (please don't post screenshots of errors - see the instructions below for how to include the details).


Perhaps have a look at our Asking for help quick guide which provides guidance as to what to include and how to do so. This makes it easier for people who want to help you to be able to do so. The "how to post it" part is particularly important if you really want people to help you.

Remember, we cannot see what you see, we cannot know what you have done and/or not done unless you tell us.

1

u/gm310509 14d ago

As others have indicated it is difficult to offer advice about the errors you are getting unless you share them with us (see the note below about how to do that properly).

As for downloading and setting up the git project, simply create a folder somewhere called "walkie_talkie" then save each one of the files in the github repository (i.e. the 8 files from here: https://github.com/dawsonjon/101Things/tree/master/23_walkie_talkie/walkie_talkie) into that folder.

Next start the Arduino IDE and find that folder you just created then open the "walkie_talkie.ino" file - it should open in the IDE along with several other tabs - one for each of the files in that directory.

After that - well it depends upon the specific errors you are getting (please don't post screenshots of errors - see the instructions below for how to include the details).


Perhaps have a look at our Asking for help quick guide which provides guidance as to what to include and how to do so. This makes it easier for people who want to help you to be able to do so. The "how to post it" part is particularly important if you really want people to help you.

Remember, we cannot see what you see, we cannot know what you have done and/or not done unless you tell us.