I started getting hardcore into vaping the past week. I've been looking for an awesome mod when I came across the Hanna Modz and the Gi2 mod. Found out that they're pretty much always out of stock and you have to get on a waiting list which I think is BS (The Gi2 mod at least). Plus, I don't want to spend $200+ on something that cost half of that. Then I realized that all it is is a circuit board controlling voltage or watts with some safety features. After looking at the Gi2 reviews I found out that the software it runs is pretty simple. I can probably program something like it in about a week. Alot of the features are stupid and useless IMO. So, I decided I wanted something much like the dna 30 but that I could get up to 100 watts out of it. The problem is I'm not an electrical engineer, I am a programmer. I did some more research online and after thinking about it, I figured out the following.
1. I need to measure the resistance. (Ohms) To do that I first need to know the voltage the battery is generating. The starting voltage and wattage will be preset. (The watts need to be preset anyways since it's needs to be displayed.) Then, using the ohm's law algorithm I can calculate that by using,
Amps = Watts / Voltage
Ohms = Voltage / Amps
2. The watts are displayed and are controlled by the user. By changing the watts it then changes the voltage and amps.
Amps = sqrt(Watts / Ohms)
Voltage = Amps * Ohms
The information I found above was taken from http://www.ohmslawcalculator.com/ohms_law_calculator.php and looking at the algorithms he was using from source.
One thing I'll have to decide on is the default starting value for volts, watts (Maybe there is a industry standard). The safety features will probably come along later once I have all of the above worked out and running.
Does this sound about right? Any ideas or suggestions? Please let me know.
I will keep adding to the first two posts as I make progress.
1. I need to measure the resistance. (Ohms) To do that I first need to know the voltage the battery is generating. The starting voltage and wattage will be preset. (The watts need to be preset anyways since it's needs to be displayed.) Then, using the ohm's law algorithm I can calculate that by using,
Amps = Watts / Voltage
Ohms = Voltage / Amps
2. The watts are displayed and are controlled by the user. By changing the watts it then changes the voltage and amps.
Amps = sqrt(Watts / Ohms)
Voltage = Amps * Ohms
The information I found above was taken from http://www.ohmslawcalculator.com/ohms_law_calculator.php and looking at the algorithms he was using from source.
One thing I'll have to decide on is the default starting value for volts, watts (Maybe there is a industry standard). The safety features will probably come along later once I have all of the above worked out and running.
Does this sound about right? Any ideas or suggestions? Please let me know.
I will keep adding to the first two posts as I make progress.
Last edited: