What started out as a thought experiment has now become an actual project which I may never finish. The idea was to come up with the most technically complicated mod I could. This is what I ended up with.
It's all based around the Arduino mini, which is basically a breakout board for the Amtel ATmega328 - a complete 16MHz 8-bit computer on a chip the size of your pinky nail. The Arduino will send a PWM signal to a FET, which will allow for adjustable vaping (in .1V increments) between 3 and 6 volts. The voltage setpoint will be adjusted by two tact switches. The Arduino will constantly monitor the voltage and adjust the PWM signal to maintain the correct output regardless of battery voltage. It will separately monitor the actual battery voltage and calculate a rough estimate of battery percentage remaining. The setpoint, battery voltage and battery percent will be displayed on a small 16x2 character alphanumeric LCD display. Other software features may be added if I can think of any and if there's any room left in the Arduino's 14k of usable flash memory. The device will be powered by two 3.7V batteries in series for a total Vin of ~7.4V. I'd like to use two 18350s, but if the circuitry ends up being too large, I may just go for two 18650s. I have no clue what sort of enclosure I'll end up using.
This is more of a learning experience for me than anything else. I've never done any microcontroller programming. I haven't done much programming at all in the last several years. The parts cost for this project are actually pretty low (only around $50), so this is a relatively cheap, fun way to try something new. And if it all works out, I'll have the most technologically advanced PV in the world.
What I would really like right now is for anybody out there with EE experience to look over the diagram and check my work. I have no idea what kind of FET I should be using for this. I do know I need one that can switch the positive leg of the atomizer, and that can be switched by applying positive voltage to gate. If no such animal exists, please tell me how I can rewire it so that it will work. I'm fairly certain I have the resistors for the voltage dividers the right way around, but that could use some checking too.
Once I'm pretty sure I've got it right (on paper at least), I'll start ordering parts.
It's all based around the Arduino mini, which is basically a breakout board for the Amtel ATmega328 - a complete 16MHz 8-bit computer on a chip the size of your pinky nail. The Arduino will send a PWM signal to a FET, which will allow for adjustable vaping (in .1V increments) between 3 and 6 volts. The voltage setpoint will be adjusted by two tact switches. The Arduino will constantly monitor the voltage and adjust the PWM signal to maintain the correct output regardless of battery voltage. It will separately monitor the actual battery voltage and calculate a rough estimate of battery percentage remaining. The setpoint, battery voltage and battery percent will be displayed on a small 16x2 character alphanumeric LCD display. Other software features may be added if I can think of any and if there's any room left in the Arduino's 14k of usable flash memory. The device will be powered by two 3.7V batteries in series for a total Vin of ~7.4V. I'd like to use two 18350s, but if the circuitry ends up being too large, I may just go for two 18650s. I have no clue what sort of enclosure I'll end up using.
This is more of a learning experience for me than anything else. I've never done any microcontroller programming. I haven't done much programming at all in the last several years. The parts cost for this project are actually pretty low (only around $50), so this is a relatively cheap, fun way to try something new. And if it all works out, I'll have the most technologically advanced PV in the world.
What I would really like right now is for anybody out there with EE experience to look over the diagram and check my work. I have no idea what kind of FET I should be using for this. I do know I need one that can switch the positive leg of the atomizer, and that can be switched by applying positive voltage to gate. If no such animal exists, please tell me how I can rewire it so that it will work. I'm fairly certain I have the resistors for the voltage dividers the right way around, but that could use some checking too.
Once I'm pretty sure I've got it right (on paper at least), I'll start ordering parts.
Last edited: