Connecting Hardware to the Web with the BeagleBone
Upcoming SlideShare
Loading in...5
×
 

Connecting Hardware to the Web with the BeagleBone

on

  • 1,528 views

Introduction to the BeagleBone and demo of a simple project that connects LEDs and a push button switch to a web page. This was presented at the first Pi Masters meetup.

Introduction to the BeagleBone and demo of a simple project that connects LEDs and a push button switch to a web page. This was presented at the first Pi Masters meetup.

Statistics

Views

Total Views
1,528
Views on SlideShare
1,526
Embed Views
2

Actions

Likes
1
Downloads
48
Comments
0

1 Embed 2

https://twitter.com 2

Accessibility

Categories

Upload Details

Uploaded via as OpenOffice

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • Use Firefox - not Chrome <br />
  • pinMode() - set whether a pin is an input or output <br /> digitalWrite() - set a pin to high or low <br /> digitalRead() - read whether a pin is high or low <br /> analogWrite() - set the PWM period and duration <br /> analogRead() - sample an ADC <br /> readTextFile() - read a Linux kernel driver&apos;s sysfs file (or any other file) <br /> writeTextFile() - write to a sysfs file to interact with a Linux kernel driver <br />

Connecting Hardware to the Web with the BeagleBone Connecting Hardware to the Web with the BeagleBone Presentation Transcript

  • 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