Raspberry PI 2
Download
Report
Transcript Raspberry PI 2
Raspberry PI 2
Installation & Demo App
By Wayne Keadle
My PI 2
Raspberry PI 2 Hardware Specs
• QUAD Core Broadcom BCM2836 CPU with 1 GB RAM
• 40 pin extended GPIO
• Micro SD slot
• Multiple Ports: 4 USB ports, Full Size HDMI, 4 pole stereo output and composite
video port, CSI camera port & DSI display port
• Micro USB power source
Download the
Image:
Windows 10
IoT Core
http://ms-iot.github.io/content/enUS/Downloads.htm
Install MSI Package
• Windows IoT Core Image Helper
• Windows IoT Core Watcher
Setup Image on SD Card
• Launch Windows IoT Core Image Helper
• Image - flash.ffu
• Select the “Flash” button
• NOTE: Be sure the SD card is not locked!
Boot the Raspberry PI
• Insert SD card into Raspberry PI
• Connect peripherals
• Plug in Micro USB power cord and the PI will boot.
• NOTE: First time boot may take up to 10 minutes.
Blinky Sample Requirements
• Only run on Windows IoT, not your desktop
• An LED – any color
• a 220 Ω resistor for the Raspberry Pi 2, Raspberry Pi 3
• a breadboard and a couple of connector wires
Wire the Circuit
• Connect the shorter leg of the LED to GPIO 5 (pin 29 on the expansion header) on
the RPi2 or RPi3.
• Connect the longer leg of the LED to the resistor.
• Connect the other end of the resistor to one of the 3.3V pins on the RPi2 or RPi3.
• Note that the polarity of the LED is important. (This configuration is commonly
known as Active Low)
Mapping of the PINOUT
Example of Breadboard
Deploy Your App to the PI
• Inside Visual Studio 2015 – select the drop down for “Local Machine” and choose
“Remote Machine”
• Enter IP Address or device name either one will work
• Choose Universal (Unencrypted Protocol) for Authentication Mode
• Choose the “Select” button
• Press “F5” and your app will start on the Raspberry PI and the LED will blink in
sync with the app.
Express Joy!!
• Sing a song
• Dance a dance
• Take a drink of your favorite beverage
• Give a person a hug
Resources
• Buy PI: https://www.element14.com/community/community/raspberry-pi
• Blog - Installation: http://blogs.askcts.com/2016/01/06/windows-10-on-my-firstraspberry-pi-part-1/
• Windows 10 IoT Core Image: http://ms-iot.github.io/content/enUS/Downloads.htm