Pages: [1]   Go Down
Author Topic: How to connect LEDs to RX0/TX1 and still be able to flash?  (Read 677 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Jr. Member
**
Karma: 0
Posts: 56
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I've tried to connect 2 leds on Digital Pin0 and Digital Pin1. I know it's connected to UART RX/TX. After this connection I wasn't able to flash device - no response.
But there must be some way to isolate this LEDs from RX/TX pins during programming(except putting release buttons).

So I want to have LEDs on those pins (using all pins on Arduino UNO) and be able to program board.
Logged

Cape Town South Africa
Offline Offline
Edison Member
*
Karma: 19
Posts: 1217
A newbie with loads of posts, and still so much to learn !
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

What have you got connected to all the other pins ?   more leds?
Logged

With my mobile phone I can call people and talk to them -  how smart can you get ?

Manchester (England England)
Online Online
Brattain Member
*****
Karma: 634
Posts: 34566
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

The best way is to switch them out. That is physically disconnect them.

Alternatively you can use a buffer or a transistor to isolate them from the serial signals. They will then flash as you upload stuff but when the sketch starts running they will be fully controllable.
Logged

Offline Offline
Jr. Member
**
Karma: 0
Posts: 56
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Other LEDs, SPI. The number of pins are exactly matches to requirements if I only can isolate them and use flash device without disconnecting LEDs.
Logged

Offline Offline
Jr. Member
**
Karma: 0
Posts: 56
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Other LEDs, SPI. The number of pins are exactly matches to requirements if I only can isolate them and use flash device without disconnecting LEDs.

Could you please give me some reference values of elements?
Logged

Cape Town South Africa
Offline Offline
Edison Member
*
Karma: 19
Posts: 1217
A newbie with loads of posts, and still so much to learn !
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

You can drive loads of LEDs from 3 pins with a shift register ....
Logged

With my mobile phone I can call people and talk to them -  how smart can you get ?

Manchester (England England)
Online Online
Brattain Member
*****
Karma: 634
Posts: 34566
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Other LEDs, SPI. The number of pins are exactly matches to requirements if I only can isolate them and use flash device without disconnecting LEDs.

You can't without isolating the LEDs from the serial input. As I said before you fdo this either electrically or mechanically.
Logged

Pages: [1]   Go Up
Jump to: