Active Topics

 



Notices


Reply
Thread Tools
Posts: 9 | Thanked: 6 times | Joined on Mar 2014 @ Amsterdam
#1
Dawn simulation is a technique that involves timing lights in the bedroom to come on gradually, over a period of 30 minutes to 2 hours, before awakening.
http://en.wikipedia.org/wiki/Dawn_simulation

There are likewise apps for iphone/android:
http://appcrawlr.com/app/search?go=g...=ipad%2Ciphone

I was thinking it would be nice to have such an app for maemo, using the camera leds. Would anyone like to try this?
 

The Following 2 Users Say Thank You to Selene For This Useful Post:
Posts: 445 | Thanked: 367 times | Joined on Nov 2010 @ Italy
#2
is it the N900's camera led dimmable( increase/decrease light intensity)?
__________________
Flickr photos taken with N900 https://www.flickr.com/cameras/nokia/n900/
"Closed source software tells you what you can do. With open source, you decide what software can do for you" Richard Stallman
 
pichlo's Avatar
Posts: 6,447 | Thanked: 20,981 times | Joined on Sep 2012 @ UK
#3
There is a long discussion over in the Lanterne thread about what the N900 flash LED can do. In a nutshell, yes, it is dimmable (in steps; 8 or 32 depending on mode).

There is also a long discussion in the same thread whether it is a good idea to leave the LED on for any extended period of time. I personally would not risk leaving my LED on for "30 minutes to 2 hours", although the idea is not as crazy as it souds. I've just tried it: it is dark here as I type this and the LED seems bright enough to be actually useul for the purpose.
__________________
Русский военный корабль, иди нахуй!
 

The Following 2 Users Say Thank You to pichlo For This Useful Post:
Posts: 9 | Thanked: 6 times | Joined on Mar 2014 @ Amsterdam
#4
I am not a programmer or a technical expert so I can't answer those questions.

If you take a photo with the camera app the leds seem less bright when focusing compared to the "photo flash".

If dimming is not a good idea, there are still possibilities.

For example, turn on the screen 30 minutes before the alarm, fullscreen red->orange->yellow->white with increasing brightness, and 10 minutes before the alarm turn on the camera leds. Of course, for this you would have to place your N900 on the backstand on a white surface.
 
Estel's Avatar
Posts: 5,028 | Thanked: 8,613 times | Joined on Mar 2011
#5
Originally Posted by Selene View Post
I am not a programmer or a technical expert so I can't answer those questions.

If you take a photo with the camera app the leds seem less bright when focusing compared to the "photo flash".
Wow, I haven't though that someone not participating in mentioned Lanterne discussion/hecking sources would notice that. Respect

In a nutshell, indeed, there are two modes. The "basic" one, as used for all torch applications, got lesser maximum brightness value (due to lesser current), but is able to perform 100% duty cycle (aka "just be turned on"). The "flash" mode is much more powerful, but available only in duty cycles (with maximum one around 75% IIRC, but don't quote me on that - details in the already mentioned Lanterne link provided by pichlo), and rightly so, as using it on 100% would damage leds pretty quickly.

Now, for the purpose of program proposedd here, only the "torch" mode is approriate, as I don't think that stroboscopic effect is good for a healthy sleep/awakening (unless someone want to simulate dawn in a hurricane-hit forest, with light passing through shaking branches/leaves).

Originally Posted by Selene View Post
If dimming is not a good idea
Why? "Dimming" (to be precise, changing current in a steps, in our case) is neutral for a diode. AIUI [/b]pichlo[/b] meant leaving flash diodes turned on for a prolonged time, no matter what the brigtness level.

Here I disagree, BTW - my trusty N900 is helping me with various conservation tasks in not-so-easily-accessible places for years already, and I regularly leave flash diodes at maximum "torch" mode brightness for a hour or so, as it's lighting up my patient's internal organs workplace. Zero adverse effects observed - in fact, I've actually had some unpleasant surprises with other hardware components, and I guess that those leds (and their backscreen/keyboard counterparts) are the things that will be (amongst) longest living parts in N900's motherboard, no matter of (ab)use.

/Estel

// Edit

In fact, what you would like to achieve could be done with a rather simple script (written with help of Lanterne discussion and its documentation), executed by any alarm app that can trigger custom command on alarm.

Executing command on alarm would be, probably, a few lines of code in CSSU'ish alarm replacement (or update, I don't remember if it was open thing in vanilla). IIRC, freemangordon was the author of CSSU'ish latest version - it could be good idea to post a feature request in CSSU's bugzilla. If that part is done, you have 99% of work done.

