Connection Modes

IoTy supports 4 different ways to connect to your device.

Serial Mode

Connection Steps

  1. Open connection menu.

  1. Switch to "Serial" mode and click "Ok".

  1. Connect device to computer using USB cable.
  2. Open connection menu and click "Connect".
  3. Select "Filtered Connect", select your device (...there will probably be just one), and click "Connect".
  4. Open connection menu and click "Download to device".
  5. Reset your device to run the new code.

Bluetooth Mode

Connection Steps

  1. Open connection menu.

  1. Switch to "Bluetooth" mode and click "Ok".

  1. Switch your device to programming mode by pressing reset, then hold the boot button until the Blue LED stays on.

  1. Open connection menu and click "Connect".
  2. Select your device (...it should show the name that you've selected when flashing firmware) and click "Connect".
  3. Open connection menu and click "Download to device".
  4. Reset your device to run the new code.

Internet Mode

Configuring Network

  1. Connect using one of the other modes.
  2. Open the connection menu, and select "Configure Device Network".
  3. Provide your WiFi SSID and password.
  4. Fill in the MQTT Host, Port, Username, and Password. If using the public server provided by Hivemq, set Host to broker.hivemq.com, Port to 1883, Username can be anything (...choose something unique), and leave password blank.
  5. Click "Ok".

Connection Steps

  1. Open connection menu.

  1. Switch to "Internet" mode and click "Ok".

  1. Switch your device to programming mode by pressing reset, then hold the boot button until the Blue LED stays on.

  1. The Blue LED will then perform double blinks while it connects to your WiFi. When the Blue LED stays on, connection to the MQTT server is complete.
  2. Open connection menu and click "Connect".
  3. Provide the MQTT Host, Username, and Password. If using the public server provided by Hivemq, set Host to ws://broker.hivemq.com:8000/mqtt, Username to what you have used when configuring network, and leave password blank. Click "Ok".
  4. Open connection menu and click "Download to device".
  5. Reset your device to run the new code.

Access Point Mode

Download Program

To use Access Point mode, you must first download your program as a JSON package. Click "File", then "Save code to JSON package".

Connection Steps

  1. Switch your device to access point mode by pressing reset, then hold the boot button until the Blue LED blinks rapidly.

  1. On your computing device (eg. Computer, phone, tablet), open the WiFi menu and look for an access point with the name of your IoTy device (...name that you have selected when flashing firmware). Connect to that access point.
  2. Upon connection, you will lose internet access. This is normal!
  3. Click "App", then "Access point page".

  1. In the access point page, look for the "Upload Code" section, select "Choose file", then select the JSON package you have downloaded earlier.
  2. Click the "Upload" button. You should see a success message.

  1. Reset your device to run the new code.