![]() |
![]() |
![]() |
|
|
|||||||
| Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution. |
|
|
Thread Tools | Display Modes |
|
|
(permalink) |
|
Experienced Member
|
Application is multi use input PIC input / output pin
Supports all PIC pin modes, digital I/O & analog input. I wonder if it will load the pin in analog mode? ![]() |
|
|
|
|
|
(permalink) |
|
Experienced Member
|
I'm not sure what you're asking.
Providing you're only switching the LED at low frequencies there shouldn't b any problems. Just make sure the PIC is powered from a high enough voltage to turn the MOSFET on enough to light the LED. |
|
|
|
|
|
(permalink) |
|
Super Moderator
|
Since input impedance of MOSFET is quite high, it won't load the analog source. But the LED will turn on and off unexpectedly depending on voltage at the PIC's pin.
__________________
"There is no way to peace, peace is the way!" |
|
|
|
|
|
(permalink) |
|
Experienced Member
|
Well I'm trying to put I/O indicators on the Ladybug for the digital I/O modes. I was using a 2N3904 and may return to that.
http://www.blueroomelectronics.com/u...February08.htm |
|
|
|
|
|
(permalink) |
|
Experienced Member
|
The BS170 and 2N7000 Mosfets have the same ratings. Their threshold voltage can be as high as 3V for a current of 1mA.
They are not Logic Level Mosfets so their minimum current will vary a lot with a gate voltage of only 5V.
__________________
Uncle $crooge |
|
|
|
|
|
(permalink) |
|
Experienced Member
|
With a Vgs of 4.5V the 2N7000 will pass 75mA with a drain-source voltage drop of only 400mV so I think it'll power a 10mA LED with no trouble.
http://www.fairchildsemi.com/ds/2N%2F2N7000.pdf |
|
|
|
|
|
(permalink) |
|
Experienced Member
|
Hi Hero,
I am glad that you found more complete spec's for the Mosfet than I did.
__________________
Uncle $crooge |
|
|
|
|
|
(permalink) |
|
Experienced Member
|
One annoying thing with using 2N7000s on pic outputs is that they float when set to input. This is not normally a problem but when developing the product the LEDs will glow during the program download. This becomes more of a problem if your driving something like relays as the FET ends up with around half the supply voltage across it (=hot). For this reason, it is a good idea to temporarily add a pull down on the gates.
Mike. |
|
|
|
|
|
(permalink) |
|
Experienced Member
|
generally use of MOSFET is with a termination so that gate will not be in charged condition. As such bill might try it with say 100K pull down. It may not effect the port pins but will work as termination for the gate.
I remember some CD4xxx gates which resemble like a pair of N-mos and P-mos complimentary pairs.either we could use one off them and it will serve like 2n7000 but far cheaper,perhaps.
__________________
Regards, Sarma. Last edited by mvs sarma; 10th February 2008 at 08:01 AM. |
|
|
|
|
|
(permalink) |
|
Experienced Member
|
Don't PIC pins have enough guts to power LEDs on their own?
|
|
|
|
|
|
(permalink) | |
|
Experienced Member
|
Quote:
you are leading us near solution. Mr Bill has managed Opto out element with just diode of the Opto-isolator and 330E in series. If this could work , perhaps an efficient LED also can be driven around the same 330E or at 470E for say RED color.
__________________
Regards, Sarma. |
|
|
|
|
|
|
(permalink) |
|
Experienced Member
|
Well I've moved the LED on the Relay section
![]() The relay I/O section ![]() The Opto I/O section Last edited by blueroomelectronics; 10th February 2008 at 03:29 PM. |
|
|
|
|
|
(permalink) |
|
Experienced Member
|
Sir, why not on the same collector? Anyway reverse diode will protect
the LED can be in normal way and with 330E in series to the Vcc.
__________________
Regards, Sarma. |
|
|
|
|
|
(permalink) |
|
Experienced Member
|
Which diode do you mean?
|
|
|
|
|
|
(permalink) | |
|
Experienced Member
|
Quote:
these can be on the collector of the same transistor parallel to relay. the Back emf diode helps these components even from failure.
__________________
Regards, Sarma. |
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Latest |
| Using Oscilloscopes | mechie | Electronic Theory | 9 | 29th November 2007 09:48 PM |
| Just Joined, Got some bugs I can't find. | Thedoctorisin136 | Micro Controllers | 0 | 1st March 2005 06:07 PM |
| Crazy Resonance Problem | cchalmers | General Electronics Chat | 31 | 14th February 2005 03:46 PM |
| Mismatched load problem for EMC course. | jamesmi | General Electronics Chat | 2 | 14th February 2005 10:43 AM |
| convert input resistance to different output, but how?! | pcoghlan | Electronic Projects Design/Ideas/Reviews | 7 | 9th July 2004 09:59 PM |