1
1
1bd_1l_Bari2017-08-20 20:44:42
Arduino
1bd_1l_Bari, 2017-08-20 20:44:42

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

5 answer(s)
E
evgeniy_lm, 2017-08-21
@1bd_1l_Bari

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

A
awdemme, 2017-08-20
@awdemme

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.

N
n12eq3, 2017-08-20
@n12eq3

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

A
Alexander, 2017-08-20
@NeiroNx

And where will he go if the stone is the same and its frequency is the same.

V
Vladimir Kuts, 2017-08-20
@fox_12

Attach the quartz resonator to the controller, flash the arduino bootloader, code - and go...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question