the beagle bone by mark a. yoder [email protected]

36
The Beagle Bone by Mark A. Yoder [email protected]

Upload: heather-lucas

Post on 20-Jan-2016

213 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: The Beagle Bone by Mark A. Yoder Mark.A.Yoder@Rose-Hulman.edu

The Beagle Boneby Mark A. Yoder

[email protected]

Page 2: The Beagle Bone by Mark A. Yoder Mark.A.Yoder@Rose-Hulman.edu

Boris• …speaks for himself• Watch carefully

Page 3: The Beagle Bone by Mark A. Yoder Mark.A.Yoder@Rose-Hulman.edu

What did you see?• Small Size• Powered by USB• Fast to boot• Easy to add audio• Network over USB• USB drive• Web server• Integrated Development Environment• Speech synthesis• Linux command line

Page 4: The Beagle Bone by Mark A. Yoder Mark.A.Yoder@Rose-Hulman.edu

Overview• Me - Out-of-the-box• You – Out-of-the-box• Introductions

o Meo Black Bone

• Technical Details• You – More Labs• Teaching with the Bone• Questions and Wrap Up

Page 5: The Beagle Bone by Mark A. Yoder Mark.A.Yoder@Rose-Hulman.edu

You – Out-of-the-boxGetting Started1. Plug the BeagleBone into your computer via USB.2. Open the new drive that appears.3. Open START.htm with Chrome or Firefox.4. Install driver for your OS. (You’ll have to click Install

several times.)5. Return to browser window with START.htm and scroll

down to Step 3 to find http://192.168.7.2 and click on it.

6. Explore.7. Click on the title Cloud9 IDE (http://192.168.7.2:3000).8. Continue with lab handouts.

Page 6: The Beagle Bone by Mark A. Yoder Mark.A.Yoder@Rose-Hulman.edu

Cloud 9 IDE• Zero-install integrated development environment• Go to http://192.168.7.2:3000

Click Cloud9 IDE

Page 7: The Beagle Bone by Mark A. Yoder Mark.A.Yoder@Rose-Hulman.edu
Page 8: The Beagle Bone by Mark A. Yoder Mark.A.Yoder@Rose-Hulman.edu

Labs• 01 Blink an LED• 02 Read a switch• 03 Networking• 03 SensorTag (IoT)• 04 Read a variable resistor (optional)• 05 Turn a servo motor (optional)

Page 9: The Beagle Bone by Mark A. Yoder Mark.A.Yoder@Rose-Hulman.edu

Overview• Me - Out-of-the-box• You – Out-of-the-box• Introductions

o Meo Black Bone

• Technical Details• You – More Labs• Teaching with the Bone• Questions and Wrap Up

Page 10: The Beagle Bone by Mark A. Yoder Mark.A.Yoder@Rose-Hulman.edu

Rose-Hulman Institute of

Technology• Private engineering school• About 2000 students• Teaching• Don’t grant PhDs

• Small masters program• Terre Haute, Indiana, USA• #1 ranking 16 years running

o US News & World Report

• #4 ranking Brookings Institute• All students have laptops

Page 11: The Beagle Bone by Mark A. Yoder Mark.A.Yoder@Rose-Hulman.edu

Overview• Me - Out-of-the-box• You – Out-of-the-box• Introductions

o Meo Black Bone

• Technical Details• You – More Labs• Teaching with the Bone• Questions and Wrap Up

Page 12: The Beagle Bone by Mark A. Yoder Mark.A.Yoder@Rose-Hulman.edu

Introducing…

Page 13: The Beagle Bone by Mark A. Yoder Mark.A.Yoder@Rose-Hulman.edu

BeagleBone FamilyBeagleBoard BeagleBoard-xM BeagleBone BeagleBone Black

Board

Quick summary

The original open hardware, ARM-based development board

All features of the original

BeagleBoard with extra memory

Low-cost, open-source community

platform with plug-in board expansion

Next-generation BeagleBone featuring

1-GHz processor

Memory 256KB L2 cache 512MB DDR2 256MB DDR2 512MB DDR3

Special features

2D/3D graphics accelerator,

HD video capable, USB powered

1-GHz processing power, Four- port hub with 10/100 Ethernet

USB-powered, 10/100 Ethernet, USB JTAG

2G/4G eMMC, onboard HDMI, USB, Ethernet and HDMI interfaces

Price($U.S.) $129 $149 $89 $45/$55

Page 14: The Beagle Bone by Mark A. Yoder Mark.A.Yoder@Rose-Hulman.edu

BeagleBoard x15

Page 15: The Beagle Bone by Mark A. Yoder Mark.A.Yoder@Rose-Hulman.edu

x15

Page 17: The Beagle Bone by Mark A. Yoder Mark.A.Yoder@Rose-Hulman.edu

The Community• eLinux.org• BeagleBoard.org• Google Group• IRC

Page 18: The Beagle Bone by Mark A. Yoder Mark.A.Yoder@Rose-Hulman.edu

20

Projects

http://www.youtube.com/watch?v=NJk81eCuqu0

Page 19: The Beagle Bone by Mark A. Yoder Mark.A.Yoder@Rose-Hulman.edu

Replicape is a 3D printer cape for BeagleBoneFeatures include:- 5 stepper motors (2.5A DRV8825) (X, Y, Z, Ext1, Ext2)- 3 high power MOSFETs (PWM controlled) for 2 extruders and 1 HPB. (12..24V)- 3 medium power MOSFETs (PWM controlled) for up to 3 fans/LED strips. (12V)- 3 analog input ports for thermistors. noise-filtered inputs and option for shielding- 6 inputs for end stops (X, Y, Z).- 1 bus for Dallas 1W temperature sensor for monitoring the cold end. Many sensors can be added to ne bus.

- Option for stackable LCD cape (LCD3). HDMI compatible LCD on the way.- Single 12 to 24V PSU, fans are still 12V.- Comptabile with BeagleBone and BeagleBone Black.- Open source hard ware and software.- Software written in Python for maintainability and hackability.

http://www.youtube.com/watch?feature=player_embedded&v=7Sxl5geo10w

Page 20: The Beagle Bone by Mark A. Yoder Mark.A.Yoder@Rose-Hulman.edu

• "OpenROV is a Do It Yourself telerobotics community centered around underwater exploration and education”

• There is an OpenROV Cape http://circuitco.com/support/index.php?title=BeagleBone_ROV

Page 21: The Beagle Bone by Mark A. Yoder Mark.A.Yoder@Rose-Hulman.edu

Overview• Me - Out-of-the-box• You – Out-of-the-box• Introductions

o Meo Black Bone

• Technical Details• You – More Labs• Teaching with the Bone• Questions and Wrap Up

Page 22: The Beagle Bone by Mark A. Yoder Mark.A.Yoder@Rose-Hulman.edu

Technical Details• Hardware

o System on Chipo Pin Outs

• Softwareo Quick to learn – BoneScripto Easy to use – Shell Scriptso Powerful – C

http://bone/Support/bone101/

Page 23: The Beagle Bone by Mark A. Yoder Mark.A.Yoder@Rose-Hulman.edu

BeagleBone Black-ready to use for

$45/$55

26

Boot Button

Reset Button

LEDS

10/100 Ethernet

DC Power

USB Client

Serial Debug

USB Host

microHDMI

microSDExpansion slot for additional storage

2 or 4 GB on-board storage using eMMC• Pre-loaded with

Debian Linux Distribution

• 8-bit bus accelerates performance

• Frees the microSD slot to be used for additional storage for a less expensive solution than SD cards

1 GHz Sitara AM335x ARM® Cortex™-A8 processor

Easily connects to almost any everyday device such as mouse or keyboard

512MB DDR3Faster, lower power RAM for enhanced user-friendly experience

Provides a more advanced user interface and up to 150% better performance than ARM11

Connect directly to monitors and TVs

Development interface and directly powers board from PC

Expansionheaders

Enable cape hardware and include:• 65 digital I/O• 7 analog in• 4 serial• 2 SPI• 2 I2C• 8 PWMs• 4 timers• And much much more!

Power Button

Included in price:

• Power supply ~ $10• USB network cable ~ $3

• 2GB on-board storage $5-$10• PRU for real-time tasks typically on FPGA ~ $20

Page 24: The Beagle Bone by Mark A. Yoder Mark.A.Yoder@Rose-Hulman.edu

Cape Expansion Headers

Page 25: The Beagle Bone by Mark A. Yoder Mark.A.Yoder@Rose-Hulman.edu

Technical Details• Hardware

o System on Chipo Pin Outs

• Softwareo Quick to learn – BoneScripto Easy to use – Shell Scriptso Powerful – C

http://bone/Support/bone101/

Page 27: The Beagle Bone by Mark A. Yoder Mark.A.Yoder@Rose-Hulman.edu

Other Languages• Out-of-the-box the bone can run

o Co C++o basho perlo Pythono JavaScript

• Go, Java, Ruby, Erlang and many, many, many more are very easy to install

Page 28: The Beagle Bone by Mark A. Yoder Mark.A.Yoder@Rose-Hulman.edu

Overview• Me - Out-of-the-box• You – Out-of-the-box• Introductions

o Meo Black Bone

• Technical Details• You – More Labs• Teaching with the Bone• Questions and Wrap Up

Page 29: The Beagle Bone by Mark A. Yoder Mark.A.Yoder@Rose-Hulman.edu

Continue with Labs• 01 Blink an LED• 02 Read a switch• 03 Networking• 03 SensorTag (IoT)• 04 Read a variable resistor (optional)• 05 Turn a servo motor (optional)

Page 30: The Beagle Bone by Mark A. Yoder Mark.A.Yoder@Rose-Hulman.edu

Overview• Me - Out-of-the-box• You – Out-of-the-box• Introductions

o Meo Black Bone

• Technical Details• You – More Labs• Teaching with the Bone• Questions and Wrap Up

Page 31: The Beagle Bone by Mark A. Yoder Mark.A.Yoder@Rose-Hulman.edu

Teaching with the Bone

• How do you get going?• Attend a tutorial• Derek Molloy (http://derekmolloy.ie/beaglebone/• Yoder’s wiki (http://elinux.org/Category:ECE497)• Texts• Community

Page 32: The Beagle Bone by Mark A. Yoder Mark.A.Yoder@Rose-Hulman.edu

Derek Molloy

http://derekmolloy.ie/beaglebone/

Page 33: The Beagle Bone by Mark A. Yoder Mark.A.Yoder@Rose-Hulman.edu

eLinux.org

http://elinux.org/Category:ECE497

Page 34: The Beagle Bone by Mark A. Yoder Mark.A.Yoder@Rose-Hulman.edu

Supporting Texts

Page 35: The Beagle Bone by Mark A. Yoder Mark.A.Yoder@Rose-Hulman.edu

Questions?• Small• Inexpensive• Standard interfaces• Expandable• Big support community• Powerful• Easy to use• Low power• •

$45/$55

Page 36: The Beagle Bone by Mark A. Yoder Mark.A.Yoder@Rose-Hulman.edu

Overview• [email protected]• Me - Out-of-the-box• You – Out-of-the-box• Introductions

o Meo Black Bone

• Technical Details• You – More Labs• Teaching with the Bone• Questions and Wrap Up