Skip to main content

Questions tagged [python]

On-topic questions related to Python would include embedded programming, using it as a tool for circuit analysis, or how Python interacts with computational hardware. Questions about libraries, algorithms, syntax, or code optimization should be directed to stackoverflow.com.

0 votes
1 answer
38 views

Getting a radiation pattern plot from a phased array digital beamformer

I constructed an antenna device (2RX 1TX) from this Jon Kraft video for an ongoing project in an anechoic chamber. In all honesty, my knowledge in this area is quite limited and I'm a getting a bit ...
Tak's user avatar
  • 11
0 votes
1 answer
83 views

Reading Waveform from LeCroy 9310AL via RS232

I am currently trying to read the waveform from my LeCroy9300AL. I do manage to connect to the oscilloscope and retrieve data. But I struggle to interpret this data. My current script is: ...
Philipp Bleimund's user avatar
0 votes
0 answers
68 views

How to connect RM3100 magnetometer to a Raspberry Pi

For a school project, I would like to measure the effects of solar winds on the local Earth’s magnetic field using an RM3100 breakout board magnetometer from PNI sensor. I soldered the headers myself ...
thanatos's user avatar
-5 votes
1 answer
80 views

Serial instruction for USB with embedded SD card [closed]

I am thinking about buying a USB with SD card. I want to write a program in Python to read/write data from/to the USB/SD card. In Python there is the library serial....
Root Groves's user avatar
0 votes
1 answer
85 views

pyocd USBTimeoutError with STLINK-V3

I am using pyocd 0.36.0 on Python 3.12.3 on Ubuntu 24.04 to poll a status variable (on a ...
personal_cloud's user avatar
0 votes
0 answers
55 views

Having trouble calibrating the AD5933 getting oversaturation?

I'm trying to get an AD5933 Impedance Converter module (connected via I2C) to work with a Raspberry Pi, but I'm consistently running into an issue where the chip reports an Over-range/Saturation error ...
David Akerele's user avatar
0 votes
0 answers
42 views

Using pico with servo and external power supply

I want to use a Feetech High-torque Metal Gear Servo with a raspberry pico. Just to get started I have the simplest code: ...
user3553471's user avatar
2 votes
1 answer
85 views

Using DS3231 as a power switch for Raspberry Pico fails to turn off

Im basically following this guide https://forum.arduino.cc/t/mods-to-ds3231-zs-042-module-for-power-control/1101164 However something is not working and i cant figure out what. Once Pico gets the ...
Phlex's user avatar
  • 53
3 votes
2 answers
283 views

Calculating and plotting the argument of a transfer function

My transfer function is the following. $$ H(\omega) = \frac{2000}{201\cdot10^3 + 109 10j\omega - 0.132\omega} $$ I have trouble calculating the argument. Is it the following? $$ \lvert H \rvert = \arg ...
AlT's user avatar
  • 41
2 votes
1 answer
132 views

Modeling a spinning dipole with NEC2/PyNEC

I am a physicist with essentially no RF experience, so apologies if this question is elementary. We are planning for a sounding rocket, equipped with a half-wavelength dipole, which will be ...
Sean Wallace's user avatar
2 votes
1 answer
148 views

How to find frequency of noise in a sensor signal that is not periodic?

I have a custom sensor I am building and I want to try and filter out the noise. The sensor changes its values when a force is applied, otherwise, if no force is present the signal is flat. I want to ...
Daniel's user avatar
  • 117
0 votes
0 answers
55 views

How to calculate maximum power flow on a branch?

I'm currently reproducing the OPF results from the following paper: Adjustable Robust OPF With Renewable Energy Sources with pandapower. Since my background isn't EE, I'm striving to find how to ...
dzdws's user avatar
  • 11
0 votes
2 answers
171 views

Controlling an RF SP8T switch via a 15-pin D-sub using Python

In my application of interest, an RF SP8T switch is required to sequentially connect 8 receiver antennas to one network analyzer port, and I've found an affordable one on ebay, Link to the ...
Behnaam's user avatar
  • 101
1 vote
2 answers
237 views

Curve fitting a resonance Inductance graph

I need to do a curve fit for the graph below to be able to extrapolate the values in this formula: $$Z = \frac{R_s + j\omega L}{1 - \omega ^2 L C_p + j\omega R_s C_p}$$ Which is to say finding R_s and ...
Emmannuelle_Legolas's user avatar
1 vote
2 answers
203 views

Python Scripting in Kicad

When do engineers actually use the python scripting feature available in CAD software like KiCAD. I am designing an amplifier and I am thinking about using a python script to check for max voltage ...
Harshit Bujar Baruah's user avatar

15 30 50 per page
1
2 3 4 5
16