Author Topic: Going to production, make Nano -atmega328p program, how to do it?  (Read 838 times)

0 Members and 1 Guest are viewing this topic.

Offline Vindhyachal.taknikiTopic starter

  • Frequent Contributor
  • **
  • Posts: 490
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.
 

Offline Moriambar

  • Supporter
  • ****
  • Posts: 502
  • Country: it
Re: Going to production, make Nano -atmega328p program, how to do it?
« Reply #1 on: March 21, 2019, 03:34:15 pm »
1. I have a arduino nano board & made a small project on it. Its running succesfully.

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?
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.
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.
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.
 

Offline Kasper

  • Frequent Contributor
  • **
  • Posts: 793
  • Country: ca
Re: Going to production, make Nano -atmega328p program, how to do it?
« Reply #2 on: March 21, 2019, 03:36:09 pm »
 

Offline Vindhyachal.taknikiTopic starter

  • Frequent Contributor
  • **
  • Posts: 490
Re: Going to production, make Nano -atmega328p program, how to do it?
« Reply #3 on: March 23, 2019, 04:24:45 am »
this will try & see :https://www.arduino.cc/en/Tutorial/ArduinoToBreadboard
 

Offline boffin

  • Supporter
  • ****
  • Posts: 1027
  • Country: ca
Re: Going to production, make Nano -atmega328p program, how to do it?
« Reply #4 on: March 23, 2019, 04:45:45 am »
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.

This covers the ATMEGA and ATTINY nicely
https://snafu.ca/programming-atmega-and-attiny-chips-using-the-arduino-ide/
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf