myevic
myevic copied to clipboard
ML/DAY counter
Yes, it works. Great. Thanks, thanks. THANKS! -)) But IMHO some bug at the end. Mod gives "Long fire protection" and display freeze at this phrase, you need to press fire to return to main screen. I think, better no freeze, pause 3-5 sec and automatic return to main screen.
Sorry for my english.
That's not bug. The 10s protection works seems like this, only the time now editable. IMO not bad how the "warning" and "error" messages stay on screen while you don't press a button. IMO....
ClockSelect, I insist on my logic. Because my logic is not for protection, but to limit vaping. I vape too much, it's not good. If you want protection only just live it 10 sec.
Maybe for you a better feature is the puff limit. I think what on SMOK mods. You can set a max puff number and when you reaches that you can't vape, just if you reset the counter or extend the limit... I thinking on this feature. Maybe ClockSelect will tell his opinion or make his modificaton on the long fire protection. Maybe :)
IMHO puff limit is not convenient. Better some statistical number (some math combination of time and puff). Let's call it "velocity of vaping". If number is low - you vape. If number is high - you do not. And you decide what is high and what is low.
Other choice: The speed with which you drain the battery is "velocity of vaping". JUST SHOW IT ON MAIN SCREEN!
What do you mean by "vaping too much"? Sounds like a nonsense to me.
I'll explain the SENSE.
There is a need to control the amount of evaporated liquid. This somehow implemented in all advanced devices. First, the length of inhaling (you almost did). Secondly, how often do you do these inhaling (speed). How it can be implemented? For example, like this:
http://www.joyetech.com/product/control-head/
Look at smile icon.
Yes I think I see what you want. Maybe it could be implemented as an advancement bar on the third line like: VVEL [||||||| ] Telling you how far you are from your limit. Option would be available only if you configure a limit. Quantity of evaporated liquid is a time integral of the applied power, have to made some research to approximate it correctly. A suitable limit would be in mL/hour, for example? I think the number of puffs has no incidence, really - it doesn't tell you how much you vape at all. That needs discussion.
Я вижу мы наконец поняли друг друга. Это радует.-)). I see we finally understand each other. This is good.-)). Yes, time integral of the applied power best represents the speed of consumption. IMO: there is no need to establish a physical limit and block vaping, just show the speed figure on main screen or even better on screen saver. I'll test your invention and you will decide later what to do next. Okay? ML/DAY IS IMPORTANT!!!! NOT ML/HOUR!!! Because one hour you can be patient and do not vape, then the velocity is zero, but that means nothing.
Yes, the number of puffs doesn't tell you how much you vape at all.
The main question is how to make it reliable. Displaying a useful information with 64 pixels and when and where is another issue. Thinking about it.
First rough estimation: a full 4.5ml tank took around 10 minutes to empty at 30W. Didn't truly realize before testing^^ That's 250nL/s/W
Look here: https://en.wikipedia.org/wiki/Joule
OK, full 4.5ml tank took around 10 minutes to empty at 30W
10 min = 600 sec
600s x 30w = 18000 J
You have vaping time in time counter. You have day time because you have clock.
Suppose now 16 o'clock. It's 57600 seconds from the beginning of the day.
VVEL = 18000 J / 57600 s = 0,3125
Suppose now 17 o'clock. It's 61200 seconds from the beginning of the day.
VVEL = 18000 J / 61200 s = 0,2941
Suppose now 18 o'clock. It's 64800 seconds from the beginning of the day.
VVEL = 18000 J / 64800 s = 0,2777
You see, VVEL is quite reliable this way (If the wattage does not change during the day, but if change it is necessary to calculate the weighted average)
Yes but at 1 o'clock VVEL = 7. What would it mean? Measurement should be made in a sliding time window.
Suppose now 1 o'clock. It's 3600 seconds from the beginning of the day:
If you do not vape at all: VVEL = 0 J / 3600 s = 0
If you vaped full 4,5 ml: VVEL = 18000 J / 3600 s = 5 (you see 5 and, WOW, you understand that it is time to slow down)
If you make "sliding time window" - even better, but let it be as long as possible. I want to know my VVEL for the week.
And wattage change during the period, it is necessary to calculate the weighted average.
May be better this way? VVEL = 0 J / 60 min = 0 VVEL = 18000 J / 960 min = 18,7 VVEL = 18000 J / 1020 min = 17,6 VVEL = 18000 J / 1080 min = 16,7 VVEL = 18000 J / 60 min = 300 VVEL = 18000 J / 10 min = 1800
We have a range of variation VVEL from 0 to 1800.
What would it mean? Suppose you want to vape not more than 10 ml a day. 10ml needs 22 min of vaping time and 22x60x30=39600 J of energy. 24 hour = 1440 min. VVEL=39600 J / 1440 min = 27,5
Just keep your VVEL not more than 27,5 and you get not more than 10 ml of liquid a day!
JUST DO IT! -))
You'd probably have to implement it some other way. But think of it as the speedometer in the car. If you want to drive 60 kilometers in one hour you have to keep an average speed of 60 km/h. I hope this is clear...
I made an experimental VVel on the third line. At the moment, it won't resist a battery swap.
GREAT! I'm testing... First impression - that's what I wanted to get! I do not swap batteries but charge via USB.
Can you give some instructions?
Can I change atoms and wattage? How to reset and start from the beginning? Does VVEL starts again automatically from the begining at 00:00 o'clock? Does it need tarification? And so on ...
Definitely need to put VVEL on screensaver. What is the accuracy? Even if the accuracy is not good and I get 12 instead of 10 milliliters of the desired. The next day I will try to get 8 on the screen and I get 10 in reality.
Atm, calculation is made from box startup. One may reset value by reseting the box. There is no automatic reset. You can change ato & wattage as you want. Should also work in temp control, or any other mode. I have no idea of the accuracy, it needs more testing; but it shouldn't be completely off. What do you mean by "tarification" ?
tarification: Full 4.5ml tank took around 10 minutes to empty at 30W IS NOT the rule. It's all different on different atoms and in different circumstances. Additionally, you may experience inaccuracy of changes in the ambient temperature.
Can I reset time and puff or it will spoil the measurement of vvel?
Definitely need:
- Put it in readme, we need more testers.
- Manual reset any time you want.
- Automatic reset every day (if you want) and at what time you want.
- Put VVEL on screensaver.
OК, let's test as it is for a few days...
2 hour test result: How to reset the box properly? I've uploaded soft once more (I hope this is also reset) and start. I kept vvel = 24 ml/d on the screen for 2 hours. It is 1ml/hour velocity.
2 ml of liquid vaped in 105 min instead of 120 min. Accuracy is 87%. Not bad.
I'll start 24 hour test now, you'll get the result tomorrow.
Good news!
24 hour test: Uploaded soft to reset and started. I didn't change anything during the test. (atom, wattage, air temperature and so on).
You see, it has accuracy about 80%. And accuracy doesn't change during the period of test!
Just simple input for linear compensation will make VVEL accuracy perfect. IMHO: Definitely needs an automatic reset each day and manuall reset if necessary.
If you go outside in winter or start to change something dramatically - may be the result'd be worse ... But I usually don't.
What's next?
What was your test config? (coil type, power, etc) I'd like to know if there's significant differences between setups. Should be tested in TC mode, too.
If you want to reset your box, there should be a pinhole on the bottom to access the reset button with a needle or an unfolded paperclip (it's the case on the VTwo, don't know for other boxes). Anyway I'll add a reset function.
Test config was:
evic vtc mini harware version 1.01 battery sony vts4 in GEN mode. usb charge and passthrough. contrast 0% Stealth ON. SS 316L / 0,4 om / 18-19 w VW without preheat.
You need MORE TESTERS. Can try Kanthal and TC mode, but I can't try 50w cause I'll die at this wattage ... -)
TCR 120 / SS 316L / 0,28 om / 20-22 watt / 220-240 C.
You see, the result is just the same.
I'll try kanthal on monday.
Bad news,
Uploaded new soft to reset and started.
I noticed you made some changes...
VW with preheat, kanthal, 2 coils, 0,65 om, 26,5 watt.
Reseted VVEL and started again.
The result is the same.
What's next?
I did not make changes (well, I mean wanted changes), but I noticed something wrong too. Investigating.
High wattage is not the point; people vaping at 60+ watts do not care about their consumption.
TC is more relevant; I think it's where we should be the more accurate.
Stopped testing. Please let me know when you find the solution. What test should I begin?
ClockSelect, I can tell you that I noticed that VVEL stopped working after this commit https://github.com/ClockSelect/myevic/commit/30b833169eccfdb3c3a927ef816df8e33386574d
I hope this information can help you in some way
Maybe this line cause the problem in mainview.c: vv /= 10;