instantiator / flipper-zero-experimental-apps

Experimentation building apps for flipper zero
MIT License
59 stars 7 forks source link

Resistance calculator: support 3- and 6-band resistors #5

Closed instantiator closed 1 year ago

instantiator commented 1 year ago

Suggestion from Kuronons (Flipper Devices discord)

Would you be willing to add 3 bands (or is there an option to put none on tolerance input ?) and 6 bands ones (with Temp coeff)?

instantiator commented 1 year ago

Labelled "help wanted" as I don't know enough about 3- and 6-band resistors yet!

instantiator commented 1 year ago

Further info from Kuronons

To my understanding 3 bands are same than 4 ones but without Tolerance indicator. (no value on 4th band in a 3-4 bands-menu could work to spare some coding) 6 bands add the temp coeff which seems to be a fixed value / color. (no calculation there same as tolerance).

-> a 5-6 bands menu could also work tho... the positionning of the last band has different function between 4-5 and 6 bands resistances...

So maybe better have 3 different menus : 3-4, 5 and 6 bands for a more accurate visualization.

I can provide background png picts depending on how you want it to be displayed as well as the black rectangle for band selection with all positioning values . (If I find time, I could probably PR tho... but that s not a sure thing XD)

image image