Introduction to Single-Board Computers and Microcontrollers

Slides:



Advertisements
Similar presentations
Intel Do-It-Yourself Challenge Intel Galileo and Edison Paul Guermonprez Intel Software.
Advertisements

B.RAMAMURTHY Arduino and Automotive Embedded Systems July 27, 2014 CSE651C, B. Ramamurthy 1.
Intel Galileo Gen 2 & Grove Seeed Starter Kit Gen 1
Pico-SAM9G45 Development Board for Envirobat Presented by Kiran G K Date : 18/06/13.
Internet of Things with Intel Edison Presentation Paul Guermonprez Intel Software
Introduction to Information Technology: Your Digital World © 2013 The McGraw-Hill Companies, Inc. All rights reserved.Using Information Technology, 10e©
How to Build a Digital-Physical System-Lab Assegid Kidané Fall 2014.
Seminars at RSSC.org Sergei Grichine
LEGO Mindstorms Hitachi H8-based RCX brick B.A. Juliano, R.S. Renner, F. Jauregui January 2004 California State University, Chico Intelligent Systems Laboratory.
Khaled A. Al-Utaibi  What is Arduino?  Arduino Boards  Arduino Shields  Arduino Uno Hardware.
Engineering 1040: Mechanisms & Electric Circuits Fall 2011 Introduction to Embedded Systems.
Introduction to the Orbit Edu Board Ahmad Rahmati Teaching Assistant, ELEC424 Rice Efficient Computing Group Sep 12, 2007.
How to Build a Digital-Physical System-Lab Assegid Kidané Fall 2012.
Little arduino microcontrollers Meghan Jimenez 12 February 2014.
Department of Electronic & Electrical Engineering Embedded system Aims: Introduction to: Hardware. Software Ideas for projects ? Robotics/Control/Sensors.
JavaScript, Linux and Open Hardware Jason Kridner Co-Founder BeagleBoard.org JavaScript Linux Open Source Hardware A Recipe for Rapid Internet Devices.
A+ Guide to Managing and Maintaining your PC, 6e Chapter 1 Introducing Hardware.
 Chasis / System cabinet  A plastic enclosure that contains most of the components of a computer (usually excluding the display, keyboard and mouse)
