Bring the power of Arduino programming to your Raspberry Pi 4 with these simple steps.

A step-by-step guide to installing Arduino IDE on Raspberry Pi 4, allowing you to use the popular platform for microcontroller programming and IoT development. …


Updated October 22, 2023

Need help with your Raspberry Pi?
Contact Me!

Do you love silly Raspberry Pi Projects?
Check out my this YouTube Channel!


A step-by-step guide to installing Arduino IDE on Raspberry Pi 4, allowing you to use the popular platform for microcontroller programming and IoT development.

Are you an electronics enthusiast looking to expand your horizons? Do you want to learn how to program your Raspberry Pi 4 with the versatile Arduino IDE? This tutorial will guide you through every step of the installation process, so you can start building amazing projects in no time!

The Arduino Integrated Development Environment (IDE) is a powerful tool for programming microcontrollers and creating IoT devices. It simplifies the coding process by providing an easy-to-use interface, allowing even beginners to create complex projects with ease. While Raspberry Pi 4 can be programmed using Python or other languages, Arduino IDE offers a familiar platform for those who are already familiar with it.

Here’s how you can get started:

  1. Update your system and install the required dependencies:
sudo apt-get update && sudo apt-get upgrade
sudo apt-get install git build-essential python3
  1. Download the latest version of Arduino IDE for Linux from their website: https://www.arduino.cc/en/software

  2. Extract the downloaded file and navigate to the extracted folder using the terminal:

unzip arduino-*.zip
cd arduino-*
  1. Build Arduino IDE:
./install.sh

This will take a few minutes. Follow the on-screen instructions to complete the installation process.

  1. Launch Arduino IDE:
./arduino

Now, you should have the Arduino IDE installed and running on your Raspberry Pi 4! Before you start creating new projects, make sure to add your board to the IDE. Follow these steps:

  1. Open the Arduino IDE and go to File > Preferences.
  2. Under Additional Boards Manager URLs, enter this link: https://raw.githubusercontent.com/RoboticsBrno/RaspberryPiArduinoCore/master/package_raspberrypi_index.json
  3. Click OK to save the changes and close the Preferences window.
  4. Go to Tools > Board > Boards Manager. Search for Raspberry Pi in the search bar and install the latest version of the Raspberry Pi package.
  5. Select your board type under Tools > Board, for example, Raspberry Pi Pico or Raspberry Pi 4 Model B.
  6. Choose the appropriate port under Tools > Port (it should be /dev/ttyACM0).

You’re now ready to start programming your Raspberry Pi 4 with Arduino IDE! Experiment with different projects, learn new skills, and build amazing IoT devices. Have fun!