Collection of quickstart guides using a Raspberry Pi and Azure services
Перейти к файлу
jenfoxbot ef8b3c3022
Merge pull request #29 from microsoft/dependabot/pip/03_cv/client/urllib3-1.26.18
Bump urllib3 from 1.26.8 to 1.26.18 in /03_cv/client
2024-01-23 11:24:19 -08:00
.github/workflows update readme 2020-11-03 16:42:47 -08:00
.vscode Adds CV recipe (#2) 2020-12-14 07:58:16 -08:00
01_iot Update SD card product to support native desktop 2022-02-02 13:02:12 -08:00
02_c2d_messages fixing bad whitespace in python environment creation scripts 2022-01-25 10:37:41 -08:00
03_cv Merge pull request #29 from microsoft/dependabot/pip/03_cv/client/urllib3-1.26.18 2024-01-23 11:24:19 -08:00
04_iot_central fixing bad whitespace in python environment creation scripts 2022-01-25 10:37:41 -08:00
.gitignore update readme 2020-11-03 16:42:47 -08:00
CODE_OF_CONDUCT.md Initial CODE_OF_CONDUCT.md commit 2020-10-22 18:37:06 -07:00
LICENSE Updating LICENSE to template content 2020-10-22 18:37:04 -07:00
README.md Fix spelling mistake 2022-01-11 19:52:52 -08:00
SECURITY.md Initial SECURITY.md commit 2020-10-22 18:37:07 -07:00
SUPPORT.md Update SUPPORT.md 2020-11-10 10:10:39 -08:00

README.md

Raspberry Pi Recipes for Azure

Overview

Raspberry Pi recipes for Azure is a collection of samples that use use a Raspberry Pi and one or more Azure services. All the recipes included here represent end to end scenarios rather than just documenting how to interface with a single service. These are all written to get you up and running fast. Most take between 5 and 30 minutes to complete and require the least amount of hardware. All is code is designed to be adapted into other project, and many of these recipes can be combined.

If there is something you'd like to know how to do using Azure and a Raspberry Pi and you don't see it here open an issue and let us know. If you know how to do something cool with Azure and a Raspberry Pi open a PR and show us what you got!

Note: We do our best to minimize the cost of services, but some of these samples will incur a small charge on your Azure account.

Prerequisites

  1. Free Azure Account
  2. Basic understanding on Python
  3. Raspberry Pi 3 or 4
  4. Monitor/keyboard/mouse or ability to SSH into the Pi

Contents

Recipe Description Time Prerequisites
01 IoT Hub d2c Send telemetry to Azure table storage using IoT Hub and Azure functions. 25 Mins None
02 IoT Hub c2d Trigger events on your Raspberry Pi using Azure functions and IoT Hub 15 mins None
03 Computer Vision Use the computer vision cognitive service to detect objects in an image 20 Mins None
04 IoT Central Connect and control a Raspberry Pi with IoT Central 30 Mins None

Resources

Raspberry Pi Resources Repo

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.

If you know how to do something cool with a Raspberry Pi and Azure we'd love to see it! To contribute open a PR with your additions and someone from the team will review it.

Guidelines

  • Keep all of the file for each example in it own directory. Using this format: 01_example_name
  • Include a readme with instructions on how to setup the example
  • If you would like to use images in your readme they should referenced not uploaded to this repo
  • Include an estimated cost for the Azure resources
  • When possible and practical use one programing language for the whole example
  • Use flake8 to lint Python code
  • Examples should be secure by default, meaning connection strings and api key can't be checked in by accident. To do this we wrote a shell script that generate .env files that the user populates with their keys.

When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Trademarks

This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.