Page 2 of 2 FirstFirst 12
Results 11 to 19 of 19

Thread: Basic electronics help

  1. #11
    Variable Bitrate
    Join Date
    Dec 2004
    Location
    Miami, FL
    Posts
    441
    Both 9v sources?
    Maybe it's my shoddy schematic-making. There's only one 9v battery in there. The 9v at the top is the positive terminal and the 9v at the bottom is the negative terminal.
    A car without turbo is a car with perpetual lag.

    My Ride
    My New Page

  2. #12
    Newbie
    Join Date
    Mar 2005
    Posts
    15
    based on that schematic, adjusting the trimpot should brighten/dim the leds. increasing its resistance is gonna drop the voltage across the LEDs, which will dim them, and the opposite in the case of lowerin its resistance. Only think i could think of that might cause you not seein difference as you adjust it is that its resistance value is so small compared to the photo reisistors that adjusting it just is only creating a negligible change in the voltage across the diodes, small enough that you arent seein a change in brightness.

  3. #13
    FLAC migel628's Avatar
    Join Date
    Mar 2004
    Location
    New Windsor, NY
    Posts
    1,114
    sorry, it looked like you had 2 9v sources in the schematic
    "I'm a dick!"
    "I must seek knowledge and it's bastard son truth" - The State

  4. #14
    Variable Bitrate mp3hombre's Avatar
    Join Date
    Aug 2002
    Location
    Montreal / Los Angeles
    Posts
    266
    First of all, the photocells (photoresistors) should be the same type. Their resistance in dark conditions might be too high, the leds are not getting enough "juice" no matter how much you spin the pot.
    To bring the resistance down, try adding a resistor across PR1 - PR2 or across each photocell as in PR3 and PR4. Start with 20Kohms.
    Experiment, experiment!! And keep us posted.
    Attached Images Attached Images  

  5. #15
    Variable Bitrate
    Join Date
    Dec 2004
    Location
    Miami, FL
    Posts
    441
    Why does adding a resistor in those places reduce the resistance to the LEDs?
    A car without turbo is a car with perpetual lag.

    My Ride
    My New Page

  6. #16
    Variable Bitrate mp3hombre's Avatar
    Join Date
    Aug 2002
    Location
    Montreal / Los Angeles
    Posts
    266
    it "reduces" the photocell resistance.
    Resistors in series (one after another) add resistance to a circuit, resistors in parallel (side to side)divide their resistance. For ex. Two 10k resistors in series=20k. The same resistors in parallel=5k.

  7. #17
    Variable Bitrate
    Join Date
    Dec 2004
    Location
    Miami, FL
    Posts
    441
    Quote Originally Posted by mp3hombre
    it "reduces" the photocell resistance.
    Resistors in series (one after another) add resistance to a circuit, resistors in parallel (side to side)divide their resistance. For ex. Two 10k resistors in series=20k. The same resistors in parallel=5k.
    Okay, I think I get what you are saying. So the photoresistors apply less resistance, but since the new resistors are 'up-stream' of the LEDs, wouldn't you add back up the resistance of all the devices up-stream and have the LEDs end up behind the same amount of resistance?

    It's very possible I just dont understand this, thanks for taking a minute and trying to help me out.
    A car without turbo is a car with perpetual lag.

    My Ride
    My New Page

  8. #18
    Variable Bitrate
    Join Date
    Dec 2004
    Location
    Miami, FL
    Posts
    441
    Alright, new day of experimentation.

    I think I found out why it was misbehaving before. I think the trimpot I was initially using was really small. A total resistance of <1k ohm to share. I found a trimpot that is as the book recommends, 20k ohm to share, and now it works as I would expect.

    Neat, right?
    A car without turbo is a car with perpetual lag.

    My Ride
    My New Page

  9. #19
    Variable Bitrate
    Join Date
    Dec 2004
    Location
    Miami, FL
    Posts
    441
    Next experiment: (This has become somewhat of a log of my experiments more than any individual question)

    I decided to simplify things and just use the two bigger photoresistors. I ran them in parallel as before, and stuck them together so they can be assumed to be receiving the same amount of light. I removed them from the circuit completely, and set the trimpot so that there is equal voltage down each path. Then I put the photoresistors back in their place, taped together. I then tested a variety of lighting conditions and checked the voltage just before each LED under each scenario.

    Here are the results:
    (Y & G are the different paths, so-named because of the color of the alligator clips I am using for each path)
    Finger over PRs - Y: 1.639V G: 1.69V
    Ambient light - Y: 1.72V G: 1.738V
    Under little lamp - Y: 1.739V G: 1.744V
    Right next to 25W bulb - Y: 1.744V G: 1.746

    The differences, therefore are:
    Finger over PR: .051
    Ambient: .018
    Under light: .005
    Next to bulb: .002

    Result: It would seem that there is a non-linear difference in resistance in the PRs. Does this matter for my simple line-following robot?

    I guess the ideal situation would be to find another Photoresistor whose resistance profile matches the non-linear difference between my current two. That would perfect the circuit, but is it really necessary?

    I could even dial in a new trimpot setting so that they match closer to the middle of the spectrum rather than only in bright light, right? This seems the most sensible approach to the problem.
    A car without turbo is a car with perpetual lag.

    My Ride
    My New Page

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Visual Basic Question????
    By chuckctv in forum Software & Software Development
    Replies: 9
    Last Post: 12-28-2004, 12:25 PM
  2. Basic Electronics suggestions (book/site)
    By migel628 in forum Off Topic
    Replies: 2
    Last Post: 11-16-2004, 01:47 PM
  3. Replies: 6
    Last Post: 10-13-2004, 05:24 PM
  4. Basic Stamps???
    By adjones in forum Power Supplies
    Replies: 14
    Last Post: 08-24-2004, 12:28 AM
  5. Basic electronics question...
    By R3l0ad in forum General Hardware Discussion
    Replies: 16
    Last Post: 01-02-2004, 07:39 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
  •