SlideShare a Scribd company logo
1 of 13
Connecting Hardware to the Web
with the BeagleBone
Frank Hunleth
Twitter: @fhunleth
Pi Masters Meetup 11/21/13
What!?!?! This isn't a Raspberry Pi?

≠

But, they're both low cost Linux-based ARM platforms
used and supported by many people just like us
Nuts & Bolts
●

Fast
–
–

●

1 GHz ARM Cortex A8
Two 200 MHz
microcontrollers (super cool!)

Lots of memory
–
–

●

512 MB DRAM
2 GB Flash and MicroSD card
slot

Connects to everything
–

Ethernet, USB, HDMI

–

Tons of I/Os via the 2 46 pin
headers
What You “Need”
●

Black vs. white → Get the BeagleBone Black (BBB)

●

FTDI cable

●

Wired Ethernet*

●

4 GB+ MicroSD card

●

Memory card reader

●

5V power brick
Options!
●

Which OS?
–
–

Ubuntu Linux - lots of users

–

Buildroot - my favorite

–
●

Angstrom Linux - default

Bare metal - OSs are for wimps

Which language?
–

Javascript (node.js) - most support especially for new users

–

Python - lots of users, but not as popular as on the RPi

–

C/C++ - only option for some features

–

Assembly language - embedded microcontroller programming

–

Erlang - :-)
Connecting to the BeagleBone
●

Ethernet
–
–

Webserver with docs and helpful links

–
●

ssh (user: root, password: root)
Cloud9 editor at http://beaglebone:3000/

USB cable
–
–

●

Just plug the USB cable into your PC for power
BeagleBone shows up as a network adapter

FTDI cable
–

Looks like a serial port on your PC (115200 8N1)

–

Super helpful for debugging networking or boot issues
Cloud9
BoneScript
●

Arduino-like library, but Javascript for Node.js

●

http://beagleboard.org/Support/BoneScript/
pinMode()
digitalWrite()
digitalRead()
analogWrite()
analogRead()
readTextFile()
writeTextFile()
Demo Demo Demo
Demo Schematic
Code Walk-through
●

https://github.com/fhunleth/pimasters-bbb-demo
Going Further
BeagleBone capes
– Tons of pre-made daughterboards available
– Custom ones are not that hard to make!
● BeagleBone microcontroller programming
– Real-time logic
– Assembly language (but not too hard)
● Nerves
– My project for using the Erlang programming language to build
embedded systems
– http://nerves-project.org/
●
Connecting Hardware to the Web
with the BeagleBone
Frank Hunleth
Twitter: @fhunleth
Pi Masters Meetup 11/21/13

More Related Content

What's hot

Exploring Raspberry Pi
Exploring Raspberry PiExploring Raspberry Pi
Exploring Raspberry Pi
Lentin Joseph
 

What's hot (20)

Introduction to beagle board
Introduction to beagle boardIntroduction to beagle board
Introduction to beagle board
 
Beagle board101 esc-boston-2009b
Beagle board101 esc-boston-2009bBeagle board101 esc-boston-2009b
Beagle board101 esc-boston-2009b
 
Beaglebone And Android
Beaglebone And AndroidBeaglebone And Android
Beaglebone And Android
 
Single Board Computers & Raspberry Pi Basics
Single Board Computers & Raspberry Pi BasicsSingle Board Computers & Raspberry Pi Basics
Single Board Computers & Raspberry Pi Basics
 
Exploring the ABC's of Raspberry Pi with Python
Exploring the ABC's of Raspberry Pi with PythonExploring the ABC's of Raspberry Pi with Python
Exploring the ABC's of Raspberry Pi with Python
 
Exploring the abc's of raspberry pi and python(day 2)
Exploring the abc's of raspberry pi and python(day 2)Exploring the abc's of raspberry pi and python(day 2)
Exploring the abc's of raspberry pi and python(day 2)
 
Getting Started with Raspberry Pi
Getting Started with Raspberry PiGetting Started with Raspberry Pi
Getting Started with Raspberry Pi
 
Up and running with Raspberry Pi
Up and running with Raspberry PiUp and running with Raspberry Pi
Up and running with Raspberry Pi
 
Exploring Raspberry Pi
Exploring Raspberry PiExploring Raspberry Pi
Exploring Raspberry Pi
 
Asus Tinker Board
Asus Tinker BoardAsus Tinker Board
Asus Tinker Board
 
Raspberry Pi in education, resource presentation.
Raspberry Pi in education, resource presentation.Raspberry Pi in education, resource presentation.
Raspberry Pi in education, resource presentation.
 
