I have some quick questions regarding PICs, Specifically the 18f84a and the 16f628.
Will these chips work fine on 6V ?
How much current can these chips provide per pin? (only one output requires much current, i have 2 more ouputs just controling LEDs)
Can someone point me in the direction of a good tutorial based website on current amplifiers. I would like something small in size using common components.
It's in the datasheet, it's something like 30mA, what are you wanting to control.
Can someone point me in the direction of a good tutorial based website on current amplifiers. I would like something small in size using common components.
Assuming this is to drive something from the PIC, you're not asking the right question!. Tell us what you are wanting to do and we can probably help, but I'm presuming you don't really want a 'current amplifier', just something to provide a higher switching current than a port pin on it's own.
It doesn't matter about the existing pulse width, simply disconnect it and feed it from a 6V battery with your ammeter in series - and measure the current - easy!.
As the pulse width is so small, and presumably the repetition rate isn't high?, you can probably use a fairly small transistor. But you do need to know the current required!.
Just use a small NPN transistor (I'd use a BC107 - but I always do!), connect the emitter to ground (0V), and the base via a 1K resistor to the I/O pin of the PIC. The solenoid goes from the collector of the transistor to the +ve rail - be sure to fit a reverse biased diode across the solenoid (cathode to +ve, anode to collector). There should be no problem about speed, the slowest thing (by a huge margin) will be the solenoid.