mirror of
https://github.com/atomic14/kicad-coil-plugins.git
synced 2024-10-18 09:06:57 +00:00
minor thoughts on actual resistance with 4 layers
This commit is contained in:
parent
9c09e1e1d9
commit
63983f723e
1 changed files with 8 additions and 6 deletions
|
@ -317,13 +317,15 @@
|
|||
" resistance_ohms = resistivity * (length_mm / 1000.0) / cross_sectional_area_m2\n",
|
||||
" return round(resistance_ohms,2)\n",
|
||||
"\n",
|
||||
"def print_length_resistance(prepend, points):\n",
|
||||
" length = compute_track_length(points)\n",
|
||||
" resistance = compute_pcb_track_resistance(length, TRACK_WIDTH)\n",
|
||||
" print(f\"{prepend} Track length: {round(length)} mm, resistance: {resistance} \\u03A9\")\n",
|
||||
"length = compute_track_length(points_top+points_bot)\n",
|
||||
"resistance = compute_pcb_track_resistance(length, TRACK_WIDTH)\n",
|
||||
"\n",
|
||||
"print_length_resistance(\"Top \", points_top)\n",
|
||||
"print_length_resistance(\"Bot \", points_bot)\n"
|
||||
"#print(f\"Result with 2coils in series: {round(length)} mm, resistance: {resistance} \\u03A9\")\n",
|
||||
"resistance /= 2 #another pair of coils in parrallel\n",
|
||||
"print(f\"with 2x2coils (2 in series: {round(length)} mm) and of those 2 in parallel resistance: {resistance} \\u03A9\")\n",
|
||||
"\n",
|
||||
"used_voltage = 5 # V\n",
|
||||
"print(f\"With a voltage of {used_voltage} V, the maximum current is {round(used_voltage / resistance,2)} A\")"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue