Questions tagged [arduino]

Motherboard usually used for robotics

Filter by
Sorted by
Tagged with
0
votes
1answer
36 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 ...
0
votes
0answers
53 views

How to build a linux for Intel Galileo gen 2?

There're some files, provided by Intel. It is set of linux images for Intel Galileo. I tryed to build one of them with help of this thing, but it doesn't work, because image doesn't consist .bb file ...
2
votes
0answers
752 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
0answers
72 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
0answers
96 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
0answers
339 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
2answers
754 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 ...
1
vote
1answer
476 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
0answers
326 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
0answers
44 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
1answer
554 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 ...
3
votes
4answers
3k 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
1answer
842 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
2answers
1k 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
1answer
504 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
2answers
713 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
1answer
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
0answers
875 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-...
2
votes
0answers
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 ...
2
votes
1answer
1k 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
1answer
684 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
2answers
2k 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
1answer
5k 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
1answer
691 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 ...
3
votes
3answers
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
2answers
24k 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 ...
8
votes
1answer
1k 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
2answers
480 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 ...
58
votes
7answers
122k 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 ...