Pycom Documentation
  • Introduction
  • Pycom Products
  • Getting Started
    • Introduction
    • Hardware Setup
      • LoPy
      • LoPy 4
      • SiPy
      • GPy
      • FiPy
      • WiPy
    • Software
      • Drivers
      • Updating Firmware
      • Pymakr
    • Programming the modules
      • Introduction to MicroPython
      • MicroPython Examples
      • Your first Pymakr project
      • REPL
        • Serial USB (UART)
        • Telnet REPL
      • FTP
      • Safe boot
    • Device Registration
      • Sigfox
      • Cellular
      • LoRaWAN
        • The Things Network
        • Objenious
  • Pymakr Plugin
    • Installation
      • Atom
      • Visual Studio Code
    • Tools/Features
    • Settings
  • Pytrack, Pysense, Pyscan
    • Introduction
    • Installing Software
      • Updating Firmware
      • Installing Drivers - Windows 7
      • Installing Libraries
    • API Reference
      • Pytrack
      • Pysense
      • Pyscan
      • Sleep
  • Tutorials & Examples
    • Introduction
    • All Pycom Device Examples
      • REPL
      • WLAN
      • Bluetooth
      • HTTPS
      • MQTT
      • AWS
      • ADC
      • I2C
      • Onewire Driver
      • Threading
      • RGB LED
      • Timers
      • PIR Sensor
      • Modbus
      • OTA update
      • RMT
      • Socket
      • Touch
    • LoRa Examples
      • LoRa-MAC (Raw LoRa)
      • LoRaWAN with OTAA
      • LoRaWAN with ABP
      • LoRa-MAC Nano-Gateway
      • LoPy to LoPy
      • LoRaWAN Nano-Gateway
      • RN2483 to LoPy
      • LoRa Mesh
      • PyMesh Border Router
    • Sigfox Examples
    • LTE Examples
      • CAT-M1
      • NB-IoT
      • Module IMEI
      • Modem Firmware Update
    • Pytrack Examples
    • Pysense Examples
    • Pyscan Examples
  • Firmware & API Reference
    • Introduction
    • Pycom Modules
      • machine
        • ADC
        • DAC
        • I2C
        • Pin
        • PWM
        • RTC
        • SPI
        • UART
        • WDT
        • Timer
        • SD
        • CAN
        • RMT
      • network
        • WLAN
        • Server
        • Bluetooth
          • GATT
          • GATTCConnection
          • GATTCService
          • GATTCCharacteristic
          • GATTSService
          • GATTSCharacteristic
        • LoRa
          • Pymesh
        • Sigfox
        • LTE
      • AES
      • pycom
    • MicroPython Modules
      • micropython
      • uctypes
      • sys
      • uos
      • array
      • cmath
      • math
      • gc
      • ubinascii
      • ujson
      • ure
      • usocket
      • select
      • utime
      • uhashlib
      • ussl
      • ucrypto
      • ustruct
        • uzlib
      • _thread
      • Builtin
    • Notes
  • Product Info, Datasheets
    • Introduction
    • Development Modules
      • WiPy 2.0
      • WiPy 3.0
      • LoPy
      • LoPy 4
      • SiPy
      • GPy
      • FiPy
    • OEM Modules
      • W01
      • L01
      • L04
      • G01
      • L01 OEM Baseboard Reference
      • Universal OEM Baseboard Reference
    • Expansion Boards and Shields
      • Expansion Board 3.0
      • Pytrack
      • Pysense
      • Pyscan
      • Expansion Board 2.0
      • Deep Sleep Shield
        • Deep Sleep API
    • Notes
  • Pybytes
    • Introduction
    • Getting Started with Pybytes
    • Add a device to Pybytes
      • Connect to Pybytes: Quick Add
      • Connect to Pybytes: Flash Pybytes library manually
      • Add Sigfox device
        • DevKit contract
        • Custom contract
    • Visualise data from your device
    • Integrations
      • Amazon IoT
  • Documentation Notes
    • Introduction
    • Syntax
    • REPL vs Scripts
    • Mesh Networks
  • Advanced Topics
    • Firmware Downgrade
    • CLI Updater
    • SecureBoot and Encryption
    • License
  • Have a question?
    • Ask on the Forum
Powered by GitBook
On this page
  • Connecting a device to Pybytes by flashing Pybytes library manually
  • Step 1: Download your Pybytes Library
  • Step 2. Flash your device with Pymakr
  • Next step: Set up your device's dashboard!
  1. Pybytes
  2. Add a device to Pybytes

Connect to Pybytes: Flash Pybytes library manually

PreviousConnect to Pybytes: Quick AddNextAdd Sigfox device

Last updated 6 years ago

Connecting a device to Pybytes by flashing Pybytes library manually

In this section, we will explain to you how to connect your device to Pybytes by flashing Pybytes library manually.

From firmware 1.16.x onwards all Pycom devices come with Pybytes library build-in /frozen folder. That means that you can add your device quickly without the need of flashing Pybytes library manually.

Step 1: Download your Pybytes Library

At the last step of the "Add Device" process:

  1. Click on download "Pybytes library"

You can also download Pybytes library at the device's settings page:

2. Navigate to your device in Pybytes;

3. On your device's page click on settings tab;

4. Click on the button Download at Pybytes library;

Step 2. Flash your device with Pymakr

  1. Connect your device to your computer with USB cable.

  2. Extract download Pybytes library and open extracted folder with Atom.

  3. Get your device serial port: in Pymakr plugin click on More > get serial ports

  4. Paste your device's serial port to pymakr.conf file:

     {
         "address": "PASTE_YOUR_SERIAL_PORT_HERE",
         "username": "micro",
         "password": "python",
         "sync_folder": "flash"
     }
  5. Checkout your flash/pybytes_config.json file. It will be pre-filled with your information from Pybytes

    Like deviceToken or WiFi credentials. You can change e.g. your WiFy password here.

  6. Upload code to your device by clicking on Upload button in Pymakr.

    After all Pybytes library files are uploaded to device, device will restart and will connect to Pybytes.

Pybytes library is written to /flash folder and will take precedence over build in firmware libraries in /frozen folder.

Next step: Set up your device's dashboard!

Now it's time to display data from your device into Pybytes dashboard.

In case you haven't installed Pymakr plugin, follow .

Put your device in .

these instructions
safe boot mode
Visualise data from your device
Click here for more information.