Results 1 to 8 of 8

Thread: auto-dim / brightness profile based on headlight state

  1. #1
    Newbie
    Join Date
    Jan 2012
    Posts
    2

    auto-dim / brightness profile based on headlight state

    how is everyone auto-dimming their in card tablets? I have a rooted cm7 nook color I would like to through in my car but just wanted to figure out a few things before I jumped into it.

    Is there a way to base the active brightness profile on the nook color based on the headlight state? The only thing I can think of is just using tasker to set the brightness profile based on the time. That option seems decent enough but would prefer a method that is based of the current headlight state if possible.

    TIA for any help.

  2. #2
    Mo' Programming Mo' Problems
    Auto Apps:loading...
    Sonicxtacy02's Avatar
    Join Date
    Sep 2004
    Location
    Woodbridge, VA
    Posts
    8,169
    Blog Entries
    52
    Quote Originally Posted by HockeyZ39 View Post
    how is everyone auto-dimming their in card tablets? I have a rooted cm7 nook color I would like to through in my car but just wanted to figure out a few things before I jumped into it.

    Is there a way to base the active brightness profile on the nook color based on the headlight state? The only thing I can think of is just using tasker to set the brightness profile based on the time. That option seems decent enough but would prefer a method that is based of the current headlight state if possible.

    TIA for any help.
    Tasker would be your best best without using an Arduino or perhaps fusion brain device.
    mp3Car.com Senior Tech Blogger (Want a product reviewed? Contact me.)
    Find my plugins on the MP3Car App Store!
    Follow Me on Twitter or Facebook
    Live mp3Car Facebook Chat

  3. #3
    Newbie theorie's Avatar
    Join Date
    Jan 2012
    Location
    Brooklyn, NY / Sarasota, FL
    Posts
    7
    Don't a lot of tablets have built in light sensors?

    Sometimes you have to drive with the headlights on (in the rain) and you still might want your tablet at high-brightness so it's visible.

    I thought it was fine to just use the built-in auto-brightness based on the brightness inside the car.

  4. #4
    Newbie
    Join Date
    Jan 2012
    Posts
    2
    I don't have the tablet in the car yet so wasn't sure how well auto-brightness would work. The auto-brightness on my android phone seems pretty dumb. I have my current in-dash screen set to the lowest brightness possible for night time use and its still a bit to bright in my opinion.

    I have an arduino/s in my car already f driving light/sequential turn signal control. Any good links on arduino to android communication? I already have the headlight power as an input to the arduino for some LED control logic. But how would I use the arduino to send a signal to the tablet that can be deciphered for a brightness profile change?

  5. #5
    Mo' Programming Mo' Problems
    Auto Apps:loading...
    Sonicxtacy02's Avatar
    Join Date
    Sep 2004
    Location
    Woodbridge, VA
    Posts
    8,169
    Blog Entries
    52
    auto brightness usually doesn't allow the full range of brightness to be controlled. Many Android tablets i've used only let the auto brightness go down to 30%.

    If you really want absolute control, you could use your arduino device, but you'd need a custom android application to interpret the signal and modify the brightness. The following function would do that for you in android

    Code:
    WindowManager.LayoutParams lp = getWindow().getAttributes();
    lp.screenBrightness = 100 / 100.0f;
    getWindow().setAttributes(lp);
    mp3Car.com Senior Tech Blogger (Want a product reviewed? Contact me.)
    Find my plugins on the MP3Car App Store!
    Follow Me on Twitter or Facebook
    Live mp3Car Facebook Chat

  6. #6
    Low Bitrate
    Join Date
    Jul 2005
    Posts
    108
    it would be much easier just to set it by the time, don't get too complicated for something pretty simple. You'd have to tweak it 2-3 times a year, but that would take what, 5 minutes?

  7. #7
    Newbie
    Join Date
    Apr 2012
    Posts
    12
    +1 ^^

  8. #8
    Low Bitrate
    Join Date
    Mar 2012
    Location
    Arezzo, Tuscany, Italy
    Posts
    92
    The app Car Home Ultra (an alternative Car home) has 'night mode' (dimming brightness and making all icons monocolor and bluish) based on sunset/sunrise. I wonder if this 'night mode' is a system variable that could be checked from tasker?

Similar Threads

  1. Replies: 52
    Last Post: 04-11-2011, 07:59 AM
  2. Replies: 0
    Last Post: 05-26-2008, 02:09 AM
  3. Replies: 20
    Last Post: 12-10-2006, 10:11 AM
  4. Headlight Controller (PIC-based)
    By Saab9-5 in forum Hardware Development
    Replies: 22
    Last Post: 07-21-2005, 02:29 AM
  5. FS: Low-profile PCI TV tuner cards (bt878-based)
    By infrared in forum Classified Archive
    Replies: 0
    Last Post: 04-03-2004, 11:03 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •