SlideShare a Scribd company logo
1 of 40
Introduction to Single-Board
Computers and Microcontrollers
Or: The difference between
Arduino and Raspberry Pi
and alternatives
1
Single-Board Computer vs. Microcontroller
2
Arduino UNO
Microcontroller (MCU)
Raspberry Pi
Single-Board Computer
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
3
About Me
• Vision-based robot control
• UBCO Mechatronics Club
• Time-Lapse Photography
4
My Knowledge about Arduino/RPi
• http://edisondev.net/
– Tutorials and information about single-board
computers and microcontrollers
– “Late”st News
5
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
6
Why are they so popular?
• They are cheap
• They sense and manipulate the physical world
– GPIO pins (reading values/sending instructions)
7
Internet of Things (IoT)
• Connection of embedded computing devices
to the internet
– Home Automation
– Augmented Reality
• Connecting non-computer devices
– Aquariums
– Home Entertainment
– Etc.
8
Single-Board Computer vs. Microcontroller
What is the difference?
Microcontrollers
Single-board Computers
9
Single-Board Computer vs. Microcontroller
What is needed for a Computer/Microcontroller?
10
Processor
Storage RAM
Microcontrollers Single-Board
Computers
Processor Speed ~50 Mhz 1 Ghz +
Onboard Storage 64 Kb Flash, SD cards ~Gb
Memory (RAM) 64 Kb ~ 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
Rough Specifications
11
Single-Board Computer vs. Microcontroller
Examples of Embedded Systems
12
Image Source
http://pixshark.com/raspberry-pi-model-b-schematic.htm
http://images.studica.com/images/product/arduino/9a9b5c9e479e1a5b237b41a173d34dcfimage472x354_72_200x.gif
Broadcom BCM2835
CPU, GPU, RAM
Storage
ATMega328
CPU, RAM, Storage
Single-Board Computer vs. Microcontroller
Defining Features
• Single-board computer
– 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)
13
Challenges for Beginners
• Working with these devices boils down to:
14
Image Source: https://openclipart.org/
Programming Electronics Knowledge
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
15
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
16
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
17
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)
18
Electronics
Simplifying Aspects
• A lot of electronics come like this:
• Solution: Breakout boards: pre-soldered
breadboard-ready electronics:
19
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
20
http://xkcd.com/979/
Microcontroller
Microcontroller vs. Expansion Boards
• Microcontrollers:
• Expansion Board:
21
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)
22
Microcontroller
Expansion Board Features
• Communication Cable Attachments
• Programmer
• Buttons
• Power Supply Connectors
• Pin connectors
• On-board Sensors
– (accelerometers, real-time clocks, temperature
sensors)
23
Microcontroller
Arduino UNO Board Diagram
24
Source: http://arduino-info.wikispaces.com/file/view/Arduino_Uno_Rev3-schematic.jpg/346644662/Arduino_Uno_Rev3-schematic.jpg
Arduino ATMEGA328P
USB Interface +
Programmer
Microcontrollers
Arduino
Arduino Uno
Arduino Mega2560
Arduino Nano
(ATmega328)
Microcontroller ATmega328 ATmega2560 ATmega328
Flash Memory 32KB 256KB 32KB
Clock Speed 16MHz 16MHz 16 MHz
RAM 2KB 8KB 1KB
Price (approx, USD) $24.95here $45.95 here $34.99 here
Digital I/O Pins 14 54 14
25
http://arduino.cc/
Microcontrollers
Arduino IDE - Programming
• http://arduino.cc/
26
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
27
http://www.st.com/web/catalog/tools/PF250990
Programming Any Microcontroller
• Eclipse https://eclipse.org/
28
Microcontrollers
Texas Instruments LaunchPad
MSP-EXP430G2
MSP430F5529
Tiva C Series
TMC4C1294
Microcontroller MSP430 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
29
http://www.ti.com/ww/en/launchpad/launchpad.html
Microcontrollers
LaunchPad Programming
30
Code Composer Studio
Energia
http://energia.nu/
Microcontrollers
Thousands Others
31
Beetle
Nanode Pinguino PIC32
Ruggeduino
Gamebuino
Some of these had limited production runs or have been discontinued.
Freescale
Freedom
Teensy
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
32
Single-Board Computers
Hidden Costs
• Minimum:
• Other Requirements:
33
SD card Ethernet Connection USB Power
HDMI connection + Monitor Keyboard + Mouse +
USB Hub (sometimes)
Single-Board Computers
Raspberry Pi
Raspberry Pi Model B Raspberry Pi 2
Processor ARM1176JZF-S core Quad-core ARM7
Flash Memory None 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
Image Source: http://www.techradar.com/news/computing-components/peripherals/raspberry-pi-2-outed-with-faster-cpu-double-ram-and-windows-10-support-1283075
34
http://www.raspberrypi.org/
Single-Board Computers
Beaglebone Black
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
35
http://beagleboard.org/
36
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
Single board Computers
Banana Pi
http://www.bananapi.org/
37
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
Single board Computers
ODROID-C1
http://www.hardkernel.com
38
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
Single-Board Computers
UDOO
http://www.udoo.org/
39
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
Single board Computers
Firefly-RK3288
http://www.t-firefly.com/en/
Conclusion
• Community is Key
– If you learn something, share.
• Don’t just stick to the “popular” devices.
• For low power requirements, simple tasks, use
microcontroller.
40

