---
title: "Kraken Jr. IoT App Tutorial Part 2 - Capturing Cid and Auth Code"
url: "https://maker.wiznet.io/mayuri/projects/kraken-jr-iot-app-tutorial-part-2-capturing-cid-and-auth-code/"
markdown_url: "https://maker.wiznet.io/mayuri/projects/kraken-jr-iot-app-tutorial-part-2-capturing-cid-and-auth-code/md"
type: "UCC: User Created Content"
author: "Kraken"
author_url: "https://www.instructables.com/Kraken-Jr-Basic-IoT-Register-a-New-Microcontroller/"
editor: "WIZnet"
editor_url: "https://maker.wiznet.io/"
original_author: "Kraken"
original_url: "https://www.instructables.com/Kraken-Jr-Basic-IoT-Register-a-New-Microcontroller/"
published: "2023-01-02"
language: "en"
hardware: ["Arduino Ethernet Shield"]
likes: 2
views: 263
comments: 0
source: "WIZnet Makers (https://maker.wiznet.io/)"
---

# Kraken Jr. IoT App Tutorial Part 2 - Capturing Cid and Auth Code

> Registering a new Controller in your Kraken Jr. App is easy. However it will require you a couple of steps to accomplish it.

Original author: Kraken (source: https://www.instructables.com/Kraken-Jr-Basic-IoT-Register-a-New-Microcontroller/)

## Components

- **Arduino Ethernet Shield** x 1 ([docs](https://docs.arduino.cc/retired/shields/arduino-ethernet-shield-without-poe-module))

## Article

## **Supplies**

- [ARDUINO IDE](https://www.arduino.cc/en/main/software)

- [XLOADER](https://files.fm/krakenjriot?fbclid=IwAR2t8pItFc47YKeltapm0TnvLhke9TTdgTNP8OyufR4uGvGj0FCMWObQ7mc#a4vmzgze&layout=list;/view/XLoader.zip)

- [KRAKEN JR. HEX FILE](https://files.fm/krakenjriot?fbclid=IwAR3Dglu5FQXTyrxvXSSOgWNgyL-8oLnJ_q2Ve6v5ygMzkVtk0fz8Ud0svRc#a4vmzgze&layout=list;/view/v.1.14.RUH.UNIVERSAL.hex)

- ROUTER/MODEM (WITH INTERNET CONNECTION)

- LAN CABLE

- LAPTOP/PC

- USB CABLE

## **Step 1: Prepare the Boards**

[![Prepare the Boards](https://content.instructables.com/FV3/U4R1/K26EQTR5/FV3U4R1K26EQTR5.jpg?auto=webp&frame=1&width=525&height=1024&fit=bounds&md=12417388cedf7d11d288889e7756a846)](https://content.instructables.com/FV3/U4R1/K26EQTR5/FV3U4R1K26EQTR5.jpg?auto=webp&frame=1&width=1024&height=1024&fit=bounds&md=12417388cedf7d11d288889e7756a846)

[![Prepare the Boards](https://content.instructables.com/FA2/S4LZ/K26EQTSX/FA2S4LZK26EQTSX.jpg?auto=webp&frame=1&width=350&fit=bounds&md=4b01e449dedd425f1aa60a667b7266ff)](https://content.instructables.com/FA2/S4LZ/K26EQTSX/FA2S4LZK26EQTSX.jpg?auto=webp&frame=1&fit=bounds&md=4b01e449dedd425f1aa60a667b7266ff)

[![Prepare the Boards](https://content.instructables.com/FDL/RDYL/K26EQTS1/FDLRDYLK26EQTS1.jpg?auto=webp&frame=1&width=350&fit=bounds&md=0bf14aaae79959603554783ceabe27b2)](https://content.instructables.com/FDL/RDYL/K26EQTS1/FDLRDYLK26EQTS1.jpg?auto=webp&frame=1&fit=bounds&md=0bf14aaae79959603554783ceabe27b2)

Fix Arduino Uno + Ethernet Shield into one as shown

Add TipAsk QuestionCommentDownload

## **Step 2: Upload the Hex File**

[![Upload the Hex File](https://content.instructables.com/F0Q/2720/K26EQTRY/F0Q2720K26EQTRY.jpg?auto=webp&frame=1&fit=bounds&md=fddef729a7397233cb4df35b2e6c3383)](https://content.instructables.com/F0Q/2720/K26EQTRY/F0Q2720K26EQTRY.jpg?auto=webp&frame=1&fit=bounds&md=fddef729a7397233cb4df35b2e6c3383)

[![Upload the Hex File](https://content.instructables.com/FHJ/F23F/K26EQYNO/FHJF23FK26EQYNO.jpg?auto=webp&frame=1&width=689&height=1024&fit=bounds&md=1a73a55974ad862e4c87073de3b631ea)](https://content.instructables.com/FHJ/F23F/K26EQYNO/FHJF23FK26EQYNO.jpg?auto=webp&frame=1&width=1024&height=1024&fit=bounds&md=1a73a55974ad862e4c87073de3b631ea)

- Connect the **USB cable** to the **Arduino** board and the other end to the **LAPTOP/PC**

- Start the **Xloader**

- Click the three dots to select the Hex File you downloaded

- Select **Uno(ATmega328)**

- Select the correct detected COM port

- Leave the default **Baud Rate**

- After verifying all settings are correct you can start the upload by clicking the **Upload Button**

## **Step 3: Enable Network Connection**

[![Enable Network Connection](https://content.instructables.com/FK9/F5JI/K26EQZJC/FK9F5JIK26EQZJC.jpg?auto=webp&frame=1&crop=3:2&width=800&fit=bounds&md=784bdddb25cf4d9fc09b5b995ddd5613)](https://content.instructables.com/FK9/F5JI/K26EQZJC/FK9F5JIK26EQZJC.jpg?auto=webp&frame=1&width=1024&fit=bounds&md=784bdddb25cf4d9fc09b5b995ddd5613)

[![Enable Network Connection](https://content.instructables.com/FSG/89L1/K26ER02K/FSG89L1K26ER02K.jpg?auto=webp&frame=1&width=400&height=1024&fit=bounds&md=a3f0e37119ca6f3eb826782e4390c9c5)](https://content.instructables.com/FSG/89L1/K26ER02K/FSG89L1K26ER02K.jpg?auto=webp&frame=1&width=1024&height=1024&fit=bounds&md=a3f0e37119ca6f3eb826782e4390c9c5)

After uploading the Hex File

Connect the **Ethernet Shield** to your Internet **Modem **or **Switch **using the **LAN cablePlease Note! **This whole process requires Internet connection.

Add TipAsk QuestionCommentDownload

## **Step 4: Capturing the CiD and Auth Code**

[![Capturing the CiD and Auth Code](https://content.instructables.com/F40/0TUY/K26ER1CE/F400TUYK26ER1CE.png?auto=webp&frame=1&fit=bounds&md=394e8b2873b764030a89f1ab8bdd1756)](https://content.instructables.com/F40/0TUY/K26ER1CE/F400TUYK26ER1CE.png?auto=webp&frame=1&fit=bounds&md=394e8b2873b764030a89f1ab8bdd1756)

[![Capturing the CiD and Auth Code](https://content.instructables.com/FJU/QTUE/K26ER10D/FJUQTUEK26ER10D.jpg?auto=webp&frame=1&width=298&height=1024&fit=bounds&md=55d1e02ce7b5451d30de82e3eb7535b8)](https://content.instructables.com/FJU/QTUE/K26ER10D/FJUQTUEK26ER10D.jpg?auto=webp&frame=1&width=1024&height=1024&fit=bounds&md=55d1e02ce7b5451d30de82e3eb7535b8)

[![Capturing the CiD and Auth Code](https://content.instructables.com/FAR/IJUB/K26ER11H/FARIJUBK26ER11H.jpg?auto=webp&frame=1&width=298&fit=bounds&md=27e8f0d28e1966de236e8a38e2e63451)](https://content.instructables.com/FAR/IJUB/K26ER11H/FARIJUBK26ER11H.jpg?auto=webp&frame=1&fit=bounds&md=27e8f0d28e1966de236e8a38e2e63451)

After connecting your boards to the Internet

1. Open now your **Arduino IDE** (don't run anything just do the next step)

2. Select the Correct **COM port**

3. Click the **Serial Monitor**

4. And wait for the **Serial Messages**

5. Once the **CiD **and **Auth Code **values shows this means that you have successfully connected to our server

6. Next step is to Take Note of the **CiD **and **Auth Code **values, we will be using these to register it to our **Kraken Jr. App**

---

Source: https://maker.wiznet.io/mayuri/projects/kraken-jr-iot-app-tutorial-part-2-capturing-cid-and-auth-code/
