<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom"><title>Edi Wang</title><subtitle>Microsoft MVP for Azure</subtitle><rights>© 2009 - 2026 edi.wang</rights><updated>2026-04-11T15:34:26Z</updated><generator uri="https://edi.wang">Moonglade v15.13.0</generator><entry><id>D313FCF1-1792-4FCB-BCDA-22F874418497</id><title>Azure Remote Controlled Light with .NET Core 3.0 on Raspberry Pi</title><updated>2019-10-06T15:59:35Z</updated><published>2019-10-06T15:59:35Z</published><link href="https://edi.wang/post/2019/10/6/azure-remote-controlled-light-with-net-core-30-on-raspberry-pi" hreflang="en-us" /><author><name>Edi Wang</name><email>Edi.Wang@outlook.com</email></author><category term=".NET" /><category term="Internet of Things" /><category term="Microsoft Azure" /><content>3 years ago, I wrote a blog post "Azure Remote Controlled Light with Windows 10 IoT Core", which is an experiment to sending a signal from your home and it will travel around the world then come back to your home to turn on an LED light on your Raspberry Pi. 3 years later, Windows 10 IoT Core and UWP seem not living so well. Microsoft doesn't have a new build of Windows 10 to support the latest …</content></entry><entry><id>088FE884-CCF9-438F-986D-401478BC862E</id><title>Setup .NET Runtime and SDK on Raspberry Pi 4</title><updated>2019-09-29T09:29:07Z</updated><published>2019-09-29T09:29:07Z</published><link href="https://edi.wang/post/2019/9/29/setup-net-core-30-runtime-and-sdk-on-raspberry-pi-4" hreflang="en-us" /><author><name>Edi Wang</name><email>Edi.Wang@outlook.com</email></author><category term=".NET" /><category term="Internet of Things" /><content>I recently bought a Raspberry Pi 4 with 4GB RAM. I've managed to run an ASP.NET Core application on this Raspberry Pi 4. Let's see how to download and install .NET on this board. …</content></entry><entry><id>122AD138-5FF2-494E-A46D-FD5E47B76FD3</id><title>Raspberry Pi Surveillance Camera with Linux and Azure</title><updated>2016-08-11T08:47:49Z</updated><published>2016-08-11T08:47:49Z</published><link href="https://edi.wang/post/2016/8/11/raspi-azure-camera" hreflang="en-us" /><author><name>Edi Wang</name><email>Edi.Wang@outlook.com</email></author><category term="Internet of Things" /><category term="Microsoft Azure" /><content>Because Windows 10 IoT Core is not supporting Pi Camera, I can only use Linux instead. These days, I made a surveillance camera, the functionality is simple, when a person passed by the camera, it will take a picture and upload to Microsoft Azure Storage. It also got a website to remotely view the photos. 1. Hardware A PIR Sensor, a Pi Camera, a couple of jump wires. Connect the Singal port of …</content></entry><entry><id>0D5064E4-0862-4F0A-909C-AACFE9104B6D</id><title>Uploading PiCamera images to Azure</title><updated>2016-08-08T12:15:14Z</updated><published>2016-08-08T12:15:14Z</published><link href="https://edi.wang/post/2016/8/8/raspbian-picamera-upload-azure" hreflang="en-us" /><author><name>Edi Wang</name><email>Edi.Wang@outlook.com</email></author><category term="Internet of Things" /><content>Recently Windows 10 IoT Core Build 14393 is coming, but still without PiCamera support, WTF. So I can only choose Linux for my project. When I was using Windows, I use C# + Azure SDK to upload photos to Microsoft Azure. So how to do it on Linux? After some research, here's how to do it. My system is Raspbian Linux. First, we need to install Azure SDK in SSH Terminal: sudo pip install --pre azure …</content></entry><entry><id>8FCCB47B-DC32-4926-AFA9-A695372B9440</id><title>Raspberry Pi 3 and Windows 10 IoT Core Basics</title><updated>2016-08-07T07:46:43Z</updated><published>2016-08-07T07:46:43Z</published><link href="https://edi.wang/post/2016/8/7/raspberry-pi-3-windows-10-iot-basic" hreflang="zh-hans" /><author><name>Edi Wang</name><email>Edi.Wang@outlook.com</email></author><category term="Internet of Things" /><content>最近有时间，总结了一下关于树莓派3及Windows 10 IoT的基础知识。适合没有接触过硬件但有一定编程经验的读者入门。我自己刚刚买树莓派的时候花了很长时间入门，搞清楚各种概念和属于。很多网上的帖子都是分散在各个角落的，并且是英文的，有些还是过时的，有些是爆的，所以我觉得有必要总结一篇基础入门帖子。这篇文章讲的都是抛砖引玉的概念，并不包括End-To-End的Case，想要做一个完整实验的文章，请看我博客的物联网开发系列文章：http://edi.wang/category/list/iot  如果有错误和补充，欢迎在评论里指出。 一、树莓派3 树莓派是基于ARM芯片的卡片电脑，大小和一张信用卡一样。今年推出了第三代，集成了板载蓝牙和WIFI。之前的树莓派1和2都是需要用USB WIFI和蓝牙实现的，所以你要是购买树莓派，买3是最方便的，可以省去USB WIFI和蓝牙的配件。并且 …</content></entry><entry><id>CF4E92F5-93ED-46FB-B9DE-E113CB610C0B</id><title>How to use Windows RDP to connect Raspbian Linux</title><updated>2016-08-06T08:01:36Z</updated><published>2016-08-06T08:01:36Z</published><link href="https://edi.wang/post/2016/8/6/rdp-into-raspbian" hreflang="en-us" /><author><name>Edi Wang</name><email>Edi.Wang@outlook.com</email></author><category term="Internet of Things" /><content>Because Windows 10 IoT Core is not yet ready to replace Raspbian, in some case, we have to use Linux. The remote operation on Linux is usually done by SSH. If you want remote desktop like the one on Windows. There are two options: tightvnc or xrdp. I used to  use tightvnc, it does not have any problem with daily use. But I have to install a tightvnc client on my PC. However, XRDP can be supported …</content></entry><entry><id>DC6D5293-3607-4653-BCDB-89EC7012A514</id><title>Windows 10 IoT: How to Drive an SSD1306 I2C Display</title><updated>2016-08-02T06:05:05Z</updated><published>2016-08-02T06:05:05Z</published><link href="https://edi.wang/post/2016/8/2/windows-10-iot-ssd-1306-i2c-display" hreflang="en-us" /><author><name>Edi Wang</name><email>Edi.Wang@outlook.com</email></author><category term="Internet of Things" /><content>I bought a 128x64 0.96 inch OLED display, like this one:  The driver chip for this screen is called SSD 1306, typically, this chip will have 2 layouts, SPI or I2C. However, the examples fo how to drive I2C with SSD 1306 is very rare, and they run on Raspbian not Windows. Luckly, with the help from a Microsoft Staff in US, we finally got the code to run the screen on Windows 10 IoT Core. 1. …</content></entry><entry><id>FEF2C445-449C-47D9-A48B-3B5233B095B9</id><title>315MHz Remote Door Control by Windows 10 IoT</title><updated>2016-07-21T10:00:43Z</updated><published>2016-07-21T10:00:43Z</published><link href="https://edi.wang/post/2016/7/21/windows-10-iot-remote-door-control" hreflang="en-us" /><author><name>Edi Wang</name><email>Edi.Wang@outlook.com</email></author><category term="Internet of Things" /><content>In the past few days, I have implemented a device that mimics the remote control door of a garage with a Raspberry Pi and share it with you. First of all, I will introduce the remote control and receiver board I use, this kind of remote control module can be bought everywhere in China, and it basically looks like this. Many roller shutter doors and garage doors use this remote control module. For radio experiments, the non-locking version is purchased, so note that it is best to purchase the antenna at the same time. The antenna is a 50 ohm single-core wire, in fact, it is a copper wire, pay attention to the frequency when buying, the radio license frequency in Chinese mainland is 315MHz</content></entry><entry><id>68C3D134-17C3-4797-8A73-1ACFD2635076</id><title>Reed Controlled Light by Windows 10 IoT Core</title><updated>2016-06-10T11:34:53Z</updated><published>2016-06-10T11:34:53Z</published><link href="https://edi.wang/post/2016/6/10/windows-10-iot-reed-light-control" hreflang="en-us" /><author><name>Edi Wang</name><email>Edi.Wang@outlook.com</email></author><category term="Windows Development" /><category term="Internet of Things" /><content>Reed switch is an electronic component to connect / disconnect the switch by magnetic field. When it touchs magnetic field, the two iron sheets inside the tube will clip together, so the switch is connected.  The application of Reed Swith： Door light controller: When you open the door, turn the light on. When you close the door, turn off the light. This is simply install a reed switch on your …</content></entry><entry><id>4B38E96C-EC8D-4E07-8A8D-FBC5ACD8A4E1</id><title>74HC595 4 Digits LED Tube with Windows 10</title><updated>2016-04-29T08:15:01Z</updated><published>2016-04-29T08:15:01Z</published><link href="https://edi.wang/post/2016/4/29/windows-10-iot-74hc595-led-digital-tube" hreflang="en-us" /><author><name>Edi Wang</name><email>Edi.Wang@outlook.com</email></author><category term="Windows Development" /><category term="Internet of Things" /><content>One of the commonly used LED Tube driver chip is 74HC595, by using the Chip, you can save GPIO ports. I bought an LED Tube with 595 chip, it only needs 3 GPIO ports to display 4 digits. However, there is no existing posts about how to drive the 74HC595 LED Tube from Windows 10. So, I can only try for myself. …</content></entry><entry><id>A6ADF188-3826-440B-8634-6B7E86D1A380</id><title>Using stepper motor in Windows 10 IoT Core</title><updated>2016-04-04T01:15:00Z</updated><published>2016-04-04T01:15:00Z</published><link href="https://edi.wang/post/2016/4/4/windows-10-iot-stepper-motor" hreflang="en-us" /><author><name>Edi Wang</name><email>Edi.Wang@outlook.com</email></author><category term="Windows Development" /><category term="Internet of Things" /><content>If you need to precisely control the rotation angle of the equipment, ordinary motors can't do it, usually we use stepper motors. For example, the 28BYJ-48 model is easy to buy. The stepper motor has to be used with the driver board, and the most commonly used is the driver board ULN2003 the chip, as shown in the figure below. However, note that the driver board you buy may not look the same, but it doesn't matter, as long as the chip is written on the ULN2003, you can use it, and their interfaces are the same.</content></entry><entry><id>713DAE50-82B6-4CBB-BD9C-C6C7DE6F3A9A</id><title>Sound Controlled Light by Windows 10 IoT Core</title><updated>2016-04-03T04:05:09Z</updated><published>2016-04-03T04:05:09Z</published><link href="https://edi.wang/post/2016/4/3/windows-10-iot-sound-light" hreflang="en-us" /><author><name>Edi Wang</name><email>Edi.Wang@outlook.com</email></author><category term="Windows Development" /><category term="Internet of Things" /><content>In many buildings, there are sound controlled light in use. When you clap your hands, the light turns on. Now, with Raspberry Pi 3 and Windows 10 IoT, we can make a sound controlled light ourselves.
The sound sensor I use is FC-04. As other sensors, the first step is calibration.
1. Calibration for FC-04 Sound Sensor
In quiet environment. Connect VCC to DC 3.3V，GND to Ground. At that time, the …</content></entry><entry><id>51923E12-9597-4C4E-BEEE-291EB5D9373E</id><title>Windows 10 IoT: Detect Range with HC-04 Ultrasonic Sensor on Raspberry Pi 3</title><updated>2016-04-02T10:31:43Z</updated><published>2016-04-02T10:31:43Z</published><link href="https://edi.wang/post/2016/4/2/windows-10-iot-hc04-ultra-sonic-distance" hreflang="zh-hans" /><author><name>Edi Wang</name><email>Edi.Wang@outlook.com</email></author><category term="Windows Development" /><category term="Internet of Things" /><content>HC-04是树莓派上用的比较广泛的超声波传感器，可以用来测量设备和物体之间的距离。可惜网上的资料很少有针对Windows 10的，几乎都是Python和C在Linux上的例子。 hackster.io上有一篇用HC-04做雷达的例子，但是设计的部件太多了，对单纯学习HC-04传感器的使用来说这个例子比较复杂。搜了一圈，英文资料最好的是这篇：http://www.guruumeditation.net/en/digital-io-with-windows-10-iot-raspberry-pi-2-and-the-ultrasonic-ranging-module-hc-sr04/ 国内中文资料介绍Windows 10上HC-04传感器的文章似乎还没有，所以就简单总结一下步骤。  一、物理连接 对于没有多少物理和电子知识基础的人（比如我）来说，第一步连线是比较难的。很多文章都一笔带过说“这很 …</content></entry><entry><id>015D1407-4FEF-4F2A-B82F-2442E142201E</id><title>Windows 10 IoT Development: Moisture Sensor for Raspberry Pi 3</title><updated>2016-03-28T11:38:14Z</updated><published>2016-03-28T11:38:14Z</published><link href="https://edi.wang/post/2016/3/28/windows-10-iot-development-moisture-sensor-for-raspberry-pi-3" hreflang="en-us" /><author><name>Edi Wang</name><email>Edi.Wang@outlook.com</email></author><category term="Windows Development" /><category term="Internet of Things" /><content>I bought a moisture sensor like this recently.

