Pure Python programming questions belong on stackoverflow.com instead.

learn more… | top users | synonyms

2
votes
1answer
32 views

Is there a spice directive to export waveform data in LTspice?

http://www.linear.com/solutions/1815 The above web-page explains how to export the waveform data to a text file. You basically run the LTspice simulation, clicking on the waveform window, go to ...
0
votes
1answer
94 views

Arduino: What is the best way to send and receive data with I2C?

I am using I2C to send and receive int values from a RaspberryPi to an Arduino then echoed back to the Pi. The primary problem I am having is with int values larger than 255. A secondary problem is ...
0
votes
0answers
13 views

WiringPi vs default Raspbian RPi.GPIO module [migrated]

Can anyone explain the difference between WiringPi and the default RPi.GPIO module that comes with raspbian? What extra features does WiringPi have?
0
votes
1answer
34 views

Connecting RaspberryPi to leonardo

Can any RaspberryPi-Arduino experts tell me what are the best options of sending data from the RPi to a Leonardo given the following 1- running raspbian on the RPi 2- running a Python script on ...
4
votes
2answers
93 views

Automate LT-SPICE?

I'm running a lot of simulations in LT-Spice, and I need someway to run them all either sequentially or at the same time. I was going to use Python, but I'm not entirely clear on how I would get ...
0
votes
0answers
17 views

FTDI Channel error when all the port are being used

I have written FTDI i2c driver for FT4232H using Python d2xx library to read a INA219 CSM's for Power Measurements. One strange behaviour seen by the driver is - 1) When I open 3 Channels as COM ...
5
votes
3answers
222 views

Wheatstone bridge sensitivity and accuracy

From my earlier question I was able to wire up 2 SEN-10245 weight sensors (each forming one half of a wheatstone bridge) with an AD620 InAmp & 47 Ohm resistor (to set the gain to ~1000). I then ...
0
votes
1answer
78 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 ...
1
vote
2answers
305 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
238 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
140 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
1answer
697 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 ...
1
vote
1answer
244 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 ...
0
votes
0answers
492 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
453 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
3answers
120 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 ...
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
3answers
723 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 .
3
votes
5answers
7k 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 ...
1
vote
1answer
224 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
0answers
76 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
195 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 ...
2
votes
1answer
399 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 ...
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 ...
1
vote
1answer
640 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 ...
0
votes
1answer
355 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 ...