The idea is to be able to upgrade the firmware without openning it.
Two solutions:
? RX/TX/Reset to upload using an Arduino without chip: 3 pins
Only 3 wires
I must use an FTDI or Arduino board
? ICSP: 6 pins
I use a programmer, which allows me to reburn the bootloader if a problem happens. (Just had to do it because a RAM issue.)
I have to use the programmer! (and set up the IDE to use it)
I would prefer the standard ICSP, even if it's definitelty more work!
I'm looking for connectors.
For RX/TX/Reset I was thinking about a 2.5mm stereo jack, but I don't really like it because it's very small, easy to bend etc. But 2.5mm is necessary in an environment where jacks of other sizes are used for audio!
For ICSP, I could use pin headers, but it's not ideal because it's not easy to fasten on my rear plate and bare male pins would not be very gorgeous! Female ones would need pins plugged in or an adapter to adapt to male. And that means, if you need an adapter, why not another more practical type of connector then!
So, I was thinking about another type of 6-pin connector.
Ideal would be something I can fasten easily to the rear plate, so not PCB-only connector.
But what?
[edit]Btw I don't have USB onboard (standalone Arduino).[/edit]
Hm, it could indeed combine my two solutions! But perhaps not the funniest thing to solder! (since I have also another connector for the adapter to solder too!)
I tested out again my first solution, and it appears that I also need +5V, otherwise it's not always perfect. So a stereo jack is really not the solution.
Perhaps somebody else has an idea?
(or I will perhaps choose the D-SUB, indeed!)
[edit]A mini-DIN 9 pin exists, but I'm not sure to find it in a shop nearby...[/edit]
Headers are compatible with IDC connectors (Insulation Displacement Connectors) that use ribbon cable. You can get panel or PCB mounting headers for this that can be used to connect to form connections outside a box.
That could have a nice feeling and look.
I don't find panel connector that don't take 5mm outside the box, can you show me what you where thinking about?
Hm ok...
but then, from this idea, I could use a small veroboard with the socket on it mounted inside with screws! (or even male pins if I can't find some...)
Hm the 6 pins connector seems not easy to find...
I saw some 10 pins one here.
Do you have some idea for a supplier who carries it at a reasonable price?