DPNM Lab., POSTECH 1/29 CS490K - Internet of Things (IoT) Jonghwan Hyun DPNM Lab. Department of Computer Science and Engineering, POSTECH
Basic Computer Structure and Knowledge Project Work.
Stick a Computer on it: How to Embed a Microcontroller into Anything WatITis 2011 Presentation December 6 th, 2011.
Know the Computer Multimedia tools. Computer essentials.
RC CAR CONTROLLER BASED ON INTEL GALILEO SOC PLATFORM Nadav Shiloach Sagi Sabag Supervisor: Idan Shmuel Spring 2014 One Semester Project PROJECT’S ENDING.
Daniel Pickem and Rowland O’Flaherty 12/04/2012 Mechatronics (ME 6405) Student Lecture On Arduinos *Some slides courtesy of Eoin Brazil
Raspberry Pi.
The IT700 PIM only supports up to network layer, all other above layers must be executed by other processor. Therefore in the PLC control network two types.
Arduino 101 Instructors: Ted Markson / Jim Sweeney.
Computer Anatomy Chin-Sung Lin Eleanor Roosevelt High School.
Introduction to Arduino Microcontrollers. What is a Microcontroller ? What is a Microprocessor ? A Microcontroller (8 bit) does one task very fast and.
Getting To Know Computers COMPUTER BASICS. WHAT IS A COMPUTER? A computer is an electronic device that manipulates information, or “data.” It has the.
SINGLE BOARD COMPUTERS ARE YOU ON THE RIGHT AIRPLANE?
Senior Design Weekly Update GROUP MAY1633 9/28/2015.
Introduction :  In the beginning, the calculator is the basic idea of computers out, then that arrived at the large computers.  in1980 or late seventies.
Lecture 7: Overview Microprocessors / microcontrollers.
ECE445 – SPRING CSW Corey S Wilner – Cypress FAE January 26, 2016 UIUC ECE445 Project Ideas.
Computer Hardware & Processing Inside the Box CSC September 16, 2010.
Embedded Software Design Week I Class Introduction Course Coverage Hardware Platforms * Some of this slides are inspired/copied from Dr. Mark Brehob’s.
Rasberry pi 2 model B. Selve computeren i rasberry pi’en.
Computers are Free (Well, really really cheap) Paul Lourd WB2JVB GNARC May 2016.
Introducing the Raspberry Pi Nauru ICT Department April 2016.
Internet of things limited only by your imagination Alberto Pace.
Farhin Al Masud What is Raspberry PI? o Low cost, credit card sized computer o SOC (System on a chip) o Founded by Raspberry PI foundation.
Raspberry PI 2 Installation & Demo App By Wayne Keadle.
Robotics Grant Agreement No LLP UK-LEONARDO-LMP Project acronym: CLEM Project title: Cloud services for E-Learning in Mechatronics Technology.
HW & SW Overview  What’s UNO  Hardware  Specification  Installing IDE  Programming  Compiling.
An introduction to the Raspberry Pi. What is a Raspberry Pi?  University of Cambridge’s Computer Laboratory  Decline in skill level  Designed for education.
RaspberryPi.
Building Raspberry Pi Controllers with Python
IoT Milos Hampl.
Introducing the Arduino boards & some supporting modules
Written by Joey Cardenas Presented by _______________
Prepared by: Raghad J Foqha Supervisor: Dr. Saed Tarapiah
CS111 Computer Programming
Remote Sensor Interface for IoT
A microcontroller Raspberry Pi 2 Model B V1.1 RPi
Programming with Arduinos and Rapsberry Pi
INTRODUCTION TO THE RASPBERRY PI Darrell Davis KT4WX
PRESENTED BY Bitware Technologies
An introduction to the Raspberry Pi
Introduction to the Orbit Edu Board
Arduino and Design of Embedded Applications
ریز پردازنده. ریز پردازنده مراجع درس میکروکنترلرهای AVR برنامه نویسی اسمبلی و C محمدعلی مزیدی، سپهر نعیمی و سرمد نعیمی مرجع کامل میکروکنترلرهای AVR.
Odroid XU4.
Single Board Computers and Dev Boards
Introduction to Single Board Computer
Arduino Board.
Arduino म्हणजे काय?.
Introduction to arduino
What is “Control System” or “Framework”?
Raspberry Pi Hardware By: Mike Kwiatkowski.
Presentation transcript:

Introduction to Single-Board Computers and Microcontrollers Or: The difference between Arduino and Raspberry Pi and alternatives

Single-Board Computer vs. Microcontroller Raspberry Pi Single-Board Computer Arduino UNO Microcontroller (MCU)

Outline Introduction: Why they are popular Characteristics Two main skillsets required Single-board computer vs microcontroller: When to use which? Different Types of Microcontrollers Different Types of Single-board Computers

About Me Vision-based robot control UBCO Mechatronics Club Time-Lapse Photography

My Knowledge about Arduino/RPi http://edisondev.net/ Tutorials and information about single-board computers and microcontrollers “Late”st News

What can you do with Arduinos or Raspberry Pis? Jasper – Voice Controller powered by Rpi https://jasperproject.github.io LED Cube - http://www.instructables.com/id/Led-Cube-8x8x8/ Flamethrower Jack-O-Lantern - http://www.instructables.com/id/Flamethrowing-Jack-O-Lantern/ Arduino RC- Lawnmower http://www.instructables.com/id/Arduino-RC-Lawnmower/ Fermentation Monitoring - https://www.sparkfun.com/tutorials/131 Raspberry Eye - https://hackaday.io/project/865-raspberry-eye

Why are they so popular? They are cheap They sense and manipulate the physical world GPIO pins (reading values/sending instructions)

Internet of Things (IoT) Connection of embedded computing devices to the internet Home Automation Augmented Reality Connecting non-computer devices Aquariums Home Entertainment Etc.

Single-Board Computer vs. Microcontroller What is the difference? Single-board Computers Microcontrollers

Single-Board Computer vs Single-Board Computer vs. Microcontroller What is needed for a Computer/Microcontroller? Storage RAM Processor Processor: Executes instructions

