Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
LinkBack Thread Tools Display Modes
Old 27th March 2004, 03:59 PM   (permalink)
Default More dumb questions

Hi

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.


Many thanks
2camjohn is offline  
Old 27th March 2004, 04:35 PM   (permalink)
Default Re: More dumb questions

Quote:
Originally Posted by 2camjohn
Hi

I have some quick questions regarding PICs, Specifically the 18f84a and the 16f628.


Will these chips work fine on 6V ?
They seem quite happy at 6V, I've used then a lot off 6V batteries.

Quote:
How much current can these chips provide per pin? (only one output requires much current, i have 2 more ouputs just controling LEDs)
It's in the datasheet, it's something like 30mA, what are you wanting to control.

Quote:
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.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 27th March 2004, 05:09 PM   (permalink)
Default

Im driving a 6V low pressure (100psi) solenoid.
2camjohn is offline  
Old 27th March 2004, 07:27 PM   (permalink)
Default

Quote:
Originally Posted by 2camjohn
Im driving a 6V low pressure (100psi) solenoid.
It's nice to know it's 100psi, but that doesn't give any details about it's current requirements - do you know what they are?.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 27th March 2004, 10:24 PM   (permalink)
Default

Im sorry I dont know the current requirements.

I cant measure the current as the pulse is so tiny (14ms) so my multimeter doesnt pick it up. I dont have an oscilloscoope either



I just want something that switches quickly and accurately, about 1A at most.

It needs to be small too.

Thanks
2camjohn is offline  
Old 27th March 2004, 11:18 PM   (permalink)
Default

Quote:
I cant measure the current as the pulse is so tiny (14ms) so my multimeter doesnt pick it up. I dont have an oscilloscoope either
With the multimeter measure the resistance of the 6V solenoid and apply ohm's law.
__________________
"Having to do with Motion Control"
motion is offline  
Old 28th March 2004, 10:48 AM   (permalink)
Default

Quote:
Originally Posted by 2camjohn
Im sorry I dont know the current requirements.

I cant measure the current as the pulse is so tiny (14ms) so my multimeter doesnt pick it up. I dont have an oscilloscoope either
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!.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 29th March 2004, 02:09 PM   (permalink)
Default

OK I tested my solenoid.

It comes out at 70 ohms which works out at 80mA at 6V.

So can someone recommend a circuit which will easily drive an 80mA solenoid.

I want it to be very accurate and fast at switching (+- 2% of the 14ms pulse) and it needs to be as small as possible.

Many thanks
2camjohn is offline  
Old 29th March 2004, 05:19 PM   (permalink)
Default

Quote:
Originally Posted by 2camjohn
OK I tested my solenoid.

It comes out at 70 ohms which works out at 80mA at 6V.

So can someone recommend a circuit which will easily drive an 80mA solenoid.

I want it to be very accurate and fast at switching (+- 2% of the 14ms pulse) and it needs to be as small as possible.

Many thanks
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.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Reply

Bookmarks

Thread Tools
Display Modes





All times are GMT. The time now is 05:21 AM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.

eXTReMe Tracker