After some research, there seem no articles to indicate how to use it in Windows 10. So I figured out myself.
This sensor has 4 Pins, which are:



PIN
Usage


AO
Analog Out


DO 
Digital Out


GND 
Ground 


VCC 
Power



So, let's connect VCC to DC3.3v on RPi, I use PIN 01. Connect GND to any ground header, which I use …</content></entry><entry><id>636F8804-E280-4084-9D18-E1CE755D3947</id><title>GY-30 (BH1750FVI) Light Sensor with Windows 10 IoT</title><updated>2016-03-26T10:31:27Z</updated><published>2016-03-26T10:31:27Z</published><link href="https://edi.wang/post/2016/3/26/windows-10-iot-gy-30-light-sensor" hreflang="en-us" /><author><name>Edi Wang</name><email>Edi.Wang@outlook.com</email></author><category term="Windows Development" /><category term="Internet of Things" /><content>I purchased a GY-30 light sensor recently, this model is also known as "BH1550FVI". There seems no sample for this sensor on Windows 10 yet, so I tried to make one.
The light sensor looks like this:

My board is a Raspberry Pi 3, the GPIO layout is shown in this table:

Because GY-30 is an I2C device, so we can not use GPIO to drive it directly, we must use the I2C ports. In addition, …</content></entry><entry><id>176811DF-4D41-4753-8198-CC3156BD39C3</id><title>Windows 10 IoT开发：UWP应用调用关机和重启命令</title><updated>2016-03-24T07:19:58Z</updated><published>2016-03-24T07:19:58Z</published><link href="https://edi.wang/post/2016/3/24/windows-10-iot-uwp-shutdown" hreflang="zh-hans" /><author><name>Edi Wang</name><email>Edi.Wang@outlook.com</email></author><category term="Windows Development" /><category term="Internet of Things" /><content>UWP通常是没有让设备关机和重启的权限的。但是在Windows 10 IoT Core中是有办法实现的。安装Windows 10 Iot Core之后默认启动的那个欢迎页面右上角是有关机和重启按钮的。其实就是个UWP，它的源代码在：https://github.com/ms-iot/samples/tree/develop/IoTCoreDefaultApp  分析源代码可以发现，关机和重启是通过ShutDownManager这个class实现的。 #region Assembly Windows.System.SystemManagementContract, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null, ContentType=WindowsRuntime // C:\Program Files (x86)\ …</content></entry></feed>