Installing & Using Arduino IDE on a Raspberry Pi 3

Introduction: Installing & Using Arduino IDE on a Raspberry Pi 3

About: I also find myself busy with creative web design, my websites, motorcycling, photo shopping, micro electronics, non-commercialised music, superhero movies, bad ass series and many other things that are not int…

This Instructable will go through the easy steps in installing the latest version of the Adruino IDE on a Raspberry Pi.

The Arduino IDE is available for all the major operating systems, but will show how to install it on a Raspberry Pi 3 model B running Raspbian Jessie in the GUI. An active connection to the internet will be required and to get the full experience the Raspberry Pi also needs to be connected to a screen, keyboard and mouse.

Step 1: Installing the Required Packages

The easiest way to install packages is from the terminal.

To make sure Raspbian Jessie is up to date use:

sudo apt-get update
sudo apt-get upgrade

Install Arduino IDE with:

sudo apt-get install arduino

Step 2: Connect the Arduino

After connecting a Arduino board to the Raspberry Pi using the appropriate cable, pull down the Raspbian main Menu and select Arduino IDE under Electronics. It will open with a blank screen.

To choose the type of Arduino board go to Tools > Board > and select the appropriate one.\

To select the port the Arduino is connected to, look under Serial Port under the Tools menu.

Step 3: Uploading a Sketch

Example sketches can be chosen from Examples under the File menu. To test if everything is working choose Examples > 01.Basics > Blink. This will open the default blink sketch on a new screen. You can now close the old one.

After pressing the Upload button (->) the Arduino’s on-board LED should start to blink on and off at one second intervals.

Step 4: Conslusion

That's it! If the board's build-in LED is blinking the setup is complete!

For more information & tips about the Arduino IDE, see my Blog.

Enjoy =)-~

Be the First to Share

    Recommendations

    • Micro:bit Contest

      Micro:bit Contest
    • First Time Author Contest

      First Time Author Contest
    • Fashion Challenge

      Fashion Challenge

    12 Comments

    0
    MattiV
    MattiV

    2 years ago

    how chinese clone board what need ch340 driver, how add rasbian ch340 drivers ???? and arduino ide version need be 15,4 about

    0
    AndersJ3
    AndersJ3

    Reply 8 months ago

    This installs an older version. You can install those drivers with this older version too, but that is much more hands on Linux administration.

    Easier to follow the link I provided above.

    0
    kees7
    kees7

    2 years ago

    Stupid f*cker, this way you only install an old version.

    0
    AndersJ3
    AndersJ3

    Reply 8 months ago

    It DOES work. No need to be stupid and name calling, just because it doesn't suit your use case.

    But yes, there are beter way of installing LATER versions of the software, like mentioned here.
    https://minicode.co.za/2019/10/12/correctly-instal...

    Yes, it works on older versions of Raspberry Pi:s too.

    But again, being stupid like you are not a good way of help anyone.

    0
    Cool_Coder
    Cool_Coder

    Reply 1 year ago

    SHEESH, CHILL PILL MAN. You don't need to swear to get a point across!!!

    0
    renierdelport
    renierdelport

    Reply 2 years ago

    I'm sorry. I don't follow?

    0
    JoshFixAll
    JoshFixAll

    Reply 1 year ago

    Using the repository only brings you a very outdated version of Arduino, though it works it doesnt support boards like: ESP8622, STM32, etc etc. as there is no library manager or board manager. Go to the website instead

    0
    big_nichev
    big_nichev

    Question 1 year ago on Introduction

    Hello, how can I uninstall Arduino from IDE? Thanks in advance.

    0
    AndersJ3
    AndersJ3

    Answer 8 months ago

    Do as with any Debian package, use the apt(8) command: 'sudo apt remove arduino'
    The remove will leave the configurations, so if you later install Arduino package again, you will have the same setup.

    If you want to remove everything, just do 'sudo apt purge arduino' instead. Then if you later install, it will be a fresh installation.

    For more information, search for 'Debian Administrators Handbook', which is a free book, that you can buy a Paperback version to help the authors. Or even install the package with apt(8) command.

    0
    Buttkick
    Buttkick

    Question 3 years ago

    How do you update the board manager so you can also use esp8266 and esp32?

    0
    JoshFixAll
    JoshFixAll

    Answer 1 year ago

    go to website and download 1.8.2

    0
    DIY Hacks and How Tos

    Cool idea. I never thought about combining raspberry pi and Arduino in the same system.