I'm finally sufficiently happy with my breadboarded setup of parts to build a board to integrate it all. For a variety of reasons, a simple shield is not realistic, so I'm planning to build the Arduino HW (I've been using an Uno) right into the system. I have a few hopefully simple questions.
I believe the attached is a fully-functioning Uno-Equivalent aside from the lack of USB? I used both the Uno and Sparkfun Pro Mini Schematics to piece it all together (hopefully correctly).
-
I'm planning to program this with an FTDI interface board, so all of the USB circuitry is thankfully un-necessary. The Pro Mini schematic shows how the FTDI board hooks up, looks very simple to me, just TX/RX/VCC/GND/DTR, with DTR on the opposite side of a 0.1uF cap from the reset pin for auto-reset.
-
I am not going to use a switch for resetting, as my project has too much potential for the button to get jostled too easily and prompt a false reset. Instead I'm just breaking out a pair of pins that I can short with a jumper if needed. Hence the jumper by the reset where there is normally a switch.
-
The datasheet for the crystal I was looking at using (CTS ATS16B) mentions a load capacitance of 20pF. I assume this is the recommended capacitor value I should be using (most general instruction sources I've seen mention 18-22pF, so this is at least in the range)?
-
The schematic for the Uno has a 1M resistor across the pins of the crystal. Why? Is this necessary?
-
Aside from the fact that the DIP 328P-PU can be found with the Arduino bootloader, is there any difference if I were to use an SMD 328P? I am considering this to save space, I've used the Sparkfun ProMini a fair amount too and it seems to be identical to the Uno in capabilities (well, with 2 extra analog pins that I don't need, but same speed, flash, ram, etc). All my peripherals are running on SPI if that matters.
-
I have 5-6 SPI peripherals (several sensors, a flash mem chip, and a uSD card) and a level shifter (I need the speed of the 16MHz clock otherwise I'd run the whole darn thing at 3.3V and be done with it) that are going to be attached to this system. I know standard practice is to put filtering/bypass caps on the Vin on all of these. Is there any issue with the extra capacitance of having so many caps across the voltage lines? I'm thinking not, but wondering, especially since the board isn't going to be all that big (roughly Uno-sized, maybe 1.5x on the upper end). Power will be supplied through a 5V reg (to the 328p) and a 3V3 reg (to all the SPI devices) from a set of batteries.
Thanks in advance!
