So soon I intend to undertake a "stand alone" Arduino project (http://arduino.cc/en/Main/Standalone) which seems all well and fine. The only problem is that using the USB serial breakout board uses the RX and TX pins on the Atmega328, and I need them for a Bluetooth module in my project. I know that I can just swap the wires around as needed (change back to Bluetooth after I'm done uploading to the Atmega) but it seems a little inconvenient if I end up re-uploading a lot, then using the Bluetooth module. So my question is, is there any sort of switches I can use where I can connect two separate sets of RX/TX wires and switch between them? It would be perfect to just have a switch to switch between Bluetooth RX/TX and USB serial breakoutboard RX/TX.
Sure, a simple DPDT switch will do.
Middle common pin will connect to the 328, outer pin will connect to one or the other source.
Double pole means 2 set of signals being switched at the same time.
CrossRoads:
Sure, a simple DPDT switch will do.
Middle common pin will connect to the 328, outer pin will connect to one or the other source.
Double pole means 2 set of signals being switched at the same time.
Edit: Actually, could I just double check what you mean with the wiring to the DPDT Switch? Adding on to this little simple little picture I drew would help, thanks!