Questions tagged [arduino]

Programmable circuit board with open-source IDE.

Filter by
Sorted by
Tagged with
0
votes
0answers
9 views

Screen vs Putty behavior on Arduino program

I want to use my Arduino UNO in Debian so I installed an x64 Debian 8 VirtualBox VM into my host OS Windows 7 x64, then I plugged the Arduino, share the USB on VBox, connect from Debian by sudo screen ...
2
votes
1answer
32 views

modemmanager conflicts with arduino

I have a problem with modemmanager. I have a huawei e3372h usb stick lte and the arduino IDE. When I want to upload a code to arduino ,I get an error (---> port is busy). But when I write in terminal ...
0
votes
0answers
44 views

Arduino IDE code upload problem

I have ubuntu 18.04 with the Arduino IDE . The problem I always have is that when I want to upload a code and connect the USB cable from arduino to laptop ,I always get the same error: The error: An ...
0
votes
1answer
101 views

Could not open port /dev/ttyACM0 Error after every restart [duplicate]

I'm getting the error could not open port /dev/ttyACM0 : [Error 13] Permission denied : '/dev/ttyACM0 ' To solve this error I write the coomand sudo chmod a+rw /dev/ttyACM0 which solves the problem ...
0
votes
0answers
29 views

HELP - Arduino install wrecked my Ubuntu desktop

Earlier tonight I downloaded Arduino 1.8.12, the Linux 64-bit version from https://www.arduino.cc/en/Main/Software, for use with the Keyboardio Model 01 keyboard. It downloaded to my Desktop/...
1
vote
1answer
97 views

USBtinyisp not showing up in Arduino IDE

So, I have tried everything I know how to do to solve this. Granted, that's not a lot. When I use either the Arduino IDE, or Eclipse with the Sloeber add in, I am unable to select a Port to program ...
0
votes
0answers
56 views

LoLin NodeMcu V3 ESP8266MOD WiFi sketch fails under Arduino 1.8.9

I compiled this sketch last year under Arduino 1.8.0, I think, and it worked then, but now I've updated the IDE and libraries in my Ubuntu 18.04.3 OS and it fails to compile with, ~/Arduino/libraries/...
0
votes
1answer
640 views

Manually uninstall software without package control

On my Kubuntu 18.10 19.04 system, I have a software installed (in this case: the Arduino IDE), which I would like to completely uninstall. I cannot remember how I installed it, but it does not show ...
0
votes
1answer
344 views

Arduino IDE for (X)ubuntu 19.10 [duplicate]

I recently installed Ubuntu 19.10. on my digital slave. From official repositories, there is no chance of an installation of Arduino IDE. Please confirm.
0
votes
0answers
133 views

Serial port output wrong characters

I'm having an awkward problem with a serial port communication betwine my Laptop (Ubuntu 18.04) and any microcontroller. The terminal (in the laptop) output nonsense characters, some of them are ...
1
vote
1answer
149 views

Multiple arduino connections problem

I have 2 Arduino Mega 2560 connected via USB to my Ubuntu 18.04 machine. When I boot, one connects to /dev/ttyACM0 and the other connects to /dev/ttyACM1. Communication works perfectly. However, ...
1
vote
1answer
102 views

Ubuntu not accepting my arduino

I am relatively new to ubuntu, and have been enjoying it. I currently have this issue. I get the error message shown below. It detects my Arduino Mega 2560, but it instead decides to give these error ...
0
votes
0answers
4k views

esptool.FatalError: Timed out waiting for packet header when using arduino with esp8266 module

