Pure Python programming questions belong on stackoverflow.com instead.

learn more… | top users | synonyms

3
votes
2answers
2k views

Passing data from Python to Arduino over ethernet

I have an Arduino with Ethernet shield handshaking with my machine over Ethernet, and now I want to send data between them. My problem seems to be correctly parsing the different data types. For ...
3
votes
2answers
1k views

Can't Get Raspberry Pi and Xbee to Work Together

I am having the hardest time trying to get my XBEE's to work with my Raspberry pi (RP). I have one on a USB breakout board into my computer and the other XBEE connected to a RP. The one on the RP is ...
3
votes
5answers
6k views

Python serial between Arduino and Raspberry Pi: Data is modified upon reception

I'm using an Arduino for sensor readings and sending them to a Raspberry Pi via USB, using PySerial for data reception. It works great, except for the fact received data is awkwardly modified (And ...
2
votes
1answer
357 views

Communications issues between Ardupilot and Computer

The Issue and Project: I have been at a standstill with my autopilot because I cannot communicate with it using my high powered transmitter: the Ubiquity Rocket M5. But the whole communications issue ...
1
vote
2answers
203 views

Arduino Pin value gets stuck

I'm using a Python program to send some message over serial port to Arduino. This message contains the pin number of the pin and whether it should be HIGH or ...
1
vote
1answer
211 views

How can I get a C program to execute Python code that sends commands to an Arduino? [closed]

I followed these instructions successfully, so I was able to get the Raspberry Pi to send "HELLO\n" to my Arduino Mega 2560 over USB and print to Serial console. I have installed Open CV ...
1
vote
1answer
519 views

test automation framework/softwares for hardware applications

I am an Electrical engineer so my background on software testing is limited.My application is not a software testing issue.I need to develop a software package in python to interact with a RF ...
1
vote
1answer
148 views

XBee + TMP36 temperature sensor - returning inaccurate values

I have rigged up a basic circuit as follows: The XBee is a Pro, series 2. It is configured as a Router using the AT firmware. Pin 20 (D0) is configured as an analog input. There is a co-ordinator ...
1
vote
0answers
56 views

XBee Coordinator API not receiving data from Router AT pin 20

A Xbee Series 2 in Router AT configuration with a potentiometer wiper output connected to XBee's pin 20 AD0 is supposed to send the analog data every 100 ms. It was ...
1
vote
0answers
123 views

Where does serial data get stored on a PC? [closed]

Say I have the following python script to read in serial data from my Arduino: ...
1
vote
0answers
66 views

Restart and restore startup configuration for a zigbee sensor via Tornado / pyhon

I have a question. I have a project, a domotic system, in wich I have to send some commands via interface to some sensors, temperature sensors, power sensors, contact sensors, ecc. I've already done ...
0
votes
1answer
64 views

Hardware accelleration for Python dict?

I wondered if it were possible to accelerate in hardware the Python dict? Dicts are mappings between a key and value that form a large part of the backbone of how Python works. Everything is an ...
0
votes
3answers
99 views

USB Solarpanel read current with python?

I'd like to connect a small solar panel (2v 50ma) to a USB cable and measure the output on python. Now I was wondering if this would work and how to make it work. How many volts can I send into my ...
0
votes
1answer
176 views

Arduino serial via python not working

I have a arduino running with bitlash running on it connected to a shiftbrite. I can use a terminal program to send it commands such as rgb(1023,0,1023) and it will work but when I do it with python ...
0
votes
1answer
341 views

Using Arduino/Processing to print text on screen when an LED light up

I have a question regarding the programming of printing text on the screen after an LED lights up on a breadboard. Should we plug in the LED into the Arduino board or a regular breadboard? How do I ...
0
votes
0answers
325 views

Digital Potentiometer (MCP4131) with Raspberry Pi

I'm very new in electronic stuff. I'm used to develop for desktop and mobile applications not for hardware products. I try to wire up my Raspberry Pi board with a MCP4131 Potentiometer. But it's not ...
0
votes
0answers
162 views

XBee - flash LED with Python - can't get it to work!

My setup is as follows: Co-ordinator RaspberryPi with SparkFun USB Explorer XBee Pro running API firmware in API mode = 2 Python library from https://code.google.com/p/python-xbee/ Router ...
0
votes
0answers
353 views

Raspberry Pi with SPI RFID reader/writer

I've been using Arduino for years and am now transforming to take a sip on the Raspberry Pi. I've been using the MF522 13.56 MHz RFID reader in my Arduino projects. It uses an SPI interface to ...
0
votes
0answers
17 views

USB Solarpanel read current with python? [duplicate]

I'd like to connect a small solar panel (2v 50ma) to a USB cable and measure the output on python. Now I was wondering if this would work and how to make it work. How many volts can I send into my pc ...
-3
votes
3answers
503 views

Programming language for Zigbee [closed]

I have done a small research in the field of zigbee. But , a small conflict b/w using python or java or c for zigbee coding in case of remote monitoring .