I have seen around many diagrams for an
Arduino compatible board, there are some details
That vary from one diagram to the other,
In the attached diagram the capacitors are all 0.1uf
And in many others they are 1uf
What should they be?
in the attached, i think i understand it correctly
But what should the capacitors connected to the
16Mhz crystal be?
3.both on the ICSP and the FTDI
there is a +5V, should this come from the supply
Feeding the arduino, or is this coming externally
By just connecting the FTDI/ICSP plug (from computer)
4.I remember reading that you can save the space used
For the bootloader by using the FTDI to upload the program.
If so, would the Arduino software still be able to upload the sketch?
Power supply decoupling caps are 0.1uF.
Caps on the 16MHz crystal are 22pF.
+5V can be from USB or from external supply. Do not connect them together. Connect the grounds together.
FTDI supports serial programming when a bootloader is on the chip.
The exact value of decoupling capacitors is not very crucial, but they should be ceramic and
they need to be right next to the relevant pins of the chip to work properly.
Having both 0.1uF and 10uF decoupling caps for each supply is commonly done to improve
the effectiveness (matters more for analog input quality), the 10uF can be electrolytic.
A ground-plane is a very good idea - failing that ensure there's a whole network of ground traces
around all the board.
The caps on the crystal ideally should match the crystal's specifications, but in practice that
means 18 or 22pF (the load capacitance the crystal sees is half the value of these capacitors
in parallel with the input capacitance of the chip's oscillator and any stray capacitance - sounds
complex, just use 22pF!
CrossRoads:
Power supply decoupling caps are 0.1uF.
Caps on the 16MHz crystal are 22pF.
+5V can be from USB or from external supply. Do not connect them together. Connect the grounds together.
FTDI supports serial programming when a bootloader is on the chip.
Yes - use ISP for bootloader, or sketch with no bootloader.
Use USB/Serial adapter to down via the bootloader.
Use offboard USB/Serial adapter if there is not one on the board.
An example - FTDI module & AVR ISP connector bootloading a '1284P card.
AVR ISP in this case is Atmel AVR ISP MKii, only senses power, FTDI module is actually powering the card.