Author Topic: Total beginner needs MCU recommendation  (Read 4981 times)

0 Members and 1 Guest are viewing this topic.

Offline MathWizard

  • Super Contributor
  • ***
  • Posts: 1795
  • Country: ca
Re: Total beginner needs MCU recommendation
« Reply #25 on: January 05, 2025, 06:45:25 pm »
I'm currently using an AVR type ATtiny44A with 12 I/O pins, to help out the main MCU and input CH/vol chips in my stereo. Even just for that, I'm running out of pins, and that's with OR'ing some signals together. Come to think of it, I could add some more hardware mods, and make my MCU program easier.

The main MCU, is 100pins or so, and seems to be failing. I don't need most of the functions on the stereo, especially all the digital and TV related inputs, so I really should start working on a total MCU replacement project, with some 64-pin AVR MCU's I have, so maybe 2 of them if I want to do it all. Hopefully the MCU lasts long enough to decode all the functions involved. But again, I can do the main ones for EXT.IN and the VFD without to many problems. For me, this is just a good learning experience.
 

Offline ahsrabrifat

  • Contributor
  • Posts: 46
  • Country: pk
Re: Total beginner needs MCU recommendation
« Reply #26 on: January 15, 2025, 05:34:30 am »
Like so many others have already stated, I vote for Arduino UNO. It  is easy to use. Its number of I/O pins are sufficient for your project. It can control relays.You can also handle the denouncing problem by coding. Here is all the necessary info about this board.
https://www.theengineeringprojects.com/2018/06/introduction-to-arduino-uno.html

Here is the code and details of relay integration

https://randomnerdtutorials.com/guide-for-relay-module-with-arduino/
 

Offline SteveThackery

  • Frequent Contributor
  • **
  • Posts: 853
  • Country: gb
Re: Total beginner needs MCU recommendation
« Reply #27 on: January 15, 2025, 10:44:02 am »
Yep, my voice is for Arduino Uno, too.

If you need a much smaller Arduino - albeit with slightly fewer I/O pins - Arduino Pro Mini is great, although you need a cheap 'n' cheerful programming adapter.
 

Offline drspastic

  • Contributor
  • Posts: 26
  • Country: bg
Re: Total beginner needs MCU recommendation
« Reply #28 on: January 16, 2025, 06:34:18 pm »
esp32 module because cheap, program via usb, includes bluetooth and wifi for remote control from your phone. no need to make extra boards
 

Offline Kasper

  • Frequent Contributor
  • **
  • Posts: 800
  • Country: ca
Re: Total beginner needs MCU recommendation
« Reply #29 on: February 01, 2025, 06:11:20 pm »
I have tons / plenty of experience designing PCB's, it's just been all audio/power/analog stuff up till now.

Most MCUs can fulfill your requirements.  I'd pick the easiest to work with.

Arduino UNO (ATMEGA328P) used to be my go to for quick and easy but now I'm into the RP2040.  Made a few PCBs with each. 

With the RP2040, you can program with USB.  No special programming cable required!

There are also a lot of little modules to play with until you are ready to make a PCB.

If you make a PCB, you can include headers to plug in the modules or you can copy the module and have someone like JLCPCB solder it on for you. Adafruit and sparkfun have lots of modules, schematics and example code.

You may need to include a crystal.  I dont see a need for it though, unless you use addressable LEDs, then you might need one.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf