Questions tagged [arduino]
Motherboard usually used for robotics
37 questions
0
votes
0
answers
34
views
Debian Trixie (mate): Arduino IDE 1.18.19 is missing menu bar
I am using Debian 13, Trixie with Mate. works pretty well with the exception, that the Arduino IDE version 1.18.19 fails to show the menu bar.
yes, I'm aware there are newer version of the IDE, I don'...
0
votes
1
answer
167
views
arduino-cli only cannot access to serial port
I'm using Ubuntu 25.04.
My Arduino board creates a serial port on /dev/ttyACM0.
When I try to upload a sketch using command line I get the following error:
$ arduino-cli upload -p /dev/ttyACM0 --fqbn ...
1
vote
1
answer
772
views
Assign ttyACM to USB
I have a partially similar question like this one ttyUSB? No, ttyACM. How can I assign the usb-device to ttyACM, not ttyUSB?
But mine is a little bit more difficult.
I recently bought a Feather RP2040 ...
0
votes
1
answer
235
views
Login using arduino and RFID
I have been thinking about this for a while. How would I go about being able to log in using an Arduino and RFID card reader?
Hardware:
Arduino UNO, Card reader:
RFID-RC522
OS:
Arch Linux
1
vote
1
answer
652
views
Can't type at Linux login prompt
I've just opened up two brand new Intel Galileo Gen 2s and am looking to login to their default Linux distro via terminal (ie. no SD card used). I am coming across a weird, identical issue with both ...
1
vote
0
answers
296
views
Use bash to receive serial input then do some math with said input then send to virtual serial port for another app to read
I have an arduino sending me some numbers through serial @9600 baud. Two values seperated by a comma sent every 500ms or so. cat /dev/ttyACM0 looks like this: 10.5,20.3 with the numbers ranging from -...
1
vote
0
answers
227
views
arduino and esp8266 problem
I can't seem to connect my esp8266 d1 mini; can any one help me?
This is the error msg I get:
Arduino: 1.8.13 (Linux), Board: "LOLIN(WEMOS) D1 mini (clone), 80 MHz, Flash, Disabled (new aborts on ...
1
vote
1
answer
636
views
find where USB 3.0 device attached
I would like to read a serial input (as for example here) in linux command line but I am not able to find out the attached device (Arduino) path.
I can identify the device:
# lsusb
Bus 005 Device 001: ...
2
votes
3
answers
5k
views
Arduino: avrdude: ser_open(): can't open device "/dev/ttyACM1": Input/output error
I use arduino ide on arch linux with arduino uno connected via USB.
I am sure that I choosed right port and board in ide menu.
when I run ls -l /dev/ttyACM* I get:
crw-rw---- 1 root uucp 166, 0 14. ...
0
votes
1
answer
836
views
AttributeError: module 'serial' has no attribute 'to_bytes'
Iam trying to program Arduino Uno using python program. My python version is python 3.8. I successfully installed the pyfirmata2. but when i tried to import pyfirmata2 from command line iam getting ...
2
votes
0
answers
3k
views
device or resource busy: /dev/ttyUSB0 when not root
I've got an arduino that I use echo "b" > /dev/ttyUSB0 to send data to it. When this command is run via the root user it works correctly.
However a normal user gets an error of:
echo 'b' > /...
0
votes
0
answers
119
views
How to enable all users to access arduino card?
I am trying to set up Linux (Debian 9) machines in a computer lab to let users plug in their arduino interface and flash their device with their code.
I do not really know about arduino and so on, ...
0
votes
0
answers
167
views
Can't Flash Image onto Arduino Yun Shield using Uboot or TFTP
Note: This question was originally asked on Arduino Stack exchange, but closed as off-topic because it's an OpenWRT issue.
I have a Geeetech Iduino Yun Shield. I accidentally flashed the wrong ...
1
vote
0
answers
448
views
gcc-config: could not run/locate 'avr-gcc-ar'
I'm trying to build an arduino sketch, but it fails with error:
"/usr/bin/avr-gcc-ar" rcs "/tmp/arduino_build_191139/core/core.a" "/tmp/arduino_build_191139/core/wiring_pulse.S.o"
gcc-config: ...
1
vote
3
answers
1k
views
How to find Arduino connected to FreeBSD?
I have programmed Arduino to respond simple commands via USB. Unfortunately, I can't find it and can't communicate with it.
My usbconfig returns following:
$usbconfig
ugen1.1: <UHCI root HUB ...
2
votes
1
answer
863
views
How do I read USB data from a character device
I need to write a "character device" that reads data from an arduino and writes that data to a log file. I have been searching this subject for hours and I have seen a couple of ways to make this work,...
1
vote
0
answers
486
views
Bluetooth connection error
I want to connect my laptop(Arch Linux) to arduino. I am connecting it via bluez and using hc-05 on the arduino side.
The problem is, bluez is connecting fine with android phone, android phone is ...
1
vote
0
answers
66
views
How can I find the chipset of my Arduino board?
I've recently purchased an Arduino Pro Micro, which I am using as a BadUSB for experimental purposes. On Hak5, they spoofed the MAC Address of a USB Rubber Ducky to look like an Apple device (Hak5 ...
1
vote
1
answer
836
views
Can't use /dev/usbdevX.X as a serial port?
I have an Orange Pi Zero running Lubuntu and I want it to communicate with an Arduino (clone).
I have just put the USB cable from the arduino into my Orange Pi.
If compare al the 'ports'(?) (/dev ...
5
votes
4
answers
6k
views
How would/do I access/program a remote Arduino through SSH via an intermediate computer?
I have Arduino IDE installed on my laptop and I'd like to program a remote Arduino (Uno) that is connected to a remote machine in the same network, say, for instance, a Raspberry Pi (to which the ...
0
votes
1
answer
1k
views
Binding arduino to static port name
My question is an extension to the one asked here.
The Udev rule seem to be applied properly and i can now distingush my arduinos uniquely from an external script by referring to links files created ...
4
votes
2
answers
2k
views
udev rules don't distinguish
I have a Neato XV-* lidar unit, connected with a Sparkfun FTDI chip, and an Arduino Uno. They show up as /dev/ttyUSB0 and /dev/ttyUSB1, unpredictably unassigned.
So, I wrote /etc/udev/rules.d/80-...
1
vote
1
answer
680
views
Arduino Micro serial port drops connection after a few seconds
I recently purchased an Arduino Micro ATMega32u4. I was testing it out first on "Mac OSX El Capitan" and it was working fine, until I decided to test someone's code or until I updated my El Capitan ...
4
votes
2
answers
1k
views
How can I make a udev rule using a “sibling” device's serial number (for USB devices with no unique serials)?
I have testing equipment that is made-up of the following:
a USB Hub connected to the master PC, the hub is embedded in the test jig and is used so that we have only 1 USB cable running from the jig ...
4
votes
1
answer
2k
views
Emulate joystick input via numeric input
I have an arduino which gives me numbers from a potentiometer (300-600), device /dev/ttyACM0 baudrate 9600.
I want to use these numbers as a 1-axis joystick.
My system is archlinux and X-...
3
votes
0
answers
943
views
Cannot find /bin/avr-g++
I am trying to compile a program with the Arduino IDE but can't because suddenly it returns these errors
Arduino: 1.6.5 (Linux), Board: "Arduino/Genuino Uno"
Cannot run program "{runtime.tools.avr-...
3
votes
0
answers
2k
views
Can I connect to Multiple Bluetooth devices using a Bluetooth dongle?
I am using a usb bluetooth adapter on my PI 2 , which communicates to an arduino using HC-06 Bluetooth module. This script runs to connect to that module:
#! /usr/bin/python
import serial
from ...
4
votes
1
answer
2k
views
How to bind arduino as a fix block-device --- /dev/ttyACM0?
I want to bind my Arduino Mega as /dev/ttyACM0. Sometimes, it turns out to be /dev/ttyACM0 and sometimes as /dev/ttyACM1.
I have taken help from this question and this tutorial
Someone please help ...
0
votes
1
answer
754
views
Starting Arduino IDE as root fails on Archlinux with KDE
I need to run the IDE as root to get access to the serial port.
The command is ./arduino from inside the package folder.
On Fedora this works fine, but on Archlinux the pocess chrashes with the ...
3
votes
2
answers
3k
views
leaking memory with shell script and tty [closed]
I'm running a shell script on a raspberry pi to communicate with a arduino.
Every hour my ram gets used up by about 50 megabytes more.
The script itself just connects to ttyACM0 (the arduino's usb ...
4
votes
1
answer
6k
views
Creating/Removing a symbolic link when a USB device connects/disconnects
I'm working with an Arduino board and Matlab under Linux. Matlab, unfortunately, doesn't recognize the Arduino board when is connected unless I create a symbolic link to the Arduino board in /dev by:
...
0
votes
1
answer
901
views
Custom command wget without response
I have an arduino with an ethernet shield that is controlling a relay, which control the lights. I usually just use the phone to send a http get request from a widget in tasker, but I would like to be ...
4
votes
3
answers
2k
views
Headlessly Compiling and Uploading Arduino Programs on an armhf Platform
I'm currently running my Hardkernel ODROID U2 with the ODUINO One (Arduino Uno R3 & additions) in a headless setup and connect to the ODROID U2 via SSH over LAN.
It is running Debian 7.1 armhf and ...
7
votes
4
answers
36k
views
How to log Serial data with time stamp?
I have an Arduino sending serial data to the computer. I'm able to view the data using a Serial console. But, I want to be able to log it with time stamp.
I want a ready made script or program that ...
9
votes
1
answer
2k
views
How can I send power on/off signals to a VGA monitor?
I've used some old spare parts to make a sort-of kiosk for my kitchen. It's running OpenBSD and has a simple text based UI (no X Server).
I plan to add an Arduino with a motion sensor that ...
1
vote
2
answers
548
views
no menu entry for /dev/ttyusb0 failing to upload
I'm using Ubuntu 13.04 Gnome edition. I have a problem with my Arduino Duemilanove Board. Previously I was using kernel 3.9.2-030902-generic. After I installed kernel 3.10rc6 and I start my arduino ...
80
votes
10
answers
204k
views
How to bind USB device under a static name?
I have an Arduino which sometimes gets bound to /dev/ttyUSB0 and other times to /dev/ttyUSB1, making my script fail.
I do not want to enumerate all the possibilities of where my device could be, but ...