简体   繁体   English

Raspberry Pi在线模拟器?

[英]Raspberry Pi Online Simulator?

So I am working on Microsoft Azure to create a smart parking system( basically to count number of vehicle going in and out of parking lot using the sensor data). 因此,我正在Microsoft Azure上创建一个智能停车系统(基本上是使用传感器数据来计算进出停车场的车辆数量)。 I created a IoT hub on azure and connected the device key with Raspberry Pi online simulator. 我在azure上创建了IoT中心,并将设备密钥与Raspberry Pi在线模拟器相连。 The default sample code is of a weather sensor and I want to change it and code for parking sensor, like to count number of vehicles in and out. 默认的示例代码是天气传感器的代码,我想更改它,并设置驻车传感器的代码,例如计算进出的车辆数量。 I am confused as to how to start coding and make changes in the Raspberry Pi online simulator coding area. 对于在Raspberry Pi在线模拟器编码区域中如何开始编码和进行更改,我感到困惑。 It uses node.js. 它使用node.js。

You can go through the following to get it configured, 您可以按照以下步骤进行配置,

Connect Raspberry Pi online simulator to Azure IoT Hub (Node.js) 将Raspberry Pi在线模拟器连接到Azure IoT中心(Node.js)

and code samples can be found here 和代码示例可以在here找到

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM