intro to beaglebone black - root centralbeaglebone black vs. raspberry pi better real-time control...

15
Intro to BeagleBone Black Grant Root http://www.rootcentral.org/documents/BeagleBoneBlack.pdf

Upload: others

Post on 10-Mar-2020

10 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Intro to BeagleBone Black - Root CentralBeagleBone Black vs. Raspberry Pi Better real-time control – Two 200MHz, 32-bit RISC programmable real-time units (PRUs), optimized for single-cycle

Intro toBeagleBone Black

Grant Roothttp://www.rootcentral.org/documents/BeagleBoneBlack.pdf

Page 2: Intro to BeagleBone Black - Root CentralBeagleBone Black vs. Raspberry Pi Better real-time control – Two 200MHz, 32-bit RISC programmable real-time units (PRUs), optimized for single-cycle

What is BeagleBone?

● A popular single-board computer (SBC)● A low-cost (~$50), community-supported

development platform for developers and hobbyists

● A smaller, more barebone version of the BeagleBoard

● Open source hardware (Creative Commons Attribution-Share Alike 3.0 Unported License)

Page 3: Intro to BeagleBone Black - Root CentralBeagleBone Black vs. Raspberry Pi Better real-time control – Two 200MHz, 32-bit RISC programmable real-time units (PRUs), optimized for single-cycle

Why “Black”?

● Original BeagleBone has a white circuitboard.● BeagleBone Black has faster processor, more

memory, on-board storage, on-board video output.

● BeagleBone Black is much cheaper ($50 vs. $90).

Page 4: Intro to BeagleBone Black - Root CentralBeagleBone Black vs. Raspberry Pi Better real-time control – Two 200MHz, 32-bit RISC programmable real-time units (PRUs), optimized for single-cycle

Features

Page 5: Intro to BeagleBone Black - Root CentralBeagleBone Black vs. Raspberry Pi Better real-time control – Two 200MHz, 32-bit RISC programmable real-time units (PRUs), optimized for single-cycle

Connectors

Page 6: Intro to BeagleBone Black - Root CentralBeagleBone Black vs. Raspberry Pi Better real-time control – Two 200MHz, 32-bit RISC programmable real-time units (PRUs), optimized for single-cycle
Page 7: Intro to BeagleBone Black - Root CentralBeagleBone Black vs. Raspberry Pi Better real-time control – Two 200MHz, 32-bit RISC programmable real-time units (PRUs), optimized for single-cycle
Page 8: Intro to BeagleBone Black - Root CentralBeagleBone Black vs. Raspberry Pi Better real-time control – Two 200MHz, 32-bit RISC programmable real-time units (PRUs), optimized for single-cycle

BeagleBone Black vs. Raspberry Pi

● Additional I/O capabilities– 7 channel 200kHz 12-bit ADC (analog-to-digital

converter) vs. none on Pi

– 8 hardware PWMs (pulse width modulation channels) vs. 1 on the Pi)

– 4 UARTs (serial transmitter / receivers) vs. 1 on Pi

– Quadrature encoder hardware (measures the speed and direction of a rotating shaft)

Page 9: Intro to BeagleBone Black - Root CentralBeagleBone Black vs. Raspberry Pi Better real-time control – Two 200MHz, 32-bit RISC programmable real-time units (PRUs), optimized for single-cycle

BeagleBone Black vs. Raspberry Pi

● Better real-time control– Two 200MHz, 32-bit RISC programmable real-time

units (PRUs), optimized for single-cycle latency to I/O pins, enabling peripheral emulation and predictable ultra-low latency hard real time control

● Larger number (over 100) of add-on boards, or “capes”

● Completely Open Source! Better documentation, clones and derivatives are possible.

Page 10: Intro to BeagleBone Black - Root CentralBeagleBone Black vs. Raspberry Pi Better real-time control – Two 200MHz, 32-bit RISC programmable real-time units (PRUs), optimized for single-cycle

BeagleBone Black vs. Raspberry Pi

● Uses mainline Linux repositories● On-board eMMC flash (up to 4GB) pre-

programmed with Debian Linux, with browser-based documentation, tutorial and IDE– Faster boot than SD card

– Boots right out of the box

● 720p video support vs. 1080p on the Pi● ~$50 vs. ~$35

Page 11: Intro to BeagleBone Black - Root CentralBeagleBone Black vs. Raspberry Pi Better real-time control – Two 200MHz, 32-bit RISC programmable real-time units (PRUs), optimized for single-cycle

Programming

● Shell– IO pins presented as a virtual filesystem

● Python– Adafruit's BeagleBone IO library

● Javascript– BoneScript (Node.js library)

– Cloud9 web-based IDE

Page 12: Intro to BeagleBone Black - Root CentralBeagleBone Black vs. Raspberry Pi Better real-time control – Two 200MHz, 32-bit RISC programmable real-time units (PRUs), optimized for single-cycle

Resources

Getting Started with BeagleBone:

Linux-Powered Electronics Projects with Python and Javascript

Matt Richardson

Page 13: Intro to BeagleBone Black - Root CentralBeagleBone Black vs. Raspberry Pi Better real-time control – Two 200MHz, 32-bit RISC programmable real-time units (PRUs), optimized for single-cycle

Resources

Exploring BeagleBone:

Tools and Techniques for Building with Embedded Linux

Derek Malloy

Page 14: Intro to BeagleBone Black - Root CentralBeagleBone Black vs. Raspberry Pi Better real-time control – Two 200MHz, 32-bit RISC programmable real-time units (PRUs), optimized for single-cycle

Video:The Making Of BeagleBone Black

https://www.youtube.com/watch?feature=player_embedded&v=FcqQvH41OR4

Page 15: Intro to BeagleBone Black - Root CentralBeagleBone Black vs. Raspberry Pi Better real-time control – Two 200MHz, 32-bit RISC programmable real-time units (PRUs), optimized for single-cycle

Live demo time!