More Related Content

Similar to 4667031.ppt

Parallel Rendering of Webpages
Parallel Rendering of WebpagesParallel Rendering of Webpages
Parallel Rendering of WebpagesLangtech
 
FRDM-KL46Z_Hands-On_Presentation_v02
FRDM-KL46Z_Hands-On_Presentation_v02FRDM-KL46Z_Hands-On_Presentation_v02
FRDM-KL46Z_Hands-On_Presentation_v02Libor GECNUK
 
embedded-systems-for-beginners
embedded-systems-for-beginnersembedded-systems-for-beginners
embedded-systems-for-beginnersmohamed gaber
 
Microcontroller from basic_to_advanced
Microcontroller from basic_to_advancedMicrocontroller from basic_to_advanced
Microcontroller from basic_to_advancedImran Sheikh
 
Alessandro Abbruzzetti - Kernal64
Alessandro Abbruzzetti - Kernal64Alessandro Abbruzzetti - Kernal64
Alessandro Abbruzzetti - Kernal64Scala Italy
 
Typical configuration of computer ppt
Typical configuration of computer  pptTypical configuration of computer  ppt
Typical configuration of computer pptProf. Dr. K. Adisesha
 
How to choose your project controller
How to choose your project controllerHow to choose your project controller
How to choose your project controllerMuhammad Shorrab
 
System unit and ip cycle
System unit and ip cycleSystem unit and ip cycle
System unit and ip cycleAtif Nauman
 
Raspberry Pi, Arduino and the Maker Movement
Raspberry Pi, Arduino and the Maker MovementRaspberry Pi, Arduino and the Maker Movement
Raspberry Pi, Arduino and the Maker Movementsrmonk
 
03 - Lecture Systme Unit Components.pptx
03 - Lecture Systme Unit Components.pptx03 - Lecture Systme Unit Components.pptx
03 - Lecture Systme Unit Components.pptxmomandayaz306
 
2nd ARM Developer Day - NXP USB Workshop
2nd ARM Developer Day - NXP USB Workshop2nd ARM Developer Day - NXP USB Workshop
2nd ARM Developer Day - NXP USB WorkshopAntonio Mondragon
 
2014 12-22 - the prusa i3 3 d printer presentation (cd)
2014 12-22 - the prusa i3 3 d printer presentation (cd)2014 12-22 - the prusa i3 3 d printer presentation (cd)
2014 12-22 - the prusa i3 3 d printer presentation (cd)FabLab Pisa
 
computer archtecture lab, computer hardware , problem and solutons in computer
computer archtecture lab, computer hardware , problem and solutons in computercomputer archtecture lab, computer hardware , problem and solutons in computer
computer archtecture lab, computer hardware , problem and solutons in computerGS Kosta
 
Tac Presentation October 72014- Raspberry PI
Tac Presentation October 72014- Raspberry PITac Presentation October 72014- Raspberry PI
Tac Presentation October 72014- Raspberry PICliff Samuels Jr.
 
