So I plan to make an arduino board on a custom made PCB. Attached it the schematic of what I plan to do.
This is the chip that I am buying.
I also have an Arduino Uno that can be used as an ISP programmer.
I also have the USB2Serial programmer found here:
Now the chip that I am buying obviously has no software on it. I want to know how I will be able to program the ATMEGA328P and what pins and hardware will be needed.
Can I use the Arduino as an ISP to burn the bootloader on it, then use the USB2Serial programmer to flash programs onto the chip?
Also, does anyone know what temperatures the chip can withstand in a reflow oven for soldering the chip onto a board? Using CR11 solder. Apparently 300 Degrees Celcius would be okay?
Have you search for any of the standalone or Bare Bones tutorials out there? It literally walks you through all steps.
There are TONS.. find one that you relate to.
Also that chip looks a bit suspect.. it states 328.. but has a picture of a 325?
.. most chips run @ 16MhZ or 8MhZ with their respective crystals or internal clock
Also that chip looks a bit suspect.. it states 328.. but has a picture of a 325?
.. most chips run @ 16MhZ or 8MhZ with their respective crystals or internal clock
I have received the chip and it shows a 328 on the top, not 325.
I know those tutorials would work for the breadboard, but would it be the same when using a chip on a PCB?
Pretend I just about completed my PCB. I then try to program the bootloader using the Arduino as an ISP but it doesn't work or detect the chip. Would there be a way to check that the barebones ATMEGA328P on the breadwork is actually working and is not fried etc?
Also, if there was a short between 2 analog input pins, would this cause any damage or problems to the working of it?
Nurul15:
Can I use the Arduino as an ISP to burn the bootloader on it, then use the USB2Serial programmer to flash programs onto the chip?
Also, does anyone know what temperatures the chip can withstand in a reflow oven for soldering the chip onto a board? Using CR11 solder. Apparently 300 Degrees Celcius would be okay?
Thank you.
Yes.
The chip will handle normal and abnormal soldering temperatures for leaded solder. You have to be more careful if using lead-free. If your customer doesn't require CE or other certification on the board, just use leaded.
If you design a PCB to take a small Arduino such as a Teensy or Micro then you don't need the USB-serial converter and you don't need SoftwareSerial either. Those chips have enough hardware Serial to do what your schematic shows. It also makes debugging a hundred times easier when you can test the sub-boards separately.