Printing QR Codes
Printing QR Codes
All ARTIK modules come pre-programmed with unique device identifiers and MAC addresses (where used). To simplify device information entry, these numbers can be generated as QR codes.
ARTIK 05x, 530, and 710 modules come with a QR code label attached, so you only need to print up QR codes if your design makes the ones on the modules inaccessible.
ARTIK 020 and 030 modules are too small to accommodate the label, so you need to print them up to use them during on-boarding.
Print the MAC address and associated information of each gateway and edge node device as a QR code. (Alternatively, you could type in the information manually.)
You may need two different QR codes:
– Thread app QR code (ARTIK 030): Requires join passphrase and full MAC address.
– ARTIK app QR code: Requires device identifier and abbreviated MAC address.
Generate QR codes
You can use any QR code generation application you like. Some options:
|http://www.qr-code-generator.com (select "Text" as shown)|
(defaults to Text)
Just copy the ARTIK or Thread app format to the QR code generation screen and click to create the QR code. You can either print the code, or if just for local testing, use the cell phone apps to grab the image from your PC screen.
Create ARTIK app QR format
The ARTIK app needs device identifier and MAC address information for onboarding all types of ARTIK modules. ARTIK 05x, 530, and 710 modules come with the QR code attached, so you only need to print up QR codes if your design makes the ones on the modules inaccessible.
ARTIK 020 and 030 Format
- ARTIK 020:
- ARTIK 030:
<device_unique_id> is a shortened form of the device identifier.
ARTIK 020: save only the last six bytes of the Device ID (on console after RESET)
ARTIK 030: delete the
FFFEfrom the middle of the code (on console after
Other ARTIK formats
All other ARTIK modules use this format.
You can recover the information by scanning the QR code on the module. On a Linux module, you can also get the information by either of these methods:
- Stopping the module after reset to direct it to U-Boot, and typing
- Booting up and typing
The serial number is used to generate unique MAC addresses for Wi-Fi and Bluetooth (if present).
The serial number is programmable, so it is possible that the module will not return the identifiers presented on the QR code tag.
Create Thread app QR format
You'll only need the Thread QR code for the ARTIK 030.
where the EUI64 address and passphrase can be found on the Simplicity Studio console.
Connect the board and launch the console.
Press RESET to see the Eui64, and copy it into the code generator.
Press PB1 (the left button) to see the join passphrase, and copy it into the code generator.