5. ARM Architecture
4/1/2016 Mohammad Dehghan 5
• RISC and wide fixed-length instructions
• Less transistors
• Reduces costs, heat and power use
• Mostly used on handheld devices
• Supported with all kind of operating systems
• Supports 32-bit
• New models support 64-bit
7. The raspberry pi 2 Model B is the second generation Raspberry Pi.
It has:
• A 900MHz quad-core ARM Cortex-A7 CPU
• 1GB RAM
• 4 USB ports
• 40 GPIO pins
• Full HDMI port
• Ethernet port
• Combined 3.5mm audio jack and composite video
• Camera interface (CSI)
• Display interface (DSI)
• Micro SD card slot
• VideoCore IV 3D graphic core
It can run the full range of ARM GNU/Linux distributions, including Snappy Ubuntu Core, as well as
Microsoft Windows 10.
4/1/2016 Mohammad Dehghan 7
8. Sample project: Controlling the light
4/1/2016 Mohammad Dehghan 8
We need to write a program to tell the pin to go HIGH or LOW. GPIO outputs are easy; they are on or off, HIGH or LOW,
3v3 or 0v. You can write its program by using Python.