.. _beaglebone-cookbook-parts: .. |I2C| replace:: I\ :sup:`2`\ C .. |kohm| replace:: kΩ .. |ohm| replace:: Ω Parts and Suppliers #################### The following tables list where you can find the parts used in this book. We have listed only one or two sources here, but you can often find a given part in many places. .. table:: United States suppliers +-------------+------------------------------------------------------------------+------------------------------------+ | Supplier | Website | Notes | +=============+==================================================================+====================================+ | Adafruit | http://www.adafruit.com | Good for modules and parts | +-------------+------------------------------------------------------------------+------------------------------------+ | Amazon | http://www.amazon.com/ | Carries everything | +-------------+------------------------------------------------------------------+------------------------------------+ | Digikey | http://www.digikey.com/ | Wide range of components | +-------------+------------------------------------------------------------------+------------------------------------+ | MakerShed | http://www.makershed.com/ | Good for modules, kits, and tools | +-------------+------------------------------------------------------------------+------------------------------------+ | SeeedStudio | https://www.seeedstudio.com/SBC-Beaglebone-Original-c-2031.html? | Low-cost modules | +-------------+------------------------------------------------------------------+------------------------------------+ | SparkFun | http://www.sparkfun.com | Good for modules and parts | +-------------+------------------------------------------------------------------+------------------------------------+ .. table:: Other suppliers +-----------+----------------------------------+-------------------------------------------------------------------------------------------+ | Supplier | Website | Notes | +===========+==================================+===========================================================================================+ | Element14 | http://element14.com/BeagleBone | World-wide BeagleBoard.org-compliant clone of BeagleBone Black, carries many accessories | +-----------+----------------------------------+-------------------------------------------------------------------------------------------+ Prototyping Equipment ====================== Many of the hardware projects in this book use jumper wires and a breadboard. We prefer the preformed wires that lie flat on the board. :ref:`parts_jumper` lists places with jumper wires, and :ref:`parts_breadboard` shows where you can get breadboards. .. _parts_jumper: .. table:: Jumper wires +-------------+--------------------------------------------------------------------------------------------+ | Supplier | Website | +=============+============================================================================================+ | Amazon | http://www.amazon.com/Elenco-Piece-Pre-formed-Jumper-Wire/dp/B0002H7AIG | +-------------+--------------------------------------------------------------------------------------------+ | Digikey | http://www.digikey.com/product-detail/en/TW-E012-000/438-1049-ND/643115 | +-------------+--------------------------------------------------------------------------------------------+ | SparkFun | https://www.sparkfun.com/products/124 | +-------------+--------------------------------------------------------------------------------------------+ .. _parts_breadboard: .. table:: Breadboards +-------------+---------------------------------------------------------------------------------------------------------------------------------------------+ | Supplier | Website | +=============+=============================================================================================================================================+ | Amazon | http://www.amazon.com/s/ref=nb_sb_noss_1?url=search-alias%3Dtoys-and-games&field-keywords=breadboards&sprefix=breadboards%2Ctoys-and-games | +-------------+---------------------------------------------------------------------------------------------------------------------------------------------+ | Digikey | https://www.digikey.com/en/products/filter/solderless-breadboards/638 | +-------------+---------------------------------------------------------------------------------------------------------------------------------------------+ | SparkFun | https://www.sparkfun.com/search/results?term=breadboard | +-------------+---------------------------------------------------------------------------------------------------------------------------------------------+ | CircuitCo | https://elinux.org/BeagleBoneBreadboard (no longer manufactured, but design available) | +-------------+---------------------------------------------------------------------------------------------------------------------------------------------+ If you want something more permanent, try `Adafruit's Perma-Proto Breadboard `_, laid out like a breadboard. .. _app_resistor: Resistors ========== We use 220 , 1k, 4.7k, 10k, 20k, and 22 |kohm| resistors in this book. All are 0.25 W. The easiest way to get all these, and many more, is to order `SparkFun's Resistor Kit `_. It's a great way to be ready for future projects, because it has 500 resistors. If you don't need an entire kit of resistors, you can order a la carte from a number of places. DigiKey has more than a quarter million `through-hole resistors `_ at good prices, but make sure you are ordering the right one. You can find the 10 |kohm| trimpot (or variable resistor) at `SparkFun 10k POT `_ or `Adafruit 10k POT `_. Flex resistors (sometimes called *flex sensors* or *bend sensors*) are available at `SparkFun flex resistors `_ and `Adafruit flex resistors `_. Transistors and Diodes ======================= The `2N3904 `_ is a common NPN transistor that you can get almost anywhere. Even `Amazon NPN transitor `_ has it. `Adafruit NPN transitor `_ has a nice 10-pack. `SparkFun NPN transitor `_ lets you buy them one at a time. `DigiKey NPN transitor `_ will gladly sell you 100,000. The `1N4001 `_ is a popular 1A diode. Buy one at `SparkFun diode `_, 10 at `Adafruit diode `_, or 10,000 at `DigiKey diode `_. Integrated Circuits ===================== The PCA9306 is a small integrated circuit (IC) that converts voltage levels between 3.3 V and 5 V. You can get it cheaply in large quantities from `DigiKey PCA9306 `_, but it's in a very small, hard-to-use, surface-mount package. Instead, you can get it from `SparkFun PCA9306 on a Breakout board `_, which plugs into a breadboard. The L293D is an `H-bridge IC `_ with which you can control large loads (such as motors) in both directions. `SparkFun L293D `_, `Adafruit L293D `_, and `DigiKey L293D `_ all have it in a DIP package that easily plugs into a breadboard. The ULN2003 is a 7 darlington NPN transistor IC array used to drive motors one way. You can get it from `DigiKey ULN2003 `_. A possible substitution is ULN2803 available from `SparkFun ULN2003 `_ and `Adafruit ULN2003 `_. The TMP102 is an |I2C|-based digital temperature sensor. You can buy them in bulk from `DigiKey TMP102 `_, but it's too small for a breadboard. `SparkFun TMP102 `_ sells it on a breakout board that works well with a breadboard. The DS18B20 is a one-wire digital temperature sensor that looks like a three-terminal transistor. Both `SparkFun DS18B20 `_ and `Adafruit DS18B20 `_ carry it. Opto-Electronics ================= `LEDs `_ are *light-emitting diodes*. LEDs come in a wide range of colors, brightnesses, and styles. You can get a basic red LED at `SparkFun red LED `_, `Adafuit red LED `_, and `DigiKey red LED `_. Many places carry bicolor LED matrices, but be sure to get one with an |I2C| interface. `Adafruit LED matrix `_ is where I got mine. Capes ====== There are a number of sources for capes for BeagleBone Black. `BeagleBoard.org capes page `_ keeps a current list. Miscellaneous ============== Here are some things that don't fit in the other categories. .. table:: Miscellaneous +-----------------------------------------------------+---------------------------------------------------------------------------------------+ | 3.3 V FTDI cable | `SparkFun FTDI cable `_, | | | `Adafruit FTDI cable `_ | +-----------------------------------------------------+---------------------------------------------------------------------------------------+ | USB WiFi adapter | `Adafruit WiFi adapter `_ | +-----------------------------------------------------+---------------------------------------------------------------------------------------+ | HDMI cable | `SparkFun HDMI cable `_ | +-----------------------------------------------------+---------------------------------------------------------------------------------------+ | Micro HDMI to HDMI cable | `Adafruit HDMI to microHDMI cable `_ | +-----------------------------------------------------+---------------------------------------------------------------------------------------+ | HDMI to DVI Cable | `SparkFun HDMI to DVI cable `_ | +-----------------------------------------------------+---------------------------------------------------------------------------------------+ | HDMI monitor | `Amazon HDMI monitor `_ | +-----------------------------------------------------+---------------------------------------------------------------------------------------+ | Powered USB hub | `Amazon power USB hub `_, | | | `Adafruit power USB hub `_ | +-----------------------------------------------------+---------------------------------------------------------------------------------------+ | Soldering iron | `SparkFun soldering iron `_, | | | `Adafruit soldering iron `_ | +-----------------------------------------------------+---------------------------------------------------------------------------------------+ | Oscilloscope | `Adafruit oscilloscope `_ | +-----------------------------------------------------+---------------------------------------------------------------------------------------+ | Multimeter | `SparkFun multimeter `_, | | | `Adafruit multimeter `_ | +-----------------------------------------------------+---------------------------------------------------------------------------------------+ | PowerSwitch Tail II | `SparkFun PowerSwitch Tail II `_, | | | `Adafruit PowerSwitch Tail II `_ | +-----------------------------------------------------+---------------------------------------------------------------------------------------+ | Servo motor | `SparkFun servo motor `_, | | | `Adafruit servo motor `_ | +-----------------------------------------------------+---------------------------------------------------------------------------------------+ | 5 V power supply | `SparkFun 5V power supply `_, | | | `Adafruit 5V power supply `_ | +-----------------------------------------------------+---------------------------------------------------------------------------------------+ | 3 V to 5 V motor | `SparkFun 3V-5V motor `_, | | | `Adafruit 3V-5V motor `_ | +-----------------------------------------------------+---------------------------------------------------------------------------------------+ | 3 V to 5 V bipolar stepper motor | `SparkFun 3V-5V bipolar stepper motor `_, | | | `Adafruit 3V-5V bipolar stepper motor `_ | +-----------------------------------------------------+---------------------------------------------------------------------------------------+ | 3 V to 5 V unipolar stepper motor | `Adafruit 3V-5V unipolar stepper motor `_ | +-----------------------------------------------------+---------------------------------------------------------------------------------------+ | Pushbutton switch | `SparkFun pushbutton switch `_, | | | `Adafruit pushbutton switch `_ | +-----------------------------------------------------+---------------------------------------------------------------------------------------+ | Magnetic reed switch | `SparkFun magnetic reed switch `_ | +-----------------------------------------------------+---------------------------------------------------------------------------------------+ | LV-MaxSonar-EZ1 Sonar Range Finder | `SparkFun LV-MaxSonar-EZ1 `_, | | | `Amazon LV-MaxSonar-EZ1 `_ | +-----------------------------------------------------+---------------------------------------------------------------------------------------+ | HC-SR04 Ultrsonic Range Sensor | `Amazon HC-SR04 `_ | +-----------------------------------------------------+---------------------------------------------------------------------------------------+ | Rotary encoder | `SparkFun rotary encoder `_, | | | `Adafruit rotary encoder `_ | +-----------------------------------------------------+---------------------------------------------------------------------------------------+ | GPS receiver | `SparkFun GPS `_, | | | `Adafruit GPS `_ | +-----------------------------------------------------+---------------------------------------------------------------------------------------+ | BLE USB dongle | `Adafruit BLE USB dongle `_ | +-----------------------------------------------------+---------------------------------------------------------------------------------------+ | Syba SD-CM-UAUD USB Stereo Audio Adapter | `Amazon USB audio adapter `_ | +-----------------------------------------------------+---------------------------------------------------------------------------------------+ | Sabrent External Sound Box USB-SBCV | `Amazon USB audio adapter (alt) `_ | +-----------------------------------------------------+---------------------------------------------------------------------------------------+ | Vantec USB External 7.1 Channel Audio Adapter | `Amazon USB audio adapter (alt2) `_ | +-----------------------------------------------------+---------------------------------------------------------------------------------------+