Getting Started with Raspberry Pi and Arduino
Getting Started with Raspberry Pi and ArduinoGetting Started with Raspberry Pi and Arduino
Getting Started with Raspberry Pi and Arduino
 
Interfacing the Raspberry Pi to the World
Interfacing the Raspberry Pi to the WorldInterfacing the Raspberry Pi to the World
Interfacing the Raspberry Pi to the World
 
Raspberry Pi (Introduction)
Raspberry Pi (Introduction)Raspberry Pi (Introduction)
Raspberry Pi (Introduction)
 
Pi Is For Python
Pi Is For PythonPi Is For Python
Pi Is For Python
 
Raspberry Pi - Lecture 6 Working on Raspberry Pi
Raspberry Pi - Lecture 6 Working on Raspberry PiRaspberry Pi - Lecture 6 Working on Raspberry Pi
Raspberry Pi - Lecture 6 Working on Raspberry Pi
 
Raspberry Pi and Amateur Radio
Raspberry Pi and Amateur RadioRaspberry Pi and Amateur Radio
Raspberry Pi and Amateur Radio
 
Hardware Hacks
Hardware HacksHardware Hacks
Hardware Hacks
 
My presentation raspberry pi
My presentation raspberry piMy presentation raspberry pi
My presentation raspberry pi
 
Raspberry JAM 1 - Setup Raspberry Pi with Raspbian -Vick Nesh
Raspberry JAM 1 - Setup Raspberry Pi with Raspbian -Vick NeshRaspberry JAM 1 - Setup Raspberry Pi with Raspbian -Vick Nesh
Raspberry JAM 1 - Setup Raspberry Pi with Raspbian -Vick Nesh
 

Viewers also liked

Android Boot Time Optimization
Android Boot Time OptimizationAndroid Boot Time Optimization
Android Boot Time Optimization
Kan-Ru Chen
 
Android booting sequece and setup and debugging
Android booting sequece and setup and debuggingAndroid booting sequece and setup and debugging
Android booting sequece and setup and debugging
Utkarsh Mankad
 
Atmel 8159-8-bit-avr-microcontroller-a tmega8-a_datasheet
Atmel 8159-8-bit-avr-microcontroller-a tmega8-a_datasheetAtmel 8159-8-bit-avr-microcontroller-a tmega8-a_datasheet
Atmel 8159-8-bit-avr-microcontroller-a tmega8-a_datasheet
Arpan Saha
 
AVR Microcontroller
AVR MicrocontrollerAVR Microcontroller
AVR Microcontroller
Özcan Acar
 
Intelligent Traffic Light control using Embedded Systems
Intelligent Traffic Light control using Embedded SystemsIntelligent Traffic Light control using Embedded Systems
Intelligent Traffic Light control using Embedded Systems
Srijan Singh
 

Viewers also liked (20)

Android Meets A BeagleBone In The IoT World
Android Meets A BeagleBone In The IoT WorldAndroid Meets A BeagleBone In The IoT World
Android Meets A BeagleBone In The IoT World
 
Hardware Abstraction Layer
Hardware Abstraction LayerHardware Abstraction Layer
Hardware Abstraction Layer
 
Diving inside Android Wifi
Diving inside Android WifiDiving inside Android Wifi
Diving inside Android Wifi
 
COS: A Configurable OS for Embedded SoC Systems
COS: A Configurable OS for Embedded SoC SystemsCOS: A Configurable OS for Embedded SoC Systems
COS: A Configurable OS for Embedded SoC Systems
 
Android Boot Time Optimization
Android Boot Time OptimizationAndroid Boot Time Optimization
Android Boot Time Optimization
 
Android Custom Kernel/ROM design
Android Custom Kernel/ROM designAndroid Custom Kernel/ROM design
Android Custom Kernel/ROM design
 
HKG15-409: ARM Hibernation enablement on SoCs - a case study
HKG15-409: ARM Hibernation enablement on SoCs - a case studyHKG15-409: ARM Hibernation enablement on SoCs - a case study
HKG15-409: ARM Hibernation enablement on SoCs - a case study
 
How To Build Android for ARM Chip boards
How To Build Android for ARM Chip boardsHow To Build Android for ARM Chip boards
How To Build Android for ARM Chip boards
 
Android booting sequece and setup and debugging
Android booting sequece and setup and debuggingAndroid booting sequece and setup and debugging
Android booting sequece and setup and debugging
 
