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 …
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 …
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, …