raspberry pi, arduino and the maker movement

40
Raspberry Pi, Arduino and the Maker Movement Dr. Simon Monk

Upload: srmonk

Post on 05-Jul-2015

647 views

Category:

Technology


5 download

DESCRIPTION

These are the slides for the presentation that I gave at ICMEAE in Cuernavaca, Mexico on November 19th, 2014.

TRANSCRIPT

Page 1: Raspberry Pi, Arduino and the Maker Movement

Raspberry Pi, Arduino and the Maker Movement

Dr. Simon Monk

Page 2: Raspberry Pi, Arduino and the Maker Movement

Simon Monk

•  Full-time Author - Open Source Hardware and Electronics

Page 3: Raspberry Pi, Arduino and the Maker Movement

Audience

• Who has used an Arduino?

• Who has used a Raspberry Pi?

• Who teaches Electronics?

Page 4: Raspberry Pi, Arduino and the Maker Movement

Objectives

•  Understanding the Maker Movement

•  Post Expert design and manufacture

•  Maker Examples

•  Platforms for Physical Computing

•  Open Source Hardware

Page 5: Raspberry Pi, Arduino and the Maker Movement

Demonstration Arduino Flag

Page 6: Raspberry Pi, Arduino and the Maker Movement

‘Post-Expert’ Making •  Why is this possible?

•  With the advent of the Internet, expert knowledge is now freely available to all.

•  Open Source Hardware - designs are not secret, learn by example and modify.

•  ‘Expert’ amateurs create tools for ‘less expert’ Makers (Arduino etc.)

•  Services - PCB fabrication, 3D printing, laser cutting

•  Very low cost of entry

•  Hackspaces and FabLabs provide shared tools and community

Page 7: Raspberry Pi, Arduino and the Maker Movement

Maker Projects

Page 8: Raspberry Pi, Arduino and the Maker Movement

Hacking

Page 9: Raspberry Pi, Arduino and the Maker Movement

Bubblino

Page 10: Raspberry Pi, Arduino and the Maker Movement

Etch-a-sketch

Page 11: Raspberry Pi, Arduino and the Maker Movement

Global Show and Tell

•  Instructables.com

•  Hacknmod.com

•  Youtube

•  Blogs

•  Books

Page 12: Raspberry Pi, Arduino and the Maker Movement

Hen-House Door

Page 13: Raspberry Pi, Arduino and the Maker Movement

Platforms for Physical Computing

•  Arduino

•  Raspberry Pi

•  BeagleBone Black

•  Spark Core (IoT)

• Microcontroller chip on homemade PCB

Page 14: Raspberry Pi, Arduino and the Maker Movement

What is an Arduino?

USB

Power

Analog Inputs

Digital Inputs / Outputs

Page 15: Raspberry Pi, Arduino and the Maker Movement

Arduino Software

Page 16: Raspberry Pi, Arduino and the Maker Movement

Types of Arduino

•  Uno (standard)

•  Bigger ones (Due, Mega)

•  Smaller Ones (Nano, Mini)

•  Drone Piloting (ArduPilot)

• Wearable (lilypad, flora)

•  Built-in Ethernet / WiFi (IoT)

Page 17: Raspberry Pi, Arduino and the Maker Movement

Shields •  Ethernet / WiFi

• Motor Driver

•  Relay

•  LCD Display

•  USB Host

•  Sensors

•  etc.

Page 18: Raspberry Pi, Arduino and the Maker Movement

Arduino ECG Shield

Page 19: Raspberry Pi, Arduino and the Maker Movement

Demonstration •  LED Cube

Page 20: Raspberry Pi, Arduino and the Maker Movement

What is a Raspberry Pi?

•  USD 40

•  Debian Linux

•  HDMI

•  USB

Page 21: Raspberry Pi, Arduino and the Maker Movement

Hardware

•  512 MB RAM

•  700 MHz

•  GPIO

Page 22: Raspberry Pi, Arduino and the Maker Movement

Computer or Physical Computing Platform?

•  Both

