This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Serial Communication using a Zigbee Mesh network and nRF52840 dongle

Hi Nordic Team, 

I would like to share with you a minor challenge that we are facing to use the nRF52840 dongle with a Zigbee Mesh network and issuing a serial communication when actives by Alexa.

At the moment, I do have two programs running independent:

* Zigbee Integration with Alexa - I've used the nRF52 SDK with the light-bulb and tweak a few things and it is working smoothly with my Alexa 4th and 4 nRF52840 dongles.

* Serial Communication with nRF52840 Dongle - I've developed a new program based on the UART_SDK which is also working seemly sending and receiving serial commands from the PC.

Now, I would like to merge both in only one compiled .hex file in order to when I ask alexa to turn on the lights, the dongle will issue a serial command to a third party device to communicate with. I want to replicate it for all of my dongles and connect them with different third party devices which will have the alexa as the coordinator of the network.

The error that is showing up during the compiling process and I still adding different libraries under the SDK folder, but it still showing some errors.

Thank you in advanced for your help and support

Parents Reply Children
  • Hi,

    You will have to adapt the example to the board you are using to get correct pin assignment etc. We have a nRF52840 Dongle Programming Tutorial, which I highly recommend looking at when using the dongle. There you will find a guide on how to adapt nRF5 SDK projects for the dongle.

    Be aware that for the nRF52840 dongle there is no UART connected to the PC, other than the virtual COM port used for programming via Serial DFU (USB). You can implement a virtual COM port as in the USB CDC ACM Example, but in this case you are not actually using the UART peripheral on the dongle, only the USB. We recommend using the nRF52840 DK for development, as it has an onboard debugger. It can also do USB-UART bridging, so that you can actually use the UART peripheral.

    Best regards,

    Marte

Related