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?
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.
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 / ._ ._.. ._ .. _.
how to control a resistance or capacitance
OK OK OK
a pic can do anything a 555 can.
Again...
I ask how the right way to do this task of using a PIC to
control the resistance and capacitance of external circuits... for a real good reason.
There are lots of example circuits that show how to build discrete component projects. There must be a 1000 of them out there.
BUT
when I want to do a PIC controlling project to interface those circuits... I don't really find ANY examples.
So...
I ask here if anybody knows a good way to make the
replacement circuitry to interface a PIC where a resistor or capacitor is found in a circuit....
because its the resistors and caps that are always attached to dials with pots and variable caps.
Forgetting the 555....its all those other circuits I want to learn to interface.
I just used the 555 as the example because there are sssssssssssoooooo many web sites devoted to showing the 555 pins layout...where plus and minus and ground lays compared to the pins....so anyone could find good references.