Left Coast, CA (USA)
Offline
Brattain Member
Karma: 279
Posts: 15338
Measurement changes behavior
|
 |
« Reply #15 on: February 22, 2012, 07:43:08 pm » |
Ok, what am I missing here? On the left is SFE's SPDT symbol. On the right is their SPST symbol. So, why can't I use the SPST switch? Isn't it just a flip-flop between the two poles? If the AVR is on the left, and the two poles on the right are one to the FTDI's VCC and the other to the PSU VCC?
The SPDT seems to have more poles than I need ...
What am I missing?
Your symbol drawing is trash. The one on the left is a DPDT and the one on the right is a SPDT. A SPDT (as drawn on the right symbol) is what will work for power switching on your board. The center terminal will become the board's +5vdc bus. The two other contacts will be wired to the USB's +5vdc and the external +5vdc regulators output. Lefty
|
|
|
|
|
Logged
|
|
|
|
|
Colorado
Offline
Edison Member
Karma: 41
Posts: 1263
Reviving dead brain cells with Arduinos.
|
 |
« Reply #16 on: February 22, 2012, 07:47:30 pm » |
Well to my mind the left one has two poles, it's a DPDT and the right one is a SPDT. You're thinking is spot on with mine. The SFE drawings are wrong ... Wouldn't be the first time ...
|
|
|
|
|
Logged
|
|
|
|
|
Colorado
Offline
Edison Member
Karma: 41
Posts: 1263
Reviving dead brain cells with Arduinos.
|
 |
« Reply #17 on: February 22, 2012, 07:48:43 pm » |
Your symbol drawing is trash. It's SFE's symbol, not mine.  The one on the left is a DPDT and the one on the right is a SPDT. A SPDT (as drawn on the right symbol) is what will work for power switching on your board. The center terminal will become the board's +5vdc bus. The two other contacts will be wired to the USB's +5vdc and the external +5vdc regulators output. Then, what I had in my schematic earlier is correct then.
|
|
|
|
|
Logged
|
|
|
|
|
Left Coast, CA (USA)
Offline
Brattain Member
Karma: 279
Posts: 15338
Measurement changes behavior
|
 |
« Reply #18 on: February 22, 2012, 07:55:00 pm » |
Your symbol drawing is trash. It's SFE's symbol, not mine. Understood. But SFE means little to me, I just call them like I see them.  The one on the left is a DPDT and the one on the right is a SPDT. A SPDT (as drawn on the right symbol) is what will work for power switching on your board. The center terminal will become the board's +5vdc bus. The two other contacts will be wired to the USB's +5vdc and the external +5vdc regulators output. Then, what I had in my schematic earlier is correct then. Perhaps, it's a long posting thread, perhaps you could link again and I would be glad to take a look at it.
Lefty
|
|
|
|
|
Logged
|
|
|
|
|
Colorado
Offline
Edison Member
Karma: 41
Posts: 1263
Reviving dead brain cells with Arduinos.
|
 |
« Reply #19 on: February 22, 2012, 08:00:22 pm » |
Here ya go.
|
|
|
|
|
Logged
|
|
|
|
|
Left Coast, CA (USA)
Offline
Brattain Member
Karma: 279
Posts: 15338
Measurement changes behavior
|
 |
« Reply #20 on: February 22, 2012, 08:07:35 pm » |
Here ya go.
Yep, perfect. Did you understand about using 3 pin SIP male header pins and a jumper clip instead of a physical switch? Takes less PCB space and won't be switched accidently as easily. Lefty
|
|
|
|
|
Logged
|
|
|
|
|
Colorado
Offline
Edison Member
Karma: 41
Posts: 1263
Reviving dead brain cells with Arduinos.
|
 |
« Reply #21 on: February 22, 2012, 08:13:31 pm » |
I did, but this board will be inside of an enclosure that won't be opened too often, so if I have a slide switch that can be accessed through a thin slot, that's perfect. The only one who would be reprogramming it (for now) would be me anyway, so I'm happy with that.
Now, for all intents and purposes, a DPDT would also work, yes? Just connect both poles to the same thing.
|
|
|
|
|
Logged
|
|
|
|
|
Left Coast, CA (USA)
Offline
Brattain Member
Karma: 279
Posts: 15338
Measurement changes behavior
|
 |