Atmel 8159-8-bit-avr-microcontroller-a tmega8-a_datasheet
Atmel 8159-8-bit-avr-microcontroller-a tmega8-a_datasheetAtmel 8159-8-bit-avr-microcontroller-a tmega8-a_datasheet
Atmel 8159-8-bit-avr-microcontroller-a tmega8-a_datasheet
 
Embedded system for traffic light control
Embedded system for traffic light controlEmbedded system for traffic light control
Embedded system for traffic light control
 
Android HAL Introduction: libhardware and its legacy
Android HAL Introduction: libhardware and its legacyAndroid HAL Introduction: libhardware and its legacy
Android HAL Introduction: libhardware and its legacy
 
Android device driver structure introduction
Android device driver structure introductionAndroid device driver structure introduction
Android device driver structure introduction
 
Learning AOSP - Android Booting Process
Learning AOSP - Android Booting ProcessLearning AOSP - Android Booting Process
Learning AOSP - Android Booting Process
 
Accessing Hardware on Android
Accessing Hardware on AndroidAccessing Hardware on Android
Accessing Hardware on Android
 
Building IoT with Arduino Day One
Building IoT with Arduino Day One Building IoT with Arduino Day One
Building IoT with Arduino Day One
 
TRAFFIC LIGHT CONTROL SYSTEM USING 8085 MICROPROCESSOR
TRAFFIC LIGHT CONTROL SYSTEM USING 8085 MICROPROCESSORTRAFFIC LIGHT CONTROL SYSTEM USING 8085 MICROPROCESSOR
TRAFFIC LIGHT CONTROL SYSTEM USING 8085 MICROPROCESSOR
 
Traffic signal control management based on integrating GIS and WSN technology
Traffic signal control management based on integrating GIS and WSN technologyTraffic signal control management based on integrating GIS and WSN technology
Traffic signal control management based on integrating GIS and WSN technology
 
AVR Microcontroller
AVR MicrocontrollerAVR Microcontroller
AVR Microcontroller
 
Intelligent Traffic Light control using Embedded Systems
Intelligent Traffic Light control using Embedded SystemsIntelligent Traffic Light control using Embedded Systems
Intelligent Traffic Light control using Embedded Systems
 

Similar to Connecting Hardware to the Web with the BeagleBone

chilug-bbone-20140118-151216015606
chilug-bbone-20140118-151216015606chilug-bbone-20140118-151216015606
chilug-bbone-20140118-151216015606
Drew Fustini
 
Raspberry Pi by Jevgeni Shatohhin
Raspberry Pi by Jevgeni ShatohhinRaspberry Pi by Jevgeni Shatohhin
Raspberry Pi by Jevgeni Shatohhin
kirillica
 
Raspberry Pi with Java
Raspberry Pi with JavaRaspberry Pi with Java
Raspberry Pi with Java
koji lin
 

Similar to Connecting Hardware to the Web with the BeagleBone (20)

chilug-bbone-20140118-151216015606
chilug-bbone-20140118-151216015606chilug-bbone-20140118-151216015606
chilug-bbone-20140118-151216015606
 
Gnu linux on arm for $50 - $100
Gnu linux on arm for $50 - $100Gnu linux on arm for $50 - $100
Gnu linux on arm for $50 - $100
 
2_RaspberryPi presentation.pptx
2_RaspberryPi presentation.pptx2_RaspberryPi presentation.pptx
2_RaspberryPi presentation.pptx
 
MinnowBoard MAX: Open Source Hardware 64-bit x86 Single Board Computer
MinnowBoard MAX: Open Source Hardware  64-bit x86 Single Board ComputerMinnowBoard MAX: Open Source Hardware  64-bit x86 Single Board Computer
MinnowBoard MAX: Open Source Hardware 64-bit x86 Single Board Computer
 
Computer architecture
Computer architectureComputer architecture
Computer architecture
 
Abc beagleboard Getting To Know It
Abc beagleboard Getting To Know ItAbc beagleboard Getting To Know It
Abc beagleboard Getting To Know It
 
02-Introduction-to-RPi.pdf
02-Introduction-to-RPi.pdf02-Introduction-to-RPi.pdf
02-Introduction-to-RPi.pdf
 
Building the ZoomFloppy (ECCC 2010)
Building the ZoomFloppy (ECCC 2010)Building the ZoomFloppy (ECCC 2010)
Building the ZoomFloppy (ECCC 2010)
 
Raspberry Pi by Jevgeni Shatohhin
Raspberry Pi by Jevgeni ShatohhinRaspberry Pi by Jevgeni Shatohhin
Raspberry Pi by Jevgeni Shatohhin
 
