Overview of Raspberry Pi Simulator
1. Assembly Area. You can see your device status.
2. Coding Area. An online code editor for you to make an app on Raspberry Pi with Node.js
3. Integrated console window. You can see the output of your app.
1. In the Azure portal, click New > Internet of Things > IoT Hub to provision a new IoT hub.
2. In the Device Explorer pane, click Add to add a device to your IoT hub.
3. Select the device you just created and copy the primary key of the connection string.
1. Replace the placeholder in Line 15 with the Azure IoT hub device connection string.
2. Click Run button or type "npm start" in the console window to run the application.





