Go Down

Topic: Can you guys critique my first Eagle Layout? (Read 3205 times) previous topic - next topic

bamboosam

This is my first Eagle layout so all the help is much appreciated.

This is designed to control an led strip "mosi & sck", programming it via MKii / AVR Studio 5 and powered by 4 rechargeable batteries so I didn't think a regulator is needed. I placed text on the pins for definitions, I know not to keep them there.

CrossRoads

Add a polygon to each layer (Draw:Polygon) and Name it GND. Get rid of the ground traces.

I would add 0.1uF cap to VCC pins on all 4 sides of the chip, similar to how you have 1 one for Aref.

Your pin arrangement for ICSP is odd - you will have to make an adapter cable to mate to the 2x3 header on the Mkii.
The Mkii does not power the board but needs to receive the Vcc so it knows what the voltage being used.
Thus you need to bring power & gnd into the board while the Mkii is plugged in.

I don't know that the Mkii will reset the uC correctly thru a cap like that. I would connect RST direct to pin 4. The other side of the cap is normally DTR.
If you are not downloading sketches via Rx/Tx you don't need the DTR cap.

'644 seems like overkill for the application, do you need it for the memory size?
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

bamboosam

It is for the 1284p, and yes I need it for the memory size.
I will be making an adapter for the odd pin arrangement.

Ok I wont be using rx/tx to program it so I will rid the cap, should I still keep the 10K on reset?


CrossRoads

Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

bamboosam

Great. Ill revise it and post an updated version tomorrow.

Oh... Should I add a plane for VCC?

CrossRoads

Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

CrossRoads

Yeah, have noticed that sometimes you need to add a manual trace. Could be the ground plane squeezed around the hole is too thin.
Try moving the resonator to the right some.

You can also try adding a via near there, name it GND also, to connect the top & bottom planes.
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

bamboosam

Yup, the resonator was too close to the hole.

bamboosam

OK, finished laying out everything I need. Hopefully everything will work.   ]:D

bamboosam

It was suggested that I make sure spacing between adjacent copper structures be at least .008". I am not sure as to where to define this in Eagle.

CrossRoads

Tools:DRC, clearance
I use the iteadstudio DRU file for checking stuff.
Put these in the Eagle/dru and eagle/cam folders.

Then select
Tools:DRC:Load, click itead_rule.dru, go from there.

Your choice of board house may have their own files for checking the layout.
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

a.d

I would perhaps suggest putting a small radius on the corners of the board - I have found that 90 degs can be quite pointy!

bamboosam

I used the drag technique. It worked out very well! :D

bamboosam

Works great! Thank you guys for the advice, much appreciated.  XD

Go Up