The Beagle Bone by Mark A. Yoder [email protected].
-
Upload
heather-lucas -
Category
Documents
-
view
213 -
download
0
Transcript of The Beagle Bone by Mark A. Yoder [email protected].
![Page 2: The Beagle Bone by Mark A. Yoder Mark.A.Yoder@Rose-Hulman.edu.](https://reader035.fdocuments.us/reader035/viewer/2022081603/56649dd95503460f94acf30f/html5/thumbnails/2.jpg)
Boris• …speaks for himself• Watch carefully
![Page 3: The Beagle Bone by Mark A. Yoder Mark.A.Yoder@Rose-Hulman.edu.](https://reader035.fdocuments.us/reader035/viewer/2022081603/56649dd95503460f94acf30f/html5/thumbnails/3.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022081603/56649dd95503460f94acf30f/html5/thumbnails/4.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022081603/56649dd95503460f94acf30f/html5/thumbnails/5.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022081603/56649dd95503460f94acf30f/html5/thumbnails/6.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022081603/56649dd95503460f94acf30f/html5/thumbnails/7.jpg)
![Page 8: The Beagle Bone by Mark A. Yoder Mark.A.Yoder@Rose-Hulman.edu.](https://reader035.fdocuments.us/reader035/viewer/2022081603/56649dd95503460f94acf30f/html5/thumbnails/8.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022081603/56649dd95503460f94acf30f/html5/thumbnails/9.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022081603/56649dd95503460f94acf30f/html5/thumbnails/10.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022081603/56649dd95503460f94acf30f/html5/thumbnails/11.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022081603/56649dd95503460f94acf30f/html5/thumbnails/12.jpg)
Introducing…
![Page 13: The Beagle Bone by Mark A. Yoder Mark.A.Yoder@Rose-Hulman.edu.](https://reader035.fdocuments.us/reader035/viewer/2022081603/56649dd95503460f94acf30f/html5/thumbnails/13.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022081603/56649dd95503460f94acf30f/html5/thumbnails/14.jpg)
BeagleBoard x15
![Page 15: The Beagle Bone by Mark A. Yoder Mark.A.Yoder@Rose-Hulman.edu.](https://reader035.fdocuments.us/reader035/viewer/2022081603/56649dd95503460f94acf30f/html5/thumbnails/15.jpg)
x15
![Page 16: The Beagle Bone by Mark A. Yoder Mark.A.Yoder@Rose-Hulman.edu.](https://reader035.fdocuments.us/reader035/viewer/2022081603/56649dd95503460f94acf30f/html5/thumbnails/16.jpg)
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 17: The Beagle Bone by Mark A. Yoder Mark.A.Yoder@Rose-Hulman.edu.](https://reader035.fdocuments.us/reader035/viewer/2022081603/56649dd95503460f94acf30f/html5/thumbnails/17.jpg)
The Community• eLinux.org• BeagleBoard.org• Google Group• IRC
![Page 18: The Beagle Bone by Mark A. Yoder Mark.A.Yoder@Rose-Hulman.edu.](https://reader035.fdocuments.us/reader035/viewer/2022081603/56649dd95503460f94acf30f/html5/thumbnails/18.jpg)
20
Projects
http://www.youtube.com/watch?v=NJk81eCuqu0
![Page 19: The Beagle Bone by Mark A. Yoder Mark.A.Yoder@Rose-Hulman.edu.](https://reader035.fdocuments.us/reader035/viewer/2022081603/56649dd95503460f94acf30f/html5/thumbnails/19.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022081603/56649dd95503460f94acf30f/html5/thumbnails/20.jpg)
• "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.](https://reader035.fdocuments.us/reader035/viewer/2022081603/56649dd95503460f94acf30f/html5/thumbnails/21.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022081603/56649dd95503460f94acf30f/html5/thumbnails/22.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022081603/56649dd95503460f94acf30f/html5/thumbnails/23.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022081603/56649dd95503460f94acf30f/html5/thumbnails/24.jpg)
Cape Expansion Headers
![Page 25: The Beagle Bone by Mark A. Yoder Mark.A.Yoder@Rose-Hulman.edu.](https://reader035.fdocuments.us/reader035/viewer/2022081603/56649dd95503460f94acf30f/html5/thumbnails/25.jpg)
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 26: The Beagle Bone by Mark A. Yoder Mark.A.Yoder@Rose-Hulman.edu.](https://reader035.fdocuments.us/reader035/viewer/2022081603/56649dd95503460f94acf30f/html5/thumbnails/26.jpg)
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 27: The Beagle Bone by Mark A. Yoder Mark.A.Yoder@Rose-Hulman.edu.](https://reader035.fdocuments.us/reader035/viewer/2022081603/56649dd95503460f94acf30f/html5/thumbnails/27.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022081603/56649dd95503460f94acf30f/html5/thumbnails/28.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022081603/56649dd95503460f94acf30f/html5/thumbnails/29.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022081603/56649dd95503460f94acf30f/html5/thumbnails/30.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022081603/56649dd95503460f94acf30f/html5/thumbnails/31.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022081603/56649dd95503460f94acf30f/html5/thumbnails/32.jpg)
Derek Molloy
http://derekmolloy.ie/beaglebone/
![Page 35: The Beagle Bone by Mark A. Yoder Mark.A.Yoder@Rose-Hulman.edu.](https://reader035.fdocuments.us/reader035/viewer/2022081603/56649dd95503460f94acf30f/html5/thumbnails/35.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022081603/56649dd95503460f94acf30f/html5/thumbnails/36.jpg)
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