Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re: ATMega16 I/O port protection diodes

2010-06-17 by Donald H

--- In AVR-Chat@yahoogroups.com, "Tim Mitchell" <tim@...> wrote:
>
> ----Original Message----
> From: AVR-Chat@yahoogroups.com
> [mailto:AVR-Chat@yahoogroups.com] On Behalf Of Mike
> Bronosky Sent: 17 June 2010 15:31 To:
> AVR-Chat@yahoogroups.com Subject: Re: [AVR-Chat] Re:
> ATMega16 I/O port protection diodes 
> 
> > 
> > One sure fire way we over come this is the use of fiber
> > optic cables. 
> > 
> 
> This is good advice for a comms link, but not so good when you are trying to power an LED.

This is a no brainer !!!

Why is this discussion happening !!!

You can use a 2n3904 and 24 Volts DC source and Limit the current in the LED, resistors are cheap.

Driving more then 4 inches from a microprocessor pin is just lazy and foolish.

$.22 of parts takes care of any problem.

And if the line gets spiked, you replace a 15 cent transistor not a microprocessor.

don

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.