Single-Board Computer vs. Microcontroller Rough Specifications Microcontrollers Single-Board Computers Processor Speed ~50 Mhz 1 Ghz + Onboard Storage 64 Kb Flash, SD cards ~Gb Memory (RAM) ~ 1 Gb Power Consumption 12 mA (2200 mAh battery -> 183hr) 500 mA+ (2200 mAh battery-> 4.4 hr) Reboot Time <1 sec ~ Multiple seconds Other Features Operating system Extendable Storage Network Connection

Single-Board Computer vs. Microcontroller Examples of Embedded Systems Broadcom BCM2835 CPU, GPU, RAM ATMega328 CPU, RAM, Storage Storage Image Source http://pixshark.com/raspberry-pi-model-b-schematic.htm http://images.studica.com/images/product/arduino/9a9b5c9e479e1a5b237b41a173d34dcfimage472x354_72_200x.gif

Single-Board Computer vs. Microcontroller Defining Features Lots of processing power Has operating system (Linux, Android, soon Windows) Monitor Connection Cheap, “weak” computer Microcontroller Devoted to having GPIO pins Low power, quick boot Very cheap (especially if you buy only IC)

Challenges for Beginners Working with these devices boils down to: Programming Electronics Knowledge Image Source: https://openclipart.org/

First Challenge Programming Loads of Examples from Community With little skill you can program an Arduino to do simple things But how do you write a program to control a robot arm? Mathematics Kinematics And other things you learn in school Need knowledge from diverse fields Population is becoming more digitally literate

First Challenge Programming – Simplifying Aspects Pre-written Libraries Code Examples https://github.com/ Community help (Forums, StackExchange) Free online courses Search for “MIT Arduino Course” Programming courses on: Khan Academy Coursera Udacity

Second Challenge Electronics – the hard part Difficult to get started Easy to make mistakes Some mistakes cannot be undone Often needs additional equipment: Soldering Iron Voltmeter Oscilloscope

Electronics Simplifying Aspects Starter Packs and Kits Contain a minimum number of electronic components that you may need Microcontroller Attachments Shields (for Arduino) Motor shields, sensor shields Capes (for Beagleboard) BoosterPacks (TI LaunchPad) -Simplify things for beginners and prototyping -Somewhat pricey -You would not use it for the final product, because it has components that you don’t need

Electronics Simplifying Aspects A lot of electronics come like this: Solution: Breakout boards: pre-soldered breadboard-ready electronics: Source: http://elecshop.blog.com/files/2014/01/313-44-TQFP.jpg http://www.renesas.com/media/press/news/2010/20101006.jpg

Electronics Simplifying Aspects Community People who know things and are willing to share Accessible tutorials -Simplify things for beginners and prototyping -Somewhat pricey -You would not use it for the final product, because it has components that you don’t need http://xkcd.com/979/

Microcontroller Microcontroller vs. Expansion Boards Microcontrollers: Expansion Board: Image Source: http://en.wikipedia.org/wiki/Microcontroller

Microcontroller Microcontrollers Features Processor Speed (Mhz) RAM On-board storage (FLASH) GPIO Pins Analog to Digital Converters (ADC) Logic Level Voltage (3.3V or 5V)

Microcontroller Expansion Board Features Communication Cable Attachments Programmer Buttons Power Supply Connectors Pin connectors On-board Sensors (accelerometers, real-time clocks, temperature sensors)

Microcontroller Arduino UNO Board Diagram USB Interface + Programmer Arduino ATMEGA328P Source: http://arduino-info.wikispaces.com/file/view/Arduino_Uno_Rev3-schematic.jpg/346644662/Arduino_Uno_Rev3-schematic.jpg

Microcontrollers Arduino Arduino Uno Arduino Mega2560 Arduino Nano (ATmega328) Microcontroller ATmega328 ATmega2560 Flash Memory 32KB 256KB Clock Speed 16MHz 16 MHz RAM 2KB 8KB 1KB Price (approx, USD) $24.95here $45.95 here $34.99 here Digital I/O Pins 14 54 http://arduino.cc/

Microcontrollers Arduino IDE - Programming http://arduino.cc/

