Using a transistor as a switch between RX and TX
Clash Royale CLAN TAG#URR8PPP
up vote
1
down vote
favorite
I have a microcontroller(arduino) connected via its serial output(RX/TX) to a bluetooth module. i want to be able to program the microcontroller when the two are still connected but unless i disconnect controller RX the program will not upload. Question: is it possible to use a transistor to act as a switch between controller RX and bluetooth TX? my attempts have been unsuccessful so far...thanks.
microcontroller transistors switching
add a comment |Â
up vote
1
down vote
favorite
I have a microcontroller(arduino) connected via its serial output(RX/TX) to a bluetooth module. i want to be able to program the microcontroller when the two are still connected but unless i disconnect controller RX the program will not upload. Question: is it possible to use a transistor to act as a switch between controller RX and bluetooth TX? my attempts have been unsuccessful so far...thanks.
microcontroller transistors switching
Would you mind showing us the particular attempts that you tried, so that we can try to help you revise them to work?
â Andrey Akhmetov
1 hour ago
I think an analog switch is more in-line with what you want: en.wikipedia.org/wiki/Analogue_switch . It's made up of FETs.
â DerStrom8
56 mins ago
with the base as the enable/disable pin i have tried collector to arduino RX and emitter to bluetooth TX and vice verse. i have heard of those analogue switches before but was interested if it was possible to accomplish this with a single transistor....
â user2105725
41 mins ago
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I have a microcontroller(arduino) connected via its serial output(RX/TX) to a bluetooth module. i want to be able to program the microcontroller when the two are still connected but unless i disconnect controller RX the program will not upload. Question: is it possible to use a transistor to act as a switch between controller RX and bluetooth TX? my attempts have been unsuccessful so far...thanks.
microcontroller transistors switching
I have a microcontroller(arduino) connected via its serial output(RX/TX) to a bluetooth module. i want to be able to program the microcontroller when the two are still connected but unless i disconnect controller RX the program will not upload. Question: is it possible to use a transistor to act as a switch between controller RX and bluetooth TX? my attempts have been unsuccessful so far...thanks.
microcontroller transistors switching
microcontroller transistors switching
asked 1 hour ago
user2105725
696
696
Would you mind showing us the particular attempts that you tried, so that we can try to help you revise them to work?
â Andrey Akhmetov
1 hour ago
I think an analog switch is more in-line with what you want: en.wikipedia.org/wiki/Analogue_switch . It's made up of FETs.
â DerStrom8
56 mins ago
with the base as the enable/disable pin i have tried collector to arduino RX and emitter to bluetooth TX and vice verse. i have heard of those analogue switches before but was interested if it was possible to accomplish this with a single transistor....
â user2105725
41 mins ago
add a comment |Â
Would you mind showing us the particular attempts that you tried, so that we can try to help you revise them to work?
â Andrey Akhmetov
1 hour ago
I think an analog switch is more in-line with what you want: en.wikipedia.org/wiki/Analogue_switch . It's made up of FETs.
â DerStrom8
56 mins ago
with the base as the enable/disable pin i have tried collector to arduino RX and emitter to bluetooth TX and vice verse. i have heard of those analogue switches before but was interested if it was possible to accomplish this with a single transistor....
â user2105725
41 mins ago
Would you mind showing us the particular attempts that you tried, so that we can try to help you revise them to work?
â Andrey Akhmetov
1 hour ago
Would you mind showing us the particular attempts that you tried, so that we can try to help you revise them to work?
â Andrey Akhmetov
1 hour ago
I think an analog switch is more in-line with what you want: en.wikipedia.org/wiki/Analogue_switch . It's made up of FETs.
â DerStrom8
56 mins ago
I think an analog switch is more in-line with what you want: en.wikipedia.org/wiki/Analogue_switch . It's made up of FETs.
â DerStrom8
56 mins ago
with the base as the enable/disable pin i have tried collector to arduino RX and emitter to bluetooth TX and vice verse. i have heard of those analogue switches before but was interested if it was possible to accomplish this with a single transistor....
â user2105725
41 mins ago
with the base as the enable/disable pin i have tried collector to arduino RX and emitter to bluetooth TX and vice verse. i have heard of those analogue switches before but was interested if it was possible to accomplish this with a single transistor....
â user2105725
41 mins ago
add a comment |Â
2 Answers
2
active
oldest
votes
up vote
1
down vote
This would work well, MAX4544. Have the default position be COM to NC with a pulldown on IN, when the Arduino sketch wakes up it can drive IN to High to connect COM to NO and enable the BT connection.
https://datasheets.maximintegrated.com/en/ds/MAX4541-MAX4544.pdf
Or one of this if you want to switch both in the same package
https://datasheets.maximintegrated.com/en/ds/MAX4528.pdf
add a comment |Â
up vote
1
down vote
The easiest solution IME to this problem is to avoid it entirely: most arduino boards have a header on them that can be used to connect an AVRisp programmer device, which results in not needing to use the serial interface for programming. The devices are cheap (there are very low cost clones on eBay) and the arduino IDE supports using them. Doing so also allows you to overwrite the arduino boot loader, which can give you a small amount of extra storage for your program, which I often find handy.
add a comment |Â
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
This would work well, MAX4544. Have the default position be COM to NC with a pulldown on IN, when the Arduino sketch wakes up it can drive IN to High to connect COM to NO and enable the BT connection.
https://datasheets.maximintegrated.com/en/ds/MAX4541-MAX4544.pdf
Or one of this if you want to switch both in the same package
https://datasheets.maximintegrated.com/en/ds/MAX4528.pdf
add a comment |Â
up vote
1
down vote
This would work well, MAX4544. Have the default position be COM to NC with a pulldown on IN, when the Arduino sketch wakes up it can drive IN to High to connect COM to NO and enable the BT connection.
https://datasheets.maximintegrated.com/en/ds/MAX4541-MAX4544.pdf
Or one of this if you want to switch both in the same package
https://datasheets.maximintegrated.com/en/ds/MAX4528.pdf
add a comment |Â
up vote
1
down vote
up vote
1
down vote
This would work well, MAX4544. Have the default position be COM to NC with a pulldown on IN, when the Arduino sketch wakes up it can drive IN to High to connect COM to NO and enable the BT connection.
https://datasheets.maximintegrated.com/en/ds/MAX4541-MAX4544.pdf
Or one of this if you want to switch both in the same package
https://datasheets.maximintegrated.com/en/ds/MAX4528.pdf
This would work well, MAX4544. Have the default position be COM to NC with a pulldown on IN, when the Arduino sketch wakes up it can drive IN to High to connect COM to NO and enable the BT connection.
https://datasheets.maximintegrated.com/en/ds/MAX4541-MAX4544.pdf
Or one of this if you want to switch both in the same package
https://datasheets.maximintegrated.com/en/ds/MAX4528.pdf
answered 40 mins ago
CrossRoads
6474
6474
add a comment |Â
add a comment |Â
up vote
1
down vote
The easiest solution IME to this problem is to avoid it entirely: most arduino boards have a header on them that can be used to connect an AVRisp programmer device, which results in not needing to use the serial interface for programming. The devices are cheap (there are very low cost clones on eBay) and the arduino IDE supports using them. Doing so also allows you to overwrite the arduino boot loader, which can give you a small amount of extra storage for your program, which I often find handy.
add a comment |Â
up vote
1
down vote
The easiest solution IME to this problem is to avoid it entirely: most arduino boards have a header on them that can be used to connect an AVRisp programmer device, which results in not needing to use the serial interface for programming. The devices are cheap (there are very low cost clones on eBay) and the arduino IDE supports using them. Doing so also allows you to overwrite the arduino boot loader, which can give you a small amount of extra storage for your program, which I often find handy.
add a comment |Â
up vote
1
down vote
up vote
1
down vote
The easiest solution IME to this problem is to avoid it entirely: most arduino boards have a header on them that can be used to connect an AVRisp programmer device, which results in not needing to use the serial interface for programming. The devices are cheap (there are very low cost clones on eBay) and the arduino IDE supports using them. Doing so also allows you to overwrite the arduino boot loader, which can give you a small amount of extra storage for your program, which I often find handy.
The easiest solution IME to this problem is to avoid it entirely: most arduino boards have a header on them that can be used to connect an AVRisp programmer device, which results in not needing to use the serial interface for programming. The devices are cheap (there are very low cost clones on eBay) and the arduino IDE supports using them. Doing so also allows you to overwrite the arduino boot loader, which can give you a small amount of extra storage for your program, which I often find handy.
answered 32 mins ago
Jules
1,307816
1,307816
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2felectronics.stackexchange.com%2fquestions%2f397928%2fusing-a-transistor-as-a-switch-between-rx-and-tx%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Would you mind showing us the particular attempts that you tried, so that we can try to help you revise them to work?
â Andrey Akhmetov
1 hour ago
I think an analog switch is more in-line with what you want: en.wikipedia.org/wiki/Analogue_switch . It's made up of FETs.
â DerStrom8
56 mins ago
with the base as the enable/disable pin i have tried collector to arduino RX and emitter to bluetooth TX and vice verse. i have heard of those analogue switches before but was interested if it was possible to accomplish this with a single transistor....
â user2105725
41 mins ago