how to control 555 resisters with PIC


Closed Thread
Results 1 to 17 of 17

Hybrid View

  1. #1
    KB3BYT's Avatar
    KB3BYT Guest

    Default how to control 555 resisters with PIC

    When playing with a 555 timer there are two resisters and a capacitor connected to the 555 on pins 6,7,8 and ground.

    Changing the values of these resistors and one cap will control the 555
    oscillator output.

    Is there any right way to attach a 555 to a PIC that will tell
    the 555 that the resistors or cap values are changing?

  2. #2
    Join Date
    Oct 2006
    Location
    Cape Town SA
    Posts
    23


    Did you find this post helpful? Yes | No

    Default

    The timing of the 555 is a function of the current drawn from these pins. Putting a transistor or FET in ths path and controlling its base/gate with PWM via a LP filter (series resistor and cap to ground) will do the job

  3. #3
    KB3BYT's Avatar
    KB3BYT Guest


    Did you find this post helpful? Yes | No

    Default any component suggestions?

    to Websmith...Can you suggest some values to try....
    like the resistor that is between pins 7 and 8 ... can I replace the resistor with a 2N2222 NPN transistor and connect pin 8 to the collector and pin 7 to the emitter and the PIC to the base?
    Do I need to put a resister between the PIC and the base? What value?
    Do I need to tie a cap to ground where that resister meets the pic? what value?

    Same questions about the resistor between pin 6 and 7.

    555 chips use a capacitor on pin 6 and 2 tied to ground to control frequency
    oscillation.

    There is a variable capacitor called a varicap and some diodes can have capacitance so is there a way to replace that pin 6,2 cap with a diode or
    varicap that is tied to the PIC also?

    I am a retired computer programmer and I do not know electronics as well
    as the electrical engineers so am limited by the example wiring diagrams
    provided by the PBP manual.
    As a ham radio operator I learned a bit about electronics and I dream up cool projects but I let more smoke out of components than I'd like to admit.
    It seems to me that if I can figure out how to mimic variable resistors and capacitors using the PIC commands then it would open up doors to lots of
    toys for me to play with.

  4. #4
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    "Anything you can do, I can do better". Said the PIC to the NE555.

    I can see no reason to even attempt what you're proposing. The PIC can perform any function the 555 can do, without any external components. And do a bunch of other stuff at the same time.

    It would be like using a 300hp car engine just to regulate how fast your electric can opener turns. Not that someone wouldn't try that either.
    <br>
    DT

  5. #5
    Join Date
    Jan 2006
    Location
    Istanbul
    Posts
    1,185


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Darrel Taylor
    "Anything you can do, I can do better". Said the PIC to the NE555.

    I can see no reason to even attempt what you're proposing. The PIC can perform any function the 555 can do, without any external components. And do a bunch of other stuff at the same time.

    It would be like using a 300hp car engine just to regulate how fast your electric can opener turns. Not that someone wouldn't try that either.
    <br>


    I have seen people using 12C508 direct drop in 555 place upside down (different supply pins ).

    Compared to 555, 12C508 provides a better accuracy over a range of frequency they say. Thus, it comes to the cost at the end.

    555 is about the same price of a single general purpose transistor!


    -----------------------------------------
    "If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte

  6. #6
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,648


    Did you find this post helpful? Yes | No

    Wink PIN 5 !!!! or controlled current ...

    Just play with voltage @ pin 5 ... see 555 Datasheet for that.

    Other ( read complicated for the use ...) thing to do is use the " constant current config" and drive this current with the PIC.

    Broadest freq range to be expected ...

    Hi, Darrel

    You're not right ... or right just for "classical" designs ...

    Alain / ._ ._.. ._ .. _.
    Last edited by Acetronics2; - 6th December 2006 at 15:20.
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

Similar Threads

  1. The best way to control a servo with a PIC
    By The Master in forum Off Topic
    Replies: 41
    Last Post: - 19th October 2008, 02:44
  2. PIC relays control
    By flipper_md in forum mel PIC BASIC Pro
    Replies: 20
    Last Post: - 1st October 2008, 16:03
  3. Motor Control PLC with a PIC
    By sougata in forum mel PIC BASIC Pro
    Replies: 11
    Last Post: - 2nd November 2006, 07:59
  4. Pic Control With Software
    By Agent36 in forum General
    Replies: 5
    Last Post: - 18th October 2006, 18:18
  5. Need help on pic to pic flow control (simple problem I think)
    By khufumen in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 11th January 2006, 00:34

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

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