Microcontrollers STM Microcontrollers STM32L DISCOVERY STM32 Nucleo F401RE Microcontroller STM32L152RBT6 Cortex-M3 CPU STM32F401RET6 Flash Memory 128KB 2 MB Clock Speed 32 Mhz 180 Mhz RAM 16KB 256 KB Price (approx, USD) $10.50 here $12.40 here Other 1 touch sensor 1 LCD display http://www.st.com/web/catalog/tools/PF250990

Programming Any Microcontroller Eclipse https://eclipse.org/

Microcontrollers Texas Instruments LaunchPad MSP-EXP430G2 MSP430F5529 Tiva C Series TMC4C1294 Microcontroller MSP430 TM4C1294NCPDT ARM Cortex-M4 Flash Memory 16 KB 128KB 1 MB Clock Speed 16 Mhz 25 MHz 120 Mhz RAM 512B 8KB 256 KB Price (approx, USD) $9.99 here $12.99 here $19.99 here Other Ethernet http://www.ti.com/ww/en/launchpad/launchpad.html

Microcontrollers LaunchPad Programming Energia http://energia.nu/ Code Composer Studio

Microcontrollers Thousands Others Some of these had limited production runs or have been discontinued. Nanode Pinguino PIC32 Beetle Ruggeduino Freescale Freedom Teensy Gamebuino Beetle: http://www.dfrobot.com/wiki/index.php/Beetle_SKU:DFR0282 Nanode: http://www.nanode.eu/ Pinguino PIC32: https://www.olimex.com/Products/Duino/PIC32/PIC32-PINGUINO/open-source-hardware Ruggeduino: http://www.ruggedcircuits.com/ruggeduino/ Gamebuino: http://gamebuino.com/ Freescale Freedom: http://www.freescale.com/webapp/sps/site/overview.jsp?code=FREDEVPLA Teensy: https://www.pjrc.com/teensy/

Single-Board Computers Properties Processor Speed (Ghz, Multiple core) RAM (speed of RAM) Video Card (Home entertainment) On-board storage (FLASH) Hard-drive storage GPIO pins Features Audio jack IR remote Blue tooth Other connectors

Single-Board Computers Hidden Costs Minimum: Other Requirements: SD card Ethernet Connection USB Power Keyboard + Mouse + USB Hub (sometimes) HDMI connection + Monitor

Single-Board Computers Raspberry Pi Raspberry Pi Model B Raspberry Pi 2 Processor ARM1176JZF-S core Quad-core ARM7 Flash Memory None Clock Speed 700 MHz 800 MHz RAM 512MB 1 GB Price (approx, USD) $39.95 $35.00 Other Features 2x USB ports 26x GPIO pins 4x USB2.0 40x GPIO pins http://www.raspberrypi.org/ Image Source: http://www.techradar.com/news/computing-components/peripherals/raspberry-pi-2-outed-with-faster-cpu-double-ram-and-windows-10-support-1283075

Single-Board Computers Beaglebone Black Processor 1GHZ Flash Memory 2GB 8-bit eMMC on-board storage RAM 512MB DDR3 Other Features Open Hardware Architecture 1x USB port 92x GPIO pins Price (approx, USD) $45.00 http://beagleboard.org/

Single board Computers Banana Pi Processor 1 GHz dual core Flash Memory None RAM 1GB DD3 Other Features SATA Connection Audio Connector 2x USB Price (approx, USD) $60 http://www.bananapi.org/

Single board Computers ODROID-C1 Processor 1.5GHz quad core Flash Memory slot for expansion RAM 1GB DD3 Other Features Infrared (IR) receiver 4x USB Price (approx, USD) $36.95  http://www.hardkernel.com

Single-Board Computers UDOO UDOO Quad Processor Quad-core 1GHz Flash Memory None (SATA connector) RAM 1 GB DDR3 Other Features 2x USB port WiFi Module  76 x GPIO pins Analog Audio and Mic Price (approx, USD) $135.00 http://www.udoo.org/

Single board Computers Firefly-RK3288 Processor 1.8GHz quad core Flash Memory 16 GB RAM 2 GB DD3 Other Features Infrared (IR) receiver VGA adapter 2x USB Price (approx, USD) $189  http://www.t-firefly.com/en/

Conclusion Community is Key Don’t just stick to the “popular” devices. If you learn something, share. Don’t just stick to the “popular” devices. For low power requirements, simple tasks, use microcontroller.