Tagged Questions
1
vote
1answer
17 views
Robotics kit - Using functions by changing variables
I hope I explain this well enough!
I'm creating a robotics kit which sends commands from a pi to an arduino. At the moment I'm just controlling servos with it and I have test code which works. ...
0
votes
3answers
19 views
How to watch a file for modifications OS X and Python
I'm working on a small game with a physical interface that requires me to write a character to the serial port with python every time a particular file in a directory is modified. The file in question ...
3
votes
1answer
39 views
Serial communication with Pi and Arduino
I am trying to communicate over a serial connection with an Arduino from a Raspberry Pi. I have been trying minicom and a little Python program to test the serial connection, and then echoing it from ...
0
votes
1answer
32 views
Python and arduino serial communication
I have a arduino Uno connected to my laptop through USB. I am running WAMP webserver on windows 7. I have python 2.7 and py serial installed. I wrote a HTML where the buttons when clicked will invoke ...
2
votes
1answer
40 views
pySerial program doesn't read serial correctly
I have a problem using pySerial, and I don´t know from where to start looking for.
I have a 64 bits Windows Seven OS, with Python 2.7.5 (32 bits), and pySerial and Arduino (Arduino working correctly) ...
0
votes
2answers
26 views
data coming from arduino to python (raspberryPi) invalid literal error
I have seen this invalid literal error meaning the data in the int() on the python side isn't a base 10 digit like its expecting. I get that, but on the arduino side I send it across serial with:
...
1
vote
0answers
35 views
SerialTimeoutException crashes script
This script crashes due to a serial timout exception after an extended period of time. It's been making it to 5000 loops or so before it has the following error:
Traceback (most recent call last):
...
0
votes
1answer
48 views
Send arduino sensor data to server with GPRS shield and AT commands
I'm trying to send arduino sensor data to a server using a GPRS shield (sim900 shield from geeetech http://www.geeetech.com/wiki/index.php/Arduino_GPRS_Shield). I have this particular set up because ...
0
votes
1answer
22 views
Can I use Python (with pyfirmata) to read and use data from a gyroscope connected to an Arduino?
I have my Arduino hooked up via serial to my computer and can do basic digital writes and stuff to the Arduino with Python (using the pyfirmata library). So what I'd like to know is whether or not I ...
0
votes
1answer
39 views
Python reading from Arduino script still not working
iIve asked you few weeks ago about solution on my python's scripy problem.
I just started my project again, and still got a problem.
My Arduino is working fine, command sudo screen /dev/ttyACM0 is ...
1
vote
1answer
54 views
Sync Arduino and Python
I have some Arduino code that moves motors that I want to sync with a python script to control it using serial.
This is the Arduino code:
#define BUFFER_SIZE 100
#define P1_STEP_PIN 31
...
1
vote
1answer
46 views
Script is not blocking
This is a timelapse script for moving a camera along a dolly. The problem is that when I run the code, sometimes (at iteration 7 exactly, for example) the dolly is moving and the camera snaps a photo ...
6
votes
2answers
184 views
Python read output sound not input
Any clue on what the easiest way to read the system sound level is?
I'm planning on creating an equalizer made out of short led strips and hooking them up to an Arduino or RaspberryPi. I've seen a ...
2
votes
2answers
40 views
Separate information sent via Serial
I recently bought an Arduino with an LCD screen. I want to push information from my computer to the Arduino. I came across a great article, How to make a physical Gmail notifier. From what I ...
1
vote
1answer
55 views
Understanding characters received from Arduino
I have an Arduino board sending data through a serial port and a Python piece of code reading that data. The Arduino board just sends the temperature it reads from a TMP36 sensor and when I check the ...