One of the reason I am using Endless OS is the availability of Arduino IDE for Electronics prototyping.
Installing Arduino
- Open App Center (More Apps) with Internet connection on
- From the Left Column Select Dev Tool >> Arduino IDE , click to install
Now the problem will happen when you try to Upload sketch/code to the Arduino Hardware.
The system will not grant access to Serial Port.
Serial port will appear as “ACM0” inside Arduino IDE >> Tools >> Port >> dev/tty/ACM0
It could be “ACM1” or “ACM2” in case of multiple serial devices like modem or some other hardware !
After connecting Arduino Board to computer this Port should appear but upload might not work !
Solution
- Open Terminal App
- Paste the following command line and press enter on keyboard
ls -l /dev/ttyACM0
Terminal will return
crw-rw---- 1 root dialout 166, 0 Feb 28 00:16 /dev/ttyACM0
- Now, Paste the second command line and press enter on keyboard
sudo chmod a+rw /dev/ttyACM0
Terminal will return
[sudo] password for yourOS_AC_Name:
asking to enter the account’s password, by the way user account must be Root or Administrative , guest or limited account won’t allow this modification.
-
Enter the password which will be invisible as you type it.
Hit enter after inserting the password
if password is typed right Serial Port Access to Hardware will be Authorized -
Now you can Upload Arduino Codes