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
0 answers
67 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
77 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
81 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
53 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
41 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
80 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
280 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
127 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
146 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
168 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
1 vote
2 answers
235 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
198 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
2 votes
0 answers
127 views

Communication between Python and FPGA [closed]

I am working with the python package pyrpl and trying to set the frequency attribute from the iq module dynamically. Unfortunately, doing so via the python API is ...
ikarus's user avatar
  • 29
0 votes
1 answer
101 views

How to create a PC version of a PCB project made for RP4

I want to create a PC version of a PCB project I made for Raspberry Pi 4. It is a simple PCB of a 5-button micropad that connects to 5 GPIO Pins (+1 3.3V GPIO for Pull UP) on the RP and using the ...
Danilux's user avatar
  • 23

15 30 50 per page
1
2 3 4 5
16