Nordic nRF52840 QR Code based Thread Network Commissioning @electronutLabs @NordicTweets
Our friends at Electronut Labs continue their work with the Nordic nRF52840, using QR codes to pass network credentials to the device via a Raspberry Pi camera instead of hardcoding or typing in passwords.
They show how to generate the QR code and then reading the code via a Raspberry Pi and attached camera. Then they demonstrate a Python program to use the information for network commissioning. They write:
…that’s how you can use a camera on the Raspberry Pi Border Router to commission your Thread device. Although this method may look like external commissioning, since we’re actually using a separate program to parse the information and run wpanctl to manually add the joiner, this looks more like a variation of on-mesh commissioning to me. Who knows? Maybe the Thread experts will tell us. In any case, it works.
Stop breadboarding and soldering – start making immediately! Adafruit’s Circuit Playground is jam-packed with LEDs, sensors, buttons, alligator clip pads and more. Build projects with Circuit Playground in a few minutes with the drag-and-drop MakeCode programming site, learn computer science using the CS Discoveries class on code.org, jump into CircuitPython to learn Python and hardware together, TinyGO, or even use the Arduino IDE. Circuit Playground Express is the newest and best Circuit Playground board, with support for CircuitPython, MakeCode, and Arduino. It has a powerful processor, 10 NeoPixels, mini speaker, InfraRed receive and transmit, two buttons, a switch, 14 alligator clip pads, and lots of sensors: capacitive touch, IR proximity, temperature, light, motion and sound. A whole wide world of electronics and coding is waiting for you, and it fits in the palm of your hand.