Difference between revisions of "BeagleBone Community"

From eLinux.org
Jump to: navigation, search
(BeagleBone Operating Systems: Stock Debian Stretch install guide)
 
(286 intermediate revisions by 43 users not shown)
Line 5: Line 5:
 
[[Category: BeagleBone]]
 
[[Category: BeagleBone]]
  
This page collects information about [http://beagleboard.org BeagleBoard.org's] [http://www.ti.com/am335x TI AM335x] [http://www.arm.com/ ARM]-based [http://beagleboard.org/bone BeagleBone] board.
+
[[File:BeagleBone_256x249.jpg|320px|thumb|right|BeagleBone]]
<div style="margin:0; margin-top:10px; margin-right:10px; border:1px solid #dfdfdf; padding:0 1em 1em 1em; background-color:#ffffcc; align:right; ">
+
[[File:BeagleBone-Black-A5_product_detail_black_sm.jpg|320px|thumb|right|BeagleBone Black]]
'''NEWS:'''
+
 
* [http://www.esky-sh.com/bbs/viewforum.php?f=5 BeadaFrame] 7" LCD display kits for Beagleboard and Beaglebone are available now!
+
This page collects information about [http://beagleboard.org BeagleBoard.org]'s range of [http://beagleboard.org/bone BeagleBone] boards based on the [http://www.ti.com/am335x TI Sitara AM335x], an application processor SoC containing an [http://en.wikipedia.org/wiki/ARM_Cortex-A8 ARM Cortex-A8] core. The range currently consists of the original '''BeagleBone''' and the upgraded but lower cost '''BeagleBone Black'''.
</div>
+
 
 +
Most features are common to the two models.  The differences between them are described in each section under a '''BeagleBone Black''' subheading.
 +
 
 
<br>
 
<br>
=Events=
+
= Events =
 
* ongoing 2009: [[BeagleBoard/contest|Beagle Sponsored Project Program]] - add a cool project and get a free BeagleBoard to realize it!
 
* ongoing 2009: [[BeagleBoard/contest|Beagle Sponsored Project Program]] - add a cool project and get a free BeagleBoard to realize it!
  
<div style="margin:0; margin-top:10px; margin-right:10px; border:1px solid #dfdfdf; padding:0 1em 1em 1em; background-color:#ffffcc; align:right; ">
+
= Description =
'''NEWS:'''
+
The two models of BeagleBone share most features in common through employing only slightly different versions of the same TI Sitara SoC.  In addition they both adhere to the same standard for expansion and interfacing through "cape" daughterboards.
First person to post a "HowTo" for use with the [http://en.wikipedia.org/wiki/Wii_Remote#Nunchuk Nintendo Wii NunChuk] and Trainer board wins $150 cash
+
 
 +
== BeagleBone (original) ==
 +
The '''BeagleBone''' is a low-cost, high-expansion board from the [http://beagleboard.org/ BeagleBoard] product line. It uses the [http://www.ti.com/am335x TI AM3358/9] SoC based on an [http://infocenter.arm.com/help/topic/com.arm.doc.ddi0344d/DDI0344D_cortex_a8_r2p1_trm.pdf ARM Cortex-A8] processor core using the [http://infocenter.arm.com/help/topic/com.arm.doc.subset.architecture.reference/index.html#v7AR ARMv7-A] architecture. It is similar in purpose to earlier BeagleBoards, and can be used either standalone or as a USB or Ethernet-connected expansion for a BeagleBoard or any other system. The BeagleBone is small even by BeagleBoard standards yet still provides much of the performance and capabilities of the larger BeagleBoards.
 +
 
 +
BeagleBone ships with a 4GB micro-SD card preloaded with the [http://www.angstrom-distribution.org/ Angstrom] ARM Linux distribution.
 +
 
 +
The board uses a [http://www.ti.com/product/tps65217b TI TPS65217B PMIC] to generate stable supply voltages regardless of input power variation.  +5V DC power can be supplied to the BeagleBone through a barrel connector or from the mini-USB, both of which are located near the large RJ45 Ethernet connector.
 +
 
 +
The mini-USB type-A OTG/device '''client-mode''' socket is multi-functional.  In addition to providing an alternative source of power, it gives access to an on-board front-end two-port USB client-side hub.  (This is not related to the separate '''host-mode''' USB socket described later).  One port of the hub goes directly to the '''USB0''' port of the TI AM3358/9 SoC, while the other port connects to a dual-port [http://www.ftdichip.com/Products/ICs/FT2232H.htm FTDI FT2232H] USB-to-serial converter to provide board-to-external-host serial communications and/or JTAG debugging. The BeagleBone's Linux serial console is available through this USB serial connection.
 +
 
 +
The SoC's '''USB0''' connection to the front-end hub works in one of two modes, and you can toggle between them at any time:  it either presents the SD card as a mountable USB storage device to the host, or it provides an [http://www.linux-usb.org/usbnet/ Ethernet-over-USB] networking interface which yields a simple method of quick-start.  The Ethernet-over-USB facility is additional to the BeagleBone's normal 10/100 Ethernet interface, which is directly implemented in the SoC rather than hanging off USB as in some other designs.  Full IPv4 and IPv6 networking is provided by the supplied Linux system out of the box.
 +
 
 +
In addition to the USB OTG Device or '''client-mode''' facilities already described, BeagleBone also provides one '''host-mode''' USB type-A socket on the other end of the board.  This is driven from the '''USB1''' connection on the AM3358/9 SoC, and provides access to USB host peripherals such as mice, keyboards, storage, and wifi or Bluetooth dongles, or a USB hub for further expansion.
 +
 
 +
== BeagleBone Black ==
 +
On 23rd April 2013, Beagleboard officially announced '''[http://beagleboard.org/Products/BeagleBone%20Black BeagleBone Black]''' at a price approximately half that of the original BeagleBone.
 +
 
 +
The new board's most important new features include a AM3359 SoC upgraded to 1GHz, doubling of memory to 512MB, use of faster DDR3 memory in contrast to the DDR2 of the original BeagleBone, and a new HDMI audio/visual output.  (The original BeagleBone required an additional cape daughterboard for graphic output).
 +
 
 +
= Specifications =
 +
The two boards are very similar in those features provided directly by the SoC.  Despite the original BeagleBone being specified as using "AM3358/9", in practice most boards are believed to have shipped with the AM3359 generic part.  BeagleBone Black has therefore upgraded only the specific device selected from the AM3359 range, and hence the differences are few.  In contrast, the boards have significantly different designs but a high degree of compatibility.
 +
== BeagleBone ==
 +
* Up to 720 MHz superscalar ARM Cortex-A8 AM3358/9
 +
* 256 MB DDR2 RAM
 +
* 10/100 Ethernet RJ45 socket, IPv4 and IPv6 networking
 +
* MicroSD slot and 4GB microSD card supplied
 +
* Preloaded with Angstrom ARM Linux Distribution
 +
* Single USB 2.0 type A host port
 +
* Dual USB hub on USB 2.0 type mini-A OTG device port
 +
* On-board USB-to-serial/JTAG over one shared USB device port
 +
* Storage-over-USB or Ethernet-over-USB on other USB device port
 +
* Extensive I/O: 2 I2C, 5 UART, SPI, CAN, 66 GPIO, 8 PWM, 8 ADC
 +
* +5V DC power from barrel connector or USB device port
 +
* Power consumption of 300-500mA at 5V
 +
* Two 46-pin 3.3-V peripheral headers with multiplexed LCD signals
 +
* Board size: 3.4" × 2.1" (86.4mm x 53.3mm) -- fits in an Altoid tin
 +
 
 +
== BeagleBone Black (differences) ==
 +
* 1 GHz superscalar ARM Cortex-A8 AM3359
 +
* 512 MB DDR3 RAM 800 MHZ
 +
* On-board 4 GB eMMC flash, preloaded with Angstrom ARM Linux Distribution
 +
* MicroSD slot for additional user data or operating systems (no card supplied)
 +
* USB 2.0 type A host port
 +
* Dedicated single mini-USB 2.0 client port (no additional 2-port hub)
 +
* New micro-HDMI audio/visual output
 +
* USB-to-serial and USB-to-JTAG interfaces removed (available on expansion headers)
 +
* Power expansion header for backlight removed, battery charging moved onto pads
 +
* Lower power consumption of 210-460 mA at 5V
 +
 
 +
= Expansion Connectors =
 +
The BeagleBone provides two 46-pin dual-row expansion connectors "'''P9'''" and "'''P8'''" which are also known as "'''Expansion A'''" and  "'''Expansion B'''", respectively.  The location and pinout of these connectors is illustrated below (click tables to enlarge).  All signals on expansion headers are 3.3V except where indicated otherwise.
 +
 
 +
=== P9 and P8 - Each 2x23 pins ===
 +
[[File:BeagleBone_P9_256x256.jpg|256px|left|top|border|P9 Header|link=File:BeagleBone_p9_pinout.jpg]]
 +
[[File:BeagleBone_P9_P8_256x256.jpg|256px|top|border|BeagleBone P9 + P8|link=File:BeagleBone_P9_P8_512x512.jpg]]
 +
[[File:BeagleBone_P8_256x256.jpg|256px|top|border|P8 Header|link=File:BeagleBone_p8_pinout.jpg]]
 +
<p><br>
 +
In addition to the two large headers above, a small 10-pin dual-row connector "'''P6'''" provides a "'''PMIC Expansion'''" that brings out some additional signals from the TPS65217B Power Management IC, using the following pinout:
 +
 
 +
=== P6 - 2x5 pins ===
 +
[[File:BeagleBone_P6_464x222.jpg|464px|left|middle|border|P6 MPIC Expansion Header]]
 +
 
 +
'''NB. P6 is not available on BeagleBone Black'''
 +
 
 +
'''IMPORTANT'''
 +
 
 +
This diagram of P6 provides an '''UNDERSIDE PINOUT''' view.
 +
 
 +
It is therefore ''' ''laterally inverted'' ''' relative to the photograph.
 +
 
 +
To obtain the top-side pinout that corresponds to the physical orientation shown in the photograph, swap the two rows of pins so that odd-numbered pins are on the left of even-numbered pins.<br style="clear: both" />
 +
 
 +
= USB 2.0 Powered Hubs =
 +
 
 +
USB 2.0 Powered Hub connects multiple USB devices i.e. Keyboard , Mouse ,etc to the Single USB Host Port on the BBB Device. The Advantage a Powered USB Hub provide VS USB Port is the Power draw available for device connected to the Hub. 
 +
 
 +
* [http://www.belkin.com/us/F4U040-Belkin/p/P-F4U040/ Belkin USB 2.0 Powered Hub]
 +
:Expanded Hub Features
 +
:* 4 Port Powered USB 2.0 Hub
 +
:* Plug and Play   
 +
:* includes Micro USB Cable
 +
:* Includes Power Adaptor which is Made In China and provides 5V 2.6A Power Supply
 +
:* lsusb Info - ID 05e3:0608 Genesys Logic Inc. USB-2.0 4-Port Hub
 +
:* NO LED Indicator for Activity / Plugged In Display 
 +
:* Packaging indicates Part # - F4U040SA
 +
:* Packaging does not mention Linux Kernel compatibility OR Power in Amps provided by the Hub
 +
:* Packaging indicates compatibility with Windows 7 & Mac OS 9.2 and Above
 +
 
 +
= Expansion Boards and Accessories =
 +
 
 +
 
 +
== Capes ==
 +
A '''BeagleBone Cape''' is an expansion board which can be plugged into the BeagleBone's two 46-pin dual-row '''Expansion Headers''' and which in turns provides similar headers onto which further capes can be stacked.  Up to four capes at a time can be stacked on top of a BeagleBone.  An expansion board which can be fitted only at the top of a stack of capes (usually for physical reasons) is a special case of "cape", but this usage is common for display expansion boards such as LCDs (see next section).
 +
 
 +
Capes are required to provide a 32Kbyte I2C-addressed EEPROM which holds board information such as board name, serial number and revision, although this is typically omitted on simple prototyping capes. Capes are also expected to provide a 2-position DIP switch to select their address in the stack, although this too is often omitted in prototyping capes.
 +
 
 +
The [https://docs.google.com/spreadsheet/ccc?key=0AtD7XdBlve3HdDZqUk0xQ1dpV2NiNm43d0pNWmVGdmc&hl=en_US#gid=0 Capes Registry] seeks to index all existing capes and cape concepts, including private projects.  A [https://docs.google.com/spreadsheet/viewform?formkey=dDZqUk0xQ1dpV2NiNm43d0pNWmVGdmc6MQ registration page] is available to help add capes to the list.
 +
 
 +
This section lists only those capes which are available commercially or which are close to a production release, as well as open hardware designs.
 +
 
 +
* [http://www.mouser.in/ProductDetail/BeagleBoard/BB-BONE-DVID-01/?qs=%2fha2pyFaduhJb37d%252bQ4G%2fJSsvT7bsvTiMY9QJCWojagJxllRzQ3BdA%3d%3d= CircuitCo BeagleBone DVI D Cape]
 +
* [http://beagleboardtoys.com/wiki/index.php?title=BeagleBone_Breadboard CircuitCo BeagleBone Breadboard cape]
 +
* [http://beagleboardtoys.com/wiki/index.php?title=BeagleBone_Breakout CircuitCo BeagleBone Breakout cape]
 +
* [https://www.element14.com/community/docs/DOC-67908/l/beaglebone-can-bus-cape-board=BeagleBone_CANBus CircuitCo BeagleBone CANBus cape]
 +
* [[CircuitCo/BeagleBone_RS232|CircuitCo BeagleBone RS232 cape]]
 +
* [http://beagleboardtoys.com/wiki/index.php?title=BeagleBone_Battery CircuitCo BeagleBone Battery cape]
 +
* [http://www.chipsee.com/index.php/beaglebone-black-expansion-capacitive.html/ Chipsee - BeagleBone Black Expansion Capacitive]
 +
* [http://www.chipsee.com/index.php/beaglebone-black-expansion-resistive.html/ Chipsee - BeagleBone Black Expansion Resistive]
 +
* [http://www.adafruit.com/products/572 Adafruit Proto Cape kit for BeagleBone]
 +
* [http://www.towertech.it/en/products/hardware/tt3201-can-cape/ TowerTech TT3201 Multi-Channel CAN Cape]
 +
* [https://specialcomp.com/beaglebone/BeagleBone_FPGA.html Special Computing Spartan-3A FPGA cape for BeagleBone] -- in development
 +
* [http://syntheticlifeforms.net/?p=43 Thinking Machines LCD-IO Expansion Cape] -- in development
 +
* [https://github.com/piranha32/FlyingBone Open Source BeagleBone Prototyping Board] -- piranha32 GitHub repository
 +
* [http://www.armkits.com/product/beaglebone-hdmicape.asp Embest BeagleBone HDMI cape]
 +
* [http://www.logicsupply.com/cbb-proto/ Logic Supply BeagleBone Proto Cape]
 +
* [http://www.logicsupply.com/cbb-eeproto/ Logic Supply BeagleBone EE Proto Cape]
 +
* [http://www.logicsupply.com/cbb-xbee/ Logic Supply BeagleBone XBee Proto Cape]
 +
* [http://www.logicsupply.com/cbb-serial/ Logic Supply BeagleBone Serial/RS232/CAN/RS485 Cape]
 +
* [http://www.logicsupply.com/cbb-ttl-232/ Logic Supply BeagleBone TTL-RS232 Micro Cape]
 +
* [http://www.logicsupply.com/cbb-relay/ Logic Supply BeagleBone DUAL Relay plus IO Cape]
 +
* [http://exadler.myshopify.com/products/dual-motor-controller-cape-dmcc-mk-6 DMCC (Dual Motor Controller Cape) for DC brushed motors ]
 +
* [http://www.tigal.com/product/2413/ TIGAL - BeagleBone Proto Cape]
 +
* [https://shop.mikroe.com/add-on-boards/click-shields/beaglebone-mikrobus-cape/BeagleBone mikroBUS Cape]
 +
* [http://www.mikronauts.com/proto/ezasbone/ Mikronauts - EZasBone BeagleBone / BeagleBone Black stacking Prototyping Cape]
 +
 
 +
== Wifi ==
 +
These USB Wifi modules have been tested and validated to work with the BeagleBone Black.
 +
 
 +
[http://elinux.org/BBBWiFiConfigs Working step-by-step WiFi adapter configurations for many of these devices are available here <==].
 +
 +
* [http://www.logicsupply.com/uwn100/ Logic Supply UWN100 Compact USB Wifi Module]
 +
* [http://www.logicsupply.com/uwn200/ Logic Supply UWN200 Compact USB Wifi Module with Antenna]
 +
* D-Link DWA-121 (Version A1) Wireless N 150 Pico [Realtek RTL8188CUS] works out-of-the-box with Arch Linux (3.12.1)
  
* Must have working code example
+
== Audio ==
* Must have pictures of hardware interface
+
See [http://www.element14.com/community/community/knode/single-board_computers/next-gen_beaglebone/blog/2013/07/06/bbb--building-a-dac here] for how to use the I2S interface for audio. It includes a complete schematic for building a DAC.
* Must have complete instructions
+
 
</div>
+
== Battery Power, Charging and Power Management ==
<br>
+
The BeagleBone Black has a built-in power management IC (PMIC) which generates and controls all of the voltage levels used by the board. The PMIC contains Li-Po / Li-Ion battery charging capability which means that it is extremely simple (and low cost) to enable portable use. There is also a built-in push-button on the BBB which can be used to soft power on/power off the board. See [http://www.element14.com/community/community/knode/single-board_computers/next-gen_beaglebone/blog/2013/08/10/bbb--rechargeable-on-board-battery-system this link] for information.
 +
 
 +
=== Intelligent Power Switch ===
 +
The [http://www.pi-supply.com/ Pi Supply] [http://www.pi-supply.com/product/pi-supply-raspberry-pi-power-switch/ Switch v1.1] was originally designed for use as an automatic on off power supply switch for the Raspberry Pi which includes on, off and soft shutdown switches. The soft shutdown switch is fully programmable using software on the Pi to control the GPIO.
 +
 
 +
However the [http://www.pi-supply.com/product/pi-supply-raspberry-pi-power-switch/ Pi Supply Switch v1.1] is also compatible with BeagleBone boards (both the classic and black) as well as the OLIMEX A13-OLINUXINO single board computer.
 +
 
 +
A very useful add on to help you manage power on your BeagleBone.
 +
 
 +
=== PowerBar "Micro Cape" ===
 +
The [[AndiceLabs:PowerBar|PowerBar]] is a power supply micro cape for the BeagleBone Black and White.  It sports a buck/boost regulator designed to provide 5V power from almost any battery source (3VDC to 14VDC).  Project files are available to build your own or you can purchase one from [http://andicelabs.com AndiceLabs].
 +
 
 +
=== PowerCape LiPo Supply and Charger ===
 +
The [[AndiceLabs:PowerCape|PowerCape]] uses the same regulator as the [[AndiceLabs:PowerBar|PowerBar]] but adds a LiPo charging circuit and AVR power supervisor in a full cape format.  It can power the BeagleBone from a DC source, a LiPo battery, or a combination of both allowing for use cases such as an integrated UPS, solar-powered node, car computer, etc.  Applications can monitor battery voltage and current via an INA219 on the battery input and can schedule BeagleBone power-up conditions and/or timeout via the AVR.
 +
 
 +
== LCD Displays and Other Expansions ==
 +
LCD displays for the BeagleBone are typically implemented as capes which plug in as the ''' ''top board'' ''' in a stack of capes, for reasons of visibility.  Such displays are often larger than the BeagleBone itself, so the normal physical relationship in which a daughterboard is smaller than its host board is inverted.  In this arrangement it is the expansion board that provides the physical support for the BeagleBone.
 +
* [[24bit_LCD_for_BBB|Using 24 bits per pixel LCD interface wiki page]]
 +
* [[File:Beaglebone.jpg|320px|thumb|BeadaFrame]][[BeadaFrame|NAXING Electronics BeadaFrame]] with BeagleBone companion board
 +
:Expanded Hardware Features:
 +
:* 7" 800x480 TFT LCD screen
 +
:* PWM Backlight control
 +
:* Resistive touch panel
 +
:* Plastic frame
 +
:* 256MB Nand flash(K9F2G08)
 +
:* RS232 serial ports(UART1 w/ CTS&RTS)
 +
:* Stereo audio out
 +
:* Micro-phone in
 +
:* 6 x USER buttons
 +
:* PWM Beeper
 +
:* RTC with Battery(DS1302)
 +
 
 +
* [http://beagleboardtoys.info/index.php?title=BeagleBone_LCD3 CircuitCo BeagleBone LCD3 cape and LCD display]
 +
: 3.5" TFT LCD screen, resolution 320x240, 4-wire resistive touchscreen, seven buttons at finger-friendly positions.
 +
* [http://beagleboardtoys.info/index.php?title=BeagleBone_LCD4 CircuitCo BeagleBone LCD4 cape and LCD display]
 +
: 4" TFT LCD screen, resolution 480x272, 4-wire resistive touchscreen, seven buttons at finger-friendly positions.
 +
* [http://beagleboardtoys.info/index.php?title=BeagleBone_LCD7 CircuitCo BeagleBone LCD7 cape and LCD display]
 +
: 7" TFT LCD screen, resolution 800x480, 4-wire resistive touchscreen, rear mount for BeagleBone and capes.
 +
* A very low cost LCD implementation for the BeagleBone Black using the PRU-ICSS is [http://www.element14.com/community/community/knode/single-board_computers/next-gen_beaglebone/blog/2013/05/28/bbb--connecting-up-an-lcd here]. It requires a graphics library to be written; currently it just displays a couple of lines on the screen.
 +
* [http://www.chipsee.com/best-product/bbb-exp-c.html ChipSee BBB-EXP-C BeagleBone Black 7 inch LCD cape and expansion I/O]
 +
: 7" LCD screen, resolution 1024*600, 5 point Capacitive touchscreen, 5 user keys, audio in/out, RS232/485/CAN, 3 axis accelerometer. Available at [http://www.logicsupply.com/bbb-exp-c Logic Supply US] and [http://www.logicsupply.com/eu-en/bbb-exp-c/?___store=eu_en Logic Supply EU].
 +
* [http://www.4dsystems.com.au/product/22/125/Beagle_Bone_LCD_Capes/4DCAPE_43/ 4D Systems 4.3" LCD CAPE]
 +
: 4.3" TFT LCD screen, resolution 480x272, available in non-touch and 4-wire resistive touchscreen versions, with seven buttons.
 +
* [http://www.4dsystems.com.au/product/22/138/Beagle_Bone_LCD_Capes/4DCAPE_70T/ 4D Systems 7.0" LCD CAPE]
 +
: 7.0" TFT LCD screen, resolution 800x480, 4-wire resistive touchscreen, with seven buttons and rear mount for an additional cape.
 +
* [http://www.element14.com/community/community/knode/single-board_computers/next-gen_beaglebone/blog/2014/01/04/bbb--small-oled-graphic-display OLED Display for the BBB - simple project]
 +
: A compact color OLED graphic display (source code and schematic) are available here. It includes a simple library for text and some primitives.
 +
 
 +
== Cases ==
 +
* [http://www.adafruit.com/products/699 Adafruit Bone Box - Enclosure for Beagle Bone]
 +
* [http://en.wikipedia.org/wiki/Altoids An Altoids Tin - Beaglebone Black fits very nicely inside a regular sized Altoids tin]
 +
* [http://www.skpang.co.uk/catalog/acrylic-cover-for-beaglebone-p-1076.html SK Pang Acrylic Cover for BeagleBone]
 +
* [http://specialcomp.com/beagleboard/BB-Bone-assy2_l.jpg Special Computing Bone Acrylic Case]
 +
* [http://www.thingiverse.com/thing:19153 canadaduane's 3D-printable BeagleBone Case design]
 +
* [http://www.thingiverse.com/thing:16195 NinjaBlock's 3D-printable Beaglebone front panel design]
 +
* [http://www.thingiverse.com/thing:20122 builttospec's laser-cut design for BeagleBone Enclosure with DVI Cape]
 +
* [http://www.built-to-spec.com/blog/2012/03/01/beaglebone-case-update-and-new-kits-page/ Built to Spec BeagleBone Case Update], and [http://builttospecstore.storenvy.com/products/225603-beaglebone-enclosure final product]
 +
* [http://www.phenoptix.com/products/beagle-bone-black-case-clip-together-enclosure Phenoptix (UK) BeagleBone Black clip-together enclosure]
 +
* [http://www.logicsupply.com/bb100/ BeagleBone Black Compact Metal Enclosure in Black - Logic Supply US] [http://www.logicsupply.eu/cases/mini-pc-cases/bb100/ Logic Supply EU]. Open Source design available on [https://github.com/lgxlogic/LGX-BeagleBoneBlack-Enclosure GitHub]
 +
* [http://www.logicsupply.com/bb100-orange/ BeagleBone Black Compact Metal Enclosure in Orange - Logic Supply US] [http://www.logicsupply.eu/cases/mini-pc-cases/bb100-orange/ Logic Supply EU]
 +
* [http://www.hammondmfg.com/1593HAM.htm Hammond Manufacturing] has cases for the BeagleBone Black and White available from distributors such as [http://www.mouser.com Mouser] and [http://www.digikey.com DigiKey].
 +
 
 +
= BeagleBone Operating Systems =
 +
BeagleBone's default operating system is [http://www.angstrom-distribution.org/ Angstrom], which ships with the board. You can find more information in [[BeagleBone_Operating_Systems|BeagleBone Operating Systems]] section.
  
=Hardware=
+
For the BeagleBone Black, see its [[Beagleboard:BeagleBoneBlack#Software_Resources|official documentation]]. Instead of officially supported Debian images, you can also use [[BeagleBoneBlack Stock Debian from External HD|stock Debian from an external HD]].
The BeagleBone is the low-cost, high-expansion focused BeagleBoard using a low cost AM335x Cortex A8 ARM processor. It is similar to the earlier BeagleBoards and can act as a USB or Ethernet connected expansion companion for your current BeagleBoard and BeagleBoard-xM or work stand-alone. The BeagleBone is small even by BeagleBoard standards and with the high-performance ARM capabilities you expect from a BeagleBoard, the BeagleBone brings full-featured Linux to places it has never gone before.  
 
  
==Manual==
+
= Board recovery and Flashing Images on BeagleBone =
 +
* See [[AM335x_recovery]]
 +
* See [http://elinux.org/BeagleBoardRecovery#USB_recovery BeagleBoardRecovery] ''--- (*) Check applicability''
 +
* See [http://www.dc-computing.com/CloningCustomizedBeagles.html Cloning Customized Beagles] ''for pointers on how to put a clone images across BeagleBone''
  
See [http://beagleboard.org/static/beaglebone/a3/Docs/Hardware/BONE_SRM.pdf BeagleBone System Reference Manual (rev. A3_1.0)].
+
= Software Development =
 +
Software development on the BeagleBone is normally no different to any other Linux platform, and typically varies with language and with the IDE used, if any. This section deals only with development issues that are specific to BeagleBone, or mostly so.
  
==Errata==
+
=== Cloud9 IDE and Bonescript ===
 +
''..... description here .....''
 +
* Source repository:  https://github.com/jadonk/bonescript
 +
* Language documentation:  http://nodejs.org/
  
==Interfacing to Raw LCD Panels==
+
=== Dart and BeagleBone ===
 +
''Directions for installing Dart on Beaglebone''
 +
* Link: http://www.dc-computing.com/PoweringIoTwithDartandBeagle.html
  
 +
=== BeagleBone JTAG Debugging ===
 +
''..... description here .....''
  
 +
The BeagleBone White is the developers paradise in terms of debugging. You just need to plug a single usb connector to get a serial + JTAG. There is the openocd package with basic support for the Cortex-A8 read [[BeagleBoardOpenOCD]] but if you want to get some work done you are probably better of using Code Composer Studio. Here is a video about using Code Composer Studio on the BeagleBone White
 +
[http://www.youtube.com/watch?v=ra8STql8pJM&list=PL2JiIx7dnbsG09NsK8Rbd9GHqoREz6hKK MINIX3 on ARM : BeagleBone White && Code Composer studio debug]
  
==Clones==
+
===Using Netbeans to remotely compile and debug C/C++===
  
 +
When developing c/c++ on a linux desktop, a toolchain is available for cross-compiling the code for arm.  However no such toolchain is readily available for windows.  Netbeans can be used to write the code on your desktop, save it in a location accessible to the beagle, and then automatically compile it on the beagle itself using ssh and the built in compiler on the beaglebone's OS.
  
==BeagleBone-based products==
+
Netbeans can also use GDB for remote debugging over ssh.
  
 +
Requirements:
  
==Beagle case==
+
* Set up a samba / smb network share through which code can be shared between both desktop and beagle
 +
* Give netbeans the SSh login details of the beagle
 +
* Give netbeans the path mapping so it can translate between the desktop code folder and beagle code folder
 +
* Setup only takes a few minutes.
  
 +
====More info====
  
=Adapters=
+
* Download Netbeans (Windows/Linux/OS-X/Solaris): http://www.netbeans.org/
 +
* Example tutorial on setting this up: http://mechomaniac.com/BeagleboardDevelopmentWithNetbeans
  
==Expansion boards==
+
=== BlackLib ===
 +
BlackLib library is written for controlling Beaglebone Black's feature with C++. It is created for reading analog input, generating pwm signal, using gpio pins, and communicating with other devices over uart, spi and i2c. In addition to them, it includes debugging feature. So you can check errors after call any function in the library. It also takes parallel programming, mutex usability, realization of directory operation and realization of time operation ability with the last update(BlackLiv v3.0).
 +
* GitHub repository:  https://github.com/yigityuce/BlackLib
 +
* Sourceforge repository:  http://sourceforge.net/projects/blacklib/
 +
* Library documentation:  http://blacklib.yigityuce.com/annotated.html
 +
* Library webpage: http://blacklib.yigityuce.com/index.html
  
[[File:Beadaframe.jpg|400px|thumb|BeadaFrame]][http://www.esky-sh.com/bbs/viewtopic.php?f=19&t=468 BeadaFrame] with BeagleBone companion board
+
= Building for BeagleBone =
* 7" 800x480 TFT LCD screen
 
* PWM Backlight control
 
* Resistive touch panel
 
* Plastic frame
 
* 256MB Nand flash(K9F2G08)
 
* RS232 serial ports(UART1 w/ CTS&RTS)
 
* Stereo audio out
 
* Micro-phone in
 
* 6 x USER buttons
 
* PWM Beeper
 
* RTC with Battery(DS1302)
 
  
=Board recovery=
+
To know how to build u-Boot, Kernel and other softwares see http://elinux.org/Building_for_BeagleBone
  
=Development environments=
+
= Kernel =
  
Instead of just using compiler + editor, you can use complete image create "development tool chains" which integrate compiler, build system, packaging tools etc. in one tool chain.
+
=== Getting the Right Kernel ===
 +
The modern BeagleBone kernels are Maintained by Koen Kooi and are available on the 3.8 branch at https://github.com/beagleboard/kernel/tree/3.8 . This repo contains a set of patches and a script which downloads a mainline kernel and then patches it appropriately. Exact steps for building it are in the README.
  
==OpenEmbedded==
+
=== Step-by-step guide to building a BBB kernel ===
 +
There is a step-by-step guide to building a BeagleBone Black (BBB) kernel at http://elinux.org/Building_BBB_Kernel
  
==Eclipse==
+
=== Device Tree ===
 +
The 3.5 and newer BeagleBone kernels make use of [[Device Tree]]. A Device Tree is a text file which describes the layout of a machine, commonly the combination of a system-on-chip (SoC) and a board, so that the kernel can know at what addresses and on which buses hardware is located. The BeagleBone kernels make use of an extension called [[Capemgr|Capemgr]] which allows dynamic loading and unloading of device tree fragments both at compile time and from userspace post-boot.
 +
Learning about the Device Tree is very essential, if you wish to be able to manipulate pins and be able to use them as inputs/outputs. There is a [http://www.element14.com/community/community/knode/single-board_computers/next-gen_beaglebone/blog/2013/05/22/bbb--working-with-the-pru-icssprussv2 short guide to it here] (part-way down the page). In a nutshell, the device tree can be manipulated by creating a text 'fragment' file that can be converted into a .dtbo file using a program called dtc which is already installed on the BeagleBone Black. The .dtbo file can then be installed and uninstalled as desired. The procedures to install and uninstall are at that link:
  
==Android==
+
<tt>echo cape-bone-name > $SLOTS</tt> to install, and
  
==Linux hints==
 
  
==Wince==
+
<tt>echo -<slotnum> > $SLOTS</tt> to uninstall,
 +
but read through the web page and comments section first to see what $SLOT is set to).
  
=FAQ=
+
= FAQ =
  
 
For BeagleBoard frequently asked questions (FAQ) see [[BeagleBoardFAQ|community FAQ]] and "official" [http://beagleboard.org/support/faq BeagleBoard.org FAQ].
 
For BeagleBoard frequently asked questions (FAQ) see [[BeagleBoardFAQ|community FAQ]] and "official" [http://beagleboard.org/support/faq BeagleBoard.org FAQ].
  
=Links=
+
= Projects =
==Home page==
+
 
[http://beagleboard.org/ beagleboard.org] (beagle board home)
+
* [[BeagleBone 6502 RemoteProc cape]]
* Using [http://www.google.de/ Google] you can search beagleboard.org (including [http://www.beagleboard.org/irclogs/ IRC logs]) using ''site:beagleboard.org <search term>''
+
 
 +
= Links =
 +
== Home site and Community ==
 +
* [http://beagleboard.org/ beagleboard.org] -- home for BeagleBoard and BeagleBone products
 +
* [http://beagleboard.org/Products/BeagleBone%20Black BeagleBone Black] -- manufacturer's page for the second BeagleBone board
 +
* irc://irc.freenode.net/#beagle -- official combined IRC channel
 +
* [http://beagleboard.org/discuss Google Groups forums/mailing list] -- [https://groups.google.com/forum/?fromgroups#!forum/beagleboard English], [http://groups.google.com/group/pandabeagle-jp Japan], [http://groups.google.com/group/beagleboard-brasil Brasil], [https://groups.google.com/group/beagle-board-turkiye Turkey]
 +
* [http://beagleboard.org/project BeagleBoard and BeagleBone projects list]
 +
* [https://docs.google.com/spreadsheet/ccc?key=0AtD7XdBlve3HdDZqUk0xQ1dpV2NiNm43d0pNWmVGdmc&hl=en_US#gid=0 Capes Registry] and its [https://docs.google.com/spreadsheet/viewform?formkey=dDZqUk0xQ1dpV2NiNm43d0pNWmVGdmc6MQ registration page]
 +
* [http://www.adafruit.com/blog/category/beaglebone/ BeagleBone articles at Adafruit blog] -- products, projects and tutorials
 +
* Use [http://www.google.de/ Google] to search beagleboard.org (including [http://www.beagleboard.org/irclogs/ IRC logs]) using ''site:beagleboard.org <search term>''
 +
* [https://www.linux.com/news/embedded-mobile/mobile-linux/715298-45-beaglebone-black-keeps-eyes-on-raspberry-pi Linux.com report on BeagleBone Black] -- with words from beagleBoard.org's cofounder Jason Kridner
 +
* [https://github.com/selsinork/beaglebone-black-pinmux github.com/selsinork/beaglebone-black-pinmux] -- pinmux data for BeagleBone Black, including extraction scripts
 +
* [http://www.element14.com/community/community/knode/single-board_computers/next-gen_beaglebone/blog/2013/05/22/bbb--working-with-the-pru-icssprussv2 Element 14 knode blog: Working with the PRU-ICSS] -- detailed tutorial on starting with the PRU on BBB
 +
* [http://www.element14.com/community/community/knode/single-board_computers/next-gen_beaglebone/blog/2013/06/01/bbb-neon-and-making-tintin-bigger BBB, NEON and making Tintin bigger] - introduction to using NEON on the BBB
 +
* [http://forum.beaglefu.com/ BeagleFu] -- BeagleBone/Board Community, News and Projects.
  
==Manuals and resources==
+
== Tutorials and Videos ==
* [http://beagleboard.org/static/BBSRM_latest.pdf BeagleBoard HW Reference Manual (rev. C2)]
+
* [[24bit_LCD_for_BBB|''HowTo for Using 24-bit LCD panels'']]
 +
* [http://inspire.logicsupply.com/''Workshops, Tutorials, Simple Projects''] Learn Today-Build Tomorrow -- by Logic Supply
 +
* [http://beagleboard.org/static/bonescript/bone101/index.html ''BeagleBone: BeagleBoard-101 Intro''] -- slides (turn off Javascript for single page)
 +
* [http://www.youtube.com/watch?v=EEnOWR-GXjk ''BeagleBone Intro''], video by Jason Kridner, Texas Instruments
 +
* [http://www.youtube.com/watch?v=Y0uqRVxismQ ''How-To: Get Started with the BeagleBone''], video by Matt Richardson, MakeMagazine
 +
* [http://www.youtube.com/watch?v=z6b4zlh0IrE ''The Beaglebone - Unboxing, Introduction Tutorial and First Example''], video by Derek Molloy, DCU/EE
 +
* [http://www.youtube.com/watch?v=vFv_-ykLppo ''Beaglebone: C/C++ Programming Introduction for ARM Embedded Linux Development using Eclipse''], video by Derek Molloy, DCU/EE
 +
* [http://www.youtube.com/watch?v=SaIpz00lE84 ''Beaglebone: GPIO Programming on ARM Embedded Linux''], video by Derek Molloy, DCU/EE
 +
* [https://gist.github.com/4013192 ''C code for GPIO polling''], sample code by Andrew Montag
 +
* [http://borderhack.com/?p=1062 First steps with the Beaglebone], introductory HOWTO by octavio at borderhack
 +
* [http://learn.adafruit.com/beaglebone Adafruit Learning System - BeagleBone] -- web page
 +
* [http://derekmolloy.ie/beaglebone/ ''BeagleBone: Tutorials''], by Derek Molloy
 +
* [https://wiki.zoneminder.com/Dedicated_SBC_Camera_Monitor ''Beaglebone Video Monitor''] Configuring from scratch as video monitor with I2C and custom kernel
  
 +
== Manuals and resources ==
 +
* [http://beagleboard.org/static/beaglebone/a3/Docs/Hardware/BONE_SRM.pdf BeagleBone System Reference Manual (rev. A3_1.0)]
 +
* [http://www.ti.com/am335x Texas Instruments - Sitara AM335x ARM Cortex-A8 Microprocessor overview]
 +
* [http://www.ti.com/product/am3359 Texas Instruments - AM3359 Sitara ARM Cortex-A8 Microprocessor full documentation]
 +
* [http://infocenter.arm.com/help/topic/com.arm.doc.subset.architecture.reference/index.html#v7AR ARM/ARMv7-AR Architecture] -- ARM Cortex-A8 architecture overview
 +
* [http://infocenter.arm.com/help/topic/com.arm.doc.ddi0344d/DDI0344D_cortex_a8_r2p1_trm.pdf ARM Cortex-A8 Technical Reference Manual r2p1]
 +
* [http://www.arm.com/support/university/development-platforms/cortex-a8-development-platforms.php ARM Cortex-A Development Platforms] -- ARM page on Beagle boards
 +
* [http://www.ti.com/product/tps65217b TI TPS65217 Power Management IC], [http://www.ti.com/lit/ds/symlink/tps65217.pdf TPS65217 PMIC datasheet]
 +
* [http://www.ftdichip.com/Products/ICs/FT2232H.htm FTDI FT2232H Hi-Speed Dual USB UART/FIFO IC overview], [http://www.ftdichip.com/Support/Documents/DataSheets/ICs/DS_FT2232H.pdf FT2232H datasheet]
 +
* [http://www.linux-usb.org/gadget/index.html Linux-USB Gadget API Framework] and [http://www.linux-usb.org/gadget/h2-otg.html USB OTG], and [http://forums.gentoo.org/viewtopic-t-843255.html kernel config] -- Ethernet-over-USB
 +
* [https://docs.google.com/document/d/17P54kZkZO_-JtTjrFuVz-Cp_RMMg7GB_8W9JK9sLKfA/pub Beaglebone and the 3.8 Kernel] Details about the 3.8 Kernel, its use of DT and the capemanager.
 +
* [https://github.com/lgxlogic/BeagleBoneBlack-3D-Model SolidWorks 3D model of the BeagleBone Black] on GitHub, includes 3D PDF.
 +
* [https://github.com/johnantoni/beaglebone-black Notes and how-to guides on using the BeagleBone Black as a web-server] on GitHub.
  
 +
== Translations ==
 +
* 한국어:[[KR:BeagleBone]]
  
 +
== Errata ==
  
=Subpages=
+
= Subpages =
<splist
+
http://elinux.org/BeagleBone_Usb_Networking<br/>
parent=
+
http://elinux.org/BeagleBone_and_the_3.8_Kernel<br/>
showparent=no
+
http://elinux.org/Building_for_BeagleBone<br/>
sort=desc
+
http://elinux.org/BeagleBone_Operating_Systems
sortby=title
 
liststyle=ordered
 
showpath=no
 
kidsonly=no
 
debug=0
 
/>
 

Latest revision as of 23:33, 18 July 2018


BeagleBone
BeagleBone Black

This page collects information about BeagleBoard.org's range of BeagleBone boards based on the TI Sitara AM335x, an application processor SoC containing an ARM Cortex-A8 core. The range currently consists of the original BeagleBone and the upgraded but lower cost BeagleBone Black.

Most features are common to the two models. The differences between them are described in each section under a BeagleBone Black subheading.


Events

Description

The two models of BeagleBone share most features in common through employing only slightly different versions of the same TI Sitara SoC. In addition they both adhere to the same standard for expansion and interfacing through "cape" daughterboards.

BeagleBone (original)

The BeagleBone is a low-cost, high-expansion board from the BeagleBoard product line. It uses the TI AM3358/9 SoC based on an ARM Cortex-A8 processor core using the ARMv7-A architecture. It is similar in purpose to earlier BeagleBoards, and can be used either standalone or as a USB or Ethernet-connected expansion for a BeagleBoard or any other system. The BeagleBone is small even by BeagleBoard standards yet still provides much of the performance and capabilities of the larger BeagleBoards.

BeagleBone ships with a 4GB micro-SD card preloaded with the Angstrom ARM Linux distribution.

The board uses a TI TPS65217B PMIC to generate stable supply voltages regardless of input power variation. +5V DC power can be supplied to the BeagleBone through a barrel connector or from the mini-USB, both of which are located near the large RJ45 Ethernet connector.

The mini-USB type-A OTG/device client-mode socket is multi-functional. In addition to providing an alternative source of power, it gives access to an on-board front-end two-port USB client-side hub. (This is not related to the separate host-mode USB socket described later). One port of the hub goes directly to the USB0 port of the TI AM3358/9 SoC, while the other port connects to a dual-port FTDI FT2232H USB-to-serial converter to provide board-to-external-host serial communications and/or JTAG debugging. The BeagleBone's Linux serial console is available through this USB serial connection.

The SoC's USB0 connection to the front-end hub works in one of two modes, and you can toggle between them at any time: it either presents the SD card as a mountable USB storage device to the host, or it provides an Ethernet-over-USB networking interface which yields a simple method of quick-start. The Ethernet-over-USB facility is additional to the BeagleBone's normal 10/100 Ethernet interface, which is directly implemented in the SoC rather than hanging off USB as in some other designs. Full IPv4 and IPv6 networking is provided by the supplied Linux system out of the box.

In addition to the USB OTG Device or client-mode facilities already described, BeagleBone also provides one host-mode USB type-A socket on the other end of the board. This is driven from the USB1 connection on the AM3358/9 SoC, and provides access to USB host peripherals such as mice, keyboards, storage, and wifi or Bluetooth dongles, or a USB hub for further expansion.

BeagleBone Black

On 23rd April 2013, Beagleboard officially announced BeagleBone Black at a price approximately half that of the original BeagleBone.

The new board's most important new features include a AM3359 SoC upgraded to 1GHz, doubling of memory to 512MB, use of faster DDR3 memory in contrast to the DDR2 of the original BeagleBone, and a new HDMI audio/visual output. (The original BeagleBone required an additional cape daughterboard for graphic output).

Specifications

The two boards are very similar in those features provided directly by the SoC. Despite the original BeagleBone being specified as using "AM3358/9", in practice most boards are believed to have shipped with the AM3359 generic part. BeagleBone Black has therefore upgraded only the specific device selected from the AM3359 range, and hence the differences are few. In contrast, the boards have significantly different designs but a high degree of compatibility.

BeagleBone

  • Up to 720 MHz superscalar ARM Cortex-A8 AM3358/9
  • 256 MB DDR2 RAM
  • 10/100 Ethernet RJ45 socket, IPv4 and IPv6 networking
  • MicroSD slot and 4GB microSD card supplied
  • Preloaded with Angstrom ARM Linux Distribution
  • Single USB 2.0 type A host port
  • Dual USB hub on USB 2.0 type mini-A OTG device port
  • On-board USB-to-serial/JTAG over one shared USB device port
  • Storage-over-USB or Ethernet-over-USB on other USB device port
  • Extensive I/O: 2 I2C, 5 UART, SPI, CAN, 66 GPIO, 8 PWM, 8 ADC
  • +5V DC power from barrel connector or USB device port
  • Power consumption of 300-500mA at 5V
  • Two 46-pin 3.3-V peripheral headers with multiplexed LCD signals
  • Board size: 3.4" × 2.1" (86.4mm x 53.3mm) -- fits in an Altoid tin

BeagleBone Black (differences)

  • 1 GHz superscalar ARM Cortex-A8 AM3359
  • 512 MB DDR3 RAM 800 MHZ
  • On-board 4 GB eMMC flash, preloaded with Angstrom ARM Linux Distribution
  • MicroSD slot for additional user data or operating systems (no card supplied)
  • USB 2.0 type A host port
  • Dedicated single mini-USB 2.0 client port (no additional 2-port hub)
  • New micro-HDMI audio/visual output
  • USB-to-serial and USB-to-JTAG interfaces removed (available on expansion headers)
  • Power expansion header for backlight removed, battery charging moved onto pads
  • Lower power consumption of 210-460 mA at 5V

Expansion Connectors

The BeagleBone provides two 46-pin dual-row expansion connectors "P9" and "P8" which are also known as "Expansion A" and "Expansion B", respectively. The location and pinout of these connectors is illustrated below (click tables to enlarge). All signals on expansion headers are 3.3V except where indicated otherwise.

P9 and P8 - Each 2x23 pins

P9 Header

BeagleBone P9 + P8 P8 Header


In addition to the two large headers above, a small 10-pin dual-row connector "P6" provides a "PMIC Expansion" that brings out some additional signals from the TPS65217B Power Management IC, using the following pinout:

P6 - 2x5 pins

P6 MPIC Expansion Header

NB. P6 is not available on BeagleBone Black

IMPORTANT

This diagram of P6 provides an UNDERSIDE PINOUT view.

It is therefore laterally inverted relative to the photograph.

To obtain the top-side pinout that corresponds to the physical orientation shown in the photograph, swap the two rows of pins so that odd-numbered pins are on the left of even-numbered pins.

USB 2.0 Powered Hubs

USB 2.0 Powered Hub connects multiple USB devices i.e. Keyboard , Mouse ,etc to the Single USB Host Port on the BBB Device. The Advantage a Powered USB Hub provide VS USB Port is the Power draw available for device connected to the Hub.

Expanded Hub Features
  • 4 Port Powered USB 2.0 Hub
  • Plug and Play
  • includes Micro USB Cable
  • Includes Power Adaptor which is Made In China and provides 5V 2.6A Power Supply
  • lsusb Info - ID 05e3:0608 Genesys Logic Inc. USB-2.0 4-Port Hub
  • NO LED Indicator for Activity / Plugged In Display
  • Packaging indicates Part # - F4U040SA
  • Packaging does not mention Linux Kernel compatibility OR Power in Amps provided by the Hub
  • Packaging indicates compatibility with Windows 7 & Mac OS 9.2 and Above

Expansion Boards and Accessories

Capes

A BeagleBone Cape is an expansion board which can be plugged into the BeagleBone's two 46-pin dual-row Expansion Headers and which in turns provides similar headers onto which further capes can be stacked. Up to four capes at a time can be stacked on top of a BeagleBone. An expansion board which can be fitted only at the top of a stack of capes (usually for physical reasons) is a special case of "cape", but this usage is common for display expansion boards such as LCDs (see next section).

Capes are required to provide a 32Kbyte I2C-addressed EEPROM which holds board information such as board name, serial number and revision, although this is typically omitted on simple prototyping capes. Capes are also expected to provide a 2-position DIP switch to select their address in the stack, although this too is often omitted in prototyping capes.

The Capes Registry seeks to index all existing capes and cape concepts, including private projects. A registration page is available to help add capes to the list.

This section lists only those capes which are available commercially or which are close to a production release, as well as open hardware designs.

Wifi

These USB Wifi modules have been tested and validated to work with the BeagleBone Black.

Working step-by-step WiFi adapter configurations for many of these devices are available here <==.

Audio

See here for how to use the I2S interface for audio. It includes a complete schematic for building a DAC.

Battery Power, Charging and Power Management

The BeagleBone Black has a built-in power management IC (PMIC) which generates and controls all of the voltage levels used by the board. The PMIC contains Li-Po / Li-Ion battery charging capability which means that it is extremely simple (and low cost) to enable portable use. There is also a built-in push-button on the BBB which can be used to soft power on/power off the board. See this link for information.

Intelligent Power Switch

The Pi Supply Switch v1.1 was originally designed for use as an automatic on off power supply switch for the Raspberry Pi which includes on, off and soft shutdown switches. The soft shutdown switch is fully programmable using software on the Pi to control the GPIO.

However the Pi Supply Switch v1.1 is also compatible with BeagleBone boards (both the classic and black) as well as the OLIMEX A13-OLINUXINO single board computer.

A very useful add on to help you manage power on your BeagleBone.

PowerBar "Micro Cape"

The PowerBar is a power supply micro cape for the BeagleBone Black and White. It sports a buck/boost regulator designed to provide 5V power from almost any battery source (3VDC to 14VDC). Project files are available to build your own or you can purchase one from AndiceLabs.

PowerCape LiPo Supply and Charger

The PowerCape uses the same regulator as the PowerBar but adds a LiPo charging circuit and AVR power supervisor in a full cape format. It can power the BeagleBone from a DC source, a LiPo battery, or a combination of both allowing for use cases such as an integrated UPS, solar-powered node, car computer, etc. Applications can monitor battery voltage and current via an INA219 on the battery input and can schedule BeagleBone power-up conditions and/or timeout via the AVR.

LCD Displays and Other Expansions

LCD displays for the BeagleBone are typically implemented as capes which plug in as the top board in a stack of capes, for reasons of visibility. Such displays are often larger than the BeagleBone itself, so the normal physical relationship in which a daughterboard is smaller than its host board is inverted. In this arrangement it is the expansion board that provides the physical support for the BeagleBone.

Expanded Hardware Features:
  • 7" 800x480 TFT LCD screen
  • PWM Backlight control
  • Resistive touch panel
  • Plastic frame
  • 256MB Nand flash(K9F2G08)
  • RS232 serial ports(UART1 w/ CTS&RTS)
  • Stereo audio out
  • Micro-phone in
  • 6 x USER buttons
  • PWM Beeper
  • RTC with Battery(DS1302)
3.5" TFT LCD screen, resolution 320x240, 4-wire resistive touchscreen, seven buttons at finger-friendly positions.
4" TFT LCD screen, resolution 480x272, 4-wire resistive touchscreen, seven buttons at finger-friendly positions.
7" TFT LCD screen, resolution 800x480, 4-wire resistive touchscreen, rear mount for BeagleBone and capes.
7" LCD screen, resolution 1024*600, 5 point Capacitive touchscreen, 5 user keys, audio in/out, RS232/485/CAN, 3 axis accelerometer. Available at Logic Supply US and Logic Supply EU.
4.3" TFT LCD screen, resolution 480x272, available in non-touch and 4-wire resistive touchscreen versions, with seven buttons.
7.0" TFT LCD screen, resolution 800x480, 4-wire resistive touchscreen, with seven buttons and rear mount for an additional cape.
A compact color OLED graphic display (source code and schematic) are available here. It includes a simple library for text and some primitives.

Cases

BeagleBone Operating Systems

BeagleBone's default operating system is Angstrom, which ships with the board. You can find more information in BeagleBone Operating Systems section.

For the BeagleBone Black, see its official documentation. Instead of officially supported Debian images, you can also use stock Debian from an external HD.

Board recovery and Flashing Images on BeagleBone

Software Development

Software development on the BeagleBone is normally no different to any other Linux platform, and typically varies with language and with the IDE used, if any. This section deals only with development issues that are specific to BeagleBone, or mostly so.

Cloud9 IDE and Bonescript

..... description here .....

Dart and BeagleBone

Directions for installing Dart on Beaglebone

BeagleBone JTAG Debugging

..... description here .....

The BeagleBone White is the developers paradise in terms of debugging. You just need to plug a single usb connector to get a serial + JTAG. There is the openocd package with basic support for the Cortex-A8 read BeagleBoardOpenOCD but if you want to get some work done you are probably better of using Code Composer Studio. Here is a video about using Code Composer Studio on the BeagleBone White MINIX3 on ARM : BeagleBone White && Code Composer studio debug

Using Netbeans to remotely compile and debug C/C++

When developing c/c++ on a linux desktop, a toolchain is available for cross-compiling the code for arm. However no such toolchain is readily available for windows. Netbeans can be used to write the code on your desktop, save it in a location accessible to the beagle, and then automatically compile it on the beagle itself using ssh and the built in compiler on the beaglebone's OS.

Netbeans can also use GDB for remote debugging over ssh.

Requirements:

  • Set up a samba / smb network share through which code can be shared between both desktop and beagle
  • Give netbeans the SSh login details of the beagle
  • Give netbeans the path mapping so it can translate between the desktop code folder and beagle code folder
  • Setup only takes a few minutes.

More info

BlackLib

BlackLib library is written for controlling Beaglebone Black's feature with C++. It is created for reading analog input, generating pwm signal, using gpio pins, and communicating with other devices over uart, spi and i2c. In addition to them, it includes debugging feature. So you can check errors after call any function in the library. It also takes parallel programming, mutex usability, realization of directory operation and realization of time operation ability with the last update(BlackLiv v3.0).

Building for BeagleBone

To know how to build u-Boot, Kernel and other softwares see http://elinux.org/Building_for_BeagleBone

Kernel

Getting the Right Kernel

The modern BeagleBone kernels are Maintained by Koen Kooi and are available on the 3.8 branch at https://github.com/beagleboard/kernel/tree/3.8 . This repo contains a set of patches and a script which downloads a mainline kernel and then patches it appropriately. Exact steps for building it are in the README.

Step-by-step guide to building a BBB kernel

There is a step-by-step guide to building a BeagleBone Black (BBB) kernel at http://elinux.org/Building_BBB_Kernel

Device Tree

The 3.5 and newer BeagleBone kernels make use of Device Tree. A Device Tree is a text file which describes the layout of a machine, commonly the combination of a system-on-chip (SoC) and a board, so that the kernel can know at what addresses and on which buses hardware is located. The BeagleBone kernels make use of an extension called Capemgr which allows dynamic loading and unloading of device tree fragments both at compile time and from userspace post-boot. Learning about the Device Tree is very essential, if you wish to be able to manipulate pins and be able to use them as inputs/outputs. There is a short guide to it here (part-way down the page). In a nutshell, the device tree can be manipulated by creating a text 'fragment' file that can be converted into a .dtbo file using a program called dtc which is already installed on the BeagleBone Black. The .dtbo file can then be installed and uninstalled as desired. The procedures to install and uninstall are at that link:

echo cape-bone-name > $SLOTS to install, and


echo -<slotnum> > $SLOTS to uninstall, but read through the web page and comments section first to see what $SLOT is set to).

FAQ

For BeagleBoard frequently asked questions (FAQ) see community FAQ and "official" BeagleBoard.org FAQ.

Projects

Links

Home site and Community

Tutorials and Videos

Manuals and resources

Translations

Errata

Subpages

http://elinux.org/BeagleBone_Usb_Networking
http://elinux.org/BeagleBone_and_the_3.8_Kernel
http://elinux.org/Building_for_BeagleBone
http://elinux.org/BeagleBone_Operating_Systems