Taking the BeagleBone Cookbook recipes beyond BeagleBone BlackDrew Fustini
NOTE: Slides by Jason Kridner and Mark Yoder
Source: http://event.lvl3.on24.com/event/11/07/48/2/rt/1/documents/resourceList1454015491443/cookbookbeyondblack_draft.pdf
BeagleBone Black - Open Source Development Platform
Introduction :
The BeagleBone black is an embedded Linux development board that’s a credit card sized linux computer. It’s a smaller, more barebone version of BeagleBoard. Both are open source hardware and use Texas Instruments’ processors with an 1 GHz Sitara AM335x ARM® Cortex™-A8 processor, which are designed for low-power mobile devices. This BeagleBone Black Boot Linux in under 10-seconds and get started on processor development in less than 5 minutes with just a single USB cable.
BleagleBone Black comes with Angstrom Linux distrubution in onboard FLASH to start evaluation and developement. Angstrom Linux is Opkg Package based operating system, Opkg is a lightweight package management system based up on ipkg. It is written in C and resembles APT/dpkg in operaton. It is intended for use on embedded Linux devices and is used in this capacity in the OpenEmbedded and OpenWrt project and which are belongs to Google Code repository.
The software platform is based on the Angstrom GNU/Linux distribution and is equipped with a distributed file system to ease sharing data and code among the nodes of the cluster, and with tools for managing tasks and monitoring the status of each node.
Features:
The BeagleBone Black as nothing more than a small, standalone Linux computer, but the hardware is designed for use as an embedded system – a computer installed inside of a large electronics project.The main evidance of theis is in the two rows of GPIO ( general puropose Input/ Output) pins moujnted along either side of the board. These pins allow the Beaglebone Black to communicate with a wide range of sensors, servos, outputs and other hardware, letting it act as the brain of a large, complex project.
The BeagleBone Black features:
•TI Sitara AM3359 1-GHz superscalar ARM Cortex™-A8
•2x 200MHz ARM7 programmable real-time coprocessors
•512-MB DDR3L RAM
•2GB eMMC
•PowerVR SGX 530 GPU, LCD expansion header, micro HDMI
•Stereo audio-out via HDMI
•1x USB 2.0 host port
•1x USB 2.0 device port
•On-chip 10/100 Ethernet, not off of USB
•MicroSD slot
•Add-on "capes" for expansion, compatible with original Bone capes
•1 power LED and 4 user controllable LEDs via GPIO
•Industry standard 3.3V I/Os on the expansion headers with easy-to-use 0.1" spacing
•Multiple I/O bus: GPMC (nand), MMC, SPI, I2C, CAN, McASP, MMC, 4 Timers, XDMA interrupt
•5 serial ports (1 via debug header, 4 more on side headers)
•65 GPIO pins
•8 PWM outputs
•7 12-bit A/D converters (1.8V max)
•Board size: 3.4” × 2.1”
Pinout:
Beagle Bone Black’s Capabilites can be extended using plug-in boards called “capes” that can be plugged into BeagleBone Black’s two 46-pin dual-row expansion headers. Capes are avilable for, VGA, LCD, motor control, prototyping, battery power and other functionality. Power consumption is also lower, with the board only req
Connecting Hardware to the Web with the BeagleBoneFrank Hunleth
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.
Taking the BeagleBone Cookbook recipes beyond BeagleBone BlackDrew Fustini
NOTE: Slides by Jason Kridner and Mark Yoder
Source: http://event.lvl3.on24.com/event/11/07/48/2/rt/1/documents/resourceList1454015491443/cookbookbeyondblack_draft.pdf
BeagleBone Black - Open Source Development Platform
Introduction :
The BeagleBone black is an embedded Linux development board that’s a credit card sized linux computer. It’s a smaller, more barebone version of BeagleBoard. Both are open source hardware and use Texas Instruments’ processors with an 1 GHz Sitara AM335x ARM® Cortex™-A8 processor, which are designed for low-power mobile devices. This BeagleBone Black Boot Linux in under 10-seconds and get started on processor development in less than 5 minutes with just a single USB cable.
BleagleBone Black comes with Angstrom Linux distrubution in onboard FLASH to start evaluation and developement. Angstrom Linux is Opkg Package based operating system, Opkg is a lightweight package management system based up on ipkg. It is written in C and resembles APT/dpkg in operaton. It is intended for use on embedded Linux devices and is used in this capacity in the OpenEmbedded and OpenWrt project and which are belongs to Google Code repository.
The software platform is based on the Angstrom GNU/Linux distribution and is equipped with a distributed file system to ease sharing data and code among the nodes of the cluster, and with tools for managing tasks and monitoring the status of each node.
Features:
The BeagleBone Black as nothing more than a small, standalone Linux computer, but the hardware is designed for use as an embedded system – a computer installed inside of a large electronics project.The main evidance of theis is in the two rows of GPIO ( general puropose Input/ Output) pins moujnted along either side of the board. These pins allow the Beaglebone Black to communicate with a wide range of sensors, servos, outputs and other hardware, letting it act as the brain of a large, complex project.
The BeagleBone Black features:
•TI Sitara AM3359 1-GHz superscalar ARM Cortex™-A8
•2x 200MHz ARM7 programmable real-time coprocessors
•512-MB DDR3L RAM
•2GB eMMC
•PowerVR SGX 530 GPU, LCD expansion header, micro HDMI
•Stereo audio-out via HDMI
•1x USB 2.0 host port
•1x USB 2.0 device port
•On-chip 10/100 Ethernet, not off of USB
•MicroSD slot
•Add-on "capes" for expansion, compatible with original Bone capes
•1 power LED and 4 user controllable LEDs via GPIO
•Industry standard 3.3V I/Os on the expansion headers with easy-to-use 0.1" spacing
•Multiple I/O bus: GPMC (nand), MMC, SPI, I2C, CAN, McASP, MMC, 4 Timers, XDMA interrupt
•5 serial ports (1 via debug header, 4 more on side headers)
•65 GPIO pins
•8 PWM outputs
•7 12-bit A/D converters (1.8V max)
•Board size: 3.4” × 2.1”
Pinout:
Beagle Bone Black’s Capabilites can be extended using plug-in boards called “capes” that can be plugged into BeagleBone Black’s two 46-pin dual-row expansion headers. Capes are avilable for, VGA, LCD, motor control, prototyping, battery power and other functionality. Power consumption is also lower, with the board only req
Connecting Hardware to the Web with the BeagleBoneFrank Hunleth
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.
Talk will be introduction of Beagle Board and building system for Embedded Linux. This system can be anyone can use for application development and testing. Where I will cover basics of ARM, fundamentals of Beagle Board, Linux booting and filesystem, Kernel basics, use of qemu and GNU toolchain.
A Review on BeagleBone Black comprising of introduction, literature review, specifications, advantages & disadvantages, future scope and an application of it.
Alex's presentation from OzKFest 2015 covers the output of serial video data from Apple IIe and IIc computers and presents hardware and software to convert that data into a USB stream that can be displayed within a window on a laptop or other device.
Find out more on Alex's blog:
http://lukazi.blogspot.com.au/search?q=A2VideoStreamer
Presentation on basics of computer programming and programming Raspberry Pi's using the Python Programming Language at the Raspberry Pi Demo Day at Toronto Reference Library on May 28, 2016.
Exploring the ABC's of Raspberry Pi with PythonShahed Mehbub
Raspberry Pi introduction and hardware details are explained in details with a thorough introduction and practice session with Python programming language.
A lot of Python Programming Language Basics are covered in this session.
Getting Started with Raspberry Pi and ArduinoChad Mairn
Arduino and Raspberry Pi are two names that get thrown around technology circles quite often, but do you know what they actually are and what they can do? Newbies and people with experience with these open source electronics will Iearn about these amazing DIY tools. An Arduino is an open-source electronics micro-board and is used to develop interactive objects. A Raspberry Pi is a low cost, credit-card sized computer that plugs into a computer monitor or TV. In this webinar you will:
• Learn what an Arduino and Raspberry Pi are
• Compare the Arduino and Raspberry Pi and determine which one is right for you
• Explore the Arduino and Raspberry Pi Development Environments
• See innovative Arduino and Raspberry Pi projects
• Start a resource kit for future project ideas
In this presentation from OzKFest 2015, I contemplate various methods to connect an Apple II host running a BBS to the internet for others to 'call' without the need for a modem.
I describe the Lantronix UDS100 serial server device and how I configured it to connect a physical Apple IIgs to the internet and show how to connect to it from an emulated Apple IIgs.
Radio related project ideas using a Raspberry Pi. Covers use of RTL SDR USB, WSPR using WsprryPi, and Packet Radio using Direwolf, ax25 and PiLinBPQ (BPR32)
OzKFest 2015 - (Solid) State of the Nationapple2europlus
My presentation at OzKFest 2015 was an overview of solid state storage options for the Apple ][, ][+, //e, IIgs and //c line of retrocomputers (with occasional mention of other machines such as early Macs and Lisas). This included both modifications/add-ons to existing interfaces and via new storage solutions. The OzKFest 2015 conference was held in Keysborough, Victoria, Australia from 17-19 April 2015.
Event: Giffoni Open Makers Day 2013
Speakers: Daniele Costarella, Mario Pucciarelli
Un'introduzione a Linux Embedded con BeagleBone Black. Concetti di base e primi esempi pratici.
Talk will be introduction of Beagle Board and building system for Embedded Linux. This system can be anyone can use for application development and testing. Where I will cover basics of ARM, fundamentals of Beagle Board, Linux booting and filesystem, Kernel basics, use of qemu and GNU toolchain.
A Review on BeagleBone Black comprising of introduction, literature review, specifications, advantages & disadvantages, future scope and an application of it.
Alex's presentation from OzKFest 2015 covers the output of serial video data from Apple IIe and IIc computers and presents hardware and software to convert that data into a USB stream that can be displayed within a window on a laptop or other device.
Find out more on Alex's blog:
http://lukazi.blogspot.com.au/search?q=A2VideoStreamer
Presentation on basics of computer programming and programming Raspberry Pi's using the Python Programming Language at the Raspberry Pi Demo Day at Toronto Reference Library on May 28, 2016.
Exploring the ABC's of Raspberry Pi with PythonShahed Mehbub
Raspberry Pi introduction and hardware details are explained in details with a thorough introduction and practice session with Python programming language.
A lot of Python Programming Language Basics are covered in this session.
Getting Started with Raspberry Pi and ArduinoChad Mairn
Arduino and Raspberry Pi are two names that get thrown around technology circles quite often, but do you know what they actually are and what they can do? Newbies and people with experience with these open source electronics will Iearn about these amazing DIY tools. An Arduino is an open-source electronics micro-board and is used to develop interactive objects. A Raspberry Pi is a low cost, credit-card sized computer that plugs into a computer monitor or TV. In this webinar you will:
• Learn what an Arduino and Raspberry Pi are
• Compare the Arduino and Raspberry Pi and determine which one is right for you
• Explore the Arduino and Raspberry Pi Development Environments
• See innovative Arduino and Raspberry Pi projects
• Start a resource kit for future project ideas
In this presentation from OzKFest 2015, I contemplate various methods to connect an Apple II host running a BBS to the internet for others to 'call' without the need for a modem.
I describe the Lantronix UDS100 serial server device and how I configured it to connect a physical Apple IIgs to the internet and show how to connect to it from an emulated Apple IIgs.
Radio related project ideas using a Raspberry Pi. Covers use of RTL SDR USB, WSPR using WsprryPi, and Packet Radio using Direwolf, ax25 and PiLinBPQ (BPR32)
OzKFest 2015 - (Solid) State of the Nationapple2europlus
My presentation at OzKFest 2015 was an overview of solid state storage options for the Apple ][, ][+, //e, IIgs and //c line of retrocomputers (with occasional mention of other machines such as early Macs and Lisas). This included both modifications/add-ons to existing interfaces and via new storage solutions. The OzKFest 2015 conference was held in Keysborough, Victoria, Australia from 17-19 April 2015.
Event: Giffoni Open Makers Day 2013
Speakers: Daniele Costarella, Mario Pucciarelli
Un'introduzione a Linux Embedded con BeagleBone Black. Concetti di base e primi esempi pratici.
Lab Handson: Power your Creations with Intel Edison!Codemotion
by Francesco Baldassarri - Come along and play with Intel Edison, for the Internet of Things? Learn about the Developer Kit for IoT, chose your preferred environment and test it – or test all the possibilities? We will be providing information and hands on training for developers interested in testing our solutions in C/C++, Javascript, Arduino, Wyliodrin and Python. Just bring you laptop and we will help you to get started. We will also provide information about our Cloud Analytics platform, and test hardware samples with the Grove Starter Kit – Intel IoT Edition. Visit us anytime and start making! What will you make?
LAS16-100K1: Welcome Keynote
Speakers: George Grey
Date: September 26, 2016
★ Session Description ★
George Grey, CEO of Linaro will welcome attendees to the conference and give an update on the latest projects taking place at Linaro.
★ Resources ★
Etherpad: pad.linaro.org/p/las16-100k1
Presentations & Videos: http://connect.linaro.org/resource/las16/las16-100k1/
★ Event Details ★
Linaro Connect Las Vegas 2016 – #LAS16
September 26-30, 2016
http://www.linaro.org
http://connect.linaro.org
Topic: Low cost computing using the Raspberry PI and other single board computing platforms. Overview of the growing low cost computing environment and demo of basic configuration of the Raspberry PI and Arduino for home and business projects.
By the end of this presentation you will be able to tell :
1. What is Arduino ?
2. Languages Supporting Arduino
3.Difference between microprocessor and microcontroller ?
4. Various different Arduino Boards
5. Arduino UNO R3 DataSheet
6. Parts and Functions of Arduino UNO R3 Board
7. Variables, functions and libraries used in Arduino board
8. Arduino Code: Blink Example
9. Applications of Arduino in real life
10. Simulators used for Arduino coding
Arduino e stampa 3D - Le nuove frontiere della robotica homemadeDaniele Costarella
Un'introduzione all'attività svolta da Open Makers Italy a cura di Daniele Costarella e Salvatore Carotenuto: attività, articoli, progetti e workshop in cantiere. Ci caleremo poi nel mondo della stampa 3D: dal modello tridimensionale all'oggetto pronto all'uso. Saranno trattati i principi della stampa 3D, con dettagli sulle impostazioni e sui materiali di estrusione. Il talk di chiuderà con la presentazione di una mano robotica stampata controllata tramite Arduino da un guanto indossabile.
Relatori:
Daniele Costarella, Salvatore Carotenuto, Mauro D'Ambrosi, Marco D'Ambrosi, Donato D'Ambrosi
Development of a Wireless Sensors Network powered by Energy Harvesting techni...Daniele Costarella
Develer Workshop:
A workshop focused on the principles and benefits of applying the Energy Harvesting techniques on Wireless Sensor Networks. The contents come from my Better Embedded 2013 talk.
1. HANDS ON EMBEDDED LINUX WITH
BEAGLEBONE BLACK
Daniele Costarella
Ex Carcere Borbonico (Avellino) – October 25th, 2013
2. October 25th, 2013
Linux Day 2013
2
What is BeagleBone Black?
BeagleBone Black is a $45 MSRP community-supported development
platform for developers and hobbysts. Boot Linux in under 10 seconds
and get started on development in less than 5 minutes with just a single
USB cable.
3. October 25th, 2013
Hardware
Processor: AM335x 1GHz ARM® Cortex-A8
• 512MB DD3 RAM
• 2GB 8-bit eMMC on-board flash storage
• 3D graphics accelerator
Connectivity
• USB client for power and communications
• USB host
• Ethernet
• HDMI
• 2x46 pin headers
Software Compatibility
• Ångström Linux
• Android
• Cloud9 IDE on Node.js w/ BoneScript Library
and more…
Linux Day 2013
3
4. October 25th, 2013
Linux Day 2013
4
Embedded Linux for Makers
• Embedded Linux System blur the definition between
computer and device
• Powerful tools in the hands of “regular” people, not just those who
design electronics for a living
• More powerful and capable than a “simple” microcontroller like
ATMEGA 328 (Arduino)
• Perfect for those projects too complex to be executed on a MCU
5. October 25th, 2013
Linux Day 2013
5
Advantages?
Built-in
networking
Remote
access
Timekeeping
Multitasking
Linux
software
Filesystem
Size
USB
Community
7. October 25th, 2013
Browsing Your BeagleBone
• Firstly, just test that the
connection is active by trying
to connect to the BBB with a
browser.
• Connect to the URL
http://192.168.7.2
• You should see a helful
introductory web page
served by the BeagleBoard
itself
Linux Day 2013
7
8. October 25th, 2013
Linux Day 2013
Go with SSH
• On Linux or Mac simply open a terminal window and
type the following command:
ssh 192.168.7.2 –l root
8
9. October 25th, 2013
Using Python
Using GPIO, PWM and more with Python!
Available functionality:
• 7 Analog pins
• 65 Digital Pins at 3.3V
• 2xI2C
• 2xSPI
• 2x CAN Bus
• 4 Timers
• 4x UART
• 8x PWM
• A/D Converter
Linux Day 2013
9
10. October 25th, 2013
Expansion Headers
Each digital I/O pin has 8 different modes that can be selected, including GPIO
Linux Day 2013
10
11. October 25th, 2013
Linux Day 2013
Install Adafruit_BBIO
Commands needed to install the library.
Access via SSH and execute (on Angstrom Linux):
opkg update && opkg install python-pip python-setuptools python-smbus
pip install Adafruit_BBIO
You can test your installation simply trying to load one of
the modules:
import Adafruit_BBIO.GPIO as GPIO; print GPIO
#you should see this or similar:
<module 'Adafruit_BBIO.GPIO' from '/usr/local/lib/python2.7/dist-packages/
Adafruit_BBIO/GPIO.so'>
11
12. October 25th, 2013
Linux Day 2013
12
Using the library
Open a Python console and import the library.
Example:
import Adafruit_BBIO.GPIO as GPIO
You can access the channels by either referencing the pin
“key” or the name.
import Adafruit_BBIO.GPIO as
GPIO
GPIO.setup("P8_10", GPIO.OUT)
GPIO.output("P8_10", GPIO.HIGH)
GPIO.setup("P8_14", GPIO.IN)
if GPIO.input("P8_14"):
print("HIGH")
else:
print("LOW")
13. October 25th, 2013
LED blinking: wiring
Positive to pin 10 and negative to GND
Linux Day 2013
13
14. October 25th, 2013
Linux Day 2013
LED blinking: writing the program
Back to the Linux/Mac prompt and create the executable
file
# nano blink.py
Write the simple program:
import Adafruit_BBIO.GPIO as GPIO
import time
GPIO.setup("P8_10", GPIO.OUT)
while True:
GPIO.output("P8_10", GPIO.HIGH)
time.sleep(0.5)
GPIO.output("P8_10", GPIO.LOW)
time.sleep(0.5)
14
15. October 25th, 2013
Linux Day 2013
LED blinking: writing the program
…and execute it
# python blink.py
Easy!
15
19. October 25th, 2013
Writing the code
…and write the program
# nano button.py
Write the simple program:
import Adafruit_BBIO.GPIO as GPIO
import time
GPIO.setup("P8_12", GPIO.IN)
old_switch_state = 0
while True:
new_switch_state = GPIO.input("P8_12")
if new_switch_state == 1 and old_switch_state == 0 :
print('Do not press this button again!')
time.sleep(0.1)
old_switch_state = new_switch_state
Linux Day 2013
19
22. October 25th, 2013
Fade Effect with PWM: code
…and write the program
# nano led_fade.py
import Adafruit_BBIO.PWM as PWM
import time
led_pin = "P9_14"
PWM.start(led_pin, 0)
while True:
for i in range(0, 100):
PWM.set_duty_cycle(led_pin, i)
time.sleep(0.05)
for i in range(0, 100):
PWM.set_duty_cycle(led_pin, 100-i)
time.sleep(0.05)
Linux Day 2013
22
24. October 25th, 2013
Linux Day 2013
Recommended readings
Getting Started with BeagleBone Black
Make
By Matt Richardson
Building Embedded Linux System
O’Reilly
By Karim Yaghmour, Jon Masters, Gilad Ben
Yassef, and Philippe Gerum
Embedded Linux System Design and
Development
By P. Raghavan, A. Lad, S. Neelakandan,
Auerbach
24