Elegoo Arduino Uno IDE Installation on Zorin OS 16 (Ubuntu 20.04 LTS Based)

Channel:
Subscribers:
7,760
Published on ● Video Link: https://www.youtube.com/watch?v=GrgwW0VmJTo



Duration: 8:16
918 views
15


Installation of the Arduino IDE on Zorin OS 16. An Ubuntu 20.04 LTS based Linux Distribution.

I purchased an Elegoo Uno Most Complete Electronics Kit. This Kit is based around the Arduino Uno. The electronics kit has fairly detailed information however I found the software installation section particularly lacking especially in regards to Linux. I had numerous issues trying to communicate between Linux and the Arduino. Written Guide here:
https://dellwindowsreinstallationguide.com/arduino-ide-linux-install/

Elegoo Documentation:
https://www.elegoo.com/pages/arduino-kits-support-files

To install the Arduino IDE download the latest tar.gz file from Arduino:
https://www.arduino.cc/en/software
Extract the file. Go to the extracted folder and you should see it contains an install.sh file. Right click empty space space in the folder and select open in terminal. Type in:
sudo ./install.sh
Because you are typing in sudo (super user do), you will need to authenticate the command by supplying your user password to the terminal.

Once the Arduino IDE is installed, you can attach the Arduino Uno to your PC and launch the Arduino IDE.

Select Tools and then Board and Arduino Uno.
Select Tools and then Port and then select your Port in my case /dev/ttyACM0 (Arduino Uno)

Run the Sketch by selecting the Run Button.

You will likely get:
An error occurred while uploading the sketch avrdude: ser_open: can't open device "/dev/ttyACM0": Permission Denied.

This is because we (as a user) do not have dialout permissions to access the serial port. To rectify this open a terminal and type in:

sudo usermod -a -G dialout Philip

Where -a (append) -G (Group) and Philip should be replace with your user name (shown at the start of the prompt in the console).

Then type in:

sudo chmod a+rw /dev/ttyACM0

Where a (all options), rw (adds read and write permissions) and /dev/ttyACM0 is the name of your device (this may vary if you have multiple Arduinos, replace with the desired device).

To apply the permissions we need to reboot so type in:

sudo reboot

Once rebooted, you can reopen the Arduino IDE and retry running the blank sketch it should upload without error.

Next go to File→Examples→01. Basics→Blink

This test sketch should open and you should see the test LED blink on and off for ever second after the sketch is loaded.

#Arduino #Linux #Ubuntu




Other Videos By Philip Yip


2022-05-21matplotlib the Matrix Plotting Library for Python (Spyder 5 IDE)
2022-04-03Essential Terminal Commands for Ubuntu 22.04 LTS
2022-04-02Creating a Windows 10 or 11 UEFI Bootable USB on Ubuntu 22.04 LTS
2022-04-02Ubuntu 22.04 LTS Clean Install Dell XPS 13 9305 UEFI BIOS with Secure Boot and MOK
2022-01-18pandas the Python and Data Analysis Library (Spyder 5 IDE)
2022-01-08numpy the Numeric Python library (Spyder 5 IDE)
2021-12-14Dell Firmware Update to TPM Version 2.0 or Downgrade to TPM Version 1.2 (OptiPlex 7050)
2021-12-12winget The Windows Command Line Package Manager
2021-12-09Windows 11 Direct ISO Download Link (UEFI Bootable USB with Intel VMD and Dell Driver Pack)
2021-11-30Installing Windows 11 OEM on a Dell XPS 13 9305 (Intel 11th Gen) UEFI BIOS, Secure Boot, TPM
2021-11-11Elegoo Arduino Uno IDE Installation on Zorin OS 16 (Ubuntu 20.04 LTS Based)
2021-08-30Zorin OS 16 Linux Installation on a Dell XPS 13 9365 2 in 1 Convertible Touchscreen Device
2021-08-28Windows 11 System Requirements PC Check (Updated)
2021-08-22Downloading the Windows 11 ISO, Making a UEFI Bootable USB and Clean Installing on a Dell PC
2021-08-11Securely Wiping a Microsoft Surface using the Microsoft Surface Data Eraser
2021-08-08Install DeepIn 20.2.2 on Windows 11 Pro Hyper-V VM with UEFI BIOS and Secure Boot Full Screen
2021-08-06Use of Diskpart to Format Clean or Wipe Clean All Partitions on a Drive Before Windows Installation
2021-08-05Screen Recording within the UEFI BIOS Setup and within Windows 11
2021-08-04Downloading a Windows 11 Insider Preview ISO, making a UEFI Bootable USB and Installation on a Dell
2021-07-15Install Ubuntu 20.04 LTS on Windows 11 Pro Hyper-V VM with UEFI BIOS and Secure Boot MOK Full Screen
2021-07-10Windows 11 Snap, Multi-Tasking and Multiple Monitors Feedback