Pure Python programming questions belong on stackoverflow.com instead.

learn more… | top users | synonyms

0
votes
2answers
38 views

Using Python to control Brooks MFC Power Supply

Is it possible to use Python to control the Brooks 0152/0154 power supply that powers and controls Brooks MFC units? The manual mentions the pin outs of the RS-232 ...
0
votes
1answer
46 views

Difficulty in reading values Modbus application in Python(Pyserial) On Energy meter (EM6400)

I am trying to read energy meter(EM6400) voltage values in python by using modbus protocol. But there are issues when I am reading values. I think the issue is ...
0
votes
0answers
8 views

How to read a Xbee Router pin value from a Xbee Coordinator?

I have set up two Xbees. One is the Coordinator in API mode and the other is a Router in regular mode. I have both of them communicating with each other. I have the coordinator hooked up to a ...
0
votes
1answer
73 views

What effect does the frequency have in PWM?

I am programming a PWM controlled breathing LED with RPi.GPIO Library in Python on my Raspberry Pi 2. The problem is I understand what the frequency does and what the duty cycle is but not how these ...
1
vote
1answer
67 views

Microcontroller and SDRAM

I have a project where i need to run a python script on a microcontroller. The python script is basically a GUI based script using pyQt and the internal ram of a microcontroller isn't enough. After ...
0
votes
1answer
73 views

Sending AT Commands to Remote XBee using python-serial

I have connected coordinator xbee to serial port of beaglebone i.e . tx and rx of beaglebone. My router's D0 pin is connected to relay. I want to remotely disable or enable the D0 pin. For that i am ...
-2
votes
1answer
56 views

How to connect LM35 Tempreture sensor to xbee

I suppose to calculate actual temperature of remote location using lm35 temperature sensor and xbee sensor. I am getting analog input from sensor, but I am unable to calculate temperature. complete ...
-2
votes
1answer
102 views

How do we communicate between a pc and a beaglebone-black using wifi?

I have been working on a beaglebone-black based mini project which involves displaying a GUI on a screen and displaying sensor values. I have been using python to create the GUI and also interacting ...
0
votes
2answers
81 views

Out-of-band communication between two PCs

I'm working on a little project. In the project, data must be sent from a PC to another device. Initially, I used a Raspberry Pi and life was good. I could communicate Python between the RPi and the ...
0
votes
0answers
56 views

External call from LTspice

I'm currently doing some designs in LTspice, and uses the measure statement for reading out a lot of data from the design. The log file though is not the best for overview of the data. The idea was ...
1
vote
2answers
138 views

Transfer Function Identification from Impulse Response

I'm working on a system involving a stepper motor that is used for moving a carriage back and forth in a linear motion. I have recorded the response (i.e. carriage position vs. time) corresponding to ...
0
votes
2answers
102 views

How does a negative feedback amplifier reach steady state?

I tried to simulate a negative feedback non-inverting op-amp, and got incorrect results. I ran the following time-stepping code in python: ...
0
votes
1answer
344 views

Sending info from python to avr-c

okay so my situation is that i am working an avr chip which is the atmega 328p and what i want to do is i want to lets say have a user input in python lets say the user types in a string and from ...
2
votes
2answers
155 views

GPIO Input fluctuating between high and low when no input is received

I posted this on the Raspberry Pi StackExchange but I feel as though it might be better suited for here, as the SE is pretty inactive anyway. I've got a fairly simple circuit that I've made where a ...
1
vote
1answer
313 views

High Level Language on an STM32

Are languages like eLua and Micro Python feasible for production level use on an embedded micro like an STM32? There doesn't seem too be much information outside of their sites. Not looking to do ...
2
votes
1answer
294 views

Magic number in ADC Pi code

Im trying to measure temperature using PT100. Im using ADC Pi board for that. ADC Pi uses MCP3424(pdf datasheet) A/D converters, and in datasheet I found how to calculate voltage - it is pretty simple ...
1
vote
1answer
162 views

HC-06 (BT module) becomes un-responsive after ~20 minutes

I am seeing the following behavior on a HT-06 BT module (http://www.amazon.com/gp/product/B009DZQ4MG/ref=od_aui_detailpages00?ie=UTF8&psc=1) wired to an Arduino Uno. The module works great for ...
1
vote
1answer
174 views

Serial Link Between 3.3V devices

I have an RPi and a freescale FRDM-KL25z controller which will talk over serial protocol. I'm using the pyserial library on the pi: ...
2
votes
2answers
197 views

Analyzing sniffed data from pins of LCD 2*16 using Atmega32

I sniffed DB4..7 of an 2*16 LCD using the below circuit : (Atmega32.PORTA1..3 is connected to GND) As you see above I connected En pin of LCD to INT0 of Atmega32 (That is configured for Falling ...
0
votes
2answers
359 views

Updated- Sending data on USART from Atmega32 To Python

I want to send one word from my Atmega32 to computer using USART serial protocol. As My system doesn't have any COM port, I connected a USB2COM converter cable. And as you see below in Device Manager, ...
2
votes
1answer
739 views

Parsing .s2p data through an automation script to plot graphs of the various s-parameters

Need to find a way to quickly decipher and plot s-parameters for tons of .s2p files in a short period of time. In specific, I need to plot the angle of the s-parameters versus frequency and then the ...
2
votes
2answers
80 views

How to customize the 'write' to instrument?

I'm communicating with Power Supply RIGOL DP832A via Ethernet. ...
0
votes
3answers
934 views

Faster quadrature decoder loops with Python code

I'm working with a BeagleBone Black and using Adafruit's IO Python library. Wrote a simple quadrature decoding function and it works perfectly fine when the motor runs at about 1800 RPM. But when the ...
3
votes
2answers
2k 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
5k 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
1answer
131 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 ...
5
votes
2answers
953 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 ...
6
votes
4answers
1k 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
104 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
598 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
1k 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 ...
2
votes
1answer
4k 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
593 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
3answers
177 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
2k 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 ...
-4
votes
3answers
2k 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 .
4
votes
5answers
13k 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
298 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 ...
0
votes
1answer
290 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
487 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
3k 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
1answer
1k views

Test automation framework/software 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
398 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 ...