« Reply #22 on: February 22, 2012, 08:18:43 pm » |
Now, for all intents and purposes, a DPDT would also work, yes? Just connect both poles to the same thing. Yes, A DPDT is just two SPDT contact sets sandwiched together. As long as you wire only to one side or the other 3 pin rows, a DPDT can be used as a SPDT, or as two SPDT, or even as one or two SPST switch if desired. It's only confusing if you let it be. Lefty
|
|
|
|
|
Logged
|
|
|
|
|
Colorado
Offline
Edison Member
Karma: 41
Posts: 1263
Reviving dead brain cells with Arduinos.
|
 |
« Reply #23 on: February 22, 2012, 08:20:48 pm » |
Hey, Confucius is my middle name.  Thanks for the help!
|
|
|
|
|
Logged
|
|
|
|
|
Colorado
Offline
Edison Member
Karma: 41
Posts: 1263
Reviving dead brain cells with Arduinos.
|
 |
« Reply #24 on: February 23, 2012, 12:43:40 am » |
By the way, should those series resistors on the TX/RX lines be 1K, or 10K? Somewhere someone told me to use 10K, but I can't remember anymore where ... Does it make a lot of difference, such as completely rendering those lines "dead", preventing a reprogram?
|
|
|
|
|
Logged
|
|
|
|
|
Left Coast, CA (USA)
Offline
Brattain Member
Karma: 279
Posts: 15338
Measurement changes behavior
|
 |
« Reply #25 on: February 23, 2012, 03:01:23 am » |
By the way, should those series resistors on the TX/RX lines be 1K, or 10K? Somewhere someone told me to use 10K, but I can't remember anymore where ... Does it make a lot of difference, such as completely rendering those lines "dead", preventing a reprogram?
The arduino design uses 1k isolation resistors, but I suspect 10k would might work also, but best to stick what has been proven to work over all the baudrates used on FTDI based arduino boards. http://arduino.cc/en/uploads/Main/arduino-duemilanove-schematic.pdfLefty
|
|
|
|
« Last Edit: February 23, 2012, 03:03:34 am by retrolefty »
|
Logged
|
|
|
|
|
0
Offline
Tesla Member
Karma: 73
Posts: 6638
Arduino rocks
|
 |
« Reply #26 on: February 23, 2012, 04:34:19 am » |
Dont forget decoupling caps BTW
|
|
|
|
|
Logged
|
|
|
|
|
Colorado
Offline
Edison Member
Karma: 41
Posts: 1263
Reviving dead brain cells with Arduinos.
|
 |
« Reply #27 on: February 23, 2012, 01:16:16 pm » |
Dont forget decoupling caps BTW
Yup. I didn't put them in the posted schematic because it was 'in it's simplest of simple form', where all I cared about was the VCC lines. The actual schematic has a lot more stuff in it, decoupling caps from here to the moon and back is just one of those things. *grin*
|
|
|
|
|
Logged
|
|
|
|
|
Salem, Oregon
Offline
Full Member
Karma: 0
Posts: 175
Arduino rocks but sometimes it rolls
|
 |
« Reply #28 on: February 23, 2012, 02:02:43 pm » |
Basically, if ONLY the external PSU is connected, I don't want (or need) the FTDI IC powered up. So I'm probably missing something, but I have to ask: If you don't always want to use the FTDI chip, why don't you simply put an FTDI 6pin header on the board and then use an FTDI cable (or a USB/TTL Serial adapter) when you need it? I'm probably missing something... Brad. PS I like Lefty's idea of using 3 0.1" headers as your on-board switch. Then if you want a real switch, simply wire one up with a small jumper (w/ female pins). Of course this takes a bit more enclosure space but it's more flexible.
|
|
|
|
|
Logged
|
|
|
|
|
Left Coast, CA (USA)
Offline
Brattain Member
Karma: 279
Posts: 15338
Measurement changes behavior
|
 |
« Reply #29 on: February 23, 2012, 02:06:38 pm » |
I'm probably missing something... Yes. He wants the board mounted FTDI chip to draw power only if it's actively plugged into the PCs USB buss. It's a current saving thing that some want or need and as the Seeeduino design allows. Using an external USB serial cable or module is another way of accomplishing the same thing. Lefty
|
|
|
|
|
Logged
|
|
|
|
|
|