LoginSignup
2
1

More than 5 years have passed since last update.

SparkFun Eagle Library をインストールする方法

Posted at

Eagle CAD とライブラリ

電子回路設計に Eagle CAD を使われている方は多いだろう.この Eagle CAD にはよく使う電子部品がライブラリとして予め登録されているが,それでも使いたい部品が登録されていないことが多々ある.

我々メイカーがよくお世話になる SparkFun ElectronicsAdafruit はこの Eagle CAD 向けにライブラリを無償提供しているので,是非インストールしておこう.

GitHub からライブラリをダウンロードする

SparkFun も Adafruit も GitHub で Eagle ライブラリを公開している.
* SparkFun (Git)
* Adafruit (Git)
まずは両方共クローンしておこう.ターミナルで
$ cd {WORKING_DIR}
$ git clone https://github.com/sparkfun/SparkFun-Eagle-Libraries.git
$ git clone https://github.com/adafruit/Adafruit-Eagle-Library.git
とするのが簡単だが,それも面倒なら次のリンク先からZIPをダウンロードしても構わない.
* SparkFun (Zip)
* Adafruit (Zip)
いずれにせよ SparkFun-Eagle-LibrariesAdafruit-Eagle-Library というフォルダが出来る.

Eagle CAD のライブラリパスを通す

Eagle CAD を立ち上げて Options メニューから Directories... を選ぶ.

Libraries の項目が最初 $EAGLEDIR/lbr となっているので,ここを $EAGLEDIR/lbr:{WORKING_DIR}/SparkFun-Eagle-Libraries:{WORKING_DIR}/Adafruit-Eagle-Librari に変更する.(注:Windowsの場合は : ではなく ; を使う.){WORKING_DIR} は Eagle ライブラリを置いたディレクトリ名なので,各自変えてもらえたい.例えば僕は /Users/kanaya/Documents にしているので,次のような設定になる.

Eagle-Options-Directories.png

これで次のように部品が選べるようになる.

Eagle-Add.png

2
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
1