Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: photosensor doesnt appear to respond to light level

  1. #1
    Mo' Programming Mo' Problems
    Auto Apps:loading...
    Sonicxtacy02's Avatar
    Join Date
    Sep 2004
    Location
    Woodbridge, VA
    Posts
    8,168
    Blog Entries
    53

    photosensor doesnt appear to respond to light level

    Here's another question to bug you guys with.. i received my photosensor today and hooked it up to the brain per instructions (red facing the inside of the board). Using a dummy skin i tested the results. No matter if the sensor is in ambient light or in total darkness all it continues to do is jump between two numbers... 0.796 and 0.801. I checked the skin to make sure its reading from the correct port, i've changed ports, i've tried adding the formula ( ($p$/0.016)|p=VINC[!] ) to the #SETTINGS# section but nothing seems to make a difference. What should i check next?
    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

  2. #2
    Fusion Brain Creator
    Join Date
    Mar 2005
    Posts
    2,221
    Try flipping the connector around and report back.

  3. #3
    Mo' Programming Mo' Problems
    Auto Apps:loading...
    Sonicxtacy02's Avatar
    Join Date
    Sep 2004
    Location
    Woodbridge, VA
    Posts
    8,168
    Blog Entries
    53
    Quote Originally Posted by greenman100 View Post
    Try flipping the connector around and report back.
    nope didnt not make a difference.. i unplugged the unit switched the connector but its doing the same thing. Here's my section for the sensor input:

    Code:
    #STARTNEW#
      #NAME#photo
      #TYPE#PHOTOELECTRIC
      #SETTINGS#($p$/0.016)|p=VINC[!]
      #SUFFIX#uW/cm^2
      #PREFIX#
      #SETTINGS#
      #DECIMALS#9
      #VIDPID#USB\VID_04D8&PID_000C\6&42FFB0A&0&2
      #SIZE#105,94
      #LOCATION#200,0
      #SHOWTEXT#true
      #TXTCOLOUR#LightGray
      #PAGE#0
      #PORT#0
      #BORDERSIZE#0
      #PLOTLENGTH#100
    #ENDNEW#
    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

  4. #4
    Fusion Brain Creator
    Join Date
    Mar 2005
    Posts
    2,221
    that's wild. did you try it on multiple inputs? what's it report in the debug window?

    there's a chance the sensor is busted, if thats the case, we'll happily replace it

  5. #5
    Mo' Programming Mo' Problems
    Auto Apps:loading...
    Sonicxtacy02's Avatar
    Join Date
    Sep 2004
    Location
    Woodbridge, VA
    Posts
    8,168
    Blog Entries
    53
    how do i enable a debug window.. i'm simply using the 2.0 software with a hacked up version of the default skin. just moved it to another port and the number change but still dont reflect it knows a difference between dark and light

    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
    Fusion Brain Creator
    Join Date
    Mar 2005
    Posts
    2,221
    it's acting like an open circuit, or you're reading the wrong port.

    debug window:

    click just under the title bar
    hold crtl, shift, alt, and type "DEBUG"
    type "open raw debug" in the new window
    screenshot the debug window

  7. #7
    Mo' Programming Mo' Problems
    Auto Apps:loading...
    Sonicxtacy02's Avatar
    Join Date
    Sep 2004
    Location
    Woodbridge, VA
    Posts
    8,168
    Blog Entries
    53
    Quote Originally Posted by greenman100 View Post
    it's acting like an open circuit, or you're reading the wrong port.

    debug window:

    click just under the title bar
    hold crtl, shift, alt, and type "DEBUG"
    type "open raw debug" in the new window
    screenshot the debug window

    ok here's the screenshot


    i looked at the board again to make sure i have the right port and its plugged into a6 but i understand how u mean that it looks like its an open circuit because if i change the temp sensor to the incorrect port i get the same type behavior.
    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

  8. #8
    Fusion Brain Creator
    Join Date
    Mar 2005
    Posts
    2,221
    yeah, it's acting like an open circuit. busted sensor.

    you can look for a broken connection somewhere if you want, or we can send a new one. email us your address.

  9. #9
    Mo' Programming Mo' Problems
    Auto Apps:loading...
    Sonicxtacy02's Avatar
    Join Date
    Sep 2004
    Location
    Woodbridge, VA
    Posts
    8,168
    Blog Entries
    53
    i tested the voltage at the 5v metal pin on the sensor end and its receiving power, there must be something wrong within the small plastic casing. If its ok what i'll do is create a new order for the extensions and stuff i planned on purchasing today, and in the notation reference this thread. That way you guys can just ship the new sensor with the rest of my order.
    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

  10. #10
    Fusion Brain Creator
    Join Date
    Mar 2005
    Posts
    2,221
    perfect

Page 1 of 2 12 LastLast

Similar Threads

  1. FAQ: LCD Technologies
    By dontpntpool in forum LCD/Display
    Replies: 4
    Last Post: 03-15-2007, 12:20 AM
  2. Replies: 22
    Last Post: 01-05-2006, 08:26 PM
  3. How many does it take
    By veedubya in forum Off Topic
    Replies: 11
    Last Post: 06-03-2005, 12:15 PM
  4. Gamma control by light sensor
    By kronos in forum General Hardware Discussion
    Replies: 28
    Last Post: 03-14-2005, 07:57 AM
  5. How Many Does It Take...
    By mp3z24 in forum Off Topic
    Replies: 8
    Last Post: 09-19-2004, 10:54 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
  •