0
votes
1answer
29 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
45 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 ...
1
vote
1answer
31 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 ...
2
votes
4answers
2k 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 ...
7
votes
3answers
2k views

PySerial not talking to Arduino

Python version: 2.6.6 PySerial version: 2.5 Arduino board: Duemilanove 328 I have written some code to simulate some hardware I'm working with and uploaded it to the Arduino board. This code works. ...
-6
votes
1answer
122 views

Split up serial data python [closed]

I am getting serial data of distances and angle from my arduino coming one by one serially. I need to plot it in python but first i need to split up the incoming data in to 2 different arrays. I am ...
5
votes
1answer
127 views
+50

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 ...
1
vote
1answer
65 views

Serial port does not work in rewritten Python code

I have a Python program that reads some parameters from an Arduino and stores it in a database. The serial port is set up and used like this: ser = serial.Serial(port=port, baudrate=9600) ...
2
votes
2answers
38 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
81 views

Python- Firmata and Arduino, script structure effecting firmata

When using this script to blink an LED on pin12, the script will not get past line27 where pin12 is set high. There is no error message. import json import urllib from firmata import * ...
1
vote
1answer
48 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 ...
1
vote
1answer
57 views

matplotlib, draw multiple graphs / points in figure

I am trying to develop a telemetry system which sends sensor data from an Arduino, plotted in realtime. For this I'm using Python and the matplotlib-library. My problem is that every time a new data ...
3
votes
4answers
2k views

Serial communication Python to Arduino - can't recognise carriage return

I'm trying to communicate via serial between a BeagleBone running Ubuntu 10.04 and an Arduino. So far, I can send a string okay, but I'm having problems recognising the newline character. From the BB ...
1
vote
1answer
401 views

Input/output error using Python module SMBus, a Raspberry Pi and an Arduino

I have connected a Raspberry Pi and Rainbowduino together with a homemade I²C level shifter, and installed the Python module SMBus, the Raspberry Pi can communicate with the Rainbowduino, but every so ...
0
votes
1answer
45 views

Arduino Heroku request

I am trying to make a request from an Arduino to a Heroku application. All it returns is Heroku's 404 page. So I wrote a similar script in Python, and it works fine. Arduino code: char serverName[] ...

1 2 3 4 5 7
15 30 50 per page