Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Matha Goram
    @baqwas
    Error: AZ3166: Unknown package
    [Error] Exit with code=3
    Matha Goram
    @baqwas
    @lirenhe Sorry to bug you but could you please steer me in the right direction to use the AZ3166 for local Arduino examples that were installed when I did the original IoT DevKit installation. The "config" files were installed before my fresh install of Ubuntu but were "restored" automatically by "duplicity Backup" app after the fresh install. Now the AZ3166 board is "undefined" in VS Code: Arduino: Board Manager (not in the selection list) but Azure IoT Hub has registration info and data flows freely to Azure services. How can I get Arduino Board Manager to "recognize" the AZ3166? I guess the answer is a complete fresh install of AZ3166? Which steps do I need to follow? Thanks again.
    raghuureddy
    @raghuureddy
    @lirenhe thank you, my work wifi was blocking calls to IoT hub i guess, after switching to diff wifi, its working.
    Renhe Li
    @lirenhe
    @raghuureddy , there is a 'Configure VS Code with Arduino settings.' in https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-arduino-iot-devkit-az3166-get-started, could you try it again? You also need to click 'Refresh Package Indexes' to force Arduino to load the new package.
    rajkamalrhub
    @rajkamalrhub
    Hi, We are developing iot gateway to send data from device to cloud. wanted to sent application log and audit log details into the cloud. also log to be viewed in log analytics in azure. is there any logging services availabe to send from device to cloud.
    Jared Dickson
    @kraihn

    I recently purchased an AZ3166, and after going through all of the instructions, I can't get it to show up on my Windows 10 machine. I've tried the process on 2 different computers.

    I don't see "AZ3166" as a browsable storage device, and I don't see "COM3" as an option in VS Code.

    Any ideas on what I should look into? The driver zip I downloaded was named "en.stsw-link009"

    Tammy Lee šŸŽ‘šŸ‘©šŸ»ā€šŸ’»šŸŒ±
    @dev_n_farming_twitter
    Hello! I'm new, so apologies if this is a silly question. In the beginner tutorial (https://microsoft.github.io/azure-iot-developer-kit/docs/get-started/), in step 4 under "You can use Azure IoT Toolkit to monitor device-to-cloud (D2C) messages in IoT Hub", it references setting the IoT Hub Connection String under the "IOT Hub Devices" tab. I think that may have been deprecated -- I only see a tab that reads "Azure IOT Hub", under which the devices listed. When I right click on the device, I see a menu of options, but not one to set the IoT Hub Connection String.
    image.png
    (I'm currently trying to use the Azure CLI command az iot hub policy create but I'm coming across errors.) Could you advise? Thank you!!
    Tammy Lee šŸŽ‘šŸ‘©šŸ»ā€šŸ’»šŸŒ±
    @dev_n_farming_twitter
    Nevermind -- found this: MicrosoftDocs/azure-docs#31878 šŸ˜†
    br1pro
    @br1pro
    Hi! I'm following this tutorial https://microsoft.github.io/azure-iot-developer-kit/docs/get-started/ to connect my AZ3166 to Iot Hub.
    The tutorial explain how to run the "Get started" tutorial.
    In the section "Build your first project" I'm blocked at point 5. If I click on the "select serial port" button in the right down corner, nothing happens.
    I'm using the last firmware 1.6.2 and visual studio code on a win10 pc.
    image.png
    Renhe Li
    @lirenhe
    @kraihn , could you try to use another cable to connect to AZ3166?
    @dev_n_farming_twitter , Thanks for raise this issue, we will update our documents for this command change.
    Renhe Li
    @lirenhe
    @br1pro, no sure whether this issue is caused by the latest version of VS Code. Could you try again with VS code 1.35?
    br1pro
    @br1pro
    Hi All, related to my issue I found this Issue open for vscode-arduino
    microsoft/vscode-arduino#816
    rajkamalrhub
    @rajkamalrhub
    Hi, I'm new to azure, using Iot gateway devices which connect to iot Hub for collecting messages. Wanted to collect application log and audit log from the device, I was reading azure log analytics and application insights, which one would be a good choice for the opertaion to know how device perform, troubleshooting and analysis.
    James Francisco
    @JamesFrancisco
    I've been trying to configure an AZ3166 board. I've created the IoT hub and device file on Azure. The connection string was automatically generated. But, when I try to configure the board through VSCode using the automated upload, I keep getting this error. "Configure Device connection string completely."
    Arthur Ma
    @ArthurMa1978
    @rajkamalrhub for iot device Distributed tracing is the right choice
    @JamesFrancisco what is 'automated upload'? and the message "Configure Device connection string completely." is not error but notification for successfully setting the connection string to AZ3166 board. For more information please check Quickstart and Build your first project
    nathanb-19
    @nathanb-19

    I recently purchased the mxChip IoT devkit and was able to follow through with the get-started tutorial right up to the point where I need to upload the device code . I get an error: "C\users\xxxxx\appdata\local\arduino15\packages\AZ3166\tools\arm-none-eabi-gcc\5-4-2016q3/bin/arm-none-eabi-g++": file does not exist" Exit with code=1.

    I have tried uninstalling/reinstalling the Arduino IDE and toolkit within Visual Studio Code but it still persists. Any help would be appreciated!

    rajkamalrhub
    @rajkamalrhub
    @ArthurMa1978 Thanks for the information. Apart from message send via IoTHub, collecting activites log from device using serilog log analytics slink, can the distributed tracing collect all activites like device sarted, registered, message send, failed, etc. And will this use same changell of IoTHub?
    anthonyperri
    @anthonyperri
    I am trying to use the MXChip behind a corp firewall. Can anyone tell me if MQTT Websockets is a supported cloud protocol? 8883 is blocked in my network and was hoping to use 443.
    Sayan Chatterjee
    @sayan1886
    Hi All,

    I am using AZ3166 simulator but not able to run the simulator and getting below error.

    Executing task: node "/Users/$USER/azure-board-cli/out/cli.js" provision .bin <

    internal/modules/cjs/loader.js:628
    throw err;

    Because of azure-board-cli does not exists, apprteicate if you colud help me .

    cschillinger
    @cschillinger

    Iā€™m having the same issue has posted here: https://stackoverflow.com/questions/55368250/azure-iot-devkit-get-started-project-disconnecting-and-re-connecting-over-and-ov

    However, I am using my iphone hotspot, and able to get the Get Started project working and sending telemetry through my hotspot to my hub. However, as soon as I add the certificate and the set-option line I get the following repeated output via vscode com3 monitor:

    Connection status: disconnected >>>Re-connect. Iothub Version:1.2.14

    Stephen Fletcher
    @sfletc
    Anyone know if the iot-dev kit can be connected to wpa2-enterprise wifi such as eduroam (so username and password required)?
    Jakub Svoboda
    @jakubsvobodacz
    Hi, I am following this guide: https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-arduino-iot-devkit-az3166-get-started and in Step 8, my device never gets from "running" to actually sending the test telemetry. I use mobile hotspot. any ideas why it is stuck in "running"??
    Nik - Shahriar Nikkhah
    @SQLDataSide
    I have am IoT edge that is working fine i restart the computer Win10 the edge is fine, i shut down the computer and everything is lost, can someone help?
    Allan Pead
    @apead
    Anyone get pulseIn to work on the az3166 board?
    Allan Pead
    @apead
    wrote own version
    Nik - Shahriar Nikkhah
    @SQLDataSide
    pulseln ??, you have a link?
    @jakubsvobodacz it is working for me i am sure you have just missed a minor step
    ukdanr
    @ukdanr
    Hi - has anyone managed to connect an MXCHIP to Arduino Mega using Wire.h ?
    Adam Sasine
    @asasine
    I am receiving an error when running the DevKitState example. It matches the one described in microsoft/azure-iot-developer-kit#483. Has a solution been found?
    Allan Pead
    @apead
    @SQLDataSide a link to what?
    Jrshelkay
    @Jrshelkay
    Hi
    Does anyone have a pinout comparison between Arduino and AZ3166
    Jrshelkay
    @Jrshelkay
    @ukdanr - thanks, this is amazing. I guess not all analog or digital pins (Arduino) would be available in AZ3166 ?
    EdLamie
    @EdLamie
    I just received my MXChip IoT DevKit, connected it as instructed, and entered 192.168.0.1 into my browser and get an error message that this site cannot be reached. I have tried different computers and different browser, but always the same error message. Any suggestions?
    Jrshelkay
    @Jrshelkay
    @EdLamie - Did you connect your connecting system (PC, Tablet) to the MXChip SSID. Let me know if you need further info - I can certainly help
    EdLamie
    @EdLamie
    @Jrshelkay Yes, I connected my MXChip to a laptop computer, reset it (Button B and Reset), and the message on the MXChip screen was as expected: IoT DevKit, AZ-xxxxxxx, Config WiFi on 192.168.0.1, I went to a browser on another computer and entered 192.168.0.1 and received the message that this site cannot be reached. Thanks for the link but I already had it and followed the instructions explicitly.
    EdLamie
    @EdLamie
    @Jrshelkay Problem resolved--I failed to connect to the MXChip access point (I was trying to access its website). Once I did that, all is well. Thank you for helping.
    Jrshelkay
    @Jrshelkay
    @EdLamie: Glad to hear that. Good luck on your project
    Joshua M Loran
    @JoshuaLoran
    I'm having an issue connecting my MXChip to my wifi. I'm using firmware v1.6.2 and enter AP mode to configure the wifi by holding B, pushing reset, then letting go of B. On another device I connect to the AZ3166 wifi and the provided IP address on the MXChip. I enter the credentials and it reads connecting... on the chip. The chip then displays the name and IP of the wifi as though it worked. But, there is no result file created and the chip reads no wifi after reset. I've tried several different firmware options and I'm at the point where I'm thinking I have a faulty wifi chip onboard the MXChip. Anybody have any ideas or experience with this problem?
    maneeshmenon
    @maneeshmenon

    I recently read about 'MXCHIP AZ3166 IOT DevKit'. Can I connect an external sensor to it?

    Data to IOT Hub should be from the external sensor.

    I wish to implement a smart garden and hence I want to soil moisture sensor to be connected to 'MXCHIP AZ3166 IOT DevKit'. Is it possible? Can information from my soil moisture sensor be send to IOT Hub?

    Regards,

    MM

    @JoshuaLoran , can you try connect wifi via the serial monitor and see the output message? https://microsoft.github.io/azure-iot-developer-kit/docs/use-configuration-mode/
    Alper Derici
    @aderici
    hi all, is anybody else struggling with getting the sample "Devkit State" to work? It constantly gives 400 error code. I believe something in the implementation must have changed?