•  For many users, its just a very cheap Linux Computer

•  But, also capable of interfacing with sensors and actuators

Page 23: Raspberry Pi, Arduino and the Maker Movement

Demonstration •  Software Radio

•  Imperial College

Page 24: Raspberry Pi, Arduino and the Maker Movement

Programming Pi

•  Python

•  Tkinter - GUIs

•  PyGame - Games

•  Scratch - Visual Programming

•  C, Java, Clozure CL, Squeek, LAMP (Linux, Apache, MySQL and PHP)!

Page 25: Raspberry Pi, Arduino and the Maker Movement

Pi Expansion

•  GPIO Connector

•  I2C

•  Serial

•  General Purpose IO Pins

Page 26: Raspberry Pi, Arduino and the Maker Movement

Pi is not Arduino •  Linux - Not a Real-time OS

•  Timing unpredictable

•  Not good for

•  Servos, PWM

•  Pulse measurement

•  No Analog Inputs

•  Low current (delicate) GPIO pins

•  500mA vs 50mA

Page 27: Raspberry Pi, Arduino and the Maker Movement

BeagleBone

•  BeagleBone Black

•  ‘American Pi’ • More GPIO pins than Pi

•  Analog inputs

•  Javascript (Node.js)

Page 28: Raspberry Pi, Arduino and the Maker Movement

BeagleBone

• Web Programming (Cloud9)

Page 29: Raspberry Pi, Arduino and the Maker Movement

Example

•  Email Notifier

Page 30: Raspberry Pi, Arduino and the Maker Movement

Spark Core •  WiFi (for IoT)

•  ARM Cortex M3

•  72MHz

•  128kB Flash

•  USB2.0

•  12 bit ADC

•  USART, SPI & I2C

•  Breadboard Friendly

•  18 I/O pins (3V) logic

Page 31: Raspberry Pi, Arduino and the Maker Movement

Open Source Hardware • OSS-type of License

•  Electronic Design Files

•  Schematic

•  PCB Layout

•  Firmware OSS

• Mechanical Design

•  3D models etc

Page 32: Raspberry Pi, Arduino and the Maker Movement

Is it Really?

Page 33: Raspberry Pi, Arduino and the Maker Movement

Intellectual Property

•  First to market

•  Community loyalty

• Often crowd-funded (E.g. Spark Core)

•  Keep the trademark release the design

•  Sell Kits, educational material

•  Sell training, consultancy, education

Page 34: Raspberry Pi, Arduino and the Maker Movement

Why don’t individuals make their own?

•  They do, that’s fine

•  BUT

•  Its easier and probably cheaper to buy one made using economies of scale

Page 35: Raspberry Pi, Arduino and the Maker Movement

OSH Examples • Microcontroller / Computer Boards

•  Arduino

•  Raspberry Pi

•  .NET Gadgeteer Boards (Even .NET on OSH)

•  BeagleBoard

•  Spark Core

Page 36: Raspberry Pi, Arduino and the Maker Movement

OSH Examples

• Modules •  GPS

•  Microphone (Preamp)

•  Motor Drivers

•  PIR Sensor

•  etc.

Page 37: Raspberry Pi, Arduino and the Maker Movement

OSH Examples

•  Tools

•  RepRap - 3D printer

•  Maker Bot - 3D printer

•  Lasersaur - Laser cutter

Page 38: Raspberry Pi, Arduino and the Maker Movement

Where does this leave the expert?

• Makers often lack deep understanding and engineering discipline.

•  Young Makers attracted to Engineering disciplines

•  ‘Make more value than you take’ (Tim O’Reilly)

Page 39: Raspberry Pi, Arduino and the Maker Movement

Summary

•  Hobby Making moving from cakes and woodwork into high technology

•  Tools to help

•  Information to help

•  Communities to help

Page 40: Raspberry Pi, Arduino and the Maker Movement

Contact

•  Twitter: @simonmonk2

• Web: www.monkmakes.com

•  Email: [email protected]

•  Blog: www.doctormonk.com