the beagle bone - github pagesbeagleboard.github.io/bone101/examples/extras/markayoder/the...

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

Upload: phungnhan

Post on 23-Mar-2018

259 views

Category:

Documents


3 download

TRANSCRIPT

Page 1: The Beagle Bone - GitHub Pagesbeagleboard.github.io/bone101/examples/extras/MarkAYoder/The Beag… · BeagleBone Family BeagleBoard BeagleBoard-xM BeagleBone BeagleBone Black Board

The Beagle Boneby Mark A. Yoder

[email protected]

Page 2: The Beagle Bone - GitHub Pagesbeagleboard.github.io/bone101/examples/extras/MarkAYoder/The Beag… · BeagleBone Family BeagleBoard BeagleBoard-xM BeagleBone BeagleBone Black Board

Boris• …speaks for himself• Watch carefully

Page 3: The Beagle Bone - GitHub Pagesbeagleboard.github.io/bone101/examples/extras/MarkAYoder/The Beag… · BeagleBone Family BeagleBoard BeagleBoard-xM BeagleBone BeagleBone Black Board

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

Page 4: The Beagle Bone - GitHub Pagesbeagleboard.github.io/bone101/examples/extras/MarkAYoder/The Beag… · BeagleBone Family BeagleBoard BeagleBoard-xM BeagleBone BeagleBone Black Board

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 - GitHub Pagesbeagleboard.github.io/bone101/examples/extras/MarkAYoder/The Beag… · BeagleBone Family BeagleBoard BeagleBoard-xM BeagleBone BeagleBone Black Board

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. Return to browser window with START.htm and scroll

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

5. Explore.6. Click on the title Cloud9 IDE

(http://192.168.7.2:3000).7. Continue with lab handouts.

Page 6: The Beagle Bone - GitHub Pagesbeagleboard.github.io/bone101/examples/extras/MarkAYoder/The Beag… · BeagleBone Family BeagleBoard BeagleBoard-xM BeagleBone BeagleBone Black Board

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

ClickCloud9 IDE

Page 7: The Beagle Bone - GitHub Pagesbeagleboard.github.io/bone101/examples/extras/MarkAYoder/The Beag… · BeagleBone Family BeagleBoard BeagleBoard-xM BeagleBone BeagleBone Black Board
Page 8: The Beagle Bone - GitHub Pagesbeagleboard.github.io/bone101/examples/extras/MarkAYoder/The Beag… · BeagleBone Family BeagleBoard BeagleBoard-xM BeagleBone BeagleBone Black Board

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

Page 9: The Beagle Bone - GitHub Pagesbeagleboard.github.io/bone101/examples/extras/MarkAYoder/The Beag… · BeagleBone Family BeagleBoard BeagleBoard-xM BeagleBone BeagleBone Black Board

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 - GitHub Pagesbeagleboard.github.io/bone101/examples/extras/MarkAYoder/The Beag… · BeagleBone Family BeagleBoard BeagleBoard-xM BeagleBone BeagleBone Black Board

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 17 years running

o US News & World Report

• #4 ranking Brookings Institute• All students have laptops

Page 11: The Beagle Bone - GitHub Pagesbeagleboard.github.io/bone101/examples/extras/MarkAYoder/The Beag… · BeagleBone Family BeagleBoard BeagleBoard-xM BeagleBone BeagleBone Black Board

Family

Page 12: The Beagle Bone - GitHub Pagesbeagleboard.github.io/bone101/examples/extras/MarkAYoder/The Beag… · BeagleBone Family BeagleBoard BeagleBoard-xM BeagleBone BeagleBone Black Board
Page 13: The Beagle Bone - GitHub Pagesbeagleboard.github.io/bone101/examples/extras/MarkAYoder/The Beag… · BeagleBone Family BeagleBoard BeagleBoard-xM BeagleBone BeagleBone Black Board

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 14: The Beagle Bone - GitHub Pagesbeagleboard.github.io/bone101/examples/extras/MarkAYoder/The Beag… · BeagleBone Family BeagleBoard BeagleBoard-xM BeagleBone BeagleBone Black Board

Introducing…

Page 15: The Beagle Bone - GitHub Pagesbeagleboard.github.io/bone101/examples/extras/MarkAYoder/The Beag… · BeagleBone Family BeagleBoard BeagleBoard-xM BeagleBone BeagleBone Black Board

BeagleBone FamilyBeagleBoard BeagleBoard-xM BeagleBone BeagleBone Black

Board

Quick summary

The original openhardware, ARM-baseddevelopment board

All features of the originalBeagleBoard with extra

memory

Low-cost, open-source community

platform with plug-inboard expansion

Next-generationBeagleBone featuring

1-GHz processor

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

Special features

2D/3D graphicsaccelerator,

HD video capable, USBpowered

1-GHz processing power,Four- port hub with

10/100 Ethernet

USB-powered, 10/100Ethernet, USB JTAG

2G/4G eMMC, onboardHDMI, USB, Ethernet and

HDMI interfaces

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

Page 16: The Beagle Bone - GitHub Pagesbeagleboard.github.io/bone101/examples/extras/MarkAYoder/The Beag… · BeagleBone Family BeagleBoard BeagleBoard-xM BeagleBone BeagleBone Black Board

BeagleBoard x15

Page 17: The Beagle Bone - GitHub Pagesbeagleboard.github.io/bone101/examples/extras/MarkAYoder/The Beag… · BeagleBone Family BeagleBoard BeagleBoard-xM BeagleBone BeagleBone Black Board

x15

Page 18: The Beagle Bone - GitHub Pagesbeagleboard.github.io/bone101/examples/extras/MarkAYoder/The Beag… · BeagleBone Family BeagleBoard BeagleBoard-xM BeagleBone BeagleBone Black Board

Capes expand BeagleBoneBreadboard Breakout LCD DVI-D CANBus

ProfibusRS232 RS485

7”, 4.3” or 3.5”

VGA Battery

CAN Proto RF-CC1101CC2500CC2530

Weather Camera

LVDSBeBoPr 3D Printer

RadarAudioDVI-D w/Audio

Page 19: The Beagle Bone - GitHub Pagesbeagleboard.github.io/bone101/examples/extras/MarkAYoder/The Beag… · BeagleBone Family BeagleBoard BeagleBoard-xM BeagleBone BeagleBone Black Board

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

o beagleboard.org/newsletter-subscribeo beagleboard.org/getting-started

Page 20: The Beagle Bone - GitHub Pagesbeagleboard.github.io/bone101/examples/extras/MarkAYoder/The Beag… · BeagleBone Family BeagleBoard BeagleBoard-xM BeagleBone BeagleBone Black Board

22

Projects

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

Page 21: The Beagle Bone - GitHub Pagesbeagleboard.github.io/bone101/examples/extras/MarkAYoder/The Beag… · BeagleBone Family BeagleBoard BeagleBoard-xM BeagleBone BeagleBone Black Board

LabVIEW

Page 22: The Beagle Bone - GitHub Pagesbeagleboard.github.io/bone101/examples/extras/MarkAYoder/The Beag… · BeagleBone Family BeagleBoard BeagleBoard-xM BeagleBone BeagleBone Black Board

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

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

Page 23: The Beagle Bone - GitHub Pagesbeagleboard.github.io/bone101/examples/extras/MarkAYoder/The Beag… · BeagleBone Family BeagleBoard BeagleBoard-xM BeagleBone BeagleBone Black Board

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 24: The Beagle Bone - GitHub Pagesbeagleboard.github.io/bone101/examples/extras/MarkAYoder/The Beag… · BeagleBone Family BeagleBoard BeagleBoard-xM BeagleBone BeagleBone Black Board

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 25: The Beagle Bone - GitHub Pagesbeagleboard.github.io/bone101/examples/extras/MarkAYoder/The Beag… · BeagleBone Family BeagleBoard BeagleBoard-xM BeagleBone BeagleBone Black Board

Cape Expansion Headers

Page 26: The Beagle Bone - GitHub Pagesbeagleboard.github.io/bone101/examples/extras/MarkAYoder/The Beag… · BeagleBone Family BeagleBoard BeagleBoard-xM BeagleBone BeagleBone Black Board

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 - GitHub Pagesbeagleboard.github.io/bone101/examples/extras/MarkAYoder/The Beag… · BeagleBone Family BeagleBoard BeagleBoard-xM BeagleBone BeagleBone Black Board

BoneScript• Familiar Arduino function calls……exported to the browser• Buttons will run code in your broswer that will impact

the LEDs on your BeagleBone• The exact code used in the browser is given

o digitalWrite()o digitalRead()o analogRead()o attachInterrupt()o readTextFile()o writeTextFile()

http://bone/Support/bone101/

Page 28: The Beagle Bone - GitHub Pagesbeagleboard.github.io/bone101/examples/extras/MarkAYoder/The Beag… · BeagleBone Family BeagleBoard BeagleBoard-xM BeagleBone BeagleBone Black Board

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 29: The Beagle Bone - GitHub Pagesbeagleboard.github.io/bone101/examples/extras/MarkAYoder/The Beag… · BeagleBone Family BeagleBoard BeagleBoard-xM BeagleBone BeagleBone Black Board

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 30: The Beagle Bone - GitHub Pagesbeagleboard.github.io/bone101/examples/extras/MarkAYoder/The Beag… · BeagleBone Family BeagleBoard BeagleBoard-xM BeagleBone BeagleBone Black Board

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

Page 31: The Beagle Bone - GitHub Pagesbeagleboard.github.io/bone101/examples/extras/MarkAYoder/The Beag… · BeagleBone Family BeagleBoard BeagleBoard-xM BeagleBone BeagleBone Black Board

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 32: The Beagle Bone - GitHub Pagesbeagleboard.github.io/bone101/examples/extras/MarkAYoder/The Beag… · BeagleBone Family BeagleBoard BeagleBoard-xM BeagleBone BeagleBone Black Board

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:ECE597)• Texts• Community

[email protected]

Page 33: The Beagle Bone - GitHub Pagesbeagleboard.github.io/bone101/examples/extras/MarkAYoder/The Beag… · BeagleBone Family BeagleBoard BeagleBoard-xM BeagleBone BeagleBone Black Board

Derek Molloy

http://derekmolloy.ie/beaglebone/

Page 34: The Beagle Bone - GitHub Pagesbeagleboard.github.io/bone101/examples/extras/MarkAYoder/The Beag… · BeagleBone Family BeagleBoard BeagleBoard-xM BeagleBone BeagleBone Black Board

eLinux.org

http://elinux.org/Category:ECE497

Page 35: The Beagle Bone - GitHub Pagesbeagleboard.github.io/bone101/examples/extras/MarkAYoder/The Beag… · BeagleBone Family BeagleBoard BeagleBoard-xM BeagleBone BeagleBone Black Board

Supporting Texts

Page 36: The Beagle Bone - GitHub Pagesbeagleboard.github.io/bone101/examples/extras/MarkAYoder/The Beag… · BeagleBone Family BeagleBoard BeagleBoard-xM BeagleBone BeagleBone Black Board

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

$45/$55

Page 37: The Beagle Bone - GitHub Pagesbeagleboard.github.io/bone101/examples/extras/MarkAYoder/The Beag… · BeagleBone Family BeagleBoard BeagleBoard-xM BeagleBone BeagleBone Black Board

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