Can someone verify my schematic?

I have been working to make an equivalent of the standalone arduino found here. This time not with an Atmega8 (or Atmega168) dip, but with an Atmega168-MLF32.

This is in addition to the 28dip to ML32 converter board I am working on here (mentioned here).

Before creating the PCB design, I would like to have someone verified if everything is correct. Please note that the MLF32 has more pins that the dip versions.

This is an image of the schematic I created:

I am pretty new to designing schematics like this, so thanks for your time!

CD

I used 2 pinheaders for the analog ports and 3 for the digital ports. Maybe it is preferred to use 1 pinheader for the analog ports and 1 for the digital ports?

Edit: and when I want to 'Change to board', I get an error message saying: Unknown object type

Edit 2: This is made in Eagle

You need to add some decoupling capacitors (0.1uF). At least one is needed, but is recommended to have one per each VCC - GND lead in the package.

Thanks for your suggestion.

Since I am an electronics noob, where would I have to place them (it) exactly?

Thanks

CD

Re: the capacitors, usually you put one as close as possible to the regulator output, and one as close as possible to the Atmega power supply pins. If there's onlly an inch between the reg and the Atmega, you can just use one cap.

The .1 power supply cap is used because regulators can sometimes go into self-oscillation, and this prevents it; the Atmega side cap is to kill off any spurious high-frequency junk in the power supply line before it gets inside the chip. Reference designs for regulators usually have a .1Uf cross the input and ground as well.

D

PS If you can get that far drawing a schematic you are definitely not a n00b, what you have is very good.

Ok, thanks for the replies! I have placed the 2 caps (C3 and C4), I hope they are ok now. Could you please have 1 more look at the schematic:

If I get a go, I will start with the PCB layout.

Daniel,
This design is derived from the Standalone arduino (here: http://www.arduino.cc/en/uploads/Main/atmega8_schematic.jpg). So it wasn't that hard after all. Thanks for your compliment, but I still feel a little like a noob. Maybe a rookie describes it better?

JD

You put C3 and C4 in series with the supply voltage. They should be connected between VCC and ground, otherwise there will be no supply voltage to the chip.

Ok, I have updated the schematic again, anyone please check for me again?

Thanks in advance!

you need a couple of 100uF capacitors , before and after the power regulator because when the first thing you connect to the board starts using power the voltage will drop and reset the processor...

have a look at the arduino schematic for a reference

massimo

Thanks Massimo, I will make this change. For the rest everything is ok? Previously I was told that I made a mistake with C3 and C4.

Btw, this schematic is derived from the image below, all capacitors that are suggested to add, are not in that schematic! Maybe the schematic in the image below should be updated with these capacitors?

Ok, I made the changes as suggested by Massimo, this is the result of the board that I received from BatchPCB drc bot:

I am currently not ordering this design. I am awaiting a couple of DIP to MLF32 converter boards I designed (should arrive within 2-3 days) and if they turn out to work, I will submit an order for this. If someone is interested in this, please let me know here, so I can reconsider and submit my order earlier.

If you are going to thr trouble of using an SMT package ATmega, why not use SMT components on the rest of the board?

That crystal looks rather massive next to the itty bitty processor. :slight_smile:

-j

lol... because I am a noob at electronics. I would love to change to more smt components where possible~~, but I need some directions...~~

If anyone can come up with any :slight_smile:

Edit: I found out how to use smd parts... off to make a new board...

Lots of folks are using really small (0603 and even 0402) components, but I prefer 1206 for the stuff I do by hand. IIRC, the SMT parts on the NG are 1206.

In case you didn't know, those package sizes are X and Y dimensions in hundredths of an inch - an 0402 package is 0.04" x 0.02".

-j

yes try the 78M05Ct in SMT, it will save you a lot of space...

D

yes try the 78M05Ct in SMT, it will save you a lot of space...

Try an LP2981 in SOT-23-5 if you really want to save some space. :slight_smile:

-j

yes try the 78M05Ct in SMT, it will save you a lot of space...

Try an LP2981 in SOT-23-5 if you really want to save some space. :slight_smile:

-j

But, where to find those????

I sampled them from TI, but you can find them at

These are fixed 5V regulators, but only 100mA output, plus they have an enable pin. They take different capacitor values than the 78x05.

They'll work, but they are not drop-in replacements for the 78x05 on the Arduino. Read the data sheet and design your circuit accordingly.

Their benefits are they are low dropout (LDO), so you can run them from a 6V battery and still get 5V, and they're also tiny - not a lot larger than the SMT resistors on the Arduino NG.

-j

Untill my previous post, I didn't know anything about SMD/SMT, just that those were the tiny parts on various electronic products/projects I have seen.

I tracked down most of the items I am using in the Sparkfun Eagle library, but it seems that they don't sell everything I would need for this schematic.

I sampled them from TI, but you can find them at

Electronic Components and Parts Search | DigiKey Electronics

These are fixed 5V regulators, but only 100mA output, plus they have an enable pin. They take different capacitor values than the 78x05.

Is 100mA enough? I am not sure about this.

Digikey is one of the suppliers I could buy on a regular basis, but I would need to have a credit card for that and I don't have one. They don't accept PayPal payments :frowning: