Hi there
I'm really new to micro-controllers. what are the various ways that I can program an ATmega328p?
Do I necessarily need an arduino board to program an ATmega328p?
Hi there
I'm really new to micro-controllers. what are the various ways that I can program an ATmega328p?
Do I necessarily need an arduino board to program an ATmega328p?
Hello carl_gem
First of all, good questions, To program an ATmega328p using Arduino IDE, a knowledge of C is needed, Most people will get an Arduino Uno 3 to start. But since this is open hardware, there are many clones to look at adding features like wireless, LED's, switches, and other sensors. For a small list, see arduino Clones? The only downside is soldering which can be a change to some. What do they have in common? Most of them use the ATmega328p chip. If you are just starting, the chip is really cheap! But you have nothing to use with it
What to know about it:
Before anyone says "But I do this another way", I have chosen what I think is a simpler less confusing way.
For references:
To buy: https://www.sparkfun.com/products/9061
Other choices (remember avoid square) https://www.sparkfun.com/categories/21
To use another Arduino to program How to use Arduino as AVR Programmer (for ATMega328p)
To breadboard (simple) and play with from PC using AVRDUDE avr - Programming a ATmega328P on a breadboard - programmer cannot connect - Electrical Engineering Stack Exchange
Tutorial of programming in C Video: Learning to program for the ATmega328p Part I | Hackaday
Clem
Please mark "correct" if this answers your questions as this help others too. If you have other related questions post here. Otherwise kindly open a new question. Enjoy the process and have fun.
Editted per Peter Oakes correction
Hi clem57 Good answer, but not understand about 32K Crystal, i'm checking the datasheet of the ATMEGA328 and supports up to 20 MHz and apparently the 32K of flash memory.
Hi clem57 Good answer, but not understand about 32K Crystal, i'm checking the datasheet of the ATMEGA328 and supports up to 20 MHz and apparently the 32K of flash memory.