I made a calculator

Status
Not open for further replies.

Dampmaskin

Ultra Member
ECF Veteran
Verified Member
Jan 28, 2014
1,042
1,157
Norway
www.steam-engine.org
You do know there is an app called Vaper's Toolbox on Google Play that does the same thing?
I didn't know that, but I prefer the relatively platform independent nature of the World Wide Web anyway. Plus, I wanted a small hobby coding project. ;) There's little chance of ever seeing this calculator in app form, so hopfully Vaper's Toolbox and I will not be stepping on each other's toes.
 

SoberSnyper

Senior Member
ECF Veteran
Verified Member
Apr 4, 2012
229
274
59
Maurice, La.
I didn't know that, but I prefer the relatively platform independent nature of the World Wide Web anyway. Plus, I wanted a small hobby coding project. ;) There's little chance of ever seeing this calculator in app form, so hopfully Vaper's Toolbox and I will not be stepping on each other's toes.

Nothing wrong with hobbies.:D Just wanted to let you know there is an app for that.
 

coachlight42

Moved On
Feb 10, 2014
0
0
Dayton
  • Deleted by retired1
  • Reason: Unregistered Supplier

Dampmaskin

Ultra Member
ECF Veteran
Verified Member
Jan 28, 2014
1,042
1,157
Norway
www.steam-engine.org
Yes, set default lengths. I just started rebuilding coils and you have to determine total resistance AFTER cutting legs flush to battery contacts (hence rendering this calculator a guessing game). For me, number of wraps and at what diameter are important. Keep up the good work!!

Ok, I've now added a "number of wraps" calculation. Let me know what you think.

Edit to add:

Added some new Nichrome 60 and Nichrome 80 gauges: 30, 32, 34 and 36 AWG. If someone would like more coil materials in the list, just say the word.

The calculator now tells you how much power is wasted on heating the legs (in percent). I did it just because I could, but playing with it I was surprised by how much this varies between different configurations. This might actually be useful!

Support for dual, triple and quad coils, in parallel or serial. For the quad coil you can also choose serial-parallel (in effect the same as a single coil). :p

Now I cannot touch this code again until I have received some more feedback, lest I over-engineer and bloat it. I hope you enjoy it!

Edit to add II:

Of course I could not keep that promise, so I have gone and cleaned up the layout, fixed a few bugs, and added a tiny bit of css/js bling.

Plus, I've begun working on a DIY liquid calculator. It can be tested out already, but be warned that it is less than half finished at the moment of writing.
 
Last edited:

State O' Flux

Vaping Master
ECF Veteran
Verified Member
Jul 17, 2013
4,844
4,993
Seattle
Ok, I've now added a "number of wraps" calculation. Let me know what you think.

Edit to add:

Added some new Nichrome 60 and Nichrome 80 gauges: 30, 32, 34 and 36 AWG. If someone would like more coil materials in the list, just say the word.
This is a wonderful tool Dampmaskin... and per your request, I'd like to see 24 and 27 gauge Kanthal added to the wire selection table.

Thanks... and again, a wonderful tool for us folks that are more homebound and/or don't use smart-phones.
 

Dampmaskin

Ultra Member
ECF Veteran
Verified Member
Jan 28, 2014
1,042
1,157
Norway
www.steam-engine.org
Your wish is my command. New kanthal and nichrome gauges added. :)

Btw, if anyone knows of a list that I could import, of "all the gauges out there", with Ohms/cm or Ohms/ft, please give me a heads up. Scraping gauges off the web one by one is not optimal, because it can easily introduce errors and inconcistencies.
 

Brennan4x4

Senior Member
ECF Veteran
Verified Member
Dec 22, 2013
137
136
Los Angeles
Your wish is my command. New kanthal and nichrome gauges added. :)

Btw, if anyone knows of a list that I could import, of "all the gauges out there", with Ohms/cm or Ohms/ft, please give me a heads up. Scraping gauges off the web one by one is not optimal, because it can easily introduce errors and inconcistencies.

Temco has a chart of ohms/ft on their kanthal

Kanthal A1
Flat Ribbon Kanthal

scroll about half way down
 
Last edited:

dripdaze

Ultra Member
ECF Veteran
Verified Member
Dec 18, 2013
1,032
459
Oceanside, CA, USA
Your wish is my command. New kanthal and nichrome gauges added. :)

Btw, if anyone knows of a list that I could import, of "all the gauges out there", with Ohms/cm or Ohms/ft, please give me a heads up. Scraping gauges off the web one by one is not optimal, because it can easily introduce errors and inconcistencies.

Thank you very much.
 

Dampmaskin

Ultra Member
ECF Veteran
Verified Member
Jan 28, 2014
1,042
1,157
Norway
www.steam-engine.org
My pleasure. Btw, I've also added 24 different fractional (e.g. drill bit) sizes now, for the inner diameter, from 1/64" to 3/8".

Edit to add:

