Pure Python programming questions belong on stackoverflow.com instead.
-1
votes
1answer
61 views
Any ideas for a hardware to do AM and FM modulation? [closed]
I'm trying to do some signal processing (AM/FM Modulation) for signals from 0 - 60kHz. Any recommendations for hardware? Preferably something I can use MATLAB with (or Python) as I'll most likely be ...
0
votes
3answers
135 views
How to hook Raspberry Pi with Electret Microphone to detect sound levels in dB?
I have to detect sounds levels in an enclosed area, so I thought this could be the right choice.
/*EDIT
I wish to collect sounds levels of about 30-60dB, normally human conversations or just ...
0
votes
0answers
25 views
Why does my camera program get stuck on the frame check?
I'm working the the FLIR Lepton thermal camera which is run by a python program that can be found here.
The program used to run fine and I was able to use pylepton_capture to take a picture and then ...
0
votes
0answers
28 views
Help understanding how to write and read to XBees
Hey I am trying to understand how to use Pyserial to write to my XBees in AT mode. When I open XCTU and discover the XBees, I think the port becomes used and I am getting an accessed denied. How can I ...
0
votes
0answers
48 views
Publishing via MQTT causes delay
I'm trying to do up something like Adafruit Tweet-A-Watt, but instead of tweeting via a computer, I'm trying to publish the data to relayr cloud via a raspberry pi.
Before I inserted the scripts for ...
0
votes
1answer
176 views
Pyserial doesn't read entire line [closed]
I have an Arduino programmed to print a line containing eight values separated by commas every 10 milliseconds. Every line is terminated by a new line character. But when I try to read this data into ...
0
votes
1answer
559 views
Can an XBee in API mode receive data through serial?
Following the python-Xbee library and an example, I am trying to communicate between 2 XBees
Using XBee S2C
Setup:
Coordinator API=2, running the code in python @ Mac
Router AT mode, running python ...
0
votes
1answer
285 views
How to create a network of multiple xbee s2 with python and arduino
I'm working on a wireless sensor network in which I have one coordinator router (API mode 2) connected to a Raspberry Pi 2, 5 or more routers in API mode 2 as well. Each router is connected to an ...
0
votes
2answers
123 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
304 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 with,...
0
votes
0answers
23 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
100 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
95 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
393 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
175 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
336 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
95 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 ...
1
vote
2answers
182 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
126 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
556 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
208 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
415 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
331 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
213 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
192 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
277 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 Edge ...
0
votes
2answers
419 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
1k 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
86 views
How to customize the 'write' to instrument?
I'm communicating with Power Supply RIGOL DP832A via Ethernet.
...
0
votes
3answers
1k 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 ...
4
votes
2answers
3k 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
6k 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
200 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
2k 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
2k 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
110 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 object;...
1
vote
2answers
685 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
5k 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
779 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
220 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 pc?...
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
15k 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
322 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
335 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
494 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 ...
4
votes
1answer
2k 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
404 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 ...