Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    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?
    Joshua M Loran
    @JoshuaLoran
    @liydu I put the MXChip in config mode and and I get the following error
    @liydu ERROError: Time:Thu Jan 1 00:03:21 1970 File:IoT_DevKit_HW.cpp Func:initWiFi Line:53 Failed to initialize Wi-Fi.
    R: Failed to get the Wi-Fi SSID from EEPROM.
    Joshua M Loran
    @JoshuaLoran
    @liydu Also, when I try to set _wifipwd through configuration mode I get "# set_wifipwd *
    ERROR: Failed to write EEPROM: 0x0a."
    John Koz
    @JohnKoz
    I'm trying to map the analog inputs from an arduino project to the MXChip. I've read the Jeremy Lindsay articles but I'm having trouble finding the corresponding physical pins for ardunio AO and A1. Anyone know more about this?
    John Koz
    @JohnKoz
    Ok after a bunch more googling and face palming I realized the A0 and A1 analog input pins are the same on the MXChip (0 and 1 respectively). I did however find that on the Kitronix breakout board A0 (Arduino)=0(MXChip) = 0 pin (Kitronix) and A1(Arduino) = 1 (MXChip) = 4 pin(Kitronix). Hope this helps future kitronix breakout board users
    John Koz
    @JohnKoz
    The next question I ran into is: Does the Tone() function work on the MXChip? I'm getting the following error when I try to invoke tone(piezoPin, 1000, 500); "device:17:27: error: 'tone' was not declared in this scope"
    inessaid
    @inessaid

    I'm doing the Microsoft iot-devkit tutorial with the MXChip az3166. Specifically I'm doing the translate tutorial that comes included in Visual Studio Code for the MXChip az3166.

    I've tried doing the whole tutorial twice from scratch and everytime I think i'm done, I go to test the result. When I press the B button to record it says "processing" then "uploading" then it returns a message "Sorry, I can't hear you" If I try pressing the B button again it gets stuck on the screen: "Release to send. max duration 1.5 sec".

    inessaid
    @inessaid
    I'm new to the DevKit. How Can I monitor what's happening and check the error messages
    Xavier Mignot
    @xaviermignot
    image.png
    @inessaid have you checked the Serial Monitor in VS Code ? You can open it using the plug icon in the bottom right corner of VS Code...
    Liya Du
    @liydu
    @JoshuaLoran , can you try first flash the DevKit back to original state? https://microsoft.github.io/azure-iot-developer-kit/versions/
    Joshua M Loran
    @JoshuaLoran
    @liydu did that, got same error. Tried flashing several different versions, same error for all.
    Mirko Bonello
    @mirkob_twitter
    Hello. I just bought a new DevKit and followed the steps in this link: https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-arduino-iot-devkit-az3166-get-started
    but my device gets stuck in "Running" state after re-booting and the Azure signal does NOT turn on. Can someone help?
    Benjamin Cabé
    @kartben
    Hi everyone -- I have an issue with my MXChip (tried with quite a few actually, so it's not a HW issue I believe) where a firmware built using SDK 1.9.10 deployed by copying to mass storage leads to the MXChip not booting up at all (black screen) whereas the same program deployed from VS Code / OpenOCD just works. Any thoughts? FWIW this is the firmware: https://github.com/kartben/mxchip_pnp_asset_tracker
    Peter Gallagher
    @pjgpetecodes
    @mirkob_twitter I've got the exact same problem... Did you have any luck fixing it?
    ashishjos
    @ashishjos
    Although I had been using MXCHIP for some time. But just today installed the setup in a new laptop. I am stuck in the step in Visual Code where I have to go to Arduino:Board Manager and select AZ3166. I have tried multiple times refreshing package list but this board does not appear. I have installed the latest Arduino UI 1.8.10. The log indicates some certificate error. Pasting the excerpt below. Any help would be great, as I am stuck right now:
    This is the error: 2019-11-16T12:46:03.909Z INFO c.a.u.n.HttpConnectionManager:148 [main] Connect to https://raw.githubusercontent.com/VSChina/azureiotdevkit_tools/master/package_azureboard_index.json, method=HEAD, request id=97F4B1E8C4EC49E4
    2019-11-16T12:46:04.149Z ERROR c.a.u.n.FileDownloader:199 [main] The request stop
    javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
    Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
    Sean Weiss
    @weisssean
    Been trying to follow the get started doc but my Mac running OSX 10.15.1 does not see the device as an external device, not even in the terminal. Any clue? see https://stackoverflow.com/questions/58905122/azure-az3166-not-showing-in-finder
    JerryYang
    @JerryYangKai
    @mirkob_twitter @pjgpetecodes I think it may have got some problem when connecting to Azure. You can check the log in Serial Monitor to tracking the error.
    JerryYang
    @JerryYangKai
    @ashishjos It may be some java cert problem in your new laptop. I searched your error log in Google and found someone meet same problem like you. The solution is generate a new cert.
    JerryYang
    @JerryYangKai
    @weisssean MAC OSX and Linux machines will recognize the device automatically. Have you checked the device connecting to windows? Excluding physically problem first.
    JerryYang
    @JerryYangKai
    @kartben I tried your repo and went well, so which step you met problem, upload fail or the devkit don't run?
    ashishjos
    @ashishjos
    @JerryYangKai Thanks. Could you point me to the instruction on how do I do that?
    ashishjos
    @ashishjos
    was able to install. Not sure what fixed the issue. I just went to browser and downloaded the certificate file locally and then just restarted visual code.
    Sean Weiss
    @weisssean
    Sorry @JerryYangKai it was the fault of a bad micro usb cable. The device was powering up so I assumed it was fine.
    tisa
    @tisa_ia_twitter
    Hello, I'm trying the DevKit Translator example with DevKit Firmware 1.6.3 and 1.6.5 but unable to connect to Azure. It deploys something to Azure Function, but when it comes to the translation process, it always display "Sorry, can't hear" in OLED screen and in serial monitor "Azure Function fails". There's also some error in VSCode Problems tab, such as: Duplicate 'System.Reflection.AssemblyCompanyAttribute' attribute [Functions], and when I monitor Azure Function stream it says: Microsoft.CognitiveServices.Speech.core.dll or its dependencies cannot be found.
    Am I missing something? I've read and done the whole tutorial, also done some googling but still confused on what to do to resolve this.
    fadyanwar
    @fadyanwar
    Hello, I'm not sure if this is a relevant question, but i'm not able to find the Contoso template on IoT Central Azure Application and I was wondering where it went.
    tisa
    @tisa_ia_twitter
    Nvm, turns out I was using a newer version of .NET Core SDK. When I try to use the 2.1 version, it runs perfectly well
    tisa
    @tisa_ia_twitter
    I try to connect my DevKit to MPU6050 sensor using DevKit's SCL & SDA I2C pins, but it always returns can't read the MPU6050 address. I've checked the MPU6050 and it works fine with other device, so it isn't MPU's fault. I have tried using some Arduino libraries and none works out. Does anyone have any suggestion on why it wasn't working out?
    DevScienceScope
    @DevScienceScope
    Hi. I have just had an intresting problem where one of our internal DNS servers went offline and the IoT Dev Kit wasnt looking for the other DNS servers. All other devices could find the second DNS such as a Windows 10 HP laptop and a Raspberry PI 3 running Raspbian. It was like the device was only looking at one DNS and not attempting to look for any others. I was looking through the libraries to see if i could manually set a DNS for the devices however this does not seem to exist. I was looking for something like the Arduino WiFi.config https://www.arduino.cc/en/Reference/WiFiConfig . I was wandering if there is a way to manually set the DNS of these devices?
    Jani Turunen
    @Janisku7
    mine show when initialize the version and show latest what the devkit already have as latest
    tisa
    @tisa_ia_twitter
    @tisa_ia_twitter solved it by using mbed library
    AnkiJoelsson
    @AnkiJoelsson

    Hi, I'm desperately trying to get my iot-devkit to work on my windows 10 laptop but no luck. My last hope is that someone in here could give me a hint what I'm doing wrong :) . I'm using this tutorial: https://microsoft.github.io/azure-iot-developer-kit/docs/get-started/ and I'm stuck at step 5 - the serial port. When I'm loading the GetStarted example I get just "No serial port is available" and <Select Serial Port> doesn't show any ports but when I'm loading the MXChip IoT DevKit samples VoiceRecord - I can see the port "COM1" but when I click it it says "No serial port is available". I don't get what's wrong in my setup.
    I've tried to find out which versions of visual studio code, extension versions, Arduino IDE and the ST-link drivers I should use, since it seems to be some issues using different versions together. I started off with all latest versions in the setup and it didn't work either.
    I'm using the following setup right now:
    WINDOWS version:
    Windows 10 Home 18362.535
    VISUAL STUDIO CODE:
    Version: 1.40.2 (system setup)
    Commit: f359dd69833dd8800b54d458f6d37ab7c78df520
    Date: 2019-11-25T14:54:45.096Z
    Electron: 6.1.5
    Chrome: 76.0.3809.146
    Node.js: 12.4.0
    V8: 7.6.303.31-electron.0
    OS: Windows_NT x64 10.0.18362
    ARDUINO:
    v1.8.6
    ST-LINK driver:
    downloaded the en.stsw-link009 file

    someone help me pls... I really want this to work :)

    JerryYang
    @JerryYangKai
    @AnkiJoelsson Hi, in step 5, it said 'In the bottom-right status bar, check the MXCHIP AZ3166 is shown as selected board and serial port with STMicroelectronics is used'. So I want to know have you got 'the MXCHIP AZ3166' show below?
    AnkiJoelsson
    @AnkiJoelsson
    @JerryYangKai Hi! :) Yes it is the selected board and when I click on it to open the Arduino Board Configuration it says 'MXCHIP AZ3166 (MXChip - Microsoft Azure IoT Developer Kit)' - Upload method: 'OpenOCD'. But clicking on the <Select Serial Port> gives me 'No serial port is available'.