The calculator now uses (inner diameter + wire gauge) to estimate the "neutral axis", which is somewhere between the inner and outer diameter. The neutral axis, in turn, is used to calculate the "relevant" circumference of the coil.

The helix angle of the coil is also taken into account now. In effect, a single wrap of wire is slightly longer than the circumference of the coil, because the wire also needs to travel a little bit sideways for each wrap. With a large diameter and thin wire, this has no practical impact. With heavy gauge nano coils however, this should make the wrap count a little bit more accurate.

Edit to add II:
Now it is possible to specify a wrap distance (default is zero), so that it works for widely wrapped coils, and not just mini/micro/nano-coils. The calculator displays the coil's helix angle. This affects the number of wraps.

Fractional inches input added for leg length and wrap spacing.

Ability to reset, save and load the state of the calculator (the save is stored in a cooke).

Reorganized the results layout a little bit.
 
Last edited:

Dampmaskin

Ultra Member
ECF Veteran
Verified Member
Jan 28, 2014
1,042
1,157
Norway
www.steam-engine.org
I added a new tab where you can find the battery drain for mechs and regulated devices in both watts and ampere, based on the atomizer resistance and the battery voltage.

For regulated mods you also enter your voltage or power setting. You can modify the regulating circuit's efficiency (defaults to 90%) as well.
 

Dampmaskin

Ultra Member
ECF Veteran
Verified Member
Jan 28, 2014
1,042
1,157
Norway
www.steam-engine.org
New since last time:

I bought a domain name, to make it easier to remember: www.steam-engine.org

Possible to save, load and reset the state of all the calculators (separately) except the e-juice one. Settings are saved to cookies in your browser, and automatically loaded at page reload.

Ohm's law calculator now lets you adjust the current directly. It also lets you choose exactly which values to lock while you adjust any value.

E-juice calculator expanded with PG/VG ratio for the nic base.

Battery drain calculator supports battery capacity and C rating, so it can tell you the amp limit of the battery and how much headroom you've got. It also gives you an estimated total runtime, and an estimated puff count at 5 second puffs.
 
Last edited:

Dampmaskin

Ultra Member
ECF Veteran
Verified Member
Jan 28, 2014
1,042
1,157
Norway
www.steam-engine.org
A new beta version is ready for testing now: Steam Engine | free calculators for your vaping endeavors
Update: It has been deployed.

General changes:

  • Split up in several documents, to make it more manageable.
  • Slight changes to the layout. Hopefully they're all improvements.
  • Code cleanup.
New in the coil calculator:

  • More grades of Kanthal, in addition to A1:
    • Kanthal APM (same resistivity as A1, so this one is just a new label)
    • Kanthal A / AE / AF (all three have the same resistivity)
    • Kanthal D
  • More gauges. Everything from -10 to 100 (admittedly an arbitrary limitation), for all materials.
  • Diameter is no longer looked up in a table when selecting AWG, but calculated using the formula that defines AWG. This should make it more accurate. As a bonus, it is much easier for me to work with.
  • Resistivity is no longer looked up in a table, but calculated from cross section and the material's resistivity factor. Slightly different results from the old version, but to me it looks like a better fit with reality. And again, as a bonus, this makes further development easier and less error prone.
  • Major code cleanup. It should be relatively easy to expand functionality further now, e.g. allow for multiple saves, perhaps some ribbon cable, etc.
  • Less rounding errors as a result of the cleanup.
  • If you override a value that is normally calculated from another value, the other value is blanked. The save/load function takes this into account.
  • I probably forgot some improvements. Ask if you have any questions.
 
Last edited:

Dampmaskin

Ultra Member
ECF Veteran
Verified Member
Jan 28, 2014
1,042
1,157
Norway
www.steam-engine.org
New coil materials:
  • Nichrome N70
  • Nichrome N40
  • Nichrome N20

New functionality:
In advanced mode, it gives you the circumference of the wire, the surface area af the whole wire, and the surface area of the part of the wire that makes up the coil.

The surface area of the wire is then used to calculate heat flux in mW/mm2 at 10 Watts.

Next up
Pondering if I should find the density of the different materials, use that to calculate the coil's mass. Then I could find the heat capacity of the different materials, and calculate some sort of measure of coil lag (i.e. how slowly or quickly the coil will heat up once power is applied).
 

State O' Flux

Vaping Master
ECF Veteran
Verified Member
Jul 17, 2013
4,844
4,993
Seattle
these appear to be some handy tools, thanks!
Absolutely, positively the best multi-functional, vapists calculation page on the interwebnet.
yahoo.gif


I use it, literally every day to solve either my own or someone else's wire and/or battery interests. So useful that it's at the top of my sig line, above my own work, where I frequently refer it to others.

In a situation that not even Dampaskin anticipated, I've used it, in response to a question... for calculating a power loss percentage example, between coil tail length and gauge, per resistance value.

And no... I'm not getting a kick back from Dampaskin.
wink.gif
 
Status
Not open for further replies.

Users who are viewing this thread