Windows 10 for the Internet of Things controlling internet-connected devices from Raspberry Pi
Otros Autores: | |
---|---|
Formato: | Libro electrónico |
Idioma: | Inglés |
Publicado: |
[Place of publication not identified] :
Apress
[2021]
|
Edición: | Second edition |
Materias: | |
Ver en Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009631758406719 |
Tabla de Contenidos:
- Intro
- Table of Contents
- About the Author
- About the Technical Reviewer
- Acknowledgments
- Introduction
- Chapter 1: What Is the Internet of Things?
- The Internet of Things and You
- IoT Is More Than Just Connected to the Internet
- IoT Services
- A Brief Look at IoT Solutions
- Sensor Networks
- Medical Applications
- Automotive IoT Solutions
- Fleet Management
- IoT and Security
- Security Begins at Home
- Secure Your Devices
- Use Encryption
- Security Doesn't End at the Cloud
- Introducing Windows 10
- Overview of Windows 10 Features
- The Return of the Desktop
- Compatibility
- Notifications and Action Center
- Windows 10 and the IoT
- Summary
- Chapter 2: Introducing the Windows 10 IoT Core
- Things You Will Need
- Windows 10 IoT Core
- Interacting with Hardware
- Video Support
- One Platform, Many Devices
- Windows 10 IoT Hardware
- Raspberry Pi
- Arrow DragonBoard 410c
- Which One Should I Choose?
- Additional Hardware
- Power Supply
- Networking
- Optional Hardware
- Software Development Tools
- Windows 10 IoT Core Editions
- Windows 10 IoT Core
- Windows 10 IoT Enterprise
- Windows Server IoT 2019
- Getting Started with Windows 10 IoT Core
- Setting Up Your Computer
- Enable Developer Mode
- Install Visual Studio Community 2019
- Install the Windows 10 IoT Core Templates
- Validate Your Visual Studio 2019 Community Installation
- Troubleshooting Visual Studio Installation Problems
- Install the Windows 10 IoT Core Dashboard
- Getting Started with Your Board
- Tip: Be Patient and Thorough
- Tip: Downloading the .iso Image
- Tip: Use Class 10 SD Cards
- Tip: Double-Check Your Power Supply
- Raspberry Pi Configuration
- Prerequisites
- Download and Install the Image with the Windows 10 IoT Core Dashboard
- Download and Install the Image Manually
- Connecting the Hardware.
- Booting Windows 10 IoT Core for the First Time
- DragonBoard 410c Configuration
- Prerequisites
- Download and Install the Image Manually
- Connecting the Hardware
- Writing the Image to the DragonBoard 410c
- Booting Windows 10 IoT Core for the First Time
- Connecting to Your Board
- Connect with the Windows 10 IoT Core Dashboard
- Connecting with the Device Portal
- Connecting with SSH
- Connecting with the Windows PowerShell
- Shutting Down the Device
- Summary
- Chapter 3: Introducing the Raspberry Pi
- Getting Started with the Raspberry Pi
- Raspberry Pi Origins
- Versions That Work with Windows 10 IoT Core
- A Tour of the Board
- Required Accessories
- Recommended Accessories
- Where to Buy
- Setting Up the Raspberry Pi
- Choosing a Boot Image (Operating System)
- Creating the Boot Image
- Booting the Board
- A Brief Linux Primer
- Getting Help
- File and Directory Commands
- List Directories and Files
- Change Directory
- Copy
- Move
- Create Directories
- Delete Directories
- Create (Empty) Files
- Delete Files
- System Commands
- Show (Print) Working Directory
- Command History
- Archive Files
- Administrative Commands
- Run as Super User
- Change File/Directory Permissions
- Change Owner
- Install/Remove Software
- Shutdown
- Useful Utilities
- Working with Python: Blink an LED
- Hardware Connections
- Writing the Code
- Running the Script
- Summary
- Chapter 4: Developing IoT Solutions with Windows 10
- Working with GPIO Headers
- Raspberry Pi
- DragonBoard 410C
- Visual Studio 2019 Primer
- Major Features
- The User Interface
- Windows
- Environment Settings
- Common Menu Items
- Windows 10 IoT Core Project Templates
- Blank Windows IoT Core Console Application
- Background Application (IoT)
- Blank App (Universal Windows)
- Example Applications.
- Example Project: Temperature Conversion
- Create the Project
- Write the Code
- Build and Test Your Code
- Test the Application
- Using the Interactive Debugger
- Set Up Your Windows 10 IoT Device
- Deployment Options
- Deploying UWP Applications
- Non-UWP Applications
- Manual Copy
- Summary
- Chapter 5: Windows 10 IoT Development with C++
- Getting Started
- C++ Crash Course
- The Basics
- Functions
- Curly Braces
- Including Libraries
- Using Namespaces
- Comments
- Variables and Types
- Arithmetic
- Flow Control Statements
- Conditionals
- Loops
- Basic Data Structures
- Pointers
- Blink an LED, C++ Style
- Required Components
- Set Up the Hardware
- Write the Code: User Interface
- Test and Execute: User Interface Only
- Add the GPIO Code
- Deploy and Execute: Completed Application
- C++ Application Deployment Troubleshooting
- Application Already/Not Running
- Deployment Errors ... Continue?
- Missing Framework
- Failure to Unregister Application
- Summary
- Chapter 6: Windows 10 IoT Development with C#
- Getting Started
- C# Crash Course
- C# Fundamentals
- Namespaces
- Classes
- Curly Braces
- Comments
- How C# Programs Are Structured
- The using Keyword
- The Main() Method
- Variables and Types
- Arithmetic
- Flow Control Statements
- Conditionals
- Loops
- Basic Data Structures
- Blink an LED, C# Style
- Required Components
- Set Up the Hardware
- Write the Code: User Interface
- Test and Execute: User Interface Only
- Add the GPIO Code
- Deploy and Execute: Completed Application
- Deploying Your Application (No Debugging)
- Deploy and Debug
- C# Application Deployment Troubleshooting
- Application Already/Not Running
- Missing Framework
- Failure to Unregister Application
- Deploy Succeeds, but Nothing Happens
- Summary.
- Chapter 7: Windows 10 IoT Development with Visual Basic
- Getting Started
- Visual Basic Crash Course
- Visual Basic Fundamentals
- Classes
- Comments
- How Visual Basic Programs Are Structured
- The Imports Keyword
- The Main() Method
- Variables and Types
- Arithmetic
- Flow Control Statements
- Conditionals
- Loops
- Basic Data Structures
- Blink an LED, Visual Basic Style
- Required Components
- Set Up the Hardware
- Write the Code: User Interface
- Test and Execute: User Interface Only
- Add the GPIO Code
- Deploy and Execute: Completed Application
- Deploying Your Application (No Debugging)
- Deploy and Debug
- Visual Basic Application Deployment Troubleshooting
- Application Already/Not Running
- Failure to Unregister Application
- Deploy Succeeds, but Nothing Happens
- Summary
- Chapter 8: Electronics for Beginners
- The Basics
- Powering Your Electronics
- Tools
- Multimeter
- Soldering Iron
- Wire Strippers
- Helping Hands
- Using a Multimeter
- Testing Continuity
- Measuring Voltage
- Measuring Current
- Measuring Resistance
- Electronic Components
- Button
- Capacitor
- Diode
- Fuse
- Light-Emitting Diode (LED)
- Relay
- Resistor
- Switch
- Transistor
- Voltage Regulator
- Breakout Boards and Circuits
- Using a Breadboard to Build Circuits
- What Are Sensors?
- How Sensors Measure
- Analog Sensors
- Digital Sensors
- Examples of Sensors
- Summary
- Chapter 9: The Adafruit Microsoft IoT Pack for Raspberry Pi
- Overview
- Components Included
- Environmental Sensor: BME280
- Color Sensor: TCS34725
- 8-Channel 10-Bit ADC with SPI Interface: MCP3008
- Are There Alternatives?
- Example Project: A Simple Sensor
- Required Components
- Set Up the Hardware
- Write the Code
- New Project
- User Interface
- Header File
- Source Code
- Light Sequences
- Button.
- Completing the Code
- Deploy and Execute
- Summary
- Chapter 10: Project 1: Building an LED Power Meter
- Overview
- Required Components
- Set Up the Hardware
- Write the Code
- Debug Output
- New Project
- Initialize GPIO
- Controlling the LEDs
- Code for the MCP3008
- Deploy and Execute
- Summary
- Chapter 11: Project 2: Measuring Light
- Overview
- Required Components
- Set Up the Hardware
- Write the Code
- New Project
- Lighting Providers
- User Interface
- Controlling the LED
- Completing the Main Class
- Code for the MCP3008
- Code for the PWM
- Deploy and Execute
- Summary
- Chapter 12: Project 3: Using Weather Sensors
- Overview
- Required Components
- Set Up the Hardware
- Write the Code
- New Project
- Add a C# Runtime Component Project
- BMP280 Class
- User Interface
- Add References
- Reading the Weather Data
- Deploy and Execute
- Summary
- Chapter 13: Project 4: Using MySQL to Store Data
- What Is MySQL?
- Getting Started with MySQL
- How and Where MySQL Stores Data
- The MySQL Configuration File
- How to Get and Install MySQL
- How to Start, Stop, and Restart MySQL
- Creating Users and Granting Access
- Overview
- Set Up the Database
- Required Components
- Set Up the Hardware
- Write the Code
- New Project
- Glovebox.IoT.Devices
- Units.NET
- MySQL.Data
- Connecting to MySQL
- Reading the Weather Data
- Writing the Data to the Database
- Deploy and Execute
- Summary
- Chapter 14: Project 5: Remote Control Hardware
- Overview
- Required Components
- Set Up the Hardware
- Write the Code
- Writing the Server Application
- EasyTcp
- System.Text.Json
- Server Class
- StartupTask
- Writing the Client Application
- Client Class
- User Interface
- Deploy and Execute
- Deploy the Server
- Deploy the Client
- Prototyping the Out-of-Office Sign Enclosure.
- Assembling the Enclosure.