Is building bare bone mega as simple as building barebone uno?

Hi,
shortly i need io expander (24 channels) and i found that barebones mega are dirty cheap, but i never used bare bone arduino.

Things that must be done for barebone uno doesn't look hard but how about mega? Is it just repating all steps that were needed for barebone uno or there will be some complications? I would love to make my own gpio expander (it would be cheaper and i would have few pwm channels available).

Does anyone made standalone mega? Was is as simple as uno?


I can use following microprocessors: ATMEGA4809-PF, ATMEGA8515L-8PU, ATMEGA16A-PU, ATMEGA164A-PU

1 Like

That is a subjective question. It can range from quite easy for some of people on this forum to impossible to others who do not even know what a soldering is. It is entirely dependent on the person doing the assembly etc and the skill set and resources they possess.

If I were to take a SWAG I would assume from your question it would be difficult but not impossible for you do do it.

Where do you expect a difference?
I'd think it's all alike. Enough caps to stabilize the operating voltage, quartz/resonator and Reset according to the data sheet.

Afterwards handle the different pins for programming as required. If you want to use the Arduino framework then make sure that your board pinout resembles the Mega or write your own board variant file.

IMO, building a Mega (ie ATmega2560) is much harder because it's a pretty big fine-pitch SMT chip.
(If that doesn't bother you, then it's NOT "much harder.")

If you meant one of the 40-pin DIP chips you listed (which would NOT be an "Arduino Mega"), then yeah, those are pretty similar in difficulty to an Uno. The ATmega4809 needs a different programmer, though.

1 Like

No particular circuit difference.

So it really depends how good you are at fine pitch surface mount soldering which is not so easy as soldering the 28pin DIP processor on a UNO.

Soldering isn't a problem, i often use smd mosfets on perfboard. I'm only worried about software part (burning bootloader etc.).

Processors i mentioned are not SMD, but DIP

Yes, i was thinking about DIP ones. Sorry i assumed all atmega with so many pins can be named 'mega'. I just care about having at least 24 output pins and be able to use IDE to program it

But after spending again half hour trying to understand that topic i feel only less sure about it, so i think i'll pass and just use MCP23008-E/P and some diffrent io expander that can handle PWM.

Thanks for your time

I think there was some confusion. There is "Mega AVR", encompassing a wide range of "ATmega*" chips (many available in DIP), but there is also the "Arduino Mega", a "big" board that uses ATmega1280 or ATmega2560 chips, both of which are 100pin chips available only as SMT.

This is about as minimal as you're likely to see, designed so that components fit in the gaps of a "machined pin socket":

I also did this to a 4809, but I don't recommend it!
image

3 Likes

I don't want to order pcb right know, i'm making big project and i want to order one big motherboard when i will be 100% sure about everything (so after year of running 24/7 without damages/malfunctions). It connests two mcu with each other and a lot of mosfets (with mostly inductive loads), my own i2c device, dozens of sensors and on top of that it mixes digital and analog signals, and uses wifi... - it's a lot of places where something will go wrong, especially because i'm learning everything on the fly

Thanks for help, i'll stick with already-made io expanders. Good u answered, because i was close ordering one and right know i would propobly be frustrated because I hate software problems when problem doesn't lay inside code I wrote (like picking correct programmer and finding why it's not working), especially when there is little to nothing begginer-friendly tutorials online

Thanks again!

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.