Get started Far first-time users of the Michigan loT Deviate Deviate, follow these quick steps to: * Prepare your development environment. s Send temperature and humidity data from built-in loT Deviate sensors to the Azure loT Hub. If you have already done this, you can try more samples from the Projects Catalog or build your own loT application. What you learn + How to connect the loT Deviate to a wireless access point. & How to install the development environment.
Prepare your hardware To connect the ol Identikit to your computer: 1. Connect the Micro-USB end Othello Deviate 2. Connect:the USB end to your computer, 3. Thenceforth LED for power-confirms the trisection.
Configure WI-Fi loT projects rely on internet connectivity.
1. Hold down button B, push and release the reset button, and then release button B. Your loT Deviate enters AP mode for-configuring the WI-Fi connection.
2. Use 8 Web browser on a different WI-Fi enabled device {computer or mobile phone) ta connect to the loT Deviate SAID displayed in the previous step. 1T it asks for a password, leave it empty. Open 192.168.0.1 in the browser.
4. T Helot DevKitrebootsin few seconds. You then see the WI-Fi name and assigned [P address-on the screen.of the loT Deviate: Start using the Deviate Upgrade to the latest firmware The default app running on the Deviate checks the latest version of the firmware and displays some sensor diagnosis data for you.
Note: Since 1, Desirableness ST-SAFE in bookbinder: You need to upgrade the firmware if you are running 2 version. pro vl Test various sensors Press button B to test the sensors.
1. Install Arduino 1DE thirsty 1t provides the necessary tool chain for compiling and uploading Arduino code. o Windows: Use Windows Installer version. Do not install from the app store. o Macon: Drag and drop the extracted Arduino.app into | /applications folder. o Ubuntu: Unzip it into folder such as 2. Install Visual Studio Code a cross platform source code editor with powerful developer tooling, like Intelligent code completion and debugging. 3.
4. Oak for Azure laT Tools in the extension marketplace and install it.
5. Configure VS Code with Arduino settings. In Visual Studio Code, click File > Preference > Settings. pleas g By oy Ala Save S Ao Save Delay Type "Arduino” in the search text box, the Arduino:Additional Urals is showed up, then click the hyperlink "Edit in settings. join's. e fa Make sure the "ardeine.path® and | “arduinc.
Install ST-Link drivers (httpy//www is the USB interface that loT Deviate uses to communicate with your development machine. Follow the OS-specific steps to allow the machine access to your device. s Windows: Download and install USB driver from St Microelectronics website * ma Cos: No driver is required for ma Cos. s Ubuntu: Run the following in terminal and log out and log in for the group change to take effect:
6. Click: 71 to open the command palette, type and select Azure loT Device Workbench: Configure Device Settings..., then select Confirm Device Connection String > Select foT Hub Device Connection String. 7. On: Deviate, hold down button A, push and release the reset button, and then release button A, Your Deviate enters configuration made and saves the compaction string. Click "r1 again, type and select Azure loT Device Workbench: Upload Device Code. It starts compile and upload the code to Devi it.
The sample application is running successfully when you see the following results: « The Serial Monitor displays the message sent to the loT Hub. e The LED on the Chip loT Deviate is blinking.
ind the loT Hub you created e PO——r— 2. 1n the Shared access policies pane, click the homeowner policy, and write down the Connection string of your loT hub. Saint T Shared ac east policies seeming someones. s stress Expand AZURE 10T HUB DEVICES on the bottom left corner. Click Set loT Hub Connection String in context menu. 5. Click loT: Start monitoring B2C message in context menu.