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

Thread: How to build a circuit with decaying or increasing resistance?

  1. #1
    Admin. Linux loser.
    Auto Apps:loading...
    Bugbyte's Avatar
    Join Date
    Sep 2004
    Location
    Corning, NY
    Posts
    7,359
    Blog Entries
    2

    How to build a circuit with decaying or increasing resistance?

    I use a servo tester to operate a folding screen mechanism in my car.


    On the outside is a potentiometer that feeds a signal to a chip inside that generates the signal to the servo that tells it to move in one direction or the other.

    Problem: Currently, I have the potentiometer set to 'full open'. When I start the computer, the screen opens and everything is fine. When I shut the car off, I have to manually close the screen, which backdrives the servo.

    What I'd like: I'd like to measure the resistance in the full open and full closed position and build a circuit that will either increase or decrease resistance slowly, perhaps over a period of 3 seconds or so.

    My question: This seems like something simple to do but I don't quite have the electronics knowledge to figure it out. Can anyone either A) tell me the answer; B) give me the name of the type of circuit to research?

    I know how to solder, use a multimeter and can create boards and follow diagrams. I also know the difference between resistors and capacitors and so forth. I just need a push in the right direction.

    I'd appreciate any help.
    Quote Originally Posted by ghettocruzer View Post
    I was gung ho on building a PC [until] just recently. However, between my new phone having internet and GPS and all...and this kit...Im starting to have trouble justfiying it haha.
    Want to:
    -Find out about the new iBug iPad install?
    -Find out about carPC's in just 5 minutes? View the Car PC 101 video

  2. #2
    Raw Wave Rob Withey's Avatar
    Join Date
    Apr 2000
    Location
    Bedfordshire, UK
    Posts
    2,139
    Perhaps a digital potentiometer, eg : http://datasheets.maxim-ic.com/en/ds/MAX5402.pdf

    There are many more out there.
    Old Systems retired due to new car
    New system at design/prototype stage on BeagleBoard.

  3. #3
    What can I say? I like serial. Curiosity's Avatar
    Join Date
    Mar 2004
    Location
    Florence Yall, BFKY
    Posts
    2,684
    You might want to figure out more about the servo tester and what it's doing first. Like say the pot is connected to 5V and ground, with the sweep (center pin) connected to an input that converts the value, with a low current draw. If you connected an electrolitic capacitor between the sweep and ground it would create a delay. Wait, it needs a resistor between the sweep and cap. Now turn it either way and it will take more time to reach the correct voltage, slowing the servo.

  4. #4
    Admin. Linux loser.
    Auto Apps:loading...
    Bugbyte's Avatar
    Join Date
    Sep 2004
    Location
    Corning, NY
    Posts
    7,359
    Blog Entries
    2
    Quote Originally Posted by Rob Withey View Post
    Perhaps a digital potentiometer, eg : http://datasheets.maxim-ic.com/en/ds/MAX5402.pdf

    There are many more out there.
    I can't tell, but it looks like this is just a digital version of the analog pot. Is there a way to control the speed that it changes resistance?
    Quote Originally Posted by ghettocruzer View Post
    I was gung ho on building a PC [until] just recently. However, between my new phone having internet and GPS and all...and this kit...Im starting to have trouble justfiying it haha.
    Want to:
    -Find out about the new iBug iPad install?
    -Find out about carPC's in just 5 minutes? View the Car PC 101 video

  5. #5
    Admin. Linux loser.
    Auto Apps:loading...
    Bugbyte's Avatar
    Join Date
    Sep 2004
    Location
    Corning, NY
    Posts
    7,359
    Blog Entries
    2
    Quote Originally Posted by Curiosity View Post
    You might want to figure out more about the servo tester and what it's doing first. Like say the pot is connected to 5V and ground, with the sweep (center pin) connected to an input that converts the value, with a low current draw. If you connected an electrolitic capacitor between the sweep and ground it would create a delay. Wait, it needs a resistor between the sweep and cap. Now turn it either way and it will take more time to reach the correct voltage, slowing the servo.
    I'll take a look at that. I suspect this is how it works. I've looked inside it before and it is dead simple.
    Quote Originally Posted by ghettocruzer View Post
    I was gung ho on building a PC [until] just recently. However, between my new phone having internet and GPS and all...and this kit...Im starting to have trouble justfiying it haha.
    Want to:
    -Find out about the new iBug iPad install?
    -Find out about carPC's in just 5 minutes? View the Car PC 101 video

  6. #6
    Raw Wave Rob Withey's Avatar
    Join Date
    Apr 2000
    Location
    Bedfordshire, UK
    Posts
    2,139
    Quote Originally Posted by Bugbyte View Post
    I can't tell, but it looks like this is just a digital version of the analog pot. Is there a way to control the speed that it changes resistance?
    Yes, a PIC or similar. I thought that bit was obvious so I didn't mention it.
    Old Systems retired due to new car
    New system at design/prototype stage on BeagleBoard.

  7. #7
    What can I say? I like serial. Curiosity's Avatar
    Join Date
    Mar 2004
    Location
    Florence Yall, BFKY
    Posts
    2,684
    Here's the idea. The top is probably close to how it works now. The bottom is the idea. The relay would connect to ACC or you could replace it with a switch. When connection is made it will slowly increase to full. Switching off will decrease. I'm not sure of the values though. For the same speed on/off, the top would be 1/4 the resistance of the bottom one. Is that right? Well, maybe the bottom resistor should connect to NC. That would be easier. They could both be the same.
    Attached Images Attached Images  

  8. #8
    Admin. Linux loser.
    Auto Apps:loading...
    Bugbyte's Avatar
    Join Date
    Sep 2004
    Location
    Corning, NY
    Posts
    7,359
    Blog Entries
    2
    Awesome! This looks like it might work. I'll post a couple of photos of the servo controller innards later today and if it looks right, I'll try this circuit out.
    Quote Originally Posted by ghettocruzer View Post
    I was gung ho on building a PC [until] just recently. However, between my new phone having internet and GPS and all...and this kit...Im starting to have trouble justfiying it haha.
    Want to:
    -Find out about the new iBug iPad install?
    -Find out about carPC's in just 5 minutes? View the Car PC 101 video

  9. #9
    Admin. Linux loser.
    Auto Apps:loading...
    Bugbyte's Avatar
    Join Date
    Sep 2004
    Location
    Corning, NY
    Posts
    7,359
    Blog Entries
    2
    Okay, it looks like the circuit Curiosity shows will work if the right values are put on it.

    Here's a photo of the controller innards:


    A closer image of just the circuitry:
    do=displayimg&imgid=7071[/IMG]
    I can only faintly make out the number on the PIC but it *looks* like 12C6752 where Curiosity shows a 12F675. That sounds like the same or something similar, does that sound right?

    The black button is a battery eliminator circuit test button and is not necessary for operation.

    And the underside of the board (the pot is at the bottom of the photo):


    The capacitor on the board is a 10mf 35v

    Could I somehow insert the circuit Curiosity suggested in place of the potentiometer and switch it with a relay? How would I figure out the values for the cap and the resistor?
    Quote Originally Posted by ghettocruzer View Post
    I was gung ho on building a PC [until] just recently. However, between my new phone having internet and GPS and all...and this kit...Im starting to have trouble justfiying it haha.
    Want to:
    -Find out about the new iBug iPad install?
    -Find out about carPC's in just 5 minutes? View the Car PC 101 video

  10. #10
    What can I say? I like serial. Curiosity's Avatar
    Join Date
    Mar 2004
    Location
    Florence Yall, BFKY
    Posts
    2,684
    All the PIC12 chips have the same pinout. I just guessed that's what it was.

    Ok, this is better. Both resistors would be the same.


    It's going to have a curve though. It slows down as it reaches full charge. Then reverse draining. Which might look kinda cool.
    Here's a calculator. I punched in 5V, 8K, 100uF, 4000ms and got close to full.

    http://www.csgnetwork.com/rctimecalc2.html
    or this
    http://ourworld.compuserve.com/homep..._Bowden/rc.htm

Page 1 of 2 12 LastLast

Similar Threads

  1. Battery based tank circuit (tested)
    By Ricky327 in forum Power Supplies
    Replies: 241
    Last Post: 02-13-2008, 05:43 PM
  2. Replies: 15
    Last Post: 01-12-2005, 10:03 AM
  3. circut to build
    By Nic in forum Power Supplies
    Replies: 1
    Last Post: 01-17-2004, 05:19 AM
  4. Trying to build a circuit or 2... HELP!
    By ddt in forum General Hardware Discussion
    Replies: 10
    Last Post: 03-01-2003, 10:34 PM
  5. Will anyone build me a tank circuit?
    By bombboyer in forum General Hardware Discussion
    Replies: 7
    Last Post: 11-08-2002, 12:47 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
  •