Blinky 101 with Arduino v1.0b3 (FastLED)
Blinky 101 with Arduino v1.0b3 (FastLED)Blinky 101 with Arduino v1.0b3 (FastLED)
Blinky 101 with Arduino v1.0b3 (FastLED)kriegsman
 

Similar to 4667031.ppt (20)

WOver
WOverWOver
WOver
 
Parallel Rendering of Webpages
Parallel Rendering of WebpagesParallel Rendering of Webpages
Parallel Rendering of Webpages
 
FRDM-KL46Z_Hands-On_Presentation_v02
FRDM-KL46Z_Hands-On_Presentation_v02FRDM-KL46Z_Hands-On_Presentation_v02
FRDM-KL46Z_Hands-On_Presentation_v02
 
embedded-systems-for-beginners
embedded-systems-for-beginnersembedded-systems-for-beginners
embedded-systems-for-beginners
 
Microcontroller from basic_to_advanced
Microcontroller from basic_to_advancedMicrocontroller from basic_to_advanced
Microcontroller from basic_to_advanced
 
2015 10-22 - case study - open source fdm
2015 10-22 - case study - open source fdm2015 10-22 - case study - open source fdm
2015 10-22 - case study - open source fdm
 
Micro controller & Micro processor
Micro controller & Micro processorMicro controller & Micro processor
Micro controller & Micro processor
 
Alessandro Abbruzzetti - Kernal64
Alessandro Abbruzzetti - Kernal64Alessandro Abbruzzetti - Kernal64
Alessandro Abbruzzetti - Kernal64
 
Typical configuration of computer ppt
Typical configuration of computer  pptTypical configuration of computer  ppt
Typical configuration of computer ppt
 
How to choose your project controller
How to choose your project controllerHow to choose your project controller
How to choose your project controller
 
uCluster
uClusteruCluster
uCluster
 
System unit and ip cycle
System unit and ip cycleSystem unit and ip cycle
System unit and ip cycle
 
Raspberry Pi, Arduino and the Maker Movement
Raspberry Pi, Arduino and the Maker MovementRaspberry Pi, Arduino and the Maker Movement
Raspberry Pi, Arduino and the Maker Movement
 
03 - Lecture Systme Unit Components.pptx
03 - Lecture Systme Unit Components.pptx03 - Lecture Systme Unit Components.pptx
03 - Lecture Systme Unit Components.pptx
 
computer basics
computer basicscomputer basics
computer basics
 
2nd ARM Developer Day - NXP USB Workshop
2nd ARM Developer Day - NXP USB Workshop2nd ARM Developer Day - NXP USB Workshop
2nd ARM Developer Day - NXP USB Workshop
 
2014 12-22 - the prusa i3 3 d printer presentation (cd)
2014 12-22 - the prusa i3 3 d printer presentation (cd)2014 12-22 - the prusa i3 3 d printer presentation (cd)
2014 12-22 - the prusa i3 3 d printer presentation (cd)
 
computer archtecture lab, computer hardware , problem and solutons in computer
computer archtecture lab, computer hardware , problem and solutons in computercomputer archtecture lab, computer hardware , problem and solutons in computer
computer archtecture lab, computer hardware , problem and solutons in computer
 
Tac Presentation October 72014- Raspberry PI
Tac Presentation October 72014- Raspberry PITac Presentation October 72014- Raspberry PI
Tac Presentation October 72014- Raspberry PI
 
Blinky 101 with Arduino v1.0b3 (FastLED)
Blinky 101 with Arduino v1.0b3 (FastLED)Blinky 101 with Arduino v1.0b3 (FastLED)
Blinky 101 with Arduino v1.0b3 (FastLED)
 

More from lakshmiact

On-board system architecture.pptx
On-board system architecture.pptxOn-board system architecture.pptx
On-board system architecture.pptxlakshmiact
 
SPI AND I2C.pptx
SPI AND I2C.pptxSPI AND I2C.pptx
SPI AND I2C.pptxlakshmiact
 
roboticsandmachinevisionsystem-161010040756.pdf
roboticsandmachinevisionsystem-161010040756.pdfroboticsandmachinevisionsystem-161010040756.pdf
roboticsandmachinevisionsystem-161010040756.pdflakshmiact
 
