Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [arduino]

Motherboard usually used for robotics

0
votes
0answers
5 views

uArm movement through python 3

import pyuf import time from time import sleep from pyfirmata import Arduino from uf.wrapper.swift_api import SwiftAPI swift=SwiftAPI() port = '/dev/ttyUSB0' board = Arduino(port) swift.set_position(x=...
0
votes
0answers
38 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
30 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
263 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
294 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
276 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
248 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
38 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
305 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 ...
2
votes
2answers
1k 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 ...
-1
votes
1answer
553 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
573 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
342 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
508 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 ...
2
votes
1answer
732 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
724 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
1k 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
963 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
637 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
1k 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 ...
3
votes
1answer
4k 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
579 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 ...
5
votes
2answers
16k 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 ...
3
votes
1answer
2k views

Controlling process priorities

I have recently started trying to control stepper motors with the Raspberry Pi. I have succeeded in getting motion. The problem I am having though is that it seems the stepper motor is missing steps ...
1
vote
2answers
463 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 ...
36
votes
5answers
80k 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 ...