Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 29

Thread: Gamma control by light sensor

  1. #11
    Newbie kronos's Avatar
    Join Date
    Oct 2004
    Posts
    22
    Quote Originally Posted by stevieg
    boostedGT-S, using a relay connected through your lights you could make a similar circuit that therefore runs off your car's sensor though it would probably need the line high setting reversed to work? (sure someone could correct me on this)
    I updated the program to accept another parameter so you can set it to reverse depending on your sensor (i.e. if it outputs a signal if lighted or if not lighted), although this could be easily accomplished with a SPDT relay by connecting the 'normal open' pair of contacts so when the lights turn on it also brings CTS high.

    mgithens what about using a couple of photocells: a separate one and the other in a delayed circuit (around 1 sec or maybe less) and by comparing the states when the delay circuit triggers you can tell if it's really night or it was just a shadow from a light pole or something (both must be illuminated or not to detect the event); that way you can shorten the reaction time and still have a good amount of error filtering. I'm thinking if you enter a short tunnel by the time the 10 secs pass and the dim turns on you are out of the tunnel.
    Why drink and drive when you can smoke and fly ?

  2. #12
    Maximum Bitrate
    Join Date
    May 2004
    Location
    Denver
    Posts
    487
    well I switched my 3300pF cap for a 100pF and it makes the swing you are looking for... photocells are MOST sensitive to direct light, but ambient light is still very much a factor... so by changing the capacitance you can adjust the reaction time... think of the capacitor as a small bucket, the electricity pours in and the circuit stays level (for the most part) and if the shadow goes away quickly then the light change would go unnoticed... but if it persists then the light on the screen will dim to match the surroundings...

    if the tunnels are really that dark, then you should consider using darker color backgrounds, for instance a white lettering on a med dark blue background won't blind you when you hit the tunnel... but I dont' think a circuit needs to respond faster than your eye will, and I think that is the direction that it sounds like you are heading... I will post a circuit tomorrow after work... it really does work well and I will post full videos after my completion (not any time soon)...

    I am also working on a temperature circuit... at first I was thinking that I would just keep the CPU from booting when temps dipped below freezing, but now I am set on the idea of a really small heater/light bulb to keep the hard drive above freezing... I am thinking a 10watt bulb will do the trick... and I found a mechanical thermostat that would help reduce electrical consumption... Rittal SK 3110... pretty slick device... but I will save that for another thread... hopefully it will be installed this weekend... in the summer I will switch it over for a fan type unit to kick on when CPU bay temps (when booted) get over the 120degF threshold...

  3. #13
    Maximum Bitrate DeltaFX's Avatar
    Join Date
    Sep 2004
    Location
    France
    Posts
    499
    And you can use this sensor with a tiny piece of software that computes twilight/sunrise/noon/sunset/twilight/ where you are, using lat/lon coordinates.

  4. #14
    See me in my wet t-shirt. stevieg's Avatar
    Join Date
    Aug 2003
    Location
    Warwickshire, UK
    Posts
    1,887
    Quote Originally Posted by kronos
    I updated the program to accept another parameter so you can set it to reverse depending on your sensor (i.e. if it outputs a signal if lighted or if not lighted), although this could be easily accomplished with a SPDT relay by connecting the 'normal open' pair of contacts so when the lights turn on it also brings CTS high.

    mgithens what about using a couple of photocells: a separate one and the other in a delayed circuit (around 1 sec or maybe less) and by comparing the states when the delay circuit triggers you can tell if it's really night or it was just a shadow from a light pole or something (both must be illuminated or not to detect the event); that way you can shorten the reaction time and still have a good amount of error filtering. I'm thinking if you enter a short tunnel by the time the 10 secs pass and the dim turns on you are out of the tunnel.
    My thoughts are about your software is that is could be very useful for a WIDE range of uses without having to go out and buy a proper relay/interface board... if it could run a program (gamma on/off) in the ini It could then be adapted to other uses, such as a reverse camera, or disabling play of video/dvd whent he handbrake is off.

    For the screen gamma, I think I would rather fit a relay across the lights so when I turn them on, it does the screen gamma... And then if I want auto-gamma/lights I would fit the mod to the lights instead!
    Ford Focus MP3 : www.stevieg.org/carpc Blog Updated 29 January 2009!
    Car PC Status: Complete - Undergoing Software Redevelopment

  5. #15
    Newbie kronos's Avatar
    Join Date
    Oct 2004
    Posts
    22
    Quote Originally Posted by stevieg
    My thoughts are about your software is that is could be very useful for a WIDE range of uses without having to go out and buy a proper relay/interface board... if it could run a program (gamma on/off) in the ini It could then be adapted to other uses, such as a reverse camera, or disabling play of video/dvd whent he handbrake is off.

    For the screen gamma, I think I would rather fit a relay across the lights so when I turn them on, it does the screen gamma... And then if I want auto-gamma/lights I would fit the mod to the lights instead!
    I made a modified version to run a program in the ini instead of setting the gamma (and if you want I'll give you the source code which is very simple so that you can modify it to suit your needs if you please). About connecting the mod to turn on the lights I don't know... I always turn them on, even during the day, so that I can be better seen on the road by the others, in which case it would mean that my screen would be dim all the time.
    Attached Files Attached Files
    Why drink and drive when you can smoke and fly ?

  6. #16
    The Curator
    Auto Apps:loading...
    Blue ZX3's Avatar
    Join Date
    Aug 2004
    Location
    Chicago area,IL
    Posts
    5,078
    I don't think that I even thought about just controlling the screen itself...thats a cool idea... but like mentioned above, some people don't want to mess with their screens after shelling out the funds.
    RideRunner...The #1 FE, PERIOD.

    Current Project: DFXVoice [v1.0 Released]
    Next in line: RRMedia v2.0

    DFX 5.1.1 Skin
    Appstore Link

    My RideRunner Plugins
    RRMedia
    RRExtended
    DFXVoice

    "There are no bugs - only undocumented features."

  7. #17
    Maximum Bitrate
    Join Date
    May 2004
    Location
    Denver
    Posts
    487
    well, I think a simple picture walk through of what is involved will clear that issue up... building a ready made circuit is not really an option, but the circuit is SUPER easy... like 5 parts... I will get it done soon enough and put some videos up...

  8. #18
    Maximum Bitrate TimmyM's Avatar
    Join Date
    Aug 2003
    Location
    Federal Way, WA
    Posts
    713
    I think I would be interested in controlling the screen also. I don't want to use another serial port if i don't have too.

  9. #19
    See me in my wet t-shirt. stevieg's Avatar
    Join Date
    Aug 2003
    Location
    Warwickshire, UK
    Posts
    1,887
    Been out, bought some bits. I forgot the diode though.

    I got a phototransister AND a photodiode.

    Would a photodiode do the job of the phototransister+diode?
    Ford Focus MP3 : www.stevieg.org/carpc Blog Updated 29 January 2009!
    Car PC Status: Complete - Undergoing Software Redevelopment

  10. #20
    Variable Bitrate MC_Stoo's Avatar
    Join Date
    Jun 2004
    Location
    Manchester, UK
    Posts
    427
    Ooh I hope Frodo and Guino are reading this thread
    A calm approach in a troubled world...
    http://www.inside-guide.co.uk/CarPC

    CONSOLE_RR Project in progress...
    DC UK Forum

Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. light sensor, etc -> game port inputs
    By Alex Pt in forum Input Devices
    Replies: 19
    Last Post: 03-14-2005, 04:47 AM
  2. Gamma Control 3.0 Problem
    By brrman in forum Software & Software Development
    Replies: 2
    Last Post: 02-20-2005, 01:18 AM
  3. Gamma control
    By Bravellir in forum RR Bug Tracker
    Replies: 1
    Last Post: 02-19-2005, 01:38 PM
  4. Light sensor
    By 4u2n in forum General Hardware Discussion
    Replies: 6
    Last Post: 12-10-2004, 04:32 PM
  5. Gamma control in FP?
    By cash_Money in forum FrodoPlayer
    Replies: 6
    Last Post: 12-06-2004, 06:28 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
  •