An error shows up when I am uploading the simple blink sketch shown below using the arduino ide to an esp8266 void setup() { pinMode(0, OUTPUT); } void loop() { digitalWrite(0, HIGH); delay(...
0
votes
1answer
55 views

arduino create online ide not working, loading indefinitely

I have an Arduino Mega 2560 microcontroller. It was working fine excellently, until about two days ago when I dual booted with Ubuntu 18.04 LTS on my windows 10 laptop. Since then the online Arduino ...
1
vote
1answer
835 views

arduino ide 1.8.9 on ubuntu 14.04 [closed]

Giving an error when running ./install.sh Ubuntu 14.04 64 bit IDE version 1.8.9 I checked the script file RESOURCE_NAME=arduino-arduinoid this is what it has for RESOURCE_NAME jarvis@jarvis-...
0
votes
0answers
129 views

Ubuntu MATE18.04 how to set USB baud rate?

In order to use Arduino Nano I have to set USB baud rate to 9600 yet setserial does not work: after installing it does not work so I get a sync error. How can I solve this problem?
2
votes
1answer
58 views

Autorun program after connecting Arduino nano

I have read few posts which explained how to write a script and save it on the USB flash drive, which will allow it to run as we connect the device. I want to know if there is a way where we can ...
0
votes
1answer
839 views

ubuntu can't find serial port

I'm using Ubuntu 18.04.2 LTS downloaded from Microsoft store and Arduino IDE. I'm trying to use ESP32 in Ubuntu, but Ubuntu can't find the serial port. In Arduino, Tools > Port is greyed out. In ...
1
vote
1answer
369 views

Installing a new package from command line [duplicate]

How do I installed the Arduino IDE in Ubuntu from a command line? I understand that a command line will look for the package on the web repositories and installed in a proper location in the hard ...
0
votes
1answer
68 views

Overwrote files on NTFS partition as blank — how to prevent in the future?

My computer dual-boots Ubuntu from ext4 and Win7 from NTFS partitions on the same physical drive. TL;DR: How can I keep mounting my NTFS to avoid read/write conflicts? I opened the Arduino IDE, and ...
1
vote
1answer
2k views

No connection between Ubuntu 18.04 and Arduino [duplicate]

There's no connection between Arduino and my computer. When I upload a program, I get the error message: avrdude: ser_open(): can't open device "/dev/ttyS0": Permission denied An error occurred while ...
1
vote
3answers
15k views

How do I remove Arduino completely?

I have tried remove Arduino on Ubuntu 16.04 but apt doesn't remove it. These are the commands that I've tried: sudo apt-get remove arduino sudo apt-get remove --auto-remove arduino sudo apt-get ...
0
votes
1answer
581 views

'rospack Error: package 'rosserial_arduino' not found' when trying to run 'rosrun rosserial_arduino make_libraries.py' when it IS there

Sorry if the title is a little confusing. I'm trying to get rosserial installed as to allow communication between ROS and my arduino. I was following the guide and nothing would install rosserial ...
1
vote
0answers
259 views

Arduino problem with uploading program to Arduino Uno WiFi through USB [duplicate]

I have problem with uploading Arduino program to my Arduino Uno Wifi device through USB interface on my Ubuntu 18.04.1 LTS. After initiating upload process I get this error: avrdude: ser_open(): ...
1
vote
1answer
769 views

Ubuntu 18.04, Arduino 1.8.5, NodeMCU v1 will not flash even with all requirements met. Why?

Before you mark as duplicate I have read everything I can find, and done the following. 1) I have added myself to dialout group, then logged out, then back in, chmod 0666, even 0777 /dev/ttyUSB0. 2) ...
1
vote
1answer
1k views

Arduino and Ubuntu 18.10: java.lang.ExceptionInInitializerError

On freshly installed Ubuntu 18.10 Arduino installed from official repositories can't start with error Exception in thread "main" java.lang.ExceptionInInitializerError at processing.app....
2
votes
1answer
604 views

How to access a device with Arduino IDE Flatpak

I've installed Arduino IDE (1.8.5) with Flatpak (Kubuntu 18.04). Attached my Wemos D1 Mini to the USB port, but can't upload a sketch: An error occurred while uploading the sketch error: cannot ...
1
vote
0answers
82 views

Arduino IDE crashes before it opens on Ubuntu 16.04 [duplicate]

I currently installed Arduino 1.8.6 in Ubuntu 16.04, but it crashes before it opens. It worked fine for 2 days, and now it crashes. Please, can anyone help?
0
votes
1answer
880 views

How to edit .rules file

I am newer to linux and how to use terminal and I am trying to work with an arduino but the ports have access denied, and I am follow the steps to fix that issue, and I got to the part where you need ...
2
votes
1answer
574 views

ttyACM0 stop streaming after some time

I have an arduino device that read a light sensor which then the result can be stream trough its USB port. on Windows, using a software called Serial Osciloscope I am able to read the data sent by the ...
13
votes
7answers
49k views

Uploading code to arduino gives me the error: “avrdude: ser_open(): can't open device ”/dev/ttyACM0“: Permission denied”

My OS is Ubuntu 18.04 and arduino was working until now. Although there are a few solutions, none of them seems to work for me. I followed these instructions on the arduino website. Then I tried ...
1
vote
0answers
512 views

Arduino IDE timeout error Ubuntu 16.04

I have already successfully installed Arduino IDE 1.8.5 on Ubuntu 16.04. Now, I am having trouble getting programs to upload from my PC. I have a Mega 2560, I am using Arduino IDE 1.8.5, on Ubuntu 16....
3
votes
1answer
3k views

Permission denied to non-root user for USB device

I'm having a lot of difficulty getting the Arduino Tiny AVR Programmer, aka (PMG-11801) to work on my Ubuntu 18.04 laptop. This is an Arduino device that programs ATTiny85 chips in the Arduino IDE. I ...
0
votes
2answers
4k views

