Today Starts my journey on the IoT using first the
Arduino and then using the
Raspberry Pi. I am starting out real simple and then will build on what I know. I am starting with an Arduino UNO r3 board and a DHT11 Digital Temperature Humidity Sensor Module. The plan is to add on a Giger Counter to measure if any radio active particles are in the air. The data produced will be sent to a Microsoft Azure Edge Hub to be processed. Some of the information I am providing was received from a Free Microsoft class I took on IOT Edge. If you ever get a chance to attend some of the free classes at your local Microsoft I highly suggest it.
To start you will need the following things:
- Arduino Uno 3
- DHT11 or DHT22 Digital Temperature Humidity Sensor Module
- Windows 10 pro
- An Azure account, the free one from Microsoft will work. Here is a link: https://azure.microsoft.com/en-us/services/iot-edge/
here are the prerequisites that will be needed:
- Windows 10 pro Fall Creators Update (build 16299)
- Docker for Windows ** the "community edition" is fine. Make sure you install the STABLE version. A reboot may be required to enable Hyper-V
- Visual Studio Code
- .NET Core SDK
- Arduino IDE
- Open SSL
* create a c:\utils folder and unzip the downloaded OpenSSL zip to c:\utils\
(so you should a folder structure that looks like this-> c:\utils\OpenSSL)
- git ** installation of the default components and default configurations are fine
clone the Azure IoT C sdk. We need this to get the certificate generation scripts. Also, while Edge is in public preview, we need the 'CACertToolEdge' branch of the SDK. Run the following command from the root of the "C" drive
git clone -b CACertToolEdge http://github.com/azure/azure-iot-sdk-c
- Python 2.7 for Windows -- __**make sure it's 2.7.x, NOT 3.x.x**__
* during setup, elect to "add python 2.7 folder to the path"
![python_install](/images/python_install.png)
I am going to stop at this point today, to see if I have any questions.
Stephan
No comments:
Post a Comment