MT 8701 ROBOTICS AND MACHINE VISION SYSTEM.pptx
MT 8701 ROBOTICS AND MACHINE VISION SYSTEM.pptxMT 8701 ROBOTICS AND MACHINE VISION SYSTEM.pptx
MT 8701 ROBOTICS AND MACHINE VISION SYSTEM.pptxlakshmiact
 
B.E. Mechatronics.pdf
B.E. Mechatronics.pdfB.E. Mechatronics.pdf
B.E. Mechatronics.pdflakshmiact
 

More from lakshmiact (6)

On-board system architecture.pptx
On-board system architecture.pptxOn-board system architecture.pptx
On-board system architecture.pptx
 
SPI.pptx
SPI.pptxSPI.pptx
SPI.pptx
 
SPI AND I2C.pptx
SPI AND I2C.pptxSPI AND I2C.pptx
SPI AND I2C.pptx
 
roboticsandmachinevisionsystem-161010040756.pdf
roboticsandmachinevisionsystem-161010040756.pdfroboticsandmachinevisionsystem-161010040756.pdf
roboticsandmachinevisionsystem-161010040756.pdf
 
MT 8701 ROBOTICS AND MACHINE VISION SYSTEM.pptx
MT 8701 ROBOTICS AND MACHINE VISION SYSTEM.pptxMT 8701 ROBOTICS AND MACHINE VISION SYSTEM.pptx
MT 8701 ROBOTICS AND MACHINE VISION SYSTEM.pptx
 
B.E. Mechatronics.pdf
B.E. Mechatronics.pdfB.E. Mechatronics.pdf
B.E. Mechatronics.pdf
 

Recently uploaded

Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLDeelipZope
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVRajaP95
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxupamatechverse
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineeringmalavadedarshan25
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingrakeshbaidya232001
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escortsranjana rawat
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).pptssuser5c9d4b1
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINESIVASHANKAR N
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSSIVASHANKAR N
 
Analog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAnalog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAbhinavSharma374939
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxwendy cai
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerAnamika Sarkar
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSCAESB
 

Recently uploaded (20)

Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCL
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
 
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptxExploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineering
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
 
Analog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAnalog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog Converter
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptx
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentation
 

