Pages: 1 [2]   Go Down
Author Topic: adding LED's to Rx/Tx lines of 328 TFQP SMD to show uploading action  (Read 1644 times)
0 Members and 1 Guest are viewing this topic.
Canada
Offline Offline
God Member
*****
Karma: 7
Posts: 602
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

You could still connect them in a common anode fashion as the FTDI chip will likely sink as much current as it will source.  They will then only light when the data lines go low (as in when data is being transmitted/received) and produce the desired effect of letting you know communication is occurring.
Logged

Facts just don't care if you ignore them.

South East USA
Offline Offline
God Member
*****
Karma: 5
Posts: 651
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

But then when I unplug the FTDI cable, the pins will be low, and the LED's will be on all the time won't they?
Logged

Canada
Offline Offline
God Member
*****
Karma: 7
Posts: 602
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

No, the leakage current of the AVR inputs will not be enough to light the LEDs.
Logged

Facts just don't care if you ignore them.

Offline Offline
Edison Member
*
Karma: 29
Posts: 2443
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Would a cheap npn transistor (10k on base) not do the job equally as well?

unless there's some kind of propagation delay or even such a tiny
amount of current on the base too much for the high/low signals?
Logged

Pages: 1 [2]   Go Up
Jump to: