DEV Community

Cover image for My Eagle PCB Walkthrough
Thomas Brittain
Thomas Brittain

Posted on • Originally published at ladvien.com

My Eagle PCB Walkthrough

Step 1:

Get over to Analog Devices and sign-up for a sample account. They seem to be pretty nice and let you order several samples every month, I believe.

Step 2:

Order a few samples of the ADXL345 chip from Analog Devices.

Step 3:

Download the Eagle files from Sparkfun: ADXL345 (Note the price).

Step 4:

Sign up for an OSHPark account. Then, upload the .brd found in the Eagle files.

Step 5:

Order the capacitors.

2 x 0.1uF

1 x 10uF

Step 6:

Try to learn Python while the mail peoples do their magics.

Step 7:

Flip-off your Python code and get the mail.

Step 8:

Take everything out. ADXL breakout board, ADXL345 chip, and caps.

Step 9:

Populate your board. At this point, a good iron will do you well. But as a general rule, start with the largest chip when soldering SMDs. In our case, it is the ADXL345. Paint some solder flux all over the exposed pads. Now, take a very fine solder, such as .022 and put some on the tip of your iron. Drag the droplet of solder across the exposed pads of where the ADXL will go. Now, after the beads have cooled, paint your solder flux over the hardened beads. The idea is to have the chip floating on this flux.

Step 10:

Place the ADXL345 on the invisible flux, hovering over the pads. Make sure the small white dot on the the corner of the chip is in the same place the red is below.

Step 11:

Put the board on an over turned iron. This is the most important part: Watch the chip. What you are hoping to see is the chip magically float in place as the solder flux flows out from under the chip, leading to the solder beads bonding with the exposed copper of the ADXL345. Seriously, don't look away :). If for some reason you don't feel the chip has bonded at each pad, then very lightly press down in the middle of the chip. I said lightly!

Step 12:

Cap that B. Erm, populate the capacitors.**

Step 13:

Plug and pray.

Step 14:

Realize it doesn't work because you suck at life.

Step 15:

Pull the ADXL back off, clean the pads with solder wick, and try again.

Step 16:

Repeat step 11, but this time, watch the chip, no seriously.**

Step 17:

Hook it up and check it out. **The chip is both SPI/I2C ready, but I prefer I2C. So, hook that sucker up to the Arduino and see if it works. This fellow provided code and instructions on connecting are in the code's comments at the top.

Arduino Code for ADXL345 I2C

Step 18:

Watch as your one dollar(ish) ADXL345 does witchery.

Step 19:

Ponder the ethics of sampling chips, borrowing board layouts from SparkFun, and buying underpriced capacitors from China; all leading to saving you around $12~25--or have a beer.

Step 20:

Try not to abuse the sampling previlige.

If you have any questions, I'll do my ignorant best.

Top comments (0)