Tagged Questions
0
votes
0answers
18 views
Troubleshooting “Python Launcher” hanging with a Python Arduino program
I have a piece of code that takes output from the Arduino and executes actions based on the output. It was extracted from a project by talk2bruce on Instructables. For my use, the LED arrays have been ...
0
votes
1answer
56 views
jQuery live chart updates and data uploaded lively to the server
I have a small Arduino device connected to a PC, and I have a small command line software to read live data over serial from that device.
I need to upload the data directly to the server and show a ...
0
votes
2answers
66 views
How to consistently print data from serial in python
I'm trying to print the data that comes across the serial from an Arduino but I am unable to do so. My attempted code is this:
import serial
import time
s = ...
3
votes
2answers
144 views
Sending float type data from Arduino to Python
I need to send float data to Arduino from Python and get the same value back. I thought to send some float data from the Arduino first. The data is sent as 4 successive bytes. I'm trying to figure ...
0
votes
1answer
103 views
collecting 'double' type data from arduino
I'm trying to send floating point data from arduino to python.The data is sent as 8 successive bytes of data (size of double) followed by newline character ('\n').How to collect these successive bytes ...
2
votes
2answers
219 views
Does Python serial readline interupt Arduino loop?
I am trying to post twitter updates from a sensor interfaced with an Arduino. The Adruino loop has a 1s delay between reading sensor voltages. The Python code has a 1 hour delay between Twitter ...
1
vote
1answer
110 views
Pyserial read loop requires multiple inputs to register
I am new to Python and programming in general.
I am in the process of making a remote control for Spotify using an Arduino and python.
Whenever a button is pressed on the Arduino, a single character ...
2
votes
4answers
756 views
Linux and Python: auto-detect Arduino serial port
I have a problem automagically detecting my Arduino's serial port in Python, using Mac/Linux.
I know a working shell command to find the port; because Arduino serial ports almost always begin with ...
0
votes
2answers
109 views
PySerial communication with variables
I am trying to interface with my Arduino via Pyserial on OS X. I am controlling LEDs with sending numbers from 0 to 9.
The code as in
import serial
arduino = serial.Serial('/dev/tty.usbserial', ...
1
vote
1answer
645 views
Continuous data streaming from Arduino to Python (failing readlines)
I'm trying to continuously read data off of my Arduino Nano via a Python script. But most of the time, the readline would either fail throwing an exception or return corrupted data, like missing a ...
0
votes
1answer
78 views
OSC-address in MAX/MSP
Can anyone help me with a problem routing OSC messages? I'm using Python, MAX/MSP with OSC to communicate between Arduino Xbees.
I hope there's someone out there!
2
votes
1answer
239 views
Continuous data streaming Arduino to Python
I am trying to get a Python GUI window using Tkinter to continuously display data streaming from an Arduino Uno board acting as a voltmeter. With the code I've got, the window will display one data ...
0
votes
2answers
371 views
Sending hex data over RS-232 between an Arduino and a Mac OS X system
I'm using Voice Recognition Module -- Arduino Compatible. It says there to use AccessPort, but since I'm on Mac OS X it won't work. I don't know of any other solution but to write my own in ...
1
vote
2answers
97 views
Can a device have two UMDF Drivers?
This may seem like a bit of an odd question, but I was wondering if it is possible to associate two drivers with a peripheral device?
The reason I ask is that I am building an input device for Maya ...
2
votes
2answers
1k views
How to send serial data from Python script to Arduino on Windows - Nothing Works
I can't correctly send data over serial from a Python script to an Arduino Uno. I'm using 9600 baud, and the Arduino correctly resets, but it does not read the char I'm sending from the Python script. ...