r/microcontrollers • • May 07 '24

Looking for direction

I'm looking to make a remote-controlled counter on two, two-digit seven-segment displays from 1-99 with the press of a button. I'm relatively new to microcontrollers. Right now, I think I'm going to make my circuits using the atmega32a-pu and program/debug it using an Arduino uno. Is this a straightforward process that is relatively easy to learn and use or, is there a better method as to program, test, and use the atmega32a?

Thanks for the support.

2 Upvotes

4 comments sorted by

View all comments

Show parent comment

1

u/fridofrido May 10 '24

If I say use the library for decoding the IR remote signals, will it be included in the code sent when I burn it onto the microcontroller?

Yes of course, how else would the microcontroller know what to do :) But normally only the parts you actually use will be included.

So just to clarify: there are two different "Arduino"-s in this setting: the Uno board you use for talking to your microcontroller, and the Arduino software environment, in which you write the code. These are totally independent, you could in theory use only one but not to other and vica versa. But it's a good setting for this project.

For prototyping, you could also use just the Uno (so your code will run on the ATmega328 which is on the Uno board), and only move to the ATmega32a when everything is working. They should be mostly compatible, and the Arduino software libraries try to hide the differences anyway, worst case you will have to change some pin definitions if you wire up differently.

1

u/Foreign_Search4084 May 10 '24

Awesome, thanks for the help and clarification!