Polish project: Extended version of Nanjg 105C driver based on Attiny25V

What is the difference compared to BLF-VLD programmable?

Do you still use eeprom or how did you avoid using eeprom to save it?

The UI is quite complicated, unnecessarily. I thought you said:

This is not simple and using some tons of clicks to set things is way far from intuitive.
It’s like having a cheat sheet nearby to reprogram it by clicks.

Is actually the incorrect way to measure battery voltage if you measure it at 100% load on the output.

Temperature monitoring of ATtiny, practically useless. For applications where one needs it a more robust way of measuring is safer and relying on a MCU temperature instead of LED temperature could be disastrous in those applications.

The capacitor values are also confusing, my ATtiny’s have resistance there (3 samples, all pins) 66kOhm so something like 1uF would hold high state for 0.09s = 90ms. Not 1000ms.
If it would be 4.7uF and 10uF then it is believable and seems correct.
Or if the resistance would be 660kOhm.

What resistance do your I/O pins show when off power? (Negative of your meter has to go on ground, otherwise it turns to be 27kOhm for me.)
Are the capacitors really 470nF and 1uF or 4.7uF and 10uF?

And a correct link.

Also what is the PWM frequency? Plan to release code or sell drivers?

Hi JackCY. I don’t know any BLF-VLD driver… Can You give some links? PWM frequency is around 16kHz. JackCY with all due respect but You must educate more in electronics. How do You want to measure resistance of semicunductor (Attiny MCU). It is completely ridiculous (You measure also resistance of LED diode?) EEPROM is used to write values and counting clicks. EEPROM writes are make not when we switch off the lamp but only when parameters change or sensing click. MCU pins have not usually definited resistance but there are sum of semiconductors parameters and this “resistance” changes depending on measurement conditions (voltage). In measuring voltage on capacitor uses ADC not state of the pin. In my opinion (and opinion of people using this driver) voltage measurement under full load works very well and exact (giving us information about current Li-Ion cell condition). Also temperature protection is very useful (especially for small and powerful 18650 flashlights “(like here)”:EDC/Rower Convoy S6 mod XM-L2 T6 3D - sterownik rozszerzony - www.swiatelka.pl. or here

I like to read technical stuff which I don’t understand. Makes me realise how stupid I am!

Blf vld is for budget light forum versatile led driver.
A custom firmware for attiny13. It’s free that’s why jackcy use it.

Jackcy, look for the first thread, he explain how and why he replace the eeprom.
The multiple click is not a problem, DrJones drivers use even more click (better have a reverse clicky).

Bocian modified the 105c hardware so it’s clear that he plan to sell that driver. I am already happy with Dr Jones lucidrv (a 105c with programmable mode that he sell without giving the source)

You can find something about it even in your local forum:

http://www.swiatelka.pl/viewtopic.php?p=109336

Is it? On an assembled driver measuring at the place where the capacitor is? How is the resistance for that added capacitor be somehow different once it is there?

Plus all parts have resistance, capacitance, inductance, …
Some are parasitic and some parts even use these parasitic to a useful degree.

Yeah so with every click as usual.

Can’t write when it is off anyway :wink:

Yes. That’s why I asked.

Ah, ok.

Under load, yes. But normally you measure resting voltage to decide if a battery is charged or discharged.

Have D4/S6, never needed temperature protection for it.

Where here or on the PL site? What is the name of the thread?

OMG :weary: JackCY if you are not able to understand/imagine how this driver works it doesn’t mean it has to be failure. It works just fine and everything is described in detalis - first post. And I tell you the truth : this mechanism saves EEPROM writes comparing to typical NANJG driver :slight_smile: . I see You don’t know to much about Li-Ion cell parameters. Have You heard about internal resistance of Li-Ion cell? It is an aging, destructive process of Li-Ion cell life cycle. Now, genius answer me: which way of voltage measurement (under load or in resting condiction?) is better to verify internal resistance (wear level) of a battery cell?

Internal resistance is measured under load, surprise I can measure it too.

OMG you, who said it is a failure?
Too many questions for you I guess, not enough praise.

Saves EEPROM, I guess the same way other drivers do. Just maybe not the stock ones but since those are locked and we can’t copy them and investigate them we can’t tell anyway.

Both readings of a battery can be useful.

There will be added one more function: RESET to factory settings (modes to: 0,15; 10; 32; 100 and temperature for a safety threshold to 60*C). Inovoked by 8-click.Just in case if user’s Deregulated settings (and have a trouble to correct set by itself). In few days I will provide pricing.

Bocian, will this driver be available to purchase?

Yes, it will be. Soon.

I think it is a wonderful driver, If they are not too expensive, I'm in for a few when available :-)

There will be also available another, cheaper version of programmable driver based on Attiny13A (everyting like in this project except temperature monitoring and battery cell voltage measurement).

I'm mostly interested in swapping out an Attiny13a for the Attiny25v. Same package size but with 2k memory vs 1k and a temp sensor?

Yes. :)

Yes.

PS. Hi DrJones, nice to see You. You are doing a great job here with Attiny13 :slight_smile:

Uhhh...so why are they not making the 105C's w/ the 25v from the start? Just cost?

EDIT: Or just jump to the 85v?

They don’t need it for the simpler programs and cost is different.
Place an order to the factory and they might make it. It’s all about what shops want to sell and buy or order from the factories/distributors.

For DIY most people go with Attiny85 in this package.

Here is the SALES THREAD