No ttyACM0 for Arduino Nano on Ubuntu. How can I attach it?

On my Firefly-RK3399 (arm arch) I have installed their official ubuntu image for the board. I also installed Arduino IDE and when I connect my Arduino UNO then all fine, I can flash it and I see in my ...
0
votes
2answers
578 views

Installing library with foreign architecture

I have been trying to install libc6-i386 on ubuntu 16.04 using: sudo apt-get install libc6-i386 and the command line gave the following error: sudo apt-get install libx11-6:i386. It seems that it ...
0
votes
1answer
2k views

Arduino over /dev/ttyACM0 recognized but on group tty instead dialout. IDE fails to open the serial console

I have plugged my arduino over the usb port and is recognized in /dev/ttyACM0 port according to my dmesg: [ 3269.509330] cdc_acm 1-6:1.0: ttyACM0: USB ACM device [ 3312.346228] usb 1-6: USB ...
8
votes
3answers
14k views

How to make Arduino (Snap) access serial port /dev/ttyUSB0 (or /dev/ttyACM0)?

I have Ubuntu 18.04 LTS installed. I installed Arduino IDE v1.8.5 as a snap with snap install arduino-mhall119 I have added my user to dial-out group and rebooted: sudo usermod -a -G dialout $USER ...
11
votes
2answers
20k views

How to install latest Arduino IDE? [duplicate]

As we know Arduino has non-official Snap which can access serial ports only if installed as classic (but not indicated in snap find output): $ snap find arduino Name Version ...
1
vote
0answers
5k views

Run arduino from terminal (snap) [duplicate]

I've just installed arduino from Software Center but I've run into a few complications. Port /dev/ttyACM0 is not accessible so I can't upload anything. I understand that this is a common problem, ...
0
votes
0answers
411 views

Python scripts cannot find ttyACM0 Serial port

I have a Arduino Mega 2560 sending data out, my environment is Ubuntu 14.04, it's a python ROS node. Problem is that it works well when I use Serial Monitor or Plotter in Arduino IDE to see the data ...
1
vote
2answers
2k views

How to add C libraries in Ubuntu

I want to add Arduino-serial-lib.h in order to achieve serial communication between my system and Arduino. How can I add this library in my system?
1
vote
0answers
50 views

Unable to open console screen

I am trying to send data from an Arduino to ubuntu mate through Bluetooth hc 05. I am able to connect to my Bluetooth but unable to get console screen on ubuntu to see the Bluetooth output. Can anyone ...
2
votes
0answers
184 views

I need to generate a hex file for Arduino in Linux

I bricked my BIOS and the one method which can help me to resolve the problem is to flash the BIOS chip via Arduino or other programmer. I need to generate a hex file in Linux for Arduino to make it....
2
votes
1answer
345 views

Bluetooth Connection Drops After Few Seconds

I'm trying to connect my Arduino board with a JDY-30 module via Bluetooth to my Ubuntu 16.04. The connection is established, but drops after 5 seconds. Does anyone else have issues with bluetooth ...
0
votes
0answers
322 views

Folder location for github libraries for geany on arduino running ubuntu

Very new to ubuntu. Have a Arduino compatible board PCDuino3 (no longer made) but the Arduino IDE compiler will not work with any 3rd party drivers for adafruit boards for some reason. I keep getting '...
0
votes
0answers
428 views

Can't upload sketches onto Razor IMU on Linux

So i'm kinda new to Ubuntu and programming on arduino. I am working with a 9DoF Razor IMU M0. Everytime I try to upload to it, I keep getting the error below. I orginally had problems writing to the ...
0
votes
1answer
2k views

Arduino Ide Port in the tool is greyed

I have installed Arduino IDE 1.8.5 I in my Laptop and in UBUNTU 16.04 LTS The option in Tools of PORT is grayed. I want to use Arduino Uno on it but i can't fix it.
0
votes
0answers
2k views

Arduino mega 2560 connects but code is not loaded [duplicate]

Arduino mega 2560 connects and is showed on port but code is not loaded on it! It is working fine on Windows though! Following is the error message Arduino: 1.8.5 (Linux), Board: "Arduino/Genuino ...
0
votes
0answers
151 views

Pipe stdout through sed or awk command BEFORE redirecting to file? [duplicate]

I am still kind of new to programming, but willing to learn: I am struggling with a problem in following project: I am logging analog read-outs of an Arduino board. The Arduino board sends tab-...
1
vote
1answer
733 views

Configuring Ubuntu/adding udev rule

I'm working on 16.04 and trying to setup the Arduino IDE for use with a Genuino 101.I have the ide installed, v 1.8.2, in my home folder. It compiles sketches and picks up the board serial number as ...