Answer the question
In order to leave comments, you need to log in
What is the difference between Arduino programming and AVR ATmega328?
The Arduino board contains AVR ATmega328 microcontrollers. Will the code written on arduino uno, for example, work on a bare AVR ATmega328 microcontroller?
Answer the question
In order to leave comments, you need to log in
It will work on a "bare" microcontroller provided that you put 16MHz quartz on it. The Arduino IDE has a function Sketch - Export Binary File. Upload the resulting file via SPI with any available programmer.
Arduino differs from the "naked MK" only in the presence of a bootloader that simplifies the loading of software into the MK
Well, for starters - how do you upload it there?
To make it work, you will need to drag the entire Arduino to the bare Atmega.
yes, you can. in certain areas this is in demand - hobby projects are shit-coded using directly ready-made arduino + sensors, then this is transferred to a normal board in a further product. while maintaining the ability to work with the original "ide".
And where will he go if the stone is the same and its frequency is the same.
Attach the quartz resonator to the controller, flash the arduino bootloader, code - and go...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question