Active Topics

 



Notices


Reply
Thread Tools
nokiabot's Avatar
Posts: 1,974 | Thanked: 1,834 times | Joined on Mar 2013 @ india
#21
@Copernicus please make a fork of lalterne excliptly with the feature that can turn on the leds with the aid of light sensor (configurable values for light sensor sensivty and leds) it might sound dumb or awkard but it will be a killer feature for me as its time for heavy loadshedding ,you know its summer time... i requested it long ago but you turned it down
 
Copernicus's Avatar
Posts: 1,986 | Thanked: 7,698 times | Joined on Dec 2010 @ Dayton, Ohio
#22
Originally Posted by nokiabot View Post
@Copernicus please make a fork of lalterne excliptly with the feature that can turn on the leds with the aid of light sensor (configurable values for light sensor sensivty and leds) it might sound dumb or awkard but it will be a killer feature for me as its time for heavy loadshedding ,you know its summer time... i requested it long ago but you turned it down
Well, yeah, I've gotta admit that it does sound odd. (And, as I mentioned before, it would turn on the LEDs every time you put it in your pocket!) But I'll take a look...
 

The Following User Says Thank You to Copernicus For This Useful Post:
nokiabot's Avatar
Posts: 1,974 | Thanked: 1,834 times | Joined on Mar 2013 @ india
#23
Thanx i need nothin fancy all i need is a gui that does it and as a preacaution you can set a timer that disables leds after 3 minuts unless the user has popped up the values
 
Estel's Avatar
Posts: 5,028 | Thanked: 8,613 times | Joined on Mar 2011
#24
Originally Posted by Copernicus View Post
Well, yes, I guess I probably could. But just to reiterate my position from last year, after having studied the documentation on the N900's flash hardware, I'm just not comfortable with driving the white LEDs constantly at high power, as that can potentially burn them out. Lanterne's torch runs the LEDs at the only power level that has been explicitly labeled as safe for continuous use, so I'm just going to stick with that...
No, no, I just mean *lower* levels at start, then, gradually, increasing output to a max of same wattage that LEDs have in torch mode. Not over-driving them, of course

Sure, it would require using the second mode, but as long as you keep with not exceeding power equivalent to the "safe" torch mode, you're doing the same thing, with just low power level at start.

/Estel
__________________
N900's aluminum backcover / body replacement
-
N900's HDMI-Out
-
Camera cover MOD
-
Measure battery's real capacity on-device
-
TrueCrypt 7.1 | ereswap | bnf
-
Hardware's mods research is costly. To support my work, please consider donating. Thank You!
 

The Following User Says Thank You to Estel For This Useful Post:
Copernicus's Avatar
Posts: 1,986 | Thanked: 7,698 times | Joined on Dec 2010 @ Dayton, Ohio
#25
Originally Posted by Estel View Post
No, no, I just mean *lower* levels at start, then, gradually, increasing output to a max of same wattage that LEDs have in torch mode. Not over-driving them, of course

Sure, it would require using the second mode, but as long as you keep with not exceeding power equivalent to the "safe" torch mode, you're doing the same thing, with just low power level at start.
Whoa, second mode? I don't remember a second mode... Hmm, sounds interesting!

Yeah, looking again at the ADP1653 data sheet, it only seems to support integer values between 1 and 11 for "torch mode" usage, 1 representing the low value of 50 mA and 11 being the high of 200 mA. And, from the rx51 camera code,

Code:
static struct adp1653_platform_data rx51_adp1653_platform_data = {
    .power             = rx51_adp1653_power,
    /* Must be limited to 500 ms in RX-51 */
    .max_flash_timeout     = 500000,        /* us */
    /* Must be limited to 320 mA in RX-51 B3 and newer hardware */
    .max_flash_intensity     = 19,
    /* Must be limited to 50 mA in RX-51 */
    .max_torch_intensity     = 1,
    .max_indicator_intensity = ADP1653_REG_OUT_SEL_ILED_MAX,
};
So only the low value of 50 mA is supported. I'm still not seeing any way to go lower than 50 mA here...
 

The Following User Says Thank You to Copernicus For This Useful Post:
pichlo's Avatar
Posts: 6,453 | Thanked: 20,983 times | Joined on Sep 2012 @ UK
#26
Originally Posted by Copernicus View Post
I'm still not seeing any way to go lower than 50 mA here...
What is the fastest the LED can flash in the strobe mode? If fast enough (say 25 times per second or more), then lower values could be achieved by varying the duty cycle.

Edit: Found it. If I get it right, timing is in multiples of ~54ms, totally unsuitable for emulating steady light with very fast strobing.
__________________
Русский военный корабль, иди нахуй!
 

