Electronics > Beginners
Going to production, make Nano -atmega328p program, how to do it?
(1/1)
Vindhyachal.takniki:
1. I have a arduino nano board & made a small project on it. Its running succesfully.
2. Now i want to go to program 100 more MCU and make own board which is customized and has MCU on it?
3. How can i program MCU alone on my customized board. I dont need any FTDI ic or usb port on my board.
4. Also I dont need external crystal? How I can do change in arduino programming so that Atmega uses its internal oscillator only.
Moriambar:
--- Quote from: Vindhyachal.takniki on March 21, 2019, 03:22:23 pm ---1. I have a arduino nano board & made a small project on it. Its running succesfully.
--- End quote ---
Good for you!
--- Quote ---2. Now i want to go to program 100 more MCU and make own board which is customized and has MCU on it?
--- End quote ---
Is this a question? Anyway if you want to design a board around an MCU I suggest first determining which MCU you need (could be an ATTiny, an ATMega, depending on gpio and peripherals needed - I only mention Atmel chips since using the nano, imo, is easier you want to use those). then you sketch your circuit and prepare the pcb layout but:
--- Quote ---3. How can i program MCU alone on my customized board. I dont need any FTDI ic or usb port on my board.
--- End quote ---
If you don't want to program the MCU outside of the board but you want to solder them first, then you're gonna need to put specific programming headers that interface with the specific pins of your cpu in your PCB design. An Atmel MCU can be programmed via various tools, even via another arduino. You don't need an extra IC or any USB ports. Online you find tons of examples with many different programmers (TinyUsb, Arduino, ...). I, instead, prefer to program the chips beforehand, and then test and solder them. The process is similar but I don't have programming headers on the pcbs.
You can use the arduino IDE to program other atmel chips (and many other chips too), just by downloading specific libraries such as TinyCore for ATTiny and so on.
--- Quote ---4. Also I dont need external crystal? How I can do change in arduino programming so that Atmega uses its internal oscillator only.
--- End quote ---
I never needed an external crystal and I think there are few chips (but I actually don't know) that absolutely need one. If the internal oscillator is "good enough" for you, no need for anything else. How to use the internal oscillator depends on which IDE and possibly libraries you use to program the chip.
Kasper:
This covers a basic way to do it:
https://www.arduino.cc/en/Tutorial/ArduinoToBreadboard
Vindhyachal.takniki:
this will try & see :https://www.arduino.cc/en/Tutorial/ArduinoToBreadboard
boffin:
--- Quote from: Vindhyachal.takniki on March 21, 2019, 03:22:23 pm ---1. I have a arduino nano board & made a small project on it. Its running succesfully.
2. Now i want to go to program 100 more MCU and make own board which is customized and has MCU on it?
3. How can i program MCU alone on my customized board. I dont need any FTDI ic or usb port on my board.
4. Also I dont need external crystal? How I can do change in arduino programming so that Atmega uses its internal oscillator only.
--- End quote ---
This covers the ATMEGA and ATTINY nicely
https://snafu.ca/programming-atmega-and-attiny-chips-using-the-arduino-ide/
Navigation
[0] Message Index
Go to full version