/Estel

Otherwise, there should be, already available, "eggtimer" programs that can trigger custom commands, but setting them up for alarm clock job is more tedious (and less "clean") job than using Maemo's integrated alarm would be.
__________________
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-03-25 at 02:29.
 

The Following 2 Users Say Thank You to Estel For This Useful Post:
pichlo's Avatar
Posts: 6,447 | Thanked: 20,981 times | Joined on Sep 2012 @ UK
#6
Originally Posted by Estel View Post
AIUI pichlo meant leaving flash diodes turned on for a prolonged time, no matter what the brigtness level.
Correct. Please note that I did not express my personal opinion, only said that there are different opinions and pointed out the thread.

In fact, what you would like to achieve could be done with a rather simple script (written with help of Lanterne discussion and its documentation), executed by any alarm app that can trigger custom command on alarm.
Yeah, cron and alarmed come to mind.
__________________
Русский военный корабль, иди нахуй!
 

The Following 2 Users Say Thank You to pichlo For This Useful Post:
Posts: 9 | Thanked: 6 times | Joined on Mar 2014 @ Amsterdam
#7
Originally Posted by Estel View Post
Wow, I haven't though that someone not participating in mentioned Lanterne discussion/hecking sources would notice that. Respect
Thanks

I agree integration with the CSSU Alarm clock would be a good option.

Originally Posted by pichlo View Post
Correct. Please note that I did not express my personal opinion, only said that there are different opinions and pointed out the thread
Sorry I misinterpreted your post.
Are there any known cases of failed camera leds on the N900?

If someone is willing to write the code for this feature I'm willing to risk my leds and will report if they still work in a few months.
 
Estel's Avatar
Posts: 5,028 | Thanked: 8,613 times | Joined on Mar 2011
#8
Originally Posted by Selene View Post
Are there any known cases of failed camera leds on the N900?
As far as my notorious TMO'ing knowledge goes, it's exactly 0 cases. (which bring it the same as confirmed... Blast "confirmed", in fact "even-remotely-plausible" cases of overclocking damage. But that's totally different thing). Unless someone torn apart secondary's board flex cable, but then, diodes are least of the problems.

/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:
Posts: 2,290 | Thanked: 4,134 times | Joined on Apr 2010 @ UK
#9
The main flaw in this is having to have the Lens cover open and the device screen down.

This could help you, step by step instructions on setting up a Internet Radio Alarm Clock that slowly increases volume.
http://talk.maemo.org/showpost.php?p...7&postcount=10
__________________

Wiki Admin
sixwheeledbeast's wiki
Testing Squad Subscriber
- mcallerx - tenminutecore - FlopSwap - Qnotted - zzztop - Bander - Fight2048 -


Before posting or starting a thread please try this.
 

The Following 2 Users Say Thank You to sixwheeledbeast For This Useful Post:
Posts: 9 | Thanked: 6 times | Joined on Mar 2014 @ Amsterdam
#10
Originally Posted by sixwheeledbeast View Post
The main flaw in this is having to have the Lens cover open and the device screen down.
postcount=10[/url]
I don't really see a problem with that? Unless your nightstand is made of concrete..
You could also put it on the backstand or make some kind of docking station, aiming the flashlight at at white wall.

Originally Posted by sixwheeledbeast View Post
This could help you, step by step instructions on setting up a Internet Radio Alarm Clock that slowly increases volume.
http://talk.maemo.org/showpost.php?p...7&postcount=10
Thanks, but my programming experience is 0.0 and I just recovered from RSI enough to browse the internet a bit so starting now is probably not a good idea.

I just made this thread to see if there are more N900 owners with trouble getting up in the morning (and hopefully someone capable of making such an app)
 

The Following User Says Thank You to Selene For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 13:54.