Pi meets arduino
-
Upload
srmonk -
Category
Technology
-
view
1.813 -
download
2
description
Transcript of Pi meets arduino
![Page 1: Pi meets arduino](https://reader034.fdocuments.net/reader034/viewer/2022052410/554a5d75b4c9054b328b50f3/html5/thumbnails/1.jpg)
Raspberry Pi Meets Arduino
Simon Monk
Monday, 20 August 2012
![Page 2: Pi meets arduino](https://reader034.fdocuments.net/reader034/viewer/2022052410/554a5d75b4c9054b328b50f3/html5/thumbnails/2.jpg)
Me
• Left ‘Big Programming Job’ to be:
• Author - OSH and Electronics
Making Android Accessories with the IOIOGoing Mobile with Sensors, Lights, Motors, and Robots
Simon Monk
CREATING ROBOTS AND GIZMOS WITH CELL PHONES
Project Book
Monday, 20 August 2012
![Page 3: Pi meets arduino](https://reader034.fdocuments.net/reader034/viewer/2022052410/554a5d75b4c9054b328b50f3/html5/thumbnails/3.jpg)
Objectives
• Understanding Open Source Hardware (OSH)
• Getting to know
• Raspberry Pi
• Arduino
• Understand why people buy them
• Understand what people do with them
• Why is ‘Open’ important
Monday, 20 August 2012
![Page 4: Pi meets arduino](https://reader034.fdocuments.net/reader034/viewer/2022052410/554a5d75b4c9054b328b50f3/html5/thumbnails/4.jpg)
Demonstration
Monday, 20 August 2012
![Page 5: Pi meets arduino](https://reader034.fdocuments.net/reader034/viewer/2022052410/554a5d75b4c9054b328b50f3/html5/thumbnails/5.jpg)
Demonstration
Monday, 20 August 2012
![Page 6: Pi meets arduino](https://reader034.fdocuments.net/reader034/viewer/2022052410/554a5d75b4c9054b328b50f3/html5/thumbnails/6.jpg)
Significance
• Silly Project
• Why do people make these projects?
• How do people make these projects?
Monday, 20 August 2012
![Page 7: Pi meets arduino](https://reader034.fdocuments.net/reader034/viewer/2022052410/554a5d75b4c9054b328b50f3/html5/thumbnails/7.jpg)
Open Source Hardware• OSS-type of License
• Electronic Design Files
• Schematic
• PCB Layout
• Firmware OSS
• Mechanical Design
• 3D models etc
Monday, 20 August 2012
![Page 8: Pi meets arduino](https://reader034.fdocuments.net/reader034/viewer/2022052410/554a5d75b4c9054b328b50f3/html5/thumbnails/8.jpg)
Is it Really?
Monday, 20 August 2012
![Page 9: Pi meets arduino](https://reader034.fdocuments.net/reader034/viewer/2022052410/554a5d75b4c9054b328b50f3/html5/thumbnails/9.jpg)
Intellectual Property
• First to market
• Community loyalty
• Keep the trademark release the design
• Sell Kits
• Sell training, consultancy, education
Monday, 20 August 2012
![Page 10: Pi meets arduino](https://reader034.fdocuments.net/reader034/viewer/2022052410/554a5d75b4c9054b328b50f3/html5/thumbnails/10.jpg)
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
Monday, 20 August 2012
![Page 11: Pi meets arduino](https://reader034.fdocuments.net/reader034/viewer/2022052410/554a5d75b4c9054b328b50f3/html5/thumbnails/11.jpg)
OSH Examples• Microcontroller / Computer Boards
• Arduino
• Raspberry Pi
• .NET Gadgeteer Boards (Even .NET on OSH)
• BeagleBoard
Monday, 20 August 2012
![Page 12: Pi meets arduino](https://reader034.fdocuments.net/reader034/viewer/2022052410/554a5d75b4c9054b328b50f3/html5/thumbnails/12.jpg)
OSH Examples
• Modules
• GPS
• Microphone (Preamp)
• Motor Drivers
• PIR Sensor
• etc.
Monday, 20 August 2012
![Page 13: Pi meets arduino](https://reader034.fdocuments.net/reader034/viewer/2022052410/554a5d75b4c9054b328b50f3/html5/thumbnails/13.jpg)
OSH Examples
• Tools
• RepRap - 3D printer
• Maker Bot - 3D printer
• Lasersaur - Laser cutter
Monday, 20 August 2012
![Page 14: Pi meets arduino](https://reader034.fdocuments.net/reader034/viewer/2022052410/554a5d75b4c9054b328b50f3/html5/thumbnails/14.jpg)
DIY Projects
Monday, 20 August 2012
![Page 15: Pi meets arduino](https://reader034.fdocuments.net/reader034/viewer/2022052410/554a5d75b4c9054b328b50f3/html5/thumbnails/15.jpg)
Hacking
Monday, 20 August 2012
![Page 16: Pi meets arduino](https://reader034.fdocuments.net/reader034/viewer/2022052410/554a5d75b4c9054b328b50f3/html5/thumbnails/16.jpg)
Bubblino
Monday, 20 August 2012
![Page 17: Pi meets arduino](https://reader034.fdocuments.net/reader034/viewer/2022052410/554a5d75b4c9054b328b50f3/html5/thumbnails/17.jpg)
Etch-a-sketch
Monday, 20 August 2012
![Page 18: Pi meets arduino](https://reader034.fdocuments.net/reader034/viewer/2022052410/554a5d75b4c9054b328b50f3/html5/thumbnails/18.jpg)
Global Show and Tell
• Instructables.com
• Hacknmod.com
• Youtube
• Blogs
Monday, 20 August 2012
![Page 19: Pi meets arduino](https://reader034.fdocuments.net/reader034/viewer/2022052410/554a5d75b4c9054b328b50f3/html5/thumbnails/19.jpg)
One-Offs Hen-House Door
Monday, 20 August 2012
![Page 20: Pi meets arduino](https://reader034.fdocuments.net/reader034/viewer/2022052410/554a5d75b4c9054b328b50f3/html5/thumbnails/20.jpg)
Perfect FM Radio
Monday, 20 August 2012
![Page 21: Pi meets arduino](https://reader034.fdocuments.net/reader034/viewer/2022052410/554a5d75b4c9054b328b50f3/html5/thumbnails/21.jpg)
Arduino ECG
Monday, 20 August 2012
![Page 22: Pi meets arduino](https://reader034.fdocuments.net/reader034/viewer/2022052410/554a5d75b4c9054b328b50f3/html5/thumbnails/22.jpg)
What is an Arduino?
USB
Power
Analog Inputs
Digital Inputs / Outputs
Monday, 20 August 2012
![Page 23: Pi meets arduino](https://reader034.fdocuments.net/reader034/viewer/2022052410/554a5d75b4c9054b328b50f3/html5/thumbnails/23.jpg)
Arduino Software
Monday, 20 August 2012
![Page 24: Pi meets arduino](https://reader034.fdocuments.net/reader034/viewer/2022052410/554a5d75b4c9054b328b50f3/html5/thumbnails/24.jpg)
Types of Arduino• Uno - most popular - all rounder
• Mega - more pins
• LilyPad - wearable
• Leonardo
• Mini
• Nano
• Bluetooth
• Pro VersionsMonday, 20 August 2012
![Page 25: Pi meets arduino](https://reader034.fdocuments.net/reader034/viewer/2022052410/554a5d75b4c9054b328b50f3/html5/thumbnails/25.jpg)
Other Types of Arduino
• Built-in Ethernet (EtherTen)
• Built-in USB Host (Electric Sheep, USBDroid etc.)
• Drone Piloting (ArduPilot)
• Lighting Control
Monday, 20 August 2012
![Page 26: Pi meets arduino](https://reader034.fdocuments.net/reader034/viewer/2022052410/554a5d75b4c9054b328b50f3/html5/thumbnails/26.jpg)
Shields
• Ethernet / WiFi
• Motor Driver
• Relay
• LCD Display
• USB Host
• Sensors
• etc.
Monday, 20 August 2012
![Page 27: Pi meets arduino](https://reader034.fdocuments.net/reader034/viewer/2022052410/554a5d75b4c9054b328b50f3/html5/thumbnails/27.jpg)
What is a Raspberry Pi?
• £30
• Debian Linux
• HDMI
• USB
Monday, 20 August 2012
![Page 28: Pi meets arduino](https://reader034.fdocuments.net/reader034/viewer/2022052410/554a5d75b4c9054b328b50f3/html5/thumbnails/28.jpg)
Hardware
• 256 MB RAM
• 700 MHz
• BCM2835
Monday, 20 August 2012
![Page 29: Pi meets arduino](https://reader034.fdocuments.net/reader034/viewer/2022052410/554a5d75b4c9054b328b50f3/html5/thumbnails/29.jpg)
Raspberry Pi Foundation
• Not-for Profit Organisation
• Cambridge University
• ‘A Computer to Inspire Children’ - Like the BBC Computers
• ‘Burn Through’ the consumer market first
Monday, 20 August 2012
![Page 30: Pi meets arduino](https://reader034.fdocuments.net/reader034/viewer/2022052410/554a5d75b4c9054b328b50f3/html5/thumbnails/30.jpg)
Programming Pi
• Python
• Tkinter - GUIs
• PyGame - Games
• Scratch - Visual Programming
• Java, Clozure CL, Squeek, LAMP!
Monday, 20 August 2012
![Page 31: Pi meets arduino](https://reader034.fdocuments.net/reader034/viewer/2022052410/554a5d75b4c9054b328b50f3/html5/thumbnails/31.jpg)
Pi Expansion
• GPIO Connector
• I2C
• Serial
• General Purpose IO Pins
Monday, 20 August 2012
![Page 32: Pi meets arduino](https://reader034.fdocuments.net/reader034/viewer/2022052410/554a5d75b4c9054b328b50f3/html5/thumbnails/32.jpg)
Pi Expansion Boards• Like Arduino Shields
• Gertboard
• Pi Face
• RaspiRobotBoard (Nov)
Monday, 20 August 2012
![Page 33: Pi meets arduino](https://reader034.fdocuments.net/reader034/viewer/2022052410/554a5d75b4c9054b328b50f3/html5/thumbnails/33.jpg)
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
Monday, 20 August 2012
![Page 34: Pi meets arduino](https://reader034.fdocuments.net/reader034/viewer/2022052410/554a5d75b4c9054b328b50f3/html5/thumbnails/34.jpg)
Arduino & Raspberry Pi
Monday, 20 August 2012
![Page 35: Pi meets arduino](https://reader034.fdocuments.net/reader034/viewer/2022052410/554a5d75b4c9054b328b50f3/html5/thumbnails/35.jpg)
Summary
• OSH - Driving a wave of creativity and invention
• Raspberry Pi - The computer bit (but can do some electronics)
• Arduino - Microcontroller Board, good with electronics
• Combine as alternative to expansion board
Monday, 20 August 2012
![Page 36: Pi meets arduino](https://reader034.fdocuments.net/reader034/viewer/2022052410/554a5d75b4c9054b328b50f3/html5/thumbnails/36.jpg)
Shopping• Arduino Uno - £25
• Maplin’s
• CPC, Farnell, eBay
• Raspberry Pi - £30
• CPC, Farnell, RS Components
• OS Hardware Modules
• Sparkfun.com
• Adafruit.com
• Proto-pic.co.uk (Scotland)
Monday, 20 August 2012
![Page 37: Pi meets arduino](https://reader034.fdocuments.net/reader034/viewer/2022052410/554a5d75b4c9054b328b50f3/html5/thumbnails/37.jpg)
Plug
• Raspberry Pi Book, Out in November 2012
• Amazon Etc.
Monday, 20 August 2012
![Page 38: Pi meets arduino](https://reader034.fdocuments.net/reader034/viewer/2022052410/554a5d75b4c9054b328b50f3/html5/thumbnails/38.jpg)
Contact
• Twitter: @simonmonk2
• Web: www.simonmonk.org
• Email: [email protected]
• Blog: www.doctormonk.com
Monday, 20 August 2012