創客任務 2015 高中程式夏令營 io t & rasberry pi2(student)

44
創創創創 - 2015 創創創創 創創 IoT & Rasberry Pi 2 Daniel Tsai 創創創 創創創創創創創創 創創創創創創創創創創

Upload: meng-ru-tsai

Post on 19-Aug-2015

86 views

Category:

Technology


1 download

TRANSCRIPT

  1. 1. - 2015 IoT & Rasberry Pi 2
  2. 2. Windows 10 IoT
  3. 3. Windows 10 IoT 1Windows 10 IoT for Raspberry Pi2isoISO http://go.microsoft.com/fwlink/?LinkId=616847 2Windows_10_IoT_Core_RPi2.msi C:Program Files (x86)Microsoft IoTFFURaspberryPi2 3SDWindows 10 IoTSD dism.exe /Apply-Image /ImageFile:flash.ffu /ApplyDrive:.PhysicalDriveN /SkipPlatformCheck
  4. 4. PowerShell WINDOWS 10 IoT
  5. 5. PowerShell #Raspberry pi2 net start WinRM Set-Item WSMan:localhostClientTrustedHosts -Value 157.60.138.125 Enter-PsSession -ComputerName 157.60.138.125 -Credential 157.60.138.125Administrator # p@ssw0rd # Password01 net user Administrator Password01 # setcomputername Daniel-pi2 # tzutil /g #Taipei #TimeZone #https://technet.microsoft.com/en-us/library/Cc749073(v=WS.10).aspx tzutil /s "Taipei Standard Time" # Set-Date -date "8/5/2015 6:22 PM" shutdown /s /t 0
  6. 6.
  7. 7. Raspberry pi2 model B
  8. 8. SoC Broadcom BCM2836 CPU 900 MHz;Quad-core ARM Cortex-A7 GPU Dual Core VideoCore IV Multimedia Co-Processor; Open GL ES 2.0; hardware- accelerated OpenVG; 1080p30 H.264 high-profie decode 1GB LPDDR2 GPU Composite RCA; HDMI 3.5 mm jack; HDMI(1.3 & 1.4) microSD USB USB 2.0 x 4 Ethernet 10/100 RJ45 GPIO 40-pin 2.54 mm (100 mil) expansion header: 220 strip 700 mA 85mm x 56mm x 17mm 42g
  9. 9. RPi VerifiedPeripherals http://elinux.org/RPi_VerifiedPeripherals#Display_adapters Custom HDMI modes https://www.raspberrypi.org/forums/viewtopic.php?f=29&t=24679 Coordinated Video Timings https://en.wikipedia.org/wiki/Coordinated_Video_Timings Display resolution https://en.wikipedia.org/wiki/Display_resolution Extended Display Identification Data https://en.wikipedia.org/wiki/Extended_Display_Identification_Data Raspberry Pi / Mini Displays / HDMI to VGA Video Adapter https://www.adafruit.com/products/1151
  10. 10.
  11. 11.
  12. 12. https://msdn.microsoft.com/en-us/library/windows/apps/dn609832.aspx
  13. 13.
  14. 14. Lab 1
  15. 15.
  16. 16. (Color) (Significant figures) (Multiplier) (Tolerance) (Temp. Coefficient) (ppm/K) (Black) 0 100 250 U (Brown) 1 101 1% F 100 S (Red) 2 102 2% G 50 R (Orange) 3 103 15 P (Yellow) 4 104 25 Q (Green) 5 105 0.5% D 20 Z (Blue) 6 106 0.25% C 10 Z (Violet) 7 107 0.1% B 5 M (Gray) 8 108 0.05% A 1 K (White) 9 109 (Gold) 10-1 5% J (Silver) 10-2 10% K (None) 20% M 1.Any temperature coefficent not assigned its own letter shall be markd "Z", and the coefficient found in other documentation. 2.For more information, see EN 60062.
  17. 17.
  18. 18. Lab 2
  19. 19.
  20. 20. HC-SR04 Arduino Vcc +5V Trig GPIO Echo GPIO GND GND
  21. 21. Lab 3 /
  22. 22. GND (-) Power (+ or V+) +5V OUT (PIR)
  23. 23.
  24. 24.
  25. 25. H: L:() & &&
  26. 26. Microsoft Windows 10 brings one converged Windows operating system that powers your Internet of Things (IoT) devices by providing a single platform for management, security and application development for enterprises that look to gain sustainable competitive advantage through the power of the latest connected device technologies.