My Eagle PCB Walkthrough

Reading time ~2 minutes

This article is part of a series.

Originally posted on [](

  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.

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

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

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

  1. Order the capacitors.

2 x 0.1uF

1 x 10uF

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



  1. Flip-off your Python code and get the mail.

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

  3. 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.

  1. 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.

  1. 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!



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





13. Plug and pray.

14. Realize it doesn’t work because you suck at life.

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



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

**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

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



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.

20. Try not to abuse the sampling previlige.

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

What is a Data Warehouse

## Insights over DataData. They are the plastic of the tech world. We're are making way too much of it, you can't seem to get rid of it, ...… Continue reading