2025-12-13 16:02:27 +01:00
2025-12-12 19:20:11 +01:00
2025-12-12 19:20:11 +01:00
2025-12-12 19:32:17 +01:00
2025-12-13 16:02:27 +01:00

Electronics scripts

This repository aim to be a collection of useful scripts when working on small electronic projects.


voltage_divider.py

input:

(will ask the input through CLI if ran directly)

  • a list of resistors values (floats) separated by commas or spaces.
    example: 10 50 47 100
  • a desired ratio (0 ≤ ratio ≤ 1) for the voltage divider
    example: 0.4096

output:

The 5 best resistor pairs (closest to the desired ratio).


Description
useful scripts when working on small electronic projects
Readme BSD-3-Clause 27 KiB
Languages
Python 100%