4667031.ppt

  • 1. Introduction to Single-Board Computers and Microcontrollers Or: The difference between Arduino and Raspberry Pi and alternatives 1
  • 2. Single-Board Computer vs. Microcontroller 2 Arduino UNO Microcontroller (MCU) Raspberry Pi Single-Board Computer
  • 3. 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 3
  • 4. About Me • Vision-based robot control • UBCO Mechatronics Club • Time-Lapse Photography 4
  • 5. My Knowledge about Arduino/RPi • http://edisondev.net/ – Tutorials and information about single-board computers and microcontrollers – “Late”st News 5
  • 6. 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 6
  • 7. Why are they so popular? • They are cheap • They sense and manipulate the physical world – GPIO pins (reading values/sending instructions) 7
  • 8. Internet of Things (IoT) • Connection of embedded computing devices to the internet – Home Automation – Augmented Reality • Connecting non-computer devices – Aquariums – Home Entertainment – Etc. 8
  • 9. Single-Board Computer vs. Microcontroller What is the difference? Microcontrollers Single-board Computers 9
  • 10. Single-Board Computer vs. Microcontroller What is needed for a Computer/Microcontroller? 10 Processor Storage RAM
  • 11. Microcontrollers Single-Board Computers Processor Speed ~50 Mhz 1 Ghz + Onboard Storage 64 Kb Flash, SD cards ~Gb Memory (RAM) 64 Kb ~ 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 Rough Specifications 11
  • 12. Single-Board Computer vs. Microcontroller Examples of Embedded Systems 12 Image Source http://pixshark.com/raspberry-pi-model-b-schematic.htm http://images.studica.com/images/product/arduino/9a9b5c9e479e1a5b237b41a173d34dcfimage472x354_72_200x.gif Broadcom BCM2835 CPU, GPU, RAM Storage ATMega328 CPU, RAM, Storage
  • 13. Single-Board Computer vs. Microcontroller Defining Features • Single-board computer – 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) 13
  • 14. Challenges for Beginners • Working with these devices boils down to: 14 Image Source: https://openclipart.org/ Programming Electronics Knowledge
  • 15. 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 15
  • 16. 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 16
  • 17. 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 17
  • 18. 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) 18
  • 19. Electronics Simplifying Aspects • A lot of electronics come like this: • Solution: Breakout boards: pre-soldered breadboard-ready electronics: 19 Source: http://elecshop.blog.com/files/2014/01/313-44-TQFP.jpg http://www.renesas.com/media/press/news/2010/20101006.jpg
  • 20. Electronics Simplifying Aspects • Community – People who know things and are willing to share – Accessible tutorials 20 http://xkcd.com/979/
  • 21. Microcontroller Microcontroller vs. Expansion Boards • Microcontrollers: • Expansion Board: 21 Image Source: http://en.wikipedia.org/wiki/Microcontroller
  • 22. 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) 22
  • 23. Microcontroller Expansion Board Features • Communication Cable Attachments • Programmer • Buttons • Power Supply Connectors • Pin connectors • On-board Sensors – (accelerometers, real-time clocks, temperature sensors) 23
  • 24. Microcontroller Arduino UNO Board Diagram 24 Source: http://arduino-info.wikispaces.com/file/view/Arduino_Uno_Rev3-schematic.jpg/346644662/Arduino_Uno_Rev3-schematic.jpg Arduino ATMEGA328P USB Interface + Programmer
  • 25. Microcontrollers Arduino Arduino Uno Arduino Mega2560 Arduino Nano (ATmega328) Microcontroller ATmega328 ATmega2560 ATmega328 Flash Memory 32KB 256KB 32KB Clock Speed 16MHz 16MHz 16 MHz RAM 2KB 8KB 1KB Price (approx, USD) $24.95here $45.95 here $34.99 here Digital I/O Pins 14 54 14 25 http://arduino.cc/
  • 26. Microcontrollers Arduino IDE - Programming • http://arduino.cc/ 26
  • 27. 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 27 http://www.st.com/web/catalog/tools/PF250990
  • 28. Programming Any Microcontroller • Eclipse https://eclipse.org/ 28
  • 29. Microcontrollers Texas Instruments LaunchPad MSP-EXP430G2 MSP430F5529 Tiva C Series TMC4C1294 Microcontroller MSP430 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 29 http://www.ti.com/ww/en/launchpad/launchpad.html
  • 30. Microcontrollers LaunchPad Programming 30 Code Composer Studio Energia http://energia.nu/
  • 31. Microcontrollers Thousands Others 31 Beetle Nanode Pinguino PIC32 Ruggeduino Gamebuino Some of these had limited production runs or have been discontinued. Freescale Freedom Teensy 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/
  • 32. 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 32
  • 33. Single-Board Computers Hidden Costs • Minimum: • Other Requirements: 33 SD card Ethernet Connection USB Power HDMI connection + Monitor Keyboard + Mouse + USB Hub (sometimes)
  • 34. Single-Board Computers Raspberry Pi Raspberry Pi Model B Raspberry Pi 2 Processor ARM1176JZF-S core Quad-core ARM7 Flash Memory None 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 Image Source: http://www.techradar.com/news/computing-components/peripherals/raspberry-pi-2-outed-with-faster-cpu-double-ram-and-windows-10-support-1283075 34 http://www.raspberrypi.org/
  • 35. Single-Board Computers Beaglebone Black 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 35 http://beagleboard.org/
  • 36. 36 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 Single board Computers Banana Pi http://www.bananapi.org/
  • 37. 37 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 Single board Computers ODROID-C1 http://www.hardkernel.com
  • 38. 38 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 Single-Board Computers UDOO http://www.udoo.org/
  • 39. 39 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 Single board Computers Firefly-RK3288 http://www.t-firefly.com/en/
  • 40. Conclusion • Community is Key – If you learn something, share. • Don’t just stick to the “popular” devices. • For low power requirements, simple tasks, use microcontroller. 40

Editor's Notes

  1. Processor: Executes instructions
  2. Population is becoming more digitally literate
  3. -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
  4. -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