Raspberry Pi with Java
Raspberry Pi with JavaRaspberry Pi with Java
Raspberry Pi with Java
 
Embedded Erlang, Nerves, and SumoBots
Embedded Erlang, Nerves, and SumoBotsEmbedded Erlang, Nerves, and SumoBots
Embedded Erlang, Nerves, and SumoBots
 
Intoduction to physical computing using Raspberry Pi, 18-02-2016
Intoduction to physical computing using Raspberry Pi, 18-02-2016Intoduction to physical computing using Raspberry Pi, 18-02-2016
Intoduction to physical computing using Raspberry Pi, 18-02-2016
 
Single board computer options
Single board computer optionsSingle board computer options
Single board computer options
 
Computer Hardware
Computer HardwareComputer Hardware
Computer Hardware
 
Raspberrypi
RaspberrypiRaspberrypi
Raspberrypi
 
Tracking the International Space Station with Commodore Computers
Tracking the International Space Station with Commodore ComputersTracking the International Space Station with Commodore Computers
Tracking the International Space Station with Commodore Computers
 
[German] Boards für das IoT-Prototyping
[German] Boards für das IoT-Prototyping[German] Boards für das IoT-Prototyping
[German] Boards für das IoT-Prototyping
 
Introduction to Bus Pirate - Presentation
Introduction to Bus Pirate - PresentationIntroduction to Bus Pirate - Presentation
Introduction to Bus Pirate - Presentation
 
Apple Devices History
Apple Devices HistoryApple Devices History
Apple Devices History
 
2011 01-24 dragino
2011 01-24 dragino2011 01-24 dragino
2011 01-24 dragino
 

Recently uploaded

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
 

Recently uploaded (20)

Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 

Connecting Hardware to the Web with the BeagleBone

  • 1. Connecting Hardware to the Web with the BeagleBone Frank Hunleth Twitter: @fhunleth Pi Masters Meetup 11/21/13
  • 2. What!?!?! This isn't a Raspberry Pi? ≠ But, they're both low cost Linux-based ARM platforms used and supported by many people just like us
  • 3. Nuts & Bolts ● Fast – – ● 1 GHz ARM Cortex A8 Two 200 MHz microcontrollers (super cool!) Lots of memory – – ● 512 MB DRAM 2 GB Flash and MicroSD card slot Connects to everything – Ethernet, USB, HDMI – Tons of I/Os via the 2 46 pin headers
  • 4. What You “Need” ● Black vs. white → Get the BeagleBone Black (BBB) ● FTDI cable ● Wired Ethernet* ● 4 GB+ MicroSD card ● Memory card reader ● 5V power brick
  • 5. Options! ● Which OS? – – Ubuntu Linux - lots of users – Buildroot - my favorite – ● Angstrom Linux - default Bare metal - OSs are for wimps Which language? – Javascript (node.js) - most support especially for new users – Python - lots of users, but not as popular as on the RPi – C/C++ - only option for some features – Assembly language - embedded microcontroller programming – Erlang - :-)
  • 6. Connecting to the BeagleBone ● Ethernet – – Webserver with docs and helpful links – ● ssh (user: root, password: root) Cloud9 editor at http://beaglebone:3000/ USB cable – – ● Just plug the USB cable into your PC for power BeagleBone shows up as a network adapter FTDI cable – Looks like a serial port on your PC (115200 8N1) – Super helpful for debugging networking or boot issues
  • 8. BoneScript ● Arduino-like library, but Javascript for Node.js ● http://beagleboard.org/Support/BoneScript/ pinMode() digitalWrite() digitalRead() analogWrite() analogRead() readTextFile() writeTextFile()
  • 12. Going Further BeagleBone capes – Tons of pre-made daughterboards available – Custom ones are not that hard to make! ● BeagleBone microcontroller programming – Real-time logic – Assembly language (but not too hard) ● Nerves – My project for using the Erlang programming language to build embedded systems – http://nerves-project.org/ ●
  • 13. Connecting Hardware to the Web with the BeagleBone Frank Hunleth Twitter: @fhunleth Pi Masters Meetup 11/21/13

Editor's Notes

  1. Use Firefox - not Chrome
  2. pinMode() - set whether a pin is an input or output digitalWrite() - set a pin to high or low digitalRead() - read whether a pin is high or low analogWrite() - set the PWM period and duration analogRead() - sample an ADC readTextFile() - read a Linux kernel driver's sysfs file (or any other file) writeTextFile() - write to a sysfs file to interact with a Linux kernel driver