The Following 3 Users Say Thank You to pichlo For This Useful Post:
Estel's Avatar
Posts: 5,028 | Thanked: 8,613 times | Joined on Mar 2011
#27
Originally Posted by Copernicus View Post
Whoa, second mode? I don't remember a second mode... Hmm, sounds interesting!

Yeah, looking again at the ADP1653 data sheet, it only seems to support integer values between 1 and 11 for "torch mode" usage, 1 representing the low value of 50 mA and 11 being the high of 200 mA.

(...)

So only the low value of 50 mA is supported. I'm still not seeing any way to go lower than 50 mA here...
Ah, bummer, so lower than 50 mA isn't possible :/ Sorry, I screwed it in memory with the flash (strobo) mode (the thing I called 2nd mode), which is used for much more powerful, but blinking, outputs. I stand corrected.

As a side, note, it's good news for Selene - apart from regular torch light intesity that she/he knows (which is quite weak, but barely usable for her/his purposes), she/he can also use a up 4x more powerful current for driving leds, which roughly correspond to 4x more powerful sunrise emulation! As far as she/he isn't afraid of frying own LEDs, of course.

Originally Posted by pichlo View Post
What is the fastest the LED can flash in the strobe mode? If fast enough (say 25 times per second or more), then lower values could be achieved by varying the duty cycle.

(...)

If I get it right, timing is in multiples of ~54ms, totally unsuitable for emulating steady light with very fast strobing
Indeed unsuitable for sun emulation I think, but quite useful for very bright flashlight (if one can get used to still-visible, little strobing). I have been using, without incidents, a rip-off Lanterne code, that - in torch mode - strobed LEDs with absolute max power on maximum duty cycle (lowest interval between strobes) - for so long time, that I actually forget its custom, and yesterday overwritten it with new version from "mainstream", resulting in me needing to rip it off, again

Anyway, the point is that I was using the "unsafe" mode for many months, with torch enable for long periods of time - 30 minites, hour, two hours (was too lazy to remove timelimit, so I just re-enabled it when hit the clock), etc. while working. As said, no adverse effects, except for LEDs getting *a little* more warm, when active for a long time.

/Estel
__________________
N900's aluminum backcover / body replacement
-
N900's HDMI-Out
-
Camera cover MOD
-
Measure battery's real capacity on-device
-
TrueCrypt 7.1 | ereswap | bnf
-
Hardware's mods research is costly. To support my work, please consider donating. Thank You!

Last edited by Estel; 2014-04-08 at 11:54.
 

The Following 3 Users Say Thank You to Estel For This Useful Post:
Posts: 9 | Thanked: 6 times | Joined on Mar 2014 @ Amsterdam
#28
Too bad indeed that 50 mA is the minimum. Using the red led a few minutes beforehand to simulate a red sun rising - and maybe shock your eyes a little less - would be nice .

Or, as I mentioned before, you could use the screen..

I've tried the Alarmed/Lanterne thing yesterday, and I must say I'm not disappointed; if your eyes are fully adjusted to the dark by sleeping in a pitch black room for 7 hours 50mA is already pretty bright. I'm going to experiment a bit more to see if I would want more than 50 mA. I tried the 320 mA strobe flash btw, quite a difference indeed!

P.S.: I'm a dude. (Selene is the greek goddess of the moon - I guess Helios would have been a better pick regarding this thread )
 

The Following 2 Users Say Thank You to Selene For This Useful Post:
Estel's Avatar
Posts: 5,028 | Thanked: 8,613 times | Joined on Mar 2011
#29
Originally Posted by Selene View Post
Too bad indeed that 50 mA is the minimum. Using the red led a few minutes beforehand to simulate a red sun rising - and maybe shock your eyes a little less - would be nice .
You could script enabling of red led, then, after selected period of time, white one, why not. I just guess that red LED would have 0 effect on your sleep phase, even inside pitch dark room - well, you would have to test it yourself.

And of course, I know where Selene/Luna/etc comes from, thats why I wasn't sure about gender

/Estel
__________________
N900's aluminum backcover / body replacement
-
N900's HDMI-Out
-
Camera cover MOD
-
Measure battery's real capacity on-device
-
TrueCrypt 7.1 | ereswap | bnf
-
Hardware's mods research is costly. To support my work, please consider donating. Thank You!
 
Posts: 9 | Thanked: 6 times | Joined on Mar 2014 @ Amsterdam
#30
Originally Posted by Estel View Post
You could script enabling of red led, then, after selected period of time, white one, why not. I just guess that red LED would have 0 effect on your sleep phase, even inside pitch dark room - well, you would have to test it yourself.

And of course, I know where Selene/Luna/etc comes from, thats why I wasn't sure about gender

/Estel
The red led is indeed not very bright, but still I can easily tell if it's on or off with my eyes closed. Also, if you wake up and see the red led on you would know it's almost time to get up.
 
Reply


 
Forum Jump


All times are GMT. The time now is 14:46.