Hi all,
I am designing a electronic board with ARDUINO and several sensors connected via SPI to the microcontroller. Due to project requirements, I cannot use a commercial Arduino board since I need a specific shape with concrete dimensions for it, so I have decided to design a board based on Arduino schematic, adding the rest of circuitry needed (sensors mainly). In addition, and also because of space requeriments, I need to use only SMD components.
I know that it is possible to buy the ATMega with Arduino bootloader previously uploaded, but I don't know if the IC can be "deprogrammed" while soldering it, so I added to my designed board an ICSP port for a later upload of the Arduino bootloader when the board is assembled. However, I'm afraid that it will not work considering that the sensors will be connected with the MCU trough SPI port, which uses MOSI, MISO and SCK lines, same than ICSP port.
So the question is; How can I manage this? I have several solutions in mind;
1- Soldering all devices and trust that everything will work fine (รด_O)
2- Soldering all devices in the board in exception to the sensors. Once the MCU is programmed, the sensors can be soldered.
I would like to use solution 1 because the components are very small and I have not large experience soldering components with this packaging. The best choice for being succes implementing the system would be to order the PCB fabrication + assembly.
Waiting for your opinion/advices.
Thanks in advance.