New Products Flash Sale
Thread Tools
Old Dec 14, 2012, 04:01 PM
SadSack is offline
Find More Posts by SadSack
Registered User
United Kingdom, Bristol
Joined Aug 2008
1,829 Posts
Question
Arduino Switch between to 2 serial pins

Well what i'd like to do:
I would like to switch between 2 serial pins to center pin, basically 2 pole double throw switch but use Uno to do the switching. I could use 2PDT switch but want to see usable it could be to have arduino do it for me and adjust the speed of swap.

Could i just use pair of PNP or NPN (not sure which) and 10k pot to adjust speed ?
Switch would do it but need another hand Don't have relay or anything like.

Just unsure how to go ?? Help )
SadSack is offline Find More Posts by SadSack
Reply With Quote
Sign up now
to remove ads between posts
Old Dec 15, 2012, 04:22 AM
lacion is online now
Find More Posts by lacion
Registered User
lacion's Avatar
Spain, Community of Madrid, San Sebastián de los Reyes
Joined Dec 2012
243 Posts
you could use a reed switch.
lacion is online now Find More Posts by lacion
Reply With Quote
Old Dec 15, 2012, 02:23 PM
SadSack is offline
Find More Posts by SadSack
Registered User
United Kingdom, Bristol
Joined Aug 2008
1,829 Posts
I would but don't have any at min.

Well i used PNP first while would switch one side wouldn't other. I had hoped i could use NPN which works both sides . NPN PNP drive them with only 1 pin from uno. While it would drive two LEDs on/off wouldn't work with my multiwii.....maybe i hooked it up wrong.
Next i use 2 NPN and 2 pin from uno...
SadSack is offline Find More Posts by SadSack
Reply With Quote


Thread Tools

Similar Threads
Category Thread Thread Starter Forum Replies Last Post
Sold Fromeco Arizona Regulator w/ Pin Switch & 4800 Lion batt Jdeiter Aircraft - General - Radio Equipment (FS/W) 2 Mar 13, 2012 07:45 PM
Discussion Switching control between 2 servos using landing gear switch Ben2 DIY Electronics 7 Oct 05, 2011 06:30 PM
For Sale PLD Regulator, Pin Switch/ 2 Lipos beach1 Aircraft - Sailplanes (FS/W) 1 May 14, 2011 07:38 PM
Discussion Is there a switch out there that will let me switch between 2 servos? randall1959 FPV Talk 38 Apr 23, 2011 04:56 PM
Question serial communication - Arduino to Java using rxtx library [solved] Nase DIY Electronics 1